IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
15282a8 verified
raw
history blame
13.6 kB
{
"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-211.872.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.1",
"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.056896,
"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.47159326171875,
"mean": 7.47159326171875,
"stdev": 0.0,
"p50": 7.47159326171875,
"p90": 7.47159326171875,
"p95": 7.47159326171875,
"p99": 7.47159326171875,
"values": [
7.47159326171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.477012194444573e-07,
"ram": 5.035948331733984e-07,
"gpu": 1.6827791239999376e-06,
"total": 3.1340751766177936e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.635008,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.0030297579765326,
"mean": 0.005511152516354571,
"stdev": 0.00018129882629148297,
"p50": 0.005481471776962281,
"p90": 0.00576187219619751,
"p95": 0.0058336766481399535,
"p99": 0.006020352168083191,
"values": [
0.006005760192871094,
0.006082560062408447,
0.005931007862091065,
0.005797887802124023,
0.005914624214172363,
0.005787648200988769,
0.005888000011444092,
0.005757952213287353,
0.005835775852203369,
0.005762080192565918,
0.005848063945770264,
0.005760000228881836,
0.005786623954772949,
0.005730303764343261,
0.005734399795532226,
0.005735424041748047,
0.005612544059753418,
0.005553152084350586,
0.005400576114654541,
0.005422080039978027,
0.005494783878326416,
0.00546611213684082,
0.005574656009674072,
0.005537792205810547,
0.00552243185043335,
0.00557260799407959,
0.0054917120933532714,
0.005419007778167725,
0.005471231937408447,
0.005484543800354004,
0.005569600105285645,
0.0056442880630493165,
0.005726208209991455,
0.005795839786529541,
0.005808127880096436,
0.0057292799949646,
0.00550707197189331,
0.00546611213684082,
0.005530623912811279,
0.005480447769165039,
0.005529600143432617,
0.0054906878471374515,
0.005482495784759522,
0.00537497615814209,
0.005349376201629639,
0.005329919815063477,
0.005417984008789062,
0.005417984008789062,
0.005430272102355957,
0.005479423999786377,
0.005442560195922852,
0.00552345609664917,
0.005565440177917481,
0.00551526403427124,
0.005777408123016357,
0.005519360065460205,
0.005641215801239013,
0.005545983791351319,
0.005492735862731934,
0.005505023956298828,
0.005425151824951172,
0.005399551868438721,
0.005554175853729248,
0.005505023956298828,
0.005573631763458252,
0.00547430419921875,
0.005482495784759522,
0.0055582718849182125,
0.005743616104125977,
0.0055808000564575196,
0.005598239898681641,
0.005628928184509278,
0.0057190399169921875,
0.0056258559226989744,
0.005832704067230224,
0.0056442880630493165,
0.005601280212402344,
0.005690368175506591,
0.0056852478981018065,
0.005693439960479736,
0.005641215801239013,
0.0056514558792114256,
0.005626880168914795,
0.005687295913696289,
0.005755904197692871,
0.005743616104125977,
0.005846015930175781,
0.005756927967071533,
0.005833727836608887,
0.005764095783233642,
0.00572211217880249,
0.00568832015991211,
0.006105088233947754,
0.00572211217880249,
0.005628928184509278,
0.005547008037567139,
0.005650432109832764,
0.005615615844726562,
0.005612544059753418,
0.005465087890625,
0.005554175853729248,
0.005369855880737305,
0.005399551868438721,
0.005581823825836182,
0.005612544059753418,
0.0053637118339538575,
0.005352447986602784,
0.005275648117065429,
0.0053350720405578615,
0.005325856208801269,
0.005484543800354004,
0.0053637118339538575,
0.005493760108947754,
0.005399551868438721,
0.005563392162322998,
0.00551526403427124,
0.005606400012969971,
0.00570470380783081,
0.005429247856140137,
0.005339136123657226,
0.00540064001083374,
0.005349376201629639,
0.005411839962005615,
0.005388288021087646,
0.00536575984954834,
0.00542310380935669,
0.005392384052276611,
0.005344255924224854,
0.005512191772460938,
0.005350399971008301,
0.005341184139251709,
0.005377024173736572,
0.0053534722328186036,
0.005419007778167725,
0.005385216236114502,
0.00531660795211792,
0.00531660795211792,
0.005344255924224854,
0.005349376201629639,
0.00531660795211792,
0.005355519771575928,
0.005296127796173096,
0.00531763219833374,
0.005323775768280029,
0.005348351955413819,
0.005312511920928955,
0.005345280170440674,
0.005306367874145508,
0.005369855880737305,
0.005354496002197265,
0.005325823783874512,
0.005302271842956543,
0.0053340158462524415,
0.005310463905334473,
0.005323775768280029,
0.005322751998901368,
0.00532480001449585,
0.005294079780578613,
0.005327871799468994,
0.00532480001449585,
0.005318655967712403,
0.005343232154846191,
0.005356544017791748,
0.0053012480735778805,
0.005349376201629639,
0.005306367874145508,
0.005302271842956543,
0.005313536167144775,
0.005346303939819336,
0.005285888195037842,
0.005420032024383545,
0.005336063861846924,
0.0053647360801696775,
0.005336063861846924,
0.005351424217224121,
0.0053637118339538575,
0.005420032024383545,
0.005328896045684814,
0.005327871799468994,
0.005318655967712403,
0.005331967830657959,
0.005307392120361328
]
},
"throughput": {
"unit": "samples/s",
"value": 181.45024965875268
},
"energy": {
"unit": "kWh",
"cpu": 6.26168170943015e-08,
"ram": 3.423238143248185e-08,
"gpu": 1.2951033752631436e-07,
"total": 2.263595360530977e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4417750.70507932
}
}
}
}