
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c370543
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 783.142912, | |
"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.35937939453125, | |
"mean": 7.35937939453125, | |
"stdev": 0.0, | |
"p50": 7.35937939453125, | |
"p90": 7.35937939453125, | |
"p95": 7.35937939453125, | |
"p99": 7.35937939453125, | |
"values": [ | |
7.35937939453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.631715972218618e-07, | |
"ram": 5.121125882191104e-07, | |
"gpu": 1.7069458099995202e-06, | |
"total": 3.1822299954404926e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.7456, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 180, | |
"total": 1.0002493767738336, | |
"mean": 0.005556940982076857, | |
"stdev": 0.0001881500804512677, | |
"p50": 0.005517312049865723, | |
"p90": 0.005677772665023804, | |
"p95": 0.006115174460411071, | |
"p99": 0.00629932026386261, | |
"values": [ | |
0.006275072097778321, | |
0.006386688232421875, | |
0.006276095867156982, | |
0.006171648025512695, | |
0.0062494721412658695, | |
0.006164480209350586, | |
0.006114304065704346, | |
0.006151167869567871, | |
0.006131711959838867, | |
0.006419456005096436, | |
0.005553152084350586, | |
0.005411839962005615, | |
0.005323775768280029, | |
0.00531763219833374, | |
0.005351424217224121, | |
0.005557248115539551, | |
0.005536767959594726, | |
0.005540863990783691, | |
0.005526527881622314, | |
0.0055244798660278325, | |
0.005538815975189209, | |
0.005511168003082275, | |
0.005550079822540284, | |
0.005501952171325684, | |
0.0054876160621643065, | |
0.005535744190216065, | |
0.005533696174621582, | |
0.005516287803649903, | |
0.005536767959594726, | |
0.00550707197189331, | |
0.005566463947296142, | |
0.005525504112243652, | |
0.005684224128723145, | |
0.005575679779052735, | |
0.005513216018676758, | |
0.005552127838134766, | |
0.005533696174621582, | |
0.00553984022140503, | |
0.005575679779052735, | |
0.005506048202514649, | |
0.005530623912811279, | |
0.0055101442337036136, | |
0.005496831893920898, | |
0.005606400012969971, | |
0.0055285758972167965, | |
0.005497856140136719, | |
0.005548031806945801, | |
0.005494783878326416, | |
0.005708799839019775, | |
0.005501952171325684, | |
0.005500927925109863, | |
0.005513216018676758, | |
0.005484543800354004, | |
0.005488639831542969, | |
0.005508096218109131, | |
0.005494783878326416, | |
0.005559296131134033, | |
0.005496831893920898, | |
0.0054906878471374515, | |
0.005536767959594726, | |
0.005501952171325684, | |
0.005517312049865723, | |
0.005499904155731201, | |
0.005576704025268555, | |
0.005537792205810547, | |
0.005761023998260498, | |
0.00562278413772583, | |
0.005517312049865723, | |
0.005517312049865723, | |
0.0055511040687561035, | |
0.005518335819244385, | |
0.005494783878326416, | |
0.005565440177917481, | |
0.005504000186920166, | |
0.005536767959594726, | |
0.0054876160621643065, | |
0.005494783878326416, | |
0.005525504112243652, | |
0.005489664077758789, | |
0.0055101442337036136, | |
0.0055285758972167965, | |
0.00547430419921875, | |
0.005537792205810547, | |
0.005496831893920898, | |
0.0054906878471374515, | |
0.005542912006378174, | |
0.0055203838348388675, | |
0.005485568046569824, | |
0.005493760108947754, | |
0.005469183921813964, | |
0.0054989118576049805, | |
0.005495808124542236, | |
0.005962751865386963, | |
0.005517312049865723, | |
0.005478400230407715, | |
0.005513216018676758, | |
0.005471231937408447, | |
0.005489664077758789, | |
0.0055203838348388675, | |
0.005559296131134033, | |
0.005512191772460938, | |
0.005527552127838135, | |
0.005500927925109863, | |
0.005543935775756836, | |
0.005526527881622314, | |
0.005483520030975342, | |
0.00553984022140503, | |
0.005477375984191894, | |
0.005552127838134766, | |
0.005489664077758789, | |
0.0054876160621643065, | |
0.00551526403427124, | |
0.0054917120933532714, | |
0.005501952171325684, | |
0.005516287803649903, | |
0.005493760108947754, | |
0.005513216018676758, | |
0.005499904155731201, | |
0.005480447769165039, | |
0.005513216018676758, | |
0.005484543800354004, | |
0.0054876160621643065, | |
0.005669888019561768, | |
0.005677055835723877, | |
0.005746687889099121, | |
0.0056514558792114256, | |
0.0057149438858032225, | |
0.0056258559226989744, | |
0.005667840003967285, | |
0.00572211217880249, | |
0.005642240047454834, | |
0.0057190399169921875, | |
0.00561356782913208, | |
0.005516287803649903, | |
0.005566463947296142, | |
0.005516287803649903, | |
0.005560319900512695, | |
0.0055101442337036136, | |
0.005525504112243652, | |
0.0056145920753479005, | |
0.00555622386932373, | |
0.0055552000999450684, | |
0.005505023956298828, | |
0.005495808124542236, | |
0.005567488193511963, | |
0.005518335819244385, | |
0.005512191772460938, | |
0.005525504112243652, | |
0.005513216018676758, | |
0.005527552127838135, | |
0.005489664077758789, | |
0.005489664077758789, | |
0.005544960021972656, | |
0.005488639831542969, | |
0.005493760108947754, | |
0.005526527881622314, | |
0.005501952171325684, | |
0.005543935775756836, | |
0.0054906878471374515, | |
0.005481472015380859, | |
0.0055316481590271, | |
0.005477375984191894, | |
0.005542912006378174, | |
0.005518335819244385, | |
0.005495808124542236, | |
0.005526527881622314, | |
0.0055848960876464845, | |
0.005343232154846191, | |
0.005631999969482422, | |
0.0052930560111999515, | |
0.005283840179443359, | |
0.005319680213928223, | |
0.00531660795211792, | |
0.005284863948822022, | |
0.005321728229522705, | |
0.005312511920928955, | |
0.005298175811767578, | |
0.005318655967712403, | |
0.005291007995605469, | |
0.005278719902038574 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 179.95512337189857 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.353910284091177e-08, | |
"ram": 3.4735521129230305e-08, | |
"gpu": 1.286275538823534e-07, | |
"total": 2.269021778524955e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4407185.5522254165 | |
} | |
} | |
} | |
} |