
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
dd252d6
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": 784.011264, | |
"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.40963818359375, | |
"mean": 7.40963818359375, | |
"stdev": 0.0, | |
"p50": 7.40963818359375, | |
"p90": 7.40963818359375, | |
"p95": 7.40963818359375, | |
"p99": 7.40963818359375, | |
"values": [ | |
7.40963818359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.44083796527906e-07, | |
"ram": 5.018388015274627e-07, | |
"gpu": 1.788334763999904e-06, | |
"total": 3.234257362055273e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.4624, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 176, | |
"total": 1.0008065915107731, | |
"mean": 0.00568640108812939, | |
"stdev": 0.0002355736782755211, | |
"p50": 0.005607424020767212, | |
"p90": 0.005957119941711426, | |
"p95": 0.006132224082946777, | |
"p99": 0.006373376131057739, | |
"values": [ | |
0.005991424083709717, | |
0.005997568130493164, | |
0.005819392204284668, | |
0.005710847854614258, | |
0.005756927967071533, | |
0.005662720203399658, | |
0.005745664119720459, | |
0.005637119770050049, | |
0.005637119770050049, | |
0.005725183963775635, | |
0.005629951953887939, | |
0.005577727794647217, | |
0.005566463947296142, | |
0.005624832153320313, | |
0.005576704025268555, | |
0.005561344146728516, | |
0.005525504112243652, | |
0.005388288021087646, | |
0.0054579200744628905, | |
0.0055285758972167965, | |
0.005505023956298828, | |
0.005601280212402344, | |
0.005599232196807862, | |
0.005538815975189209, | |
0.005659647941589355, | |
0.005585919857025146, | |
0.005575679779052735, | |
0.0055808000564575196, | |
0.005489664077758789, | |
0.005606400012969971, | |
0.0055808000564575196, | |
0.0056217598915100095, | |
0.005608448028564453, | |
0.006198272228240966, | |
0.005992447853088379, | |
0.005888000011444092, | |
0.0062740478515625, | |
0.006352896213531494, | |
0.005895167827606201, | |
0.005895167827606201, | |
0.005888000011444092, | |
0.005849088191986084, | |
0.005849088191986084, | |
0.00571289587020874, | |
0.005825600147247314, | |
0.005765151977539062, | |
0.005837823867797852, | |
0.005806079864501953, | |
0.005790719985961914, | |
0.005529600143432617, | |
0.005492735862731934, | |
0.005532671928405761, | |
0.005982207775115967, | |
0.006220799922943115, | |
0.00591974401473999, | |
0.005964799880981446, | |
0.006060031890869141, | |
0.005923840045928955, | |
0.005814271926879883, | |
0.0059064321517944334, | |
0.005922815799713135, | |
0.006110208034515381, | |
0.005911551952362061, | |
0.005888000011444092, | |
0.005859327793121338, | |
0.005893119812011719, | |
0.005853184223175049, | |
0.005831679821014404, | |
0.005789696216583252, | |
0.005757952213287353, | |
0.005826560020446778, | |
0.005761023998260498, | |
0.005929984092712402, | |
0.005860352039337159, | |
0.005832704067230224, | |
0.005766143798828125, | |
0.005867519855499268, | |
0.005811200141906738, | |
0.005884928226470947, | |
0.005801983833312988, | |
0.005769216060638428, | |
0.005785600185394287, | |
0.005796864032745362, | |
0.00624128007888794, | |
0.005975039958953857, | |
0.005940224170684814, | |
0.006461440086364746, | |
0.005920767784118652, | |
0.005899263858795166, | |
0.006244351863861084, | |
0.006434815883636475, | |
0.005863423824310303, | |
0.006296576023101807, | |
0.0057292799949646, | |
0.005925888061523437, | |
0.00587775993347168, | |
0.0057825279235839844, | |
0.005738495826721191, | |
0.0057077760696411135, | |
0.005590015888214111, | |
0.005593088150024414, | |
0.00587059211730957, | |
0.00546611213684082, | |
0.005206079959869385, | |
0.005253119945526123, | |
0.005219327926635742, | |
0.005231616020202637, | |
0.005250048160552978, | |
0.005276671886444092, | |
0.005658624172210694, | |
0.005822463989257813, | |
0.005673984050750733, | |
0.005868544101715088, | |
0.005949440002441406, | |
0.006020095825195313, | |
0.005835775852203369, | |
0.005690368175506591, | |
0.0056852478981018065, | |
0.0055582718849182125, | |
0.0055511040687561035, | |
0.005529600143432617, | |
0.00551526403427124, | |
0.005561344146728516, | |
0.005473279953002929, | |
0.005527552127838135, | |
0.005485568046569824, | |
0.005471231937408447, | |
0.005529600143432617, | |
0.005481472015380859, | |
0.005453824043273926, | |
0.005594111919403076, | |
0.005482495784759522, | |
0.005486591815948487, | |
0.005449728012084961, | |
0.005462016105651855, | |
0.0054917120933532714, | |
0.005499904155731201, | |
0.005463039875030518, | |
0.005516287803649903, | |
0.005504000186920166, | |
0.005567488193511963, | |
0.005463039875030518, | |
0.005484543800354004, | |
0.005518335819244385, | |
0.005536767959594726, | |
0.005471231937408447, | |
0.005505023956298828, | |
0.005467135906219483, | |
0.005497856140136719, | |
0.005598207950592041, | |
0.005493760108947754, | |
0.005504000186920166, | |
0.005481472015380859, | |
0.005478400230407715, | |
0.005534719944000244, | |
0.005505023956298828, | |
0.0055101442337036136, | |
0.00551423978805542, | |
0.005488639831542969, | |
0.005492767810821533, | |
0.005483520030975342, | |
0.005576704025268555, | |
0.005497856140136719, | |
0.005454847812652588, | |
0.005518335819244385, | |
0.005489664077758789, | |
0.005492735862731934, | |
0.005573631763458252, | |
0.005541888236999512, | |
0.005458943843841553, | |
0.005492735862731934, | |
0.00550707197189331, | |
0.005509119987487793, | |
0.005476352214813233, | |
0.005476352214813233, | |
0.005501952171325684 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 175.85815430563693 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.454427469806991e-08, | |
"ram": 3.528703995982303e-08, | |
"gpu": 1.3019937952173925e-07, | |
"total": 2.3003069417963221e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4347245.934140835 | |
} | |
} | |
} | |
} |