IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
71f2583
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "5", | |
"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": 1070.333952, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 52082.4832, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.8811982421875, | |
"mean": 8.8811982421875, | |
"stdev": 0.0, | |
"p50": 8.8811982421875, | |
"p90": 8.8811982421875, | |
"p95": 8.8811982421875, | |
"p99": 8.8811982421875, | |
"values": [ | |
8.8811982421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1199.730688, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 248698.503168, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.0023547916412354, | |
"mean": 0.0074248503084535945, | |
"stdev": 0.00044137802716619754, | |
"p50": 0.007412135124206543, | |
"p90": 0.007919493198394776, | |
"p95": 0.007965572023391723, | |
"p99": 0.008608558692932125, | |
"values": [ | |
0.008009732246398926, | |
0.00748653507232666, | |
0.00761613416671753, | |
0.007659493923187256, | |
0.007412454128265381, | |
0.007856293201446533, | |
0.007789732933044434, | |
0.008007652282714843, | |
0.009219167709350586, | |
0.007988772869110107, | |
0.00793917179107666, | |
0.007918693065643311, | |
0.007876293182373047, | |
0.007914692878723144, | |
0.007919493198394776, | |
0.007906531810760498, | |
0.007881252765655518, | |
0.007876293182373047, | |
0.00791213321685791, | |
0.007919493198394776, | |
0.007945732116699218, | |
0.007925413131713866, | |
0.00792525291442871, | |
0.007892292976379394, | |
0.008875008583068847, | |
0.00809133243560791, | |
0.007842692852020263, | |
0.007784933090209961, | |
0.0076889338493347165, | |
0.007561734199523926, | |
0.007570374011993408, | |
0.007556293964385986, | |
0.007700772762298584, | |
0.007437253952026367, | |
0.007667173862457275, | |
0.007813572883605957, | |
0.007432455062866211, | |
0.0077239727973937985, | |
0.007377095222473144, | |
0.007453413963317871, | |
0.007412135124206543, | |
0.007825892925262451, | |
0.007864293098449706, | |
0.007854692935943604, | |
0.007834372997283935, | |
0.007857412815093993, | |
0.00784557294845581, | |
0.007797732830047608, | |
0.007444613933563232, | |
0.007394535064697266, | |
0.007428773880004883, | |
0.0074118151664733884, | |
0.007390694141387939, | |
0.007300294876098633, | |
0.007215014934539795, | |
0.006982535839080811, | |
0.007124936103820801, | |
0.007190374851226806, | |
0.006964776039123535, | |
0.006945735931396484, | |
0.007028456211090088, | |
0.007022535800933838, | |
0.007008615970611572, | |
0.007015336036682129, | |
0.007306213855743408, | |
0.007188456058502197, | |
0.007310695171356201, | |
0.006986216068267822, | |
0.006941096782684326, | |
0.006909255981445313, | |
0.0069785361289978025, | |
0.0070095758438110355, | |
0.007004456043243408, | |
0.0070038151741027834, | |
0.006995175838470459, | |
0.007041416168212891, | |
0.006952455997467041, | |
0.006958856105804444, | |
0.006975016117095947, | |
0.006975656032562256, | |
0.006947175979614258, | |
0.006929097175598145, | |
0.006955336093902588, | |
0.006958375930786133, | |
0.006980616092681885, | |
0.006945256233215332, | |
0.006963655948638916, | |
0.006938375949859619, | |
0.006989575862884521, | |
0.0069716558456420896, | |
0.006987336158752441, | |
0.006982215881347656, | |
0.006922855854034424, | |
0.006895175933837891, | |
0.006982215881347656, | |
0.00710541582107544, | |
0.0069852561950683595, | |
0.006960775852203369, | |
0.007015655994415284, | |
0.0069404559135437015, | |
0.006927815914154053, | |
0.006946216106414795, | |
0.006920936107635498, | |
0.006988615989685059, | |
0.0069954957962036135, | |
0.006952775955200195, | |
0.006952616214752197, | |
0.006922056198120117, | |
0.0069270157814025875, | |
0.0069452571868896485, | |
0.006915495872497558, | |
0.006974855899810791, | |
0.007970051765441894, | |
0.007861732959747314, | |
0.00788061285018921, | |
0.007943973064422608, | |
0.007963652133941651, | |
0.007765414237976075, | |
0.0074663739204406734, | |
0.007427014827728271, | |
0.007577413082122802, | |
0.00782189416885376, | |
0.007819653034210205, | |
0.007782052993774414, | |
0.007823973178863526, | |
0.007853733062744141, | |
0.007788453102111816, | |
0.007819972038269042, | |
0.007776613235473633, | |
0.007335175037384034, | |
0.007420294761657715, | |
0.007409574031829834, | |
0.007477254867553711, | |
0.007339495182037354, | |
0.007231015205383301 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.6828499507183 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |