
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c67d93e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.199872, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 182, | |
"total": 1.0024100174903867, | |
"mean": 0.005507747348848281, | |
"stdev": 0.0003797542264548512, | |
"p50": 0.0054748160839080805, | |
"p90": 0.005687808132171631, | |
"p95": 0.005842841744422913, | |
"p99": 0.007778058156967162, | |
"values": [ | |
0.008310784339904785, | |
0.007864319801330566, | |
0.0077578239440917966, | |
0.006262784004211426, | |
0.005928959846496582, | |
0.005972991943359375, | |
0.005913599967956543, | |
0.005793791770935058, | |
0.005997568130493164, | |
0.00626585578918457, | |
0.0058429441452026365, | |
0.005676032066345215, | |
0.0055552000999450684, | |
0.005513216018676758, | |
0.005569536209106446, | |
0.005581823825836182, | |
0.005627903938293457, | |
0.00568832015991211, | |
0.005683199882507324, | |
0.005669888019561768, | |
0.005582848072052002, | |
0.005618688106536865, | |
0.0055797758102417, | |
0.0056514558792114256, | |
0.005679103851318359, | |
0.005638144016265869, | |
0.005690368175506591, | |
0.005603328227996827, | |
0.0055848960876464845, | |
0.005640192031860352, | |
0.005638144016265869, | |
0.005656576156616211, | |
0.005549056053161621, | |
0.0054579200744628905, | |
0.005501952171325684, | |
0.00550707197189331, | |
0.005605375766754151, | |
0.005500927925109863, | |
0.005598207950592041, | |
0.005585919857025146, | |
0.005597184181213379, | |
0.005698560237884521, | |
0.00566374397277832, | |
0.005650432109832764, | |
0.005679103851318359, | |
0.005649407863616943, | |
0.0055848960876464845, | |
0.005595136165618897, | |
0.005653503894805908, | |
0.005620736122131348, | |
0.0056145920753479005, | |
0.0056442880630493165, | |
0.00547430419921875, | |
0.005538815975189209, | |
0.005569536209106446, | |
0.0055582718849182125, | |
0.005691391944885254, | |
0.005576704025268555, | |
0.005529600143432617, | |
0.005578752040863037, | |
0.00553984022140503, | |
0.005585919857025146, | |
0.005600255966186523, | |
0.0055552000999450684, | |
0.00568012809753418, | |
0.005636096000671387, | |
0.005728256225585937, | |
0.005653503894805908, | |
0.0057077760696411135, | |
0.005643263816833496, | |
0.005616640090942383, | |
0.005628928184509278, | |
0.00557260799407959, | |
0.005577727794647217, | |
0.005612544059753418, | |
0.005538815975189209, | |
0.005482495784759522, | |
0.005319680213928223, | |
0.005342207908630371, | |
0.00551423978805542, | |
0.0055214080810546875, | |
0.005322751998901368, | |
0.005294079780578613, | |
0.005323775768280029, | |
0.005284863948822022, | |
0.00530841588973999, | |
0.0053012480735778805, | |
0.005381120204925537, | |
0.005470208168029785, | |
0.005538815975189209, | |
0.0056442880630493165, | |
0.005634047985076904, | |
0.0057784318923950195, | |
0.005610496044158936, | |
0.005451776027679443, | |
0.005683199882507324, | |
0.005475327968597412, | |
0.0054876160621643065, | |
0.00551423978805542, | |
0.005468160152435303, | |
0.0054579200744628905, | |
0.005452799797058106, | |
0.005481472015380859, | |
0.0054876160621643065, | |
0.005418015956878662, | |
0.005417984008789062, | |
0.005468160152435303, | |
0.005435391902923584, | |
0.005440512180328369, | |
0.005305344104766845, | |
0.005265408039093018, | |
0.005272575855255127, | |
0.0052705278396606445, | |
0.005250048160552978, | |
0.005385216236114502, | |
0.005305344104766845, | |
0.005273600101470947, | |
0.005340159893035889, | |
0.005286911964416504, | |
0.005264383792877197, | |
0.005264383792877197, | |
0.005286911964416504, | |
0.005250048160552978, | |
0.0052367358207702636, | |
0.005262335777282715, | |
0.005258240222930908, | |
0.005237760066986084, | |
0.005262335777282715, | |
0.005275648117065429, | |
0.0052367358207702636, | |
0.005248000144958496, | |
0.005315584182739258, | |
0.005259263992309571, | |
0.0052674560546875, | |
0.005298175811767578, | |
0.005262335777282715, | |
0.005268479824066162, | |
0.005273600101470947, | |
0.005243904113769531, | |
0.005250048160552978, | |
0.005282815933227539, | |
0.005235712051391602, | |
0.0052633600234985355, | |
0.005261312007904053, | |
0.005278719902038574, | |
0.005246975898742676, | |
0.005281792163848877, | |
0.005281792163848877, | |
0.005265408039093018, | |
0.005255167961120606, | |
0.005272575855255127, | |
0.005322751998901368, | |
0.005249023914337158, | |
0.005355519771575928, | |
0.005255167961120606, | |
0.005291007995605469, | |
0.005315584182739258, | |
0.005258240222930908, | |
0.005283840179443359, | |
0.005339136123657226, | |
0.0053002238273620605, | |
0.005246975898742676, | |
0.0052674560546875, | |
0.005262335777282715, | |
0.005255167961120606, | |
0.005256192207336426, | |
0.005252096176147461, | |
0.005244927883148193, | |
0.005252096176147461, | |
0.005282815933227539, | |
0.005213183879852295, | |
0.005184512138366699, | |
0.005248000144958496, | |
0.005189631938934326, | |
0.005197824001312256, | |
0.005216256141662597, | |
0.005197824001312256, | |
0.005582848072052002, | |
0.005342207908630371, | |
0.005277696132659912, | |
0.005619711875915527, | |
0.005840896129608154 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 181.56243136481356 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.437365523570978e-08, | |
"ram": 3.51740628196279e-08, | |
"gpu": 1.2662147810869616e-07, | |
"total": 2.2616919616403387e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4421468.603862081 | |
} | |
} | |
} | |
} |