IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bd30878
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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"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.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1105.55136, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3736.322048, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.06804940795898437 | |
], | |
"count": 1, | |
"total": 0.06804940795898437, | |
"mean": 0.06804940795898437, | |
"p50": 0.06804940795898437, | |
"p90": 0.06804940795898437, | |
"p95": 0.06804940795898437, | |
"p99": 0.06804940795898437, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1223.622656, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 267460.481024, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.506688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007245132923126221, | |
0.006978892803192139, | |
0.006911052227020264, | |
0.006957771778106689, | |
0.0069238519668579105, | |
0.006899532794952393, | |
0.006889613151550293, | |
0.016596830368041993, | |
0.006828173160552979, | |
0.006915213108062744, | |
0.006909933090209961, | |
0.0068904128074646, | |
0.0068956918716430666, | |
0.0069001722335815426, | |
0.006885773181915284, | |
0.006907853126525879, | |
0.006883693218231201, | |
0.007276174068450928, | |
0.007070892810821533, | |
0.006907692909240723, | |
0.0068918528556823734, | |
0.00691329288482666, | |
0.006904812812805175, | |
0.006908651828765869, | |
0.006914093017578125, | |
0.006956973075866699, | |
0.006898892879486084, | |
0.006891053199768066, | |
0.0069128131866455075, | |
0.006923693180084229, | |
0.006834893226623535, | |
0.0071041731834411625, | |
0.0068992128372192384, | |
0.006935853004455567, | |
0.0069102530479431155, | |
0.006915533065795899, | |
0.006915052890777588, | |
0.006924492835998535, | |
0.006902573108673096, | |
0.006897613048553467, | |
0.006905612945556641, | |
0.006920332908630371, | |
0.0069102530479431155, | |
0.00690145206451416, | |
0.0069172921180725095, | |
0.006889613151550293, | |
0.006916333198547364, | |
0.006937932968139648, | |
0.006896492958068848, | |
0.006889933109283447, | |
0.007072173118591309, | |
0.00696401309967041, | |
0.006921613216400146, | |
0.0069102530479431155, | |
0.006916812896728516, | |
0.007013613224029541, | |
0.0069321727752685545, | |
0.0069054532051086425, | |
0.006987853050231934, | |
0.006979692935943604, | |
0.00694769287109375, | |
0.006891693115234375, | |
0.0069555330276489255, | |
0.007356974124908447, | |
0.007895053863525391, | |
0.007885454177856445, | |
0.007913935184478759, | |
0.007393933773040771, | |
0.007446094036102295, | |
0.007863375186920166, | |
0.008727696418762207, | |
0.010171539306640625, | |
0.007526894092559814, | |
0.007621774196624756, | |
0.008070734977722168, | |
0.008190735816955567, | |
0.008064174652099609, | |
0.008054414749145507, | |
0.008120815277099609, | |
0.007964334964752197, | |
0.008109455108642577, | |
0.00809585475921631, | |
0.008022894859313965, | |
0.008092174530029297, | |
0.008063215255737305, | |
0.007843053817749024, | |
0.007609774112701416, | |
0.007667054176330566, | |
0.007640493869781494, | |
0.007657773971557617, | |
0.007538895130157471, | |
0.007552013874053955, | |
0.007388652801513672, | |
0.007175053119659424, | |
0.007241292953491211, | |
0.007391054153442383, | |
0.007162572860717774, | |
0.007117612838745117, | |
0.007217294216156006, | |
0.007178893089294433, | |
0.007258254051208496, | |
0.007111372947692871, | |
0.007098573207855225, | |
0.007122414112091064, | |
0.007106573104858399, | |
0.007282733917236328, | |
0.007555694103240967, | |
0.007251052856445312, | |
0.00818113613128662, | |
0.00759489393234253, | |
0.007807534217834472, | |
0.007092012882232666, | |
0.007161932945251465, | |
0.007818574905395509, | |
0.008147054672241211, | |
0.008197455406188965, | |
0.007712015151977539, | |
0.0072019329071044925, | |
0.007271374225616455, | |
0.007198893070220948, | |
0.007235214233398437, | |
0.007362093925476074, | |
0.00805745506286621, | |
0.007588493824005127, | |
0.007526254177093506, | |
0.007900654792785644, | |
0.008128974914550781, | |
0.007769773960113526, | |
0.007205613136291504, | |
0.007533294200897217, | |
0.007550253868103028, | |
0.007552013874053955, | |
0.007144333839416504, | |
0.007452493190765381, | |
0.007556814193725586 | |
], | |
"count": 135, | |
"total": 0.9972821750640869, | |
"mean": 0.007387275370845088, | |
"p50": 0.007161932945251465, | |
"p90": 0.008063790893554688, | |
"p95": 0.00813439884185791, | |
"p99": 0.009680632724761959, | |
"stdev": 0.0009399251307025448, | |
"stdev_": 12.72356969948745 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.36790627118617 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |