IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
adfd1bb
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "6", | |
"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": "warn", | |
"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.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.361536, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49080.684544, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.727697265625, | |
"mean": 8.727697265625, | |
"stdev": 0.0, | |
"p50": 8.727697265625, | |
"p90": 8.727697265625, | |
"p95": 8.727697265625, | |
"p99": 8.727697265625, | |
"values": [ | |
8.727697265625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1197.125632, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 242184.052736, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 120, | |
"total": 0.9946232867240904, | |
"mean": 0.008288527389367422, | |
"stdev": 0.0006782484876074683, | |
"p50": 0.008229610443115234, | |
"p90": 0.008282041931152343, | |
"p95": 0.008303384923934936, | |
"p99": 0.008518754444122315, | |
"values": [ | |
0.008552650451660156, | |
0.008356011390686036, | |
0.008345930099487305, | |
0.008267210006713868, | |
0.008199529647827148, | |
0.015589618682861328, | |
0.007141929149627685, | |
0.008238889694213868, | |
0.008199210166931153, | |
0.008183850288391113, | |
0.008220009803771973, | |
0.00823425006866455, | |
0.00822817039489746, | |
0.008200810432434083, | |
0.008181610107421876, | |
0.008239370346069336, | |
0.008276009559631347, | |
0.008181610107421876, | |
0.008179849624633789, | |
0.008153610229492188, | |
0.0082468900680542, | |
0.008164810180664063, | |
0.00819456958770752, | |
0.008205769538879394, | |
0.00819777011871338, | |
0.008176969528198243, | |
0.008230090141296387, | |
0.008182249069213866, | |
0.008208490371704102, | |
0.008217289924621582, | |
0.00820320987701416, | |
0.008207050323486328, | |
0.008214409828186036, | |
0.008225449562072754, | |
0.008216970443725586, | |
0.008220009803771973, | |
0.008231209754943849, | |
0.008248009681701661, | |
0.008281929969787598, | |
0.008263210296630859, | |
0.008253291130065918, | |
0.008272649765014649, | |
0.008237290382385253, | |
0.008252650260925294, | |
0.00819985008239746, | |
0.008221449851989747, | |
0.008235050201416015, | |
0.008226249694824219, | |
0.008214570045471192, | |
0.008195369720458985, | |
0.008173769950866699, | |
0.008252490043640136, | |
0.00822560977935791, | |
0.008193449974060059, | |
0.008199529647827148, | |
0.008193449974060059, | |
0.008210729598999024, | |
0.00825889015197754, | |
0.008228810310363769, | |
0.008224809646606445, | |
0.008196009635925292, | |
0.00822049045562744, | |
0.008374250411987305, | |
0.008237449645996094, | |
0.008223369598388671, | |
0.008188650131225586, | |
0.008213290214538574, | |
0.008214249610900878, | |
0.008284810066223145, | |
0.008215530395507813, | |
0.008263850212097168, | |
0.00822992992401123, | |
0.008262729644775391, | |
0.00826432991027832, | |
0.008245129585266114, | |
0.008252169609069824, | |
0.008228650093078613, | |
0.008223210334777832, | |
0.008233929634094238, | |
0.008214090347290039, | |
0.00823328971862793, | |
0.008233929634094238, | |
0.008254409790039063, | |
0.008238889694213868, | |
0.008258410453796387, | |
0.00826593017578125, | |
0.008229610443115234, | |
0.00826593017578125, | |
0.00825728988647461, | |
0.008283049583435058, | |
0.008280329704284668, | |
0.008231690406799316, | |
0.008232009887695313, | |
0.008215849876403808, | |
0.008230090141296387, | |
0.008199049949645995, | |
0.008240650177001953, | |
0.008217450141906738, | |
0.008203530311584472, | |
0.008249130249023438, | |
0.008219369888305664, | |
0.008250410079956055, | |
0.008279529571533203, | |
0.008229610443115234, | |
0.008196009635925292, | |
0.008248970031738282, | |
0.008215849876403808, | |
0.008268170356750489, | |
0.00821953010559082, | |
0.008216010093688966, | |
0.00825121021270752, | |
0.008288169860839844, | |
0.008243049621582031, | |
0.008219369888305664, | |
0.0082633695602417, | |
0.008296330451965333, | |
0.008221770286560058, | |
0.008312809944152831, | |
0.00829776954650879, | |
0.008302888870239257 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 120.6486934316953 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |