
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fe37453
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.33.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.11776, | |
"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.38119189453125, | |
"mean": 7.38119189453125, | |
"stdev": 0.0, | |
"p50": 7.38119189453125, | |
"p90": 7.38119189453125, | |
"p95": 7.38119189453125, | |
"p99": 7.38119189453125, | |
"values": [ | |
7.38119189453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.41666372915664e-07, | |
"ram": 5.003044357885493e-07, | |
"gpu": 1.7966681039997302e-06, | |
"total": 3.2386389127039436e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.699968, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 1.0007952651977543, | |
"mean": 0.005529255608827369, | |
"stdev": 0.00028067885638227697, | |
"p50": 0.005468160152435303, | |
"p90": 0.005752831935882568, | |
"p95": 0.006120448112487793, | |
"p99": 0.006517760181426996, | |
"values": [ | |
0.00622489595413208, | |
0.006416384220123291, | |
0.006172671794891358, | |
0.006171648025512695, | |
0.006110208034515381, | |
0.006120448112487793, | |
0.006243328094482422, | |
0.006923264026641846, | |
0.005726208209991455, | |
0.00536575984954834, | |
0.005396480083465576, | |
0.005398528099060058, | |
0.005381120204925537, | |
0.005372928142547607, | |
0.005408768177032471, | |
0.00535756778717041, | |
0.005375999927520752, | |
0.005392384052276611, | |
0.005368832111358642, | |
0.005341184139251709, | |
0.005393407821655274, | |
0.005329919815063477, | |
0.005348351955413819, | |
0.005370880126953125, | |
0.005368832111358642, | |
0.005312511920928955, | |
0.005405695915222168, | |
0.005396480083465576, | |
0.005434368133544922, | |
0.0054917120933532714, | |
0.005489664077758789, | |
0.005438464164733887, | |
0.005413919925689697, | |
0.005411839962005615, | |
0.0054988799095153805, | |
0.005402624130249023, | |
0.005486591815948487, | |
0.005745696067810059, | |
0.005763072013854981, | |
0.0058122239112854005, | |
0.005731328010559082, | |
0.005752831935882568, | |
0.0060928001403808595, | |
0.006080512046813965, | |
0.005774335861206055, | |
0.005750783920288086, | |
0.005751808166503906, | |
0.005659647941589355, | |
0.005745664119720459, | |
0.005636096000671387, | |
0.00562278413772583, | |
0.005799935817718506, | |
0.0057118721008300784, | |
0.00571289587020874, | |
0.005682176113128662, | |
0.00563097620010376, | |
0.005610496044158936, | |
0.00566374397277832, | |
0.005596159934997558, | |
0.005563392162322998, | |
0.00566476821899414, | |
0.005574656009674072, | |
0.00556441593170166, | |
0.005549056053161621, | |
0.005542912006378174, | |
0.0055316481590271, | |
0.005538815975189209, | |
0.005590015888214111, | |
0.005582848072052002, | |
0.005517312049865723, | |
0.005543935775756836, | |
0.005633024215698243, | |
0.0056555519104003905, | |
0.005619711875915527, | |
0.005581823825836182, | |
0.005633024215698243, | |
0.005608448028564453, | |
0.005583871841430664, | |
0.005618688106536865, | |
0.0056258559226989744, | |
0.005692416191101074, | |
0.005581823825836182, | |
0.005543935775756836, | |
0.005570559978485107, | |
0.00555622386932373, | |
0.006967296123504638, | |
0.006236159801483154, | |
0.006366208076477051, | |
0.005733376026153565, | |
0.005713920116424561, | |
0.00571289587020874, | |
0.005691391944885254, | |
0.006115327835083008, | |
0.005647359848022461, | |
0.005607423782348633, | |
0.005687295913696289, | |
0.005620736122131348, | |
0.005601312160491943, | |
0.00567193603515625, | |
0.0055808000564575196, | |
0.005599232196807862, | |
0.0055101442337036136, | |
0.005517312049865723, | |
0.005512191772460938, | |
0.005504000186920166, | |
0.005505023956298828, | |
0.005548031806945801, | |
0.0055203838348388675, | |
0.005559296131134033, | |
0.005465087890625, | |
0.005480447769165039, | |
0.005283840179443359, | |
0.005273600101470947, | |
0.005286911964416504, | |
0.005327871799468994, | |
0.0052674560546875, | |
0.0052971520423889164, | |
0.005298175811767578, | |
0.005269504070281982, | |
0.005307392120361328, | |
0.00538316822052002, | |
0.0053350400924682614, | |
0.00530944013595581, | |
0.00530944013595581, | |
0.005265408039093018, | |
0.0052633600234985355, | |
0.005322751998901368, | |
0.005258240222930908, | |
0.005573631763458252, | |
0.005439487934112549, | |
0.005481472015380859, | |
0.005437439918518067, | |
0.005480447769165039, | |
0.005371903896331787, | |
0.005431295871734619, | |
0.00536575984954834, | |
0.005389344215393066, | |
0.005439487934112549, | |
0.005465087890625, | |
0.005468160152435303, | |
0.005541888236999512, | |
0.0054271998405456545, | |
0.005449728012084961, | |
0.0054282240867614745, | |
0.00536678409576416, | |
0.005264383792877197, | |
0.005312511920928955, | |
0.005255167961120606, | |
0.005276671886444092, | |
0.0052715520858764645, | |
0.005238783836364746, | |
0.005227519989013672, | |
0.005277696132659912, | |
0.005252096176147461, | |
0.005259263992309571, | |
0.005287936210632324, | |
0.005265408039093018, | |
0.005245952129364013, | |
0.0052971520423889164, | |
0.005259263992309571, | |
0.005264383792877197, | |
0.005284863948822022, | |
0.0052705278396606445, | |
0.005245952129364013, | |
0.005282815933227539, | |
0.005292031764984131, | |
0.005299200057983398, | |
0.005328896045684814, | |
0.005359615802764893, | |
0.005306367874145508, | |
0.005329919815063477, | |
0.005332992076873779, | |
0.005369855880737305, | |
0.005307392120361328, | |
0.005345280170440674, | |
0.005315584182739258, | |
0.005347328186035156, | |
0.0053350400924682614, | |
0.005340159893035889, | |
0.005351424217224121, | |
0.005344255924224854 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.8561713811016 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.334897973485138e-08, | |
"ram": 3.4632799592522716e-08, | |
"gpu": 1.318836468021393e-07, | |
"total": 2.298654261295134e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4350371.505789516 | |
} | |
} | |
} | |
} |