IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
04f5d8b verified
raw
history blame
13.7 kB
{
"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.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.34.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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 794.2144,
"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.7703759765625,
"mean": 7.7703759765625,
"stdev": 0.0,
"p50": 7.7703759765625,
"p90": 7.7703759765625,
"p95": 7.7703759765625,
"p99": 7.7703759765625,
"values": [
7.7703759765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.305964333335403e-07,
"ram": 4.943085794171647e-07,
"gpu": 1.8111125599999493e-06,
"total": 3.236017572750655e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1049.669632,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.0046344003677372,
"mean": 0.005519969232789763,
"stdev": 0.000193010241184195,
"p50": 0.005536256074905396,
"p90": 0.005752934551239013,
"p95": 0.005831731271743774,
"p99": 0.0059869387149810785,
"values": [
0.005832704067230224,
0.005865503787994384,
0.00581324815750122,
0.005713920116424561,
0.005914624214172363,
0.005857344150543213,
0.005852159976959229,
0.005780479907989502,
0.005673984050750733,
0.005604351997375488,
0.005596159934997558,
0.005601280212402344,
0.005537792205810547,
0.005540863990783691,
0.005571584224700928,
0.005545983791351319,
0.005600255966186523,
0.005513216018676758,
0.005416959762573242,
0.005412864208221436,
0.005420032024383545,
0.005499904155731201,
0.0055214080810546875,
0.005502975940704345,
0.005581823825836182,
0.005628928184509278,
0.0055797758102417,
0.0055797758102417,
0.005537792205810547,
0.005492735862731934,
0.005680191993713379,
0.005687295913696289,
0.005611519813537597,
0.005604351997375488,
0.005587967872619629,
0.005594111919403076,
0.005593088150024414,
0.005628928184509278,
0.0055808000564575196,
0.005538815975189209,
0.005548031806945801,
0.0055285758972167965,
0.0055848960876464845,
0.005533696174621582,
0.005575679779052735,
0.005588992118835449,
0.005553152084350586,
0.0054271998405456545,
0.005431295871734619,
0.005412864208221436,
0.005506048202514649,
0.005470208168029785,
0.005743616104125977,
0.00571289587020874,
0.005701632022857666,
0.005744639873504639,
0.005654528141021729,
0.005797887802124023,
0.005694464206695556,
0.005612544059753418,
0.0055920639038085935,
0.005560319900512695,
0.005578752040863037,
0.005534719944000244,
0.005550079822540284,
0.005513216018676758,
0.005475327968597412,
0.005568511962890625,
0.00555622386932373,
0.005561344146728516,
0.005566463947296142,
0.005502975940704345,
0.0055316481590271,
0.00555622386932373,
0.00555622386932373,
0.005468160152435303,
0.005410816192626953,
0.005455872058868408,
0.00552345609664917,
0.00551526403427124,
0.005571584224700928,
0.005591040134429932,
0.005525504112243652,
0.005506080150604248,
0.005683199882507324,
0.005469183921813964,
0.005504000186920166,
0.005434368133544922,
0.005488639831542969,
0.005442560195922852,
0.005482495784759522,
0.0054876160621643065,
0.005557248115539551,
0.00556441593170166,
0.0055920639038085935,
0.005837823867797852,
0.005792768001556397,
0.005772287845611572,
0.005803008079528809,
0.005679103851318359,
0.005753856182098388,
0.005725183963775635,
0.00570470380783081,
0.005645311832427978,
0.005607423782348633,
0.005634047985076904,
0.005482495784759522,
0.0056217598915100095,
0.005666816234588623,
0.005571584224700928,
0.005540863990783691,
0.005534719944000244,
0.005652544021606446,
0.005573631763458252,
0.005369855880737305,
0.005368832111358642,
0.005389311790466309,
0.0058419198989868165,
0.005595136165618897,
0.005928959846496582,
0.006354944229125976,
0.0062341117858886715,
0.005700607776641845,
0.005666816234588623,
0.00581324815750122,
0.005789696216583252,
0.005585919857025146,
0.0055552000999450684,
0.005544960021972656,
0.0054917120933532714,
0.005407743930816651,
0.005399551868438721,
0.005446656227111817,
0.0054282240867614745,
0.005419007778167725,
0.005602303981781006,
0.00551526403427124,
0.005390336036682129,
0.005399551868438721,
0.005361663818359375,
0.005406720161437988,
0.005369855880737305,
0.005355519771575928,
0.005414912223815918,
0.005351424217224121,
0.005341184139251709,
0.005400576114654541,
0.005336063861846924,
0.0053534722328186036,
0.0053678078651428224,
0.0053350400924682614,
0.00535756778717041,
0.0053606400489807126,
0.00532480001449585,
0.005381120204925537,
0.0053647360801696775,
0.0053821439743042,
0.005336063861846924,
0.0052971520423889164,
0.005167103767395019,
0.005194752216339111,
0.0051701760292053225,
0.0052111358642578124,
0.005174272060394287,
0.005197855949401855,
0.005243904113769531,
0.005193727970123291,
0.005169151782989502,
0.005214208126068115,
0.005182464122772217,
0.0052008957862854,
0.005191679954528809,
0.005223423957824707,
0.005197824001312256,
0.005191679954528809,
0.005187583923339844,
0.005189631938934326,
0.0051968002319335935,
0.0052111358642578124,
0.005178368091583252,
0.005216256141662597,
0.005294079780578613
]
},
"throughput": {
"unit": "samples/s",
"value": 181.16043003641985
},
"energy": {
"unit": "kWh",
"cpu": 6.324207733820805e-08,
"ram": 3.457502977306434e-08,
"gpu": 1.36074281436169e-07,
"total": 2.3389138854744136e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4275488.748048392
}
}
}
}