IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
997e6ef
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": true, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": false, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1387.831296, | |
"max_global_vram": 11.149312, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.9028076171875, | |
"mean": 8.9028076171875, | |
"stdev": 0.0, | |
"p50": 8.9028076171875, | |
"p90": 8.9028076171875, | |
"p95": 8.9028076171875, | |
"p99": 8.9028076171875, | |
"values": [ | |
8.9028076171875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1517.010944, | |
"max_global_vram": 12.136448, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 117, | |
"total": 0.996580897808075, | |
"mean": 0.008517785451351068, | |
"stdev": 0.0012120141712448592, | |
"p50": 0.00833997631072998, | |
"p90": 0.008805032157897949, | |
"p95": 0.00912029399871826, | |
"p99": 0.010130754966735843, | |
"values": [ | |
0.00903725528717041, | |
0.009585092544555664, | |
0.00954205322265625, | |
0.010234690666198731, | |
0.00917597484588623, | |
0.020167943954467773, | |
0.0035302300453186036, | |
0.008734855651855469, | |
0.008718535423278809, | |
0.008553735733032227, | |
0.00852941608428955, | |
0.008467336654663087, | |
0.008498856544494629, | |
0.008485416412353515, | |
0.008513895988464356, | |
0.008506855964660644, | |
0.008605735778808594, | |
0.00871741485595703, | |
0.008511016845703125, | |
0.008501256942749023, | |
0.00852237606048584, | |
0.0087060546875, | |
0.008819815635681152, | |
0.008809736251831055, | |
0.008788775444030762, | |
0.008878214836120606, | |
0.00880189609527588, | |
0.008750375747680663, | |
0.00910637378692627, | |
0.009371334075927735, | |
0.009058375358581543, | |
0.008574215888977051, | |
0.008371335983276367, | |
0.008331336975097657, | |
0.00844317626953125, | |
0.008367816925048828, | |
0.008355337142944336, | |
0.008327496528625489, | |
0.008305416107177735, | |
0.008273736953735351, | |
0.00839069652557373, | |
0.008287816047668458, | |
0.008312617301940918, | |
0.008315977096557617, | |
0.008298215866088867, | |
0.008302536964416504, | |
0.008322056770324706, | |
0.008286697387695312, | |
0.008333416938781738, | |
0.008297737121582032, | |
0.008355496406555175, | |
0.008340936660766601, | |
0.008355337142944336, | |
0.008328137397766113, | |
0.008340456962585448, | |
0.00833997631072998, | |
0.008347976684570312, | |
0.008339977264404297, | |
0.008363016128540039, | |
0.008306857109069823, | |
0.008336935997009277, | |
0.008281097412109376, | |
0.008288296699523925, | |
0.00829725742340088, | |
0.008318856239318847, | |
0.00840589714050293, | |
0.008442376136779785, | |
0.008383176803588866, | |
0.008369256973266601, | |
0.008349416732788086, | |
0.008368616104125976, | |
0.008272617340087891, | |
0.008306217193603516, | |
0.008342857360839845, | |
0.008300617218017578, | |
0.008275816917419434, | |
0.008536776542663575, | |
0.008273576736450195, | |
0.008503175735473633, | |
0.008311496734619141, | |
0.008289257049560546, | |
0.008310537338256836, | |
0.008319657325744629, | |
0.008334856986999511, | |
0.008353256225585937, | |
0.008357096672058105, | |
0.008553895950317383, | |
0.008299337387084962, | |
0.008351016044616699, | |
0.008306217193603516, | |
0.008309256553649903, | |
0.008237096786499023, | |
0.008318857192993164, | |
0.008253096580505371, | |
0.00830173683166504, | |
0.00825789737701416, | |
0.008287177085876465, | |
0.00829245662689209, | |
0.008298056602478027, | |
0.008317095756530762, | |
0.008279176712036132, | |
0.008240456581115723, | |
0.008248296737670899, | |
0.00826829719543457, | |
0.008285736083984375, | |
0.008293896675109864, | |
0.008306377410888672, | |
0.00830173683166504, | |
0.008334856986999511, | |
0.00832941722869873, | |
0.00837021541595459, | |
0.008304937362670899, | |
0.008384936332702637, | |
0.008265417098999023, | |
0.008296616554260254, | |
0.008291337013244629, | |
0.00832029628753662 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.4014074094086 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |