
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
bc065e6
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-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.17568, | |
"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.390099609375, | |
"mean": 7.390099609375, | |
"stdev": 0.0, | |
"p50": 7.390099609375, | |
"p90": 7.390099609375, | |
"p95": 7.390099609375, | |
"p99": 7.390099609375, | |
"values": [ | |
7.390099609375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.454111069437943e-07, | |
"ram": 4.977165649427466e-07, | |
"gpu": 1.8477792559997049e-06, | |
"total": 3.290906927886246e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.753792, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 179, | |
"total": 1.0036347842216493, | |
"mean": 0.005606898235875136, | |
"stdev": 0.0002464146285059669, | |
"p50": 0.005640192031860352, | |
"p90": 0.005745664119720459, | |
"p95": 0.006046310377120972, | |
"p99": 0.006565171337127685, | |
"values": [ | |
0.006188032150268555, | |
0.006366208076477051, | |
0.006232063770294189, | |
0.006113279819488526, | |
0.006159359931945801, | |
0.006079487800598145, | |
0.006657023906707763, | |
0.005683199882507324, | |
0.005419104099273681, | |
0.005375999927520752, | |
0.005349376201629639, | |
0.005387263774871826, | |
0.005362688064575195, | |
0.00536678409576416, | |
0.005411839962005615, | |
0.005369855880737305, | |
0.005362688064575195, | |
0.005388288021087646, | |
0.00550707197189331, | |
0.005388288021087646, | |
0.005399551868438721, | |
0.0053350400924682614, | |
0.005355519771575928, | |
0.0053647360801696775, | |
0.005349376201629639, | |
0.005377024173736572, | |
0.005343232154846191, | |
0.005351424217224121, | |
0.005370880126953125, | |
0.005343232154846191, | |
0.005350399971008301, | |
0.00536678409576416, | |
0.005344255924224854, | |
0.0053534722328186036, | |
0.00537497615814209, | |
0.005329919815063477, | |
0.005331967830657959, | |
0.005380095958709717, | |
0.005347328186035156, | |
0.005329919815063477, | |
0.00536678409576416, | |
0.005323775768280029, | |
0.005338111877441406, | |
0.005384191989898681, | |
0.0054241280555725096, | |
0.005387263774871826, | |
0.0054241280555725096, | |
0.005372928142547607, | |
0.005362688064575195, | |
0.005361663818359375, | |
0.005355519771575928, | |
0.005350399971008301, | |
0.005390336036682129, | |
0.005346303939819336, | |
0.005359615802764893, | |
0.005354496002197265, | |
0.005331967830657959, | |
0.005340159893035889, | |
0.0053534722328186036, | |
0.0053340158462524415, | |
0.005346303939819336, | |
0.005361663818359375, | |
0.005327871799468994, | |
0.005318655967712403, | |
0.0053821439743042, | |
0.005421055793762207, | |
0.007154687881469727, | |
0.00653926420211792, | |
0.005745664119720459, | |
0.0056483840942382815, | |
0.005735424041748047, | |
0.00566374397277832, | |
0.005662720203399658, | |
0.00562278413772583, | |
0.005643263816833496, | |
0.005642240047454834, | |
0.005634047985076904, | |
0.00566374397277832, | |
0.0056483840942382815, | |
0.005668863773345947, | |
0.005646336078643799, | |
0.00561356782913208, | |
0.0056483840942382815, | |
0.005640192031860352, | |
0.005675007820129394, | |
0.005649407863616943, | |
0.005657599925994873, | |
0.005687295913696289, | |
0.005633024215698243, | |
0.005690368175506591, | |
0.0056555519104003905, | |
0.00568832015991211, | |
0.006042623996734619, | |
0.0056145920753479005, | |
0.005691391944885254, | |
0.005603328227996827, | |
0.005705728054046631, | |
0.005525504112243652, | |
0.005560319900512695, | |
0.0055623679161071774, | |
0.005569536209106446, | |
0.00556441593170166, | |
0.005543935775756836, | |
0.005532671928405761, | |
0.005585919857025146, | |
0.005517312049865723, | |
0.005587967872619629, | |
0.005611519813537597, | |
0.005602303981781006, | |
0.005670911788940429, | |
0.005597184181213379, | |
0.005640192031860352, | |
0.005615615844726562, | |
0.005629951953887939, | |
0.005657599925994873, | |
0.0055920639038085935, | |
0.005640192031860352, | |
0.005587967872619629, | |
0.005620736122131348, | |
0.005635072231292724, | |
0.005587967872619629, | |
0.005650432109832764, | |
0.005593088150024414, | |
0.005612544059753418, | |
0.005641215801239013, | |
0.005904384136199951, | |
0.005743616104125977, | |
0.005692416191101074, | |
0.005775360107421875, | |
0.005694464206695556, | |
0.005763072013854981, | |
0.0057292799949646, | |
0.005726208209991455, | |
0.005830656051635743, | |
0.0057118721008300784, | |
0.0057415680885314945, | |
0.005682176113128662, | |
0.005745664119720459, | |
0.005756927967071533, | |
0.005687295913696289, | |
0.005745664119720459, | |
0.00567193603515625, | |
0.005764095783233642, | |
0.005658624172210694, | |
0.005720064163208007, | |
0.005637119770050049, | |
0.005660672187805176, | |
0.0057190399169921875, | |
0.005653503894805908, | |
0.005682176113128662, | |
0.005641215801239013, | |
0.005668863773345947, | |
0.00566476821899414, | |
0.005686272144317627, | |
0.005750783920288086, | |
0.005673984050750733, | |
0.005730303764343261, | |
0.00566374397277832, | |
0.005673984050750733, | |
0.005687295913696289, | |
0.005692416191101074, | |
0.005715968132019043, | |
0.0056852478981018065, | |
0.005706751823425293, | |
0.005677055835723877, | |
0.00566476821899414, | |
0.005724160194396972, | |
0.005660672187805176, | |
0.0057118721008300784, | |
0.005687295913696289, | |
0.005700607776641845, | |
0.005661695957183838, | |
0.005656576156616211, | |
0.005691391944885254, | |
0.005658624172210694, | |
0.005687295913696289, | |
0.005715968132019043, | |
0.005669888019561768, | |
0.00568832015991211 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.35172994608808 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.547304904990772e-08, | |
"ram": 3.574686033920646e-08, | |
"gpu": 1.4675225415384727e-07, | |
"total": 2.479721635429614e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4032710.711203474 | |
} | |
} | |
} | |
} |