IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3665ec5 verified
raw
history blame
13.3 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": 791.842816,
"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.0245,
"mean": 8.0245,
"stdev": 0.0,
"p50": 8.0245,
"p90": 8.0245,
"p95": 8.0245,
"p99": 8.0245,
"values": [
8.0245
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.413135762506297e-06,
"ram": 1.3034706804482094e-06,
"gpu": 3.4913916820422664e-06,
"total": 7.207998124996773e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1047.32672,
"max_global_vram": 1236.795392,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 174,
"total": 1.0031535058021548,
"mean": 0.0057652500333457155,
"stdev": 0.00021549561869415473,
"p50": 0.0058234879970550536,
"p90": 0.00594309139251709,
"p95": 0.0059857407569885255,
"p99": 0.006393098373413088,
"values": [
0.006033376216888427,
0.006146048069000244,
0.006023168087005615,
0.005983232021331787,
0.005990399837493897,
0.005884928226470947,
0.005924863815307617,
0.00587775993347168,
0.005937151908874512,
0.005889023780822754,
0.005938176155090332,
0.005898240089416504,
0.005890048027038574,
0.0058787841796875,
0.005886975765228271,
0.005955584049224853,
0.0058388481140136715,
0.005767168045043946,
0.005776383876800537,
0.005735424041748047,
0.005888000011444092,
0.005868544101715088,
0.005900288105010986,
0.005908480167388916,
0.005901311874389649,
0.005940224170684814,
0.005903359889984131,
0.00588595199584961,
0.005822463989257813,
0.005819392204284668,
0.005874688148498535,
0.005884928226470947,
0.005938176155090332,
0.0058757119178771975,
0.005898240089416504,
0.0059064321517944334,
0.005916672229766846,
0.005932032108306885,
0.005867519855499268,
0.00586956787109375,
0.005897215843200684,
0.005914624214172363,
0.005951488018035888,
0.005868544101715088,
0.005816319942474365,
0.005738495826721191,
0.005742591857910156,
0.005790719985961914,
0.005807104110717773,
0.005850111961364746,
0.005824512004852295,
0.005855231761932373,
0.00587775993347168,
0.005846015930175781,
0.005876736164093017,
0.005928959846496582,
0.005974016189575195,
0.005929984092712402,
0.005925888061523437,
0.005925888061523437,
0.00586240005493164,
0.005898240089416504,
0.005829631805419922,
0.005806079864501953,
0.005888000011444092,
0.005616640090942383,
0.005637119770050049,
0.005774335861206055,
0.005893119812011719,
0.005921792030334472,
0.005889023780822754,
0.005853184223175049,
0.005715968132019043,
0.00581324815750122,
0.005628928184509278,
0.005851136207580566,
0.005897215843200684,
0.005960703849792481,
0.005867519855499268,
0.005825535774230957,
0.005832704067230224,
0.00586240005493164,
0.005808127880096436,
0.005857279777526855,
0.0058009600639343266,
0.005850111961364746,
0.005853184223175049,
0.005825535774230957,
0.006042623996734619,
0.005944320201873779,
0.005971968173980713,
0.0059054079055786135,
0.006496255874633789,
0.005911551952362061,
0.005913599967956543,
0.005884928226470947,
0.005883903980255127,
0.0059023361206054685,
0.005807104110717773,
0.005746687889099121,
0.005959680080413818,
0.00582860803604126,
0.005781504154205322,
0.0057415680885314945,
0.005657599925994873,
0.005593088150024414,
0.005801983833312988,
0.0058388481140136715,
0.005668863773345947,
0.005530623912811279,
0.00553984022140503,
0.005619711875915527,
0.005582848072052002,
0.005669888019561768,
0.00567193603515625,
0.005667840003967285,
0.00561356782913208,
0.0057077760696411135,
0.005913599967956543,
0.005970943927764893,
0.005692416191101074,
0.006956096172332764,
0.006260735988616943,
0.006354944229125976,
0.005656576156616211,
0.005569536209106446,
0.0055552000999450684,
0.005612544059753418,
0.005587967872619629,
0.005553152084350586,
0.005573631763458252,
0.005540863990783691,
0.005612544059753418,
0.005506048202514649,
0.005509119987487793,
0.0055214080810546875,
0.005513247966766358,
0.005517312049865723,
0.00551423978805542,
0.005506048202514649,
0.0054917120933532714,
0.005469183921813964,
0.005391359806060791,
0.0054282240867614745,
0.005398528099060058,
0.005411839962005615,
0.005409791946411133,
0.005396480083465576,
0.005429247856140137,
0.005484543800354004,
0.005527552127838135,
0.0055214080810546875,
0.005526527881622314,
0.005494783878326416,
0.005505023956298828,
0.005505023956298828,
0.005593088150024414,
0.0055203838348388675,
0.005506048202514649,
0.0055214080810546875,
0.005500927925109863,
0.005492735862731934,
0.005532671928405761,
0.00550707197189331,
0.00551423978805542,
0.005532671928405761,
0.005475327968597412,
0.005533696174621582,
0.005548064231872559,
0.00552243185043335,
0.005517312049865723,
0.005527552127838135,
0.005512191772460938,
0.005499904155731201
]
},
"throughput": {
"unit": "samples/s",
"value": 173.45301491107674
},
"energy": {
"unit": "kWh",
"cpu": 6.120441886786906e-08,
"ram": 3.344346475415448e-08,
"gpu": 1.2661092603061825e-07,
"total": 2.2125880965264178e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4519594.05173479
}
}
}
}