
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
eeffca0
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.224-212.876.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 793.862144, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.99195849609375, | |
"mean": 7.99195849609375, | |
"stdev": 0.0, | |
"p50": 7.99195849609375, | |
"p90": 7.99195849609375, | |
"p95": 7.99195849609375, | |
"p99": 7.99195849609375, | |
"values": [ | |
7.99195849609375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.4051301555623976e-06, | |
"ram": 1.2949384971288833e-06, | |
"gpu": 3.2719470619974045e-06, | |
"total": 6.972015714688686e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1049.325568, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 185, | |
"total": 1.0022985281944272, | |
"mean": 0.00541782988213204, | |
"stdev": 0.0001478839227951562, | |
"p50": 0.005411839962005615, | |
"p90": 0.00553369607925415, | |
"p95": 0.0056700928688049315, | |
"p99": 0.006009497566223145, | |
"values": [ | |
0.00591871976852417, | |
0.006094848155975342, | |
0.005750783920288086, | |
0.00553984022140503, | |
0.0055797758102417, | |
0.005519360065460205, | |
0.005638144016265869, | |
0.0055203838348388675, | |
0.005511168003082275, | |
0.005543935775756836, | |
0.005506048202514649, | |
0.005441535949707031, | |
0.00546611213684082, | |
0.005417984008789062, | |
0.005451776027679443, | |
0.005443583965301513, | |
0.005485568046569824, | |
0.005442560195922852, | |
0.005342207908630371, | |
0.005298175811767578, | |
0.005311488151550293, | |
0.005349376201629639, | |
0.005389311790466309, | |
0.005411839962005615, | |
0.005454847812652588, | |
0.005445631980895996, | |
0.0055101442337036136, | |
0.005455872058868408, | |
0.005483520030975342, | |
0.005497856140136719, | |
0.005411839962005615, | |
0.005488639831542969, | |
0.005432320117950439, | |
0.00551526403427124, | |
0.005517312049865723, | |
0.0054568958282470706, | |
0.005462016105651855, | |
0.005523488044738769, | |
0.005455872058868408, | |
0.005471231937408447, | |
0.005450751781463623, | |
0.005390336036682129, | |
0.005495808124542236, | |
0.005439487934112549, | |
0.005429247856140137, | |
0.00550707197189331, | |
0.005478400230407715, | |
0.005398528099060058, | |
0.0053309440612792965, | |
0.005280767917633057, | |
0.005296127796173096, | |
0.00541593599319458, | |
0.0053647360801696775, | |
0.005381120204925537, | |
0.005454847812652588, | |
0.005480447769165039, | |
0.005478400230407715, | |
0.005411839962005615, | |
0.005411839962005615, | |
0.005452799797058106, | |
0.005454847812652588, | |
0.0054568958282470706, | |
0.005492735862731934, | |
0.005468160152435303, | |
0.005431295871734619, | |
0.00547430419921875, | |
0.005426176071166992, | |
0.005393407821655274, | |
0.005356607913970947, | |
0.005412864208221436, | |
0.005494783878326416, | |
0.005431295871734619, | |
0.005385216236114502, | |
0.005379072189331055, | |
0.005421055793762207, | |
0.005419007778167725, | |
0.005436416149139404, | |
0.005325823783874512, | |
0.005268479824066162, | |
0.005396480083465576, | |
0.0053944320678710935, | |
0.005331967830657959, | |
0.00542310380935669, | |
0.005459968090057373, | |
0.0053975038528442385, | |
0.005361663818359375, | |
0.005339136123657226, | |
0.00530841588973999, | |
0.005446656227111817, | |
0.005385216236114502, | |
0.005431295871734619, | |
0.0053637118339538575, | |
0.0058787841796875, | |
0.005393407821655274, | |
0.005404672145843506, | |
0.005455872058868408, | |
0.005530623912811279, | |
0.005454847812652588, | |
0.005493760108947754, | |
0.005485568046569824, | |
0.0054906878471374515, | |
0.0054579200744628905, | |
0.005442560195922852, | |
0.005406720161437988, | |
0.005476352214813233, | |
0.005391359806060791, | |
0.005385216236114502, | |
0.005468160152435303, | |
0.005586944103240967, | |
0.005411839962005615, | |
0.005312511920928955, | |
0.005224448204040527, | |
0.0053002238273620605, | |
0.005137407779693603, | |
0.005164031982421875, | |
0.005340159893035889, | |
0.005312511920928955, | |
0.0051138558387756345, | |
0.005057536125183106, | |
0.005111807823181152, | |
0.005175295829772949, | |
0.0050841598510742185, | |
0.005148672103881836, | |
0.005535744190216065, | |
0.005695487976074219, | |
0.005733376026153565, | |
0.0056258559226989744, | |
0.006000639915466309, | |
0.0057118721008300784, | |
0.0056780800819396975, | |
0.005603328227996827, | |
0.0055214080810546875, | |
0.006056000232696533, | |
0.005638144016265869, | |
0.0054876160621643065, | |
0.005404672145843506, | |
0.005400576114654541, | |
0.0054579200744628905, | |
0.005399551868438721, | |
0.0053606400489807126, | |
0.0054568958282470706, | |
0.005390336036682129, | |
0.00531763219833374, | |
0.0053350400924682614, | |
0.005302271842956543, | |
0.0052633600234985355, | |
0.0053309440612792965, | |
0.0052715520858764645, | |
0.005283840179443359, | |
0.00530944013595581, | |
0.005281792163848877, | |
0.0052674560546875, | |
0.005312511920928955, | |
0.00530841588973999, | |
0.005294079780578613, | |
0.005299200057983398, | |
0.005294079780578613, | |
0.005278719902038574, | |
0.005298175811767578, | |
0.005288959980010987, | |
0.005288959980010987, | |
0.005248000144958496, | |
0.005312511920928955, | |
0.00526643180847168, | |
0.00526643180847168, | |
0.0052971520423889164, | |
0.005285888195037842, | |
0.005278719902038574, | |
0.00531763219833374, | |
0.005273600101470947, | |
0.005349376201629639, | |
0.005401599884033203, | |
0.005377024173736572, | |
0.005355519771575928, | |
0.005413887977600097, | |
0.005369855880737305, | |
0.0053534722328186036, | |
0.005388288021087646, | |
0.0053637118339538575, | |
0.0053534722328186036, | |
0.005395455837249756, | |
0.005351424217224121, | |
0.00538316822052002, | |
0.00535756778717041, | |
0.005381120204925537 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.5757474405005 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.000148813476072e-08, | |
"ram": 3.278531843726335e-08, | |
"gpu": 1.2043500094946115e-07, | |
"total": 2.1322180752148525e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4689951.800072023 | |
} | |
} | |
} | |
} |