IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ef6872c verified
raw
history blame
13.4 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.224-212.876.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.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"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": 792.317952,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.05163330078125,
"mean": 8.05163330078125,
"stdev": 0.0,
"p50": 8.05163330078125,
"p90": 8.05163330078125,
"p95": 8.05163330078125,
"p99": 8.05163330078125,
"values": [
8.05163330078125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.374130903472999e-06,
"ram": 1.2822853777835396e-06,
"gpu": 3.3980582740001514e-06,
"total": 7.05447455525669e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1047.79776,
"max_global_vram": 1236.795392,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 176,
"total": 1.0035293126106266,
"mean": 0.005701871094378558,
"stdev": 0.00019373586090510383,
"p50": 0.005634048223495483,
"p90": 0.005922815799713135,
"p95": 0.00598195219039917,
"p99": 0.006273279905319213,
"values": [
0.006090752124786377,
0.005975039958953857,
0.00587775993347168,
0.0056442880630493165,
0.0057794561386108395,
0.005669888019561768,
0.005648416042327881,
0.005710847854614258,
0.005619711875915527,
0.005642240047454834,
0.00563097620010376,
0.005576704025268555,
0.00561356782913208,
0.005773312091827393,
0.0059351038932800295,
0.005920767784118652,
0.006023168087005615,
0.005917695999145508,
0.005856256008148194,
0.005807104110717773,
0.005788671970367432,
0.005819392204284668,
0.005879807949066162,
0.0058787841796875,
0.005940224170684814,
0.005915647983551026,
0.005908480167388916,
0.005994495868682862,
0.005856256008148194,
0.005858304023742676,
0.005908480167388916,
0.005849088191986084,
0.0058429441452026365,
0.00591871976852417,
0.005913599967956543,
0.005908480167388916,
0.005676032066345215,
0.005626880168914795,
0.005620736122131348,
0.005581823825836182,
0.005631999969482422,
0.00556441593170166,
0.005607423782348633,
0.005645311832427978,
0.005581823825836182,
0.005922815799713135,
0.0058122239112854005,
0.005709824085235596,
0.005819392204284668,
0.005768191814422607,
0.00582041597366333,
0.005792768001556397,
0.005789696216583252,
0.005846015930175781,
0.005857279777526855,
0.005823488235473633,
0.005852159976959229,
0.006032383918762207,
0.005942272186279297,
0.005900288105010986,
0.0059391999244689945,
0.005980160236358643,
0.005922815799713135,
0.0056145920753479005,
0.005606400012969971,
0.0056145920753479005,
0.005777408123016357,
0.005894144058227539,
0.005863423824310303,
0.0059391999244689945,
0.00591974401473999,
0.0058757119178771975,
0.005840896129608154,
0.005863423824310303,
0.005588992118835449,
0.005413887977600097,
0.005591040134429932,
0.005525504112243652,
0.005547008037567139,
0.0055101442337036136,
0.005573631763458252,
0.005654528141021729,
0.005502975940704345,
0.0054906878471374515,
0.0055316481590271,
0.005501952171325684,
0.005519360065460205,
0.0055101442337036136,
0.00551423978805542,
0.005533696174621582,
0.005538815975189209,
0.005543935775756836,
0.006148096084594727,
0.005683199882507324,
0.005657599925994873,
0.005603328227996827,
0.005679103851318359,
0.005635072231292724,
0.005650432109832764,
0.005575679779052735,
0.005987328052520752,
0.005909503936767578,
0.005976064205169678,
0.0063539199829101565,
0.006592512130737305,
0.005891071796417236,
0.005888000011444092,
0.005773312091827393,
0.005776383876800537,
0.0057497601509094234,
0.005553152084350586,
0.005703680038452149,
0.005787648200988769,
0.005745664119720459,
0.005594111919403076,
0.005578752040863037,
0.005587967872619629,
0.005582848072052002,
0.005795839786529541,
0.005751808166503906,
0.005865471839904785,
0.005790719985961914,
0.00586137580871582,
0.006246399879455566,
0.005694464206695556,
0.00532480001449585,
0.0053504319190979,
0.0053043198585510255,
0.005299200057983398,
0.005303296089172363,
0.005443583965301513,
0.0055511040687561035,
0.005444608211517334,
0.0058091521263122555,
0.005633024215698243,
0.005609471797943116,
0.005581823825836182,
0.005549056053161621,
0.005624832153320313,
0.005533696174621582,
0.0055797758102417,
0.005565440177917481,
0.005547008037567139,
0.005560319900512695,
0.005540863990783691,
0.00557366418838501,
0.0055582718849182125,
0.005519360065460205,
0.005574656009674072,
0.005543935775756836,
0.005538815975189209,
0.005583871841430664,
0.00556441593170166,
0.005585919857025146,
0.005568511962890625,
0.005573631763458252,
0.005604351997375488,
0.005553152084350586,
0.005590015888214111,
0.005541888236999512,
0.005543935775756836,
0.005549056053161621,
0.005544960021972656,
0.0055797758102417,
0.005569536209106446,
0.005593088150024414,
0.005583871841430664,
0.005545983791351319,
0.005573631763458252,
0.00552345609664917,
0.005543935775756836,
0.005559296131134033,
0.005516287803649903,
0.0055285758972167965,
0.005553152084350586,
0.00555622386932373
]
},
"throughput": {
"unit": "samples/s",
"value": 175.38102553491507
},
"energy": {
"unit": "kWh",
"cpu": 6.235319127192565e-08,
"ram": 3.407077481438527e-08,
"gpu": 1.2974864181053316e-07,
"total": 2.2617260789684404e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4421401.907591276
}
}
}
}