
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2218817
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.486592, | |
"max_global_vram": 1231.552512, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 187, | |
"total": 1.0029537611007688, | |
"mean": 0.005363389096795556, | |
"stdev": 0.00021537537658817912, | |
"p50": 0.0053678078651428224, | |
"p90": 0.005636096000671387, | |
"p95": 0.005675622463226318, | |
"p99": 0.005822423200607298, | |
"values": [ | |
0.00623308801651001, | |
0.005631999969482422, | |
0.005752831935882568, | |
0.00581324815750122, | |
0.0057497601509094234, | |
0.005582848072052002, | |
0.005642240047454834, | |
0.005538815975189209, | |
0.00566476821899414, | |
0.005599232196807862, | |
0.00561356782913208, | |
0.005549056053161621, | |
0.0055511040687561035, | |
0.005730303764343261, | |
0.005582848072052002, | |
0.0055101442337036136, | |
0.005467135906219483, | |
0.005407743930816651, | |
0.005401599884033203, | |
0.005492735862731934, | |
0.005478400230407715, | |
0.0055808000564575196, | |
0.005540863990783691, | |
0.0057784318923950195, | |
0.005495808124542236, | |
0.005410816192626953, | |
0.005465087890625, | |
0.005472256183624268, | |
0.005509119987487793, | |
0.005516287803649903, | |
0.005554175853729248, | |
0.005517312049865723, | |
0.0055623679161071774, | |
0.005587967872619629, | |
0.005618688106536865, | |
0.005480447769165039, | |
0.005497856140136719, | |
0.005410816192626953, | |
0.005359615802764893, | |
0.0053678078651428224, | |
0.005447679996490478, | |
0.00547430419921875, | |
0.005379072189331055, | |
0.0055203838348388675, | |
0.005501952171325684, | |
0.005519360065460205, | |
0.005511168003082275, | |
0.005506048202514649, | |
0.005745664119720459, | |
0.0056555519104003905, | |
0.005516287803649903, | |
0.005407743930816651, | |
0.005479423999786377, | |
0.005643263816833496, | |
0.005615615844726562, | |
0.005465087890625, | |
0.0058787841796875, | |
0.005585919857025146, | |
0.005590015888214111, | |
0.005657599925994873, | |
0.005606400012969971, | |
0.0055848960876464845, | |
0.005516287803649903, | |
0.005561344146728516, | |
0.005661695957183838, | |
0.0056555519104003905, | |
0.005469183921813964, | |
0.005470208168029785, | |
0.005475327968597412, | |
0.0054876160621643065, | |
0.005552127838134766, | |
0.005560319900512695, | |
0.0055552000999450684, | |
0.005643263816833496, | |
0.00568832015991211, | |
0.005516287803649903, | |
0.0055552000999450684, | |
0.00547430419921875, | |
0.00550707197189331, | |
0.005543935775756836, | |
0.005441535949707031, | |
0.0053821439743042, | |
0.0052899842262268066, | |
0.005331967830657959, | |
0.005390336036682129, | |
0.0053678078651428224, | |
0.005372928142547607, | |
0.005274623870849609, | |
0.005154816150665284, | |
0.005149695873260498, | |
0.005198847770690918, | |
0.0051701760292053225, | |
0.005343232154846191, | |
0.005411839962005615, | |
0.005571584224700928, | |
0.005436416149139404, | |
0.005599232196807862, | |
0.005599232196807862, | |
0.0056780800819396975, | |
0.005669888019561768, | |
0.005398528099060058, | |
0.005400576114654541, | |
0.005339136123657226, | |
0.005315584182739258, | |
0.005351424217224121, | |
0.005311488151550293, | |
0.0053043198585510255, | |
0.0053309440612792965, | |
0.005343232154846191, | |
0.00532480001449585, | |
0.005372928142547607, | |
0.005298175811767578, | |
0.005171199798583984, | |
0.005169151782989502, | |
0.00516812801361084, | |
0.005306367874145508, | |
0.005318655967712403, | |
0.0051660799980163576, | |
0.005126143932342529, | |
0.005201920032501221, | |
0.005323775768280029, | |
0.005279744148254394, | |
0.005125120162963868, | |
0.005148672103881836, | |
0.005163008213043213, | |
0.0051138558387756345, | |
0.0052367358207702636, | |
0.005321728229522705, | |
0.005155839920043945, | |
0.005116928100585938, | |
0.005141503810882568, | |
0.005117951869964599, | |
0.0051066880226135255, | |
0.005135359764099121, | |
0.00511897611618042, | |
0.005127168178558349, | |
0.005122047901153564, | |
0.005145599842071533, | |
0.005156864166259765, | |
0.005142528057098389, | |
0.005184512138366699, | |
0.005132287979125977, | |
0.005141503810882568, | |
0.005138432025909424, | |
0.0051660799980163576, | |
0.005131264209747314, | |
0.005123072147369385, | |
0.005137407779693603, | |
0.005148672103881836, | |
0.005124095916748047, | |
0.005105663776397705, | |
0.005144576072692871, | |
0.005132287979125977, | |
0.005119999885559082, | |
0.005138463973999023, | |
0.005101568222045898, | |
0.005116928100585938, | |
0.005100543975830078, | |
0.005150720119476319, | |
0.00511897611618042, | |
0.005128191947937012, | |
0.005126143932342529, | |
0.005130239963531494, | |
0.005114880084991455, | |
0.005131264209747314, | |
0.005131264209747314, | |
0.005116928100585938, | |
0.00511078405380249, | |
0.005129216194152832, | |
0.005246975898742676, | |
0.0051476478576660155, | |
0.005123072147369385, | |
0.005214208126068115, | |
0.005134335994720459, | |
0.005197824001312256, | |
0.00516812801361084, | |
0.005223423957824707, | |
0.005128191947937012, | |
0.005079040050506592, | |
0.005102591991424561, | |
0.005079040050506592, | |
0.005054463863372802, | |
0.005105663776397705, | |
0.00506060791015625, | |
0.005088255882263183, | |
0.005117951869964599, | |
0.0051476478576660155 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 186.44927338899694 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.320399384126597e-08, | |
"ram": 3.4546604827242874e-08, | |
"gpu": 1.324380492127677e-07, | |
"total": 2.3018864788127654e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4344262.887002863 | |
} | |
} | |
} | |
} |