
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5f44104
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.33.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": 783.077376, | |
"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.57513916015625, | |
"mean": 7.57513916015625, | |
"stdev": 0.0, | |
"p50": 7.57513916015625, | |
"p90": 7.57513916015625, | |
"p95": 7.57513916015625, | |
"p99": 7.57513916015625, | |
"values": [ | |
7.57513916015625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.341693847221993e-07, | |
"ram": 4.963169211910595e-07, | |
"gpu": 1.6766680079999784e-06, | |
"total": 3.1071543139132373e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.68416, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 177, | |
"total": 1.0031238698959348, | |
"mean": 0.005667366496587204, | |
"stdev": 0.0001976670744342645, | |
"p50": 0.005654528141021729, | |
"p90": 0.005935513496398926, | |
"p95": 0.006032793521881103, | |
"p99": 0.0061782423400878915, | |
"values": [ | |
0.006155263900756836, | |
0.0063211522102355954, | |
0.006202367782592774, | |
0.006034431934356689, | |
0.006170623779296875, | |
0.006130688190460205, | |
0.005790719985961914, | |
0.005781504154205322, | |
0.005839871883392334, | |
0.005767168045043946, | |
0.005831679821014404, | |
0.0057825279235839844, | |
0.005755904197692871, | |
0.005724160194396972, | |
0.00562278413772583, | |
0.005766176223754883, | |
0.005666816234588623, | |
0.005620736122131348, | |
0.005535744190216065, | |
0.005320703983306885, | |
0.005221375942230225, | |
0.00526643180847168, | |
0.005286911964416504, | |
0.005488639831542969, | |
0.005419007778167725, | |
0.005299200057983398, | |
0.005484543800354004, | |
0.005675007820129394, | |
0.005624832153320313, | |
0.0056514558792114256, | |
0.005764095783233642, | |
0.005730303764343261, | |
0.005708799839019775, | |
0.005585919857025146, | |
0.00551526403427124, | |
0.005448703765869141, | |
0.005548031806945801, | |
0.005681151866912842, | |
0.005767168045043946, | |
0.0057077760696411135, | |
0.005703680038452149, | |
0.005796864032745362, | |
0.005670911788940429, | |
0.005786623954772949, | |
0.005695487976074219, | |
0.005652480125427246, | |
0.005593088150024414, | |
0.005433343887329102, | |
0.005600255966186523, | |
0.005640192031860352, | |
0.005611519813537597, | |
0.005796864032745362, | |
0.0057118721008300784, | |
0.005903359889984131, | |
0.005860352039337159, | |
0.005371903896331787, | |
0.005269504070281982, | |
0.005405695915222168, | |
0.00571289587020874, | |
0.0058122239112854005, | |
0.005856256008148194, | |
0.0057497601509094234, | |
0.005920767784118652, | |
0.005829631805419922, | |
0.0055808000564575196, | |
0.005612544059753418, | |
0.005619711875915527, | |
0.005773312091827393, | |
0.006022175788879394, | |
0.0059658241271972655, | |
0.006021120071411133, | |
0.006106112003326416, | |
0.006087679862976075, | |
0.006086656093597412, | |
0.006023168087005615, | |
0.005623807907104492, | |
0.005469183921813964, | |
0.005451776027679443, | |
0.005479423999786377, | |
0.005744639873504639, | |
0.005798912048339844, | |
0.005683199882507324, | |
0.005623807907104492, | |
0.005595136165618897, | |
0.005653503894805908, | |
0.005699584007263184, | |
0.005578752040863037, | |
0.00552243185043335, | |
0.005470208168029785, | |
0.0053309440612792965, | |
0.005313536167144775, | |
0.005307392120361328, | |
0.005964799880981446, | |
0.005607423782348633, | |
0.0058388481140136715, | |
0.005596159934997558, | |
0.005465087890625, | |
0.005570559978485107, | |
0.005525504112243652, | |
0.005396480083465576, | |
0.005481472015380859, | |
0.005508096218109131, | |
0.0054917120933532714, | |
0.005464064121246338, | |
0.005351424217224121, | |
0.005403647899627686, | |
0.005344255924224854, | |
0.005436416149139404, | |
0.005807104110717773, | |
0.005784575939178467, | |
0.005746687889099121, | |
0.005793791770935058, | |
0.0057118721008300784, | |
0.005854207992553711, | |
0.005738495826721191, | |
0.00568012809753418, | |
0.005773312091827393, | |
0.005692416191101074, | |
0.005777408123016357, | |
0.005654528141021729, | |
0.0056217598915100095, | |
0.005768191814422607, | |
0.005753856182098388, | |
0.0055582718849182125, | |
0.005582848072052002, | |
0.005761023998260498, | |
0.005760000228881836, | |
0.005667840003967285, | |
0.005837823867797852, | |
0.006032383918762207, | |
0.005868544101715088, | |
0.0056852478981018065, | |
0.005631999969482422, | |
0.005535744190216065, | |
0.005587967872619629, | |
0.00566374397277832, | |
0.005669888019561768, | |
0.005957632064819336, | |
0.005672959804534912, | |
0.005703680038452149, | |
0.0057825279235839844, | |
0.005979135990142822, | |
0.005957632064819336, | |
0.005739520072937012, | |
0.00561356782913208, | |
0.0056217598915100095, | |
0.005818367958068848, | |
0.005721183776855468, | |
0.005727231979370117, | |
0.005751808166503906, | |
0.005745664119720459, | |
0.005626880168914795, | |
0.005649407863616943, | |
0.0056483840942382815, | |
0.005667840003967285, | |
0.005710847854614258, | |
0.0055848960876464845, | |
0.005639167785644531, | |
0.005548031806945801, | |
0.005559296131134033, | |
0.0056442880630493165, | |
0.005508096218109131, | |
0.005489664077758789, | |
0.00551423978805542, | |
0.005570559978485107, | |
0.005568511962890625, | |
0.005553152084350586, | |
0.0054988799095153805, | |
0.0054609918594360355, | |
0.005536767959594726, | |
0.00546611213684082, | |
0.005496831893920898, | |
0.0055511040687561035, | |
0.005494783878326416, | |
0.005452799797058106, | |
0.0055214080810546875, | |
0.005594111919403076 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 176.44879691514282 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.528517394688815e-08, | |
"ram": 3.569349493542903e-08, | |
"gpu": 1.3616006008791255e-07, | |
"total": 2.371387289702297e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4216940.878204418 | |
} | |
} | |
} | |
} |