IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1ce20cd
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"device": "cuda", | |
"device_ids": "4", | |
"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.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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1385.283584, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.76274365234375, | |
"mean": 7.76274365234375, | |
"stdev": 0.0, | |
"p50": 7.76274365234375, | |
"p90": 7.76274365234375, | |
"p95": 7.76274365234375, | |
"p99": 7.76274365234375, | |
"values": [ | |
7.76274365234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1485.139968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 1.0021375026702881, | |
"mean": 0.006593009885988738, | |
"stdev": 0.0005687160086952943, | |
"p50": 0.006434479951858521, | |
"p90": 0.006927422904968263, | |
"p95": 0.007224246788024902, | |
"p99": 0.008321723747253436, | |
"values": [ | |
0.00709503984451294, | |
0.006803839206695556, | |
0.006972319126129151, | |
0.007162559986114502, | |
0.006959518909454346, | |
0.0069369587898254394, | |
0.006841599941253662, | |
0.006809759140014649, | |
0.006712799072265625, | |
0.007051199913024902, | |
0.006734718799591064, | |
0.006653278827667236, | |
0.0066143999099731446, | |
0.006559838771820068, | |
0.006538878917694091, | |
0.0064627199172973635, | |
0.006388638973236084, | |
0.006507840156555176, | |
0.006458239078521728, | |
0.006445279121398926, | |
0.006423840045928955, | |
0.006474079132080078, | |
0.0064385590553283694, | |
0.0064481601715087895, | |
0.006468638896942138, | |
0.0064271998405456545, | |
0.0064385590553283694, | |
0.006493439197540283, | |
0.006466720104217529, | |
0.0064782390594482426, | |
0.009351678848266601, | |
0.006574559211730957, | |
0.006388160228729248, | |
0.00641119909286499, | |
0.006433440208435059, | |
0.006404318809509277, | |
0.006444959163665771, | |
0.006383840084075928, | |
0.00638831901550293, | |
0.006380319118499756, | |
0.0063772802352905274, | |
0.0064225587844848634, | |
0.006387199878692627, | |
0.006425599098205567, | |
0.006397599220275879, | |
0.006399360179901123, | |
0.0065945591926574705, | |
0.006456958770751953, | |
0.006414239883422852, | |
0.006412478923797607, | |
0.006402560234069824, | |
0.006410879135131836, | |
0.006435839176177979, | |
0.006398719787597656, | |
0.0064220790863037105, | |
0.0064575991630554195, | |
0.006404640197753907, | |
0.006407838821411133, | |
0.006415520191192627, | |
0.0064147191047668455, | |
0.006438718795776367, | |
0.0064107198715209965, | |
0.0064147191047668455, | |
0.00643087911605835, | |
0.006420639991760254, | |
0.006421278953552246, | |
0.006387839794158936, | |
0.0064263992309570315, | |
0.006411999225616455, | |
0.006405280113220215, | |
0.0064084792137146, | |
0.0063963189125061035, | |
0.006408959865570068, | |
0.006398879051208496, | |
0.006379519939422608, | |
0.006426239013671875, | |
0.006384318828582764, | |
0.006570879936218262, | |
0.006433279037475586, | |
0.006408638954162597, | |
0.006403520107269287, | |
0.0063963189125061035, | |
0.006408959865570068, | |
0.006451679229736328, | |
0.00643087911605835, | |
0.0064340801239013675, | |
0.006456318855285644, | |
0.006400319099426269, | |
0.006436319828033448, | |
0.0064214391708374025, | |
0.006393919944763184, | |
0.006424798965454102, | |
0.006447039127349854, | |
0.006438240051269532, | |
0.0064006390571594235, | |
0.006402238845825196, | |
0.006397439956665039, | |
0.006405919075012207, | |
0.006402239799499511, | |
0.006384638786315918, | |
0.00638719892501831, | |
0.006380799770355224, | |
0.006377758979797363, | |
0.0063980789184570315, | |
0.00640496015548706, | |
0.006426558971405029, | |
0.006409759998321533, | |
0.006430239200592041, | |
0.006408638954162597, | |
0.006397280216217041, | |
0.00641935920715332, | |
0.006395840167999268, | |
0.006402079105377197, | |
0.006640958786010742, | |
0.006635359764099121, | |
0.006696478843688965, | |
0.006636959075927734, | |
0.006632639884948731, | |
0.006747199058532715, | |
0.0066329588890075685, | |
0.0066761598587036135, | |
0.00644127893447876, | |
0.006404638767242432, | |
0.00643552017211914, | |
0.00647615909576416, | |
0.006462399959564209, | |
0.006502079010009766, | |
0.006464478969573975, | |
0.006442399978637695, | |
0.006458718776702881, | |
0.012343358993530274, | |
0.006425279140472412, | |
0.006434879779815674, | |
0.006488479137420654, | |
0.006435678958892822, | |
0.006465439796447754, | |
0.0064643192291259765, | |
0.006418078899383545, | |
0.00643071985244751, | |
0.0073321590423583985, | |
0.007218558788299561, | |
0.0072726402282714845, | |
0.007288319110870361, | |
0.007231198787689209, | |
0.007290719985961914, | |
0.007278718948364258, | |
0.007153278827667237, | |
0.00679311990737915, | |
0.006748638153076172, | |
0.006734239101409912, | |
0.006816959857940673, | |
0.0068409590721130375 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.67579258832438 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |