
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
61e30f0
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": "0", | |
"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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"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": 782.487552, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3786357421875, | |
"mean": 7.3786357421875, | |
"stdev": 0.0, | |
"p50": 7.3786357421875, | |
"p90": 7.3786357421875, | |
"p95": 7.3786357421875, | |
"p99": 7.3786357421875, | |
"values": [ | |
7.3786357421875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.276073020834652e-07, | |
"ram": 4.92811153682354e-07, | |
"gpu": 1.6697235580001232e-06, | |
"total": 3.0901420137659424e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1037.950976, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 1.0023793272972106, | |
"mean": 0.00553800733313376, | |
"stdev": 0.00021706660651027096, | |
"p50": 0.005527552127838135, | |
"p90": 0.005703680038452149, | |
"p95": 0.005786623954772949, | |
"p99": 0.0063645696640014585, | |
"values": [ | |
0.007129087924957276, | |
0.006849535942077637, | |
0.005964799880981446, | |
0.005896192073822021, | |
0.005849088191986084, | |
0.005797887802124023, | |
0.005703680038452149, | |
0.005720064163208007, | |
0.00566476821899414, | |
0.005697535991668701, | |
0.005669888019561768, | |
0.005786623954772949, | |
0.006210559844970703, | |
0.005527552127838135, | |
0.0053821439743042, | |
0.005312511920928955, | |
0.005264383792877197, | |
0.005245952129364013, | |
0.0052111358642578124, | |
0.005212160110473632, | |
0.005259263992309571, | |
0.005210112094879151, | |
0.005203968048095703, | |
0.0052715520858764645, | |
0.0052930560111999515, | |
0.005249023914337158, | |
0.005296127796173096, | |
0.005249023914337158, | |
0.005257215976715088, | |
0.005253119945526123, | |
0.0053043198585510255, | |
0.0052674560546875, | |
0.00572211217880249, | |
0.005494783878326416, | |
0.0054988799095153805, | |
0.005533696174621582, | |
0.0055285758972167965, | |
0.005492735862731934, | |
0.005526527881622314, | |
0.005470208168029785, | |
0.005512191772460938, | |
0.005493760108947754, | |
0.005483520030975342, | |
0.00551423978805542, | |
0.005485568046569824, | |
0.005482495784759522, | |
0.005538815975189209, | |
0.005467135906219483, | |
0.005512191772460938, | |
0.005899263858795166, | |
0.005742591857910156, | |
0.006243328094482422, | |
0.005726208209991455, | |
0.005755904197692871, | |
0.0055623679161071774, | |
0.005536767959594726, | |
0.005509119987487793, | |
0.005478400230407715, | |
0.005554175853729248, | |
0.005550079822540284, | |
0.005501952171325684, | |
0.005483520030975342, | |
0.005472256183624268, | |
0.0054906878471374515, | |
0.005472256183624268, | |
0.00546611213684082, | |
0.005506048202514649, | |
0.00551526403427124, | |
0.005336063861846924, | |
0.005313536167144775, | |
0.0053012480735778805, | |
0.005295104026794434, | |
0.005346303939819336, | |
0.005282815933227539, | |
0.0053002238273620605, | |
0.005370880126953125, | |
0.0053043198585510255, | |
0.005276671886444092, | |
0.005344255924224854, | |
0.005386240005493164, | |
0.005525504112243652, | |
0.005463039875030518, | |
0.005478400230407715, | |
0.005540863990783691, | |
0.0054876160621643065, | |
0.005453824043273926, | |
0.00553984022140503, | |
0.005468160152435303, | |
0.005495808124542236, | |
0.005473279953002929, | |
0.005459968090057373, | |
0.005500927925109863, | |
0.005527552127838135, | |
0.0054568958282470706, | |
0.005516287803649903, | |
0.005464064121246338, | |
0.005489664077758789, | |
0.005565440177917481, | |
0.0055797758102417, | |
0.005647359848022461, | |
0.005577727794647217, | |
0.00551423978805542, | |
0.005544960021972656, | |
0.005454847812652588, | |
0.0055316481590271, | |
0.005478400230407715, | |
0.005471231937408447, | |
0.005505023956298828, | |
0.0054876160621643065, | |
0.0054568958282470706, | |
0.0054988799095153805, | |
0.005454847812652588, | |
0.0054917120933532714, | |
0.005470208168029785, | |
0.005725183963775635, | |
0.0056145920753479005, | |
0.005567488193511963, | |
0.005585919857025146, | |
0.0055623679161071774, | |
0.005550079822540284, | |
0.005628928184509278, | |
0.005516287803649903, | |
0.005600255966186523, | |
0.005571584224700928, | |
0.005565440177917481, | |
0.005581823825836182, | |
0.0056514558792114256, | |
0.0057118721008300784, | |
0.005647359848022461, | |
0.005583871841430664, | |
0.005617663860321045, | |
0.005547008037567139, | |
0.005639167785644531, | |
0.005588992118835449, | |
0.005563392162322998, | |
0.005608448028564453, | |
0.005547008037567139, | |
0.005588992118835449, | |
0.00577023983001709, | |
0.005545983791351319, | |
0.005605375766754151, | |
0.005530623912811279, | |
0.005609471797943116, | |
0.005542912006378174, | |
0.005561344146728516, | |
0.005552127838134766, | |
0.00556441593170166, | |
0.00552243185043335, | |
0.005585919857025146, | |
0.005518335819244385, | |
0.005547008037567139, | |
0.00552345609664917, | |
0.0055316481590271, | |
0.005547008037567139, | |
0.0055582718849182125, | |
0.005541888236999512, | |
0.005536767959594726, | |
0.0055101442337036136, | |
0.005583871841430664, | |
0.005509119987487793, | |
0.005578815937042236, | |
0.005571584224700928, | |
0.0055101442337036136, | |
0.005538815975189209, | |
0.005535744190216065, | |
0.005659647941589355, | |
0.0055797758102417, | |
0.005537792205810547, | |
0.005582848072052002, | |
0.005536767959594726, | |
0.005553152084350586, | |
0.005535744190216065, | |
0.005536767959594726, | |
0.005536767959594726, | |
0.005529600143432617, | |
0.00550707197189331, | |
0.005479423999786377, | |
0.005462016105651855, | |
0.005527552127838135, | |
0.00552345609664917, | |
0.0055285758972167965 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.57036400385837 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.250352899488125e-08, | |
"ram": 3.416630561347624e-08, | |
"gpu": 1.2545916469473867e-07, | |
"total": 2.2212899930309617e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4501888.556367622 | |
} | |
} | |
} | |
} |