IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e90dd29
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.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1044.410368, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45925.060608, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.1031923828125, | |
"mean": 8.1031923828125, | |
"stdev": 0.0, | |
"p50": 8.1031923828125, | |
"p90": 8.1031923828125, | |
"p95": 8.1031923828125, | |
"p99": 8.1031923828125, | |
"values": [ | |
8.1031923828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1161.617408, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 242929.8688, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.9946357879638673, | |
"mean": 0.008358283932469473, | |
"stdev": 0.000378750309629318, | |
"p50": 0.00831089210510254, | |
"p90": 0.008560683631896973, | |
"p95": 0.008603404235839843, | |
"p99": 0.008739314956665039, | |
"values": [ | |
0.007751211166381836, | |
0.007865611076354981, | |
0.00809873104095459, | |
0.008602412223815917, | |
0.008371372222900391, | |
0.008303531646728516, | |
0.008410572052001953, | |
0.008528491020202637, | |
0.00808513069152832, | |
0.008037931442260742, | |
0.008265292167663574, | |
0.008413771629333495, | |
0.008397610664367675, | |
0.008336172103881836, | |
0.008343372344970703, | |
0.008336010932922364, | |
0.008306411743164063, | |
0.008360491752624512, | |
0.008419371604919434, | |
0.008325611114501953, | |
0.008341451644897462, | |
0.008294571876525879, | |
0.00826241111755371, | |
0.008292652130126954, | |
0.00828961181640625, | |
0.008264330863952637, | |
0.008341772079467773, | |
0.008271371841430664, | |
0.008548492431640626, | |
0.008371850967407227, | |
0.008270892143249511, | |
0.008310571670532226, | |
0.008292011260986328, | |
0.008263691902160645, | |
0.008244331359863282, | |
0.008254892349243164, | |
0.00822673225402832, | |
0.008300491333007812, | |
0.008215211868286132, | |
0.008274890899658204, | |
0.00831217098236084, | |
0.011733456611633301, | |
0.006638729095458985, | |
0.008666252136230469, | |
0.008571532249450684, | |
0.008396492004394532, | |
0.008389291763305664, | |
0.008431212425231933, | |
0.008421291351318359, | |
0.008467052459716797, | |
0.008576332092285156, | |
0.008521451950073242, | |
0.008341451644897462, | |
0.008449771881103515, | |
0.008378252029418946, | |
0.008350411415100097, | |
0.00830753231048584, | |
0.008296972274780273, | |
0.008445292472839356, | |
0.008349130630493164, | |
0.008498251914978027, | |
0.008581771850585937, | |
0.008519051551818847, | |
0.00855985164642334, | |
0.008488971710205078, | |
0.008564011573791504, | |
0.008595211982727051, | |
0.008553132057189942, | |
0.008534892082214356, | |
0.008749452590942383, | |
0.008640172004699707, | |
0.008612332344055175, | |
0.008693132400512695, | |
0.00847409152984619, | |
0.00841457176208496, | |
0.008486091613769531, | |
0.008502572059631348, | |
0.008452011108398437, | |
0.008377771377563476, | |
0.008310412406921387, | |
0.00831089210510254, | |
0.008297290802001953, | |
0.008246891975402832, | |
0.008326251029968262, | |
0.008402730941772461, | |
0.008251531600952149, | |
0.008240490913391114, | |
0.008232172012329102, | |
0.008226251602172852, | |
0.008230891227722168, | |
0.008242411613464356, | |
0.008225291252136231, | |
0.00819569206237793, | |
0.00821329116821289, | |
0.008236331939697266, | |
0.008233290672302246, | |
0.008202092170715332, | |
0.008231691360473633, | |
0.00820193099975586, | |
0.008224811553955078, | |
0.008190570831298828, | |
0.008282092094421387, | |
0.008288331031799316, | |
0.00823281192779541, | |
0.008317292213439942, | |
0.008208491325378419, | |
0.008224811553955078, | |
0.008246251106262207, | |
0.008215851783752441, | |
0.008173291206359862, | |
0.008292011260986328, | |
0.008509451866149903, | |
0.008286090850830078, | |
0.008411211013793945, | |
0.008292170524597168, | |
0.008390091896057128, | |
0.008446731567382813, | |
0.00826577091217041, | |
0.008247052192687988 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.64178389720578 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |