IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4140339
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.34.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.03584, | |
"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.4333193359375, | |
"mean": 7.4333193359375, | |
"stdev": 0.0, | |
"p50": 7.4333193359375, | |
"p90": 7.4333193359375, | |
"p95": 7.4333193359375, | |
"p99": 7.4333193359375, | |
"values": [ | |
7.4333193359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.02497004444461e-06, | |
"ram": 5.003204308297937e-07, | |
"gpu": 1.7405569480003803e-06, | |
"total": 3.265847423274784e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.642624, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 178, | |
"total": 0.9998132467269897, | |
"mean": 0.005616928352398819, | |
"stdev": 0.00021557308924919432, | |
"p50": 0.005585407972335815, | |
"p90": 0.005701529550552368, | |
"p95": 0.0060914686918258675, | |
"p99": 0.006503372673988342, | |
"values": [ | |
0.006394879817962646, | |
0.0064880638122558594, | |
0.006162432193756104, | |
0.006141952037811279, | |
0.006201344013214111, | |
0.006171648025512695, | |
0.006077439785003662, | |
0.006554624080657959, | |
0.005686272144317627, | |
0.005426176071166992, | |
0.005399551868438721, | |
0.005361663818359375, | |
0.005436416149139404, | |
0.005328896045684814, | |
0.00535756778717041, | |
0.005389311790466309, | |
0.005350399971008301, | |
0.005322751998901368, | |
0.005332992076873779, | |
0.005338111877441406, | |
0.005331967830657959, | |
0.005354496002197265, | |
0.005331967830657959, | |
0.005312511920928955, | |
0.005439487934112549, | |
0.00532480001449585, | |
0.005345280170440674, | |
0.005362688064575195, | |
0.005344255924224854, | |
0.005355519771575928, | |
0.00536678409576416, | |
0.005430272102355957, | |
0.005603328227996827, | |
0.005581855773925781, | |
0.005578752040863037, | |
0.005605375766754151, | |
0.00555622386932373, | |
0.005581823825836182, | |
0.005609471797943116, | |
0.005573631763458252, | |
0.005609471797943116, | |
0.0055797758102417, | |
0.0056483840942382815, | |
0.005565440177917481, | |
0.005570559978485107, | |
0.0055797758102417, | |
0.005611519813537597, | |
0.005585919857025146, | |
0.0056217598915100095, | |
0.005577727794647217, | |
0.005593088150024414, | |
0.005570559978485107, | |
0.0056258559226989744, | |
0.006124544143676758, | |
0.005710847854614258, | |
0.00568012809753418, | |
0.006977536201477051, | |
0.0060067839622497555, | |
0.005697535991668701, | |
0.005624832153320313, | |
0.005593088150024414, | |
0.005588992118835449, | |
0.005611519813537597, | |
0.005607423782348633, | |
0.005607423782348633, | |
0.005582848072052002, | |
0.005742591857910156, | |
0.005595136165618897, | |
0.005601280212402344, | |
0.005591040134429932, | |
0.005595136165618897, | |
0.005607423782348633, | |
0.005566463947296142, | |
0.005571584224700928, | |
0.005575679779052735, | |
0.0055552000999450684, | |
0.005587967872619629, | |
0.005631999969482422, | |
0.005587967872619629, | |
0.005554175853729248, | |
0.005591040134429932, | |
0.005590015888214111, | |
0.005641215801239013, | |
0.005633024215698243, | |
0.005593088150024414, | |
0.005565440177917481, | |
0.005593088150024414, | |
0.005588992118835449, | |
0.005598207950592041, | |
0.005560319900512695, | |
0.005565440177917481, | |
0.0055797758102417, | |
0.005602303981781006, | |
0.0055552000999450684, | |
0.005578752040863037, | |
0.005541888236999512, | |
0.005576704025268555, | |
0.005541888236999512, | |
0.005538815975189209, | |
0.0055808000564575196, | |
0.0055582718849182125, | |
0.005560319900512695, | |
0.005552159786224365, | |
0.005529600143432617, | |
0.005612544059753418, | |
0.00556441593170166, | |
0.005573631763458252, | |
0.0055552000999450684, | |
0.005588992118835449, | |
0.005619711875915527, | |
0.005571584224700928, | |
0.005594111919403076, | |
0.005672959804534912, | |
0.005657599925994873, | |
0.005586944103240967, | |
0.005566463947296142, | |
0.005577727794647217, | |
0.005565440177917481, | |
0.005636096000671387, | |
0.005631999969482422, | |
0.005571584224700928, | |
0.0056217598915100095, | |
0.005744639873504639, | |
0.005574656009674072, | |
0.00561356782913208, | |
0.005596159934997558, | |
0.0056258559226989744, | |
0.005639167785644531, | |
0.005597184181213379, | |
0.005624832153320313, | |
0.005618688106536865, | |
0.005658624172210694, | |
0.005604351997375488, | |
0.005609471797943116, | |
0.005600255966186523, | |
0.005788703918457031, | |
0.005979135990142822, | |
0.005595136165618897, | |
0.005647359848022461, | |
0.005626880168914795, | |
0.005603328227996827, | |
0.006022143840789795, | |
0.006085631847381592, | |
0.005661695957183838, | |
0.005565440177917481, | |
0.005627903938293457, | |
0.005585919857025146, | |
0.005590015888214111, | |
0.005563392162322998, | |
0.005554175853729248, | |
0.005582848072052002, | |
0.005577727794647217, | |
0.005563392162322998, | |
0.005615615844726562, | |
0.0055848960876464845, | |
0.005676032066345215, | |
0.005602303981781006, | |
0.005608448028564453, | |
0.0055808000564575196, | |
0.005557248115539551, | |
0.0055848960876464845, | |
0.00557260799407959, | |
0.005616640090942383, | |
0.005593088150024414, | |
0.005553152084350586, | |
0.00555622386932373, | |
0.005583871841430664, | |
0.005544960021972656, | |
0.005569536209106446, | |
0.005550079822540284, | |
0.005582848072052002, | |
0.005544960021972656, | |
0.005576704025268555, | |
0.00557366418838501, | |
0.005559296131134033, | |
0.005578752040863037, | |
0.005567488193511963, | |
0.005535744190216065 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.03324829182316 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.408195692577865e-08, | |
"ram": 3.493385326129796e-08, | |
"gpu": 1.2805416456989322e-07, | |
"total": 2.2706997475696983e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4403928.793625346 | |
} | |
} | |
} | |
} |