IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
53a51f7 verified
raw
history blame
12.7 kB
{
"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.2.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": 868.798464,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 186,
"total": 1.0013113565444944,
"mean": 0.0053833943900241646,
"stdev": 0.00014647710389996415,
"p50": 0.005345279932022095,
"p90": 0.005547520160675049,
"p95": 0.005722880005836487,
"p99": 0.00586849262714386,
"values": [
0.006320191860198975,
0.005723135948181152,
0.005897215843200684,
0.005801983833312988,
0.005863423824310303,
0.0058429441452026365,
0.005723135948181152,
0.005774335861206055,
0.005758975982666016,
0.00572211217880249,
0.005673984050750733,
0.005700607776641845,
0.005442560195922852,
0.005346303939819336,
0.005312511920928955,
0.005264383792877197,
0.005323775768280029,
0.005396480083465576,
0.005475327968597412,
0.0054282240867614745,
0.005537792205810547,
0.005400576114654541,
0.0053821439743042,
0.005407743930816651,
0.005346303939819336,
0.0053975038528442385,
0.005463039875030518,
0.005384191989898681,
0.005426176071166992,
0.005422080039978027,
0.00536575984954834,
0.005416959762573242,
0.005393407821655274,
0.005391359806060791,
0.005386240005493164,
0.005230591773986816,
0.0052336640357971195,
0.0053012480735778805,
0.005332992076873779,
0.005278719902038574,
0.005359615802764893,
0.0053647360801696775,
0.0053678078651428224,
0.005448703765869141,
0.005475327968597412,
0.0054271998405456545,
0.005477375984191894,
0.005386240005493164,
0.005359615802764893,
0.005349376201629639,
0.00537497615814209,
0.005386240005493164,
0.005411839962005615,
0.005369855880737305,
0.0054282240867614745,
0.005280767917633057,
0.005286911964416504,
0.005343232154846191,
0.005388288021087646,
0.005417984008789062,
0.005406720161437988,
0.005299200057983398,
0.005319680213928223,
0.005352447986602784,
0.005362688064575195,
0.005336063861846924,
0.005338111877441406,
0.005344255924224854,
0.005387263774871826,
0.005470208168029785,
0.005455872058868408,
0.005405695915222168,
0.005484543800354004,
0.005386240005493164,
0.005410816192626953,
0.0054241280555725096,
0.005306367874145508,
0.00537497615814209,
0.005355519771575928,
0.005234687805175781,
0.005292031764984131,
0.005169151782989502,
0.005102591991424561,
0.005256192207336426,
0.005641215801239013,
0.0054609918594360355,
0.005377024173736572,
0.005371903896331787,
0.005329919815063477,
0.005331967830657959,
0.00536678409576416,
0.0053821439743042,
0.005559296131134033,
0.005569536209106446,
0.005557248115539551,
0.005633024215698243,
0.005740543842315674,
0.005636096000671387,
0.005492735862731934,
0.005500927925109863,
0.005420032024383545,
0.005372928142547607,
0.005356544017791748,
0.005362751960754394,
0.005351424217224121,
0.005349376201629639,
0.005380095958709717,
0.005378047943115235,
0.00536678409576416,
0.00537497615814209,
0.005347328186035156,
0.0052930560111999515,
0.00530841588973999,
0.005323775768280029,
0.005331967830657959,
0.005327871799468994,
0.005311488151550293,
0.00530944013595581,
0.005321728229522705,
0.005331967830657959,
0.005325823783874512,
0.005295104026794434,
0.005292031764984131,
0.005295104026794434,
0.005327871799468994,
0.005296127796173096,
0.005321728229522705,
0.005348351955413819,
0.0053340158462524415,
0.005313536167144775,
0.005377024173736572,
0.0053534722328186036,
0.005310463905334473,
0.005329919815063477,
0.0053350400924682614,
0.005306367874145508,
0.005241856098175048,
0.005234687805175781,
0.00522649621963501,
0.005227519989013672,
0.005224448204040527,
0.005214208126068115,
0.005220352172851562,
0.005268479824066162,
0.005201920032501221,
0.005294079780578613,
0.005321728229522705,
0.005278719902038574,
0.005284863948822022,
0.005306367874145508,
0.00530841588973999,
0.005295104026794434,
0.005388288021087646,
0.005325823783874512,
0.005342207908630371,
0.005312511920928955,
0.0053350400924682614,
0.005329919815063477,
0.005315584182739258,
0.005319680213928223,
0.005338111877441406,
0.005346303939819336,
0.005321728229522705,
0.00530944013595581,
0.005337088108062744,
0.00530944013595581,
0.005306367874145508,
0.005322751998901368,
0.005331967830657959,
0.005298175811767578,
0.005320703983306885,
0.005294079780578613,
0.005307392120361328,
0.005340159893035889,
0.005321728229522705,
0.0053043198585510255,
0.005315584182739258,
0.005295104026794434,
0.005299200057983398,
0.0053043198585510255,
0.005291007995605469,
0.005284863948822022,
0.005348351955413819,
0.005306367874145508,
0.00532480001449585,
0.005310463905334473
]
},
"throughput": {
"unit": "samples/s",
"value": 185.75640711984158
},
"energy": {
"unit": "kWh",
"cpu": 6.093876993554271e-08,
"ram": 3.330585322105552e-08,
"gpu": 1.2617531461538352e-07,
"total": 2.2041993777198177e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4536794.67523701
}
}
}
}