IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b011c8c verified
raw
history blame
13.5 kB
{
"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.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.33.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": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 782.635008,
"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.388990234375,
"mean": 7.388990234375,
"stdev": 0.0,
"p50": 7.388990234375,
"p90": 7.388990234375,
"p95": 7.388990234375,
"p99": 7.388990234375,
"values": [
7.388990234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.332122020835087e-07,
"ram": 4.956215121866606e-07,
"gpu": 1.7169458180004392e-06,
"total": 3.1457795322706087e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.21312,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 179,
"total": 1.0009724125862116,
"mean": 0.005592024651319622,
"stdev": 0.00016314084892295015,
"p50": 0.00556441593170166,
"p90": 0.0057393150329589845,
"p95": 0.005904281520843506,
"p99": 0.006183813133239746,
"values": [
0.006107135772705078,
0.006171648025512695,
0.0062269439697265625,
0.005903359889984131,
0.005946368217468262,
0.005833727836608887,
0.005912576198577881,
0.005808127880096436,
0.005660672187805176,
0.00566476821899414,
0.005677055835723877,
0.006121471881866455,
0.005604351997375488,
0.005307392120361328,
0.005278719902038574,
0.005269504070281982,
0.005277696132659912,
0.005254144191741943,
0.005215231895446777,
0.005254144191741943,
0.0052705278396606445,
0.005232639789581299,
0.005253119945526123,
0.005281792163848877,
0.0056258559226989744,
0.005596159934997558,
0.005583871841430664,
0.005552127838134766,
0.005576704025268555,
0.005544960021972656,
0.0055552000999450684,
0.0055808000564575196,
0.005569536209106446,
0.005585919857025146,
0.005557248115539551,
0.005797887802124023,
0.006049791812896729,
0.006542335987091064,
0.005742591857910156,
0.005744639873504639,
0.005606400012969971,
0.005587967872619629,
0.00566374397277832,
0.00561356782913208,
0.005611519813537597,
0.0055623679161071774,
0.005596159934997558,
0.005603328227996827,
0.0056145920753479005,
0.005595136165618897,
0.005617663860321045,
0.005616640090942383,
0.00563097620010376,
0.005585919857025146,
0.005611519813537597,
0.005538815975189209,
0.005553152084350586,
0.005738495826721191,
0.00581324815750122,
0.005761023998260498,
0.005560319900512695,
0.005553152084350586,
0.005611519813537597,
0.0055582718849182125,
0.005588992118835449,
0.005547008037567139,
0.0055623679161071774,
0.005527552127838135,
0.00550707197189331,
0.005563392162322998,
0.005550079822540284,
0.005541888236999512,
0.005575679779052735,
0.005547008037567139,
0.005534719944000244,
0.005549056053161621,
0.005595136165618897,
0.005609471797943116,
0.0055920639038085935,
0.005516287803649903,
0.005547008037567139,
0.00555622386932373,
0.005573631763458252,
0.005545983791351319,
0.00556441593170166,
0.0055808000564575196,
0.00555622386932373,
0.00555622386932373,
0.005538815975189209,
0.005537792205810547,
0.00556441593170166,
0.005542912006378174,
0.00611737585067749,
0.00555622386932373,
0.005566463947296142,
0.005565440177917481,
0.005532671928405761,
0.005559296131134033,
0.005538815975189209,
0.005540863990783691,
0.005576704025268555,
0.0055285758972167965,
0.005566463947296142,
0.0055214080810546875,
0.005559296131134033,
0.005549056053161621,
0.005529600143432617,
0.0055285758972167965,
0.005560351848602295,
0.0055285758972167965,
0.00555622386932373,
0.005539872169494629,
0.005563392162322998,
0.005565440177917481,
0.00556441593170166,
0.0055797758102417,
0.005550079822540284,
0.005590047836303711,
0.0055582718849182125,
0.005552127838134766,
0.005571584224700928,
0.005576704025268555,
0.005549056053161621,
0.00561356782913208,
0.005677055835723877,
0.005747712135314941,
0.005603328227996827,
0.005666816234588623,
0.005668863773345947,
0.005608448028564453,
0.005654560089111328,
0.005608448028564453,
0.00563097620010376,
0.0055848960876464845,
0.005569536209106446,
0.005587967872619629,
0.005570559978485107,
0.0055623679161071774,
0.005597184181213379,
0.005560319900512695,
0.005617663860321045,
0.005557248115539551,
0.005588992118835449,
0.005549056053161621,
0.005548031806945801,
0.0055511040687561035,
0.005536767959594726,
0.005542912006378174,
0.005577727794647217,
0.005536767959594726,
0.005571584224700928,
0.005530623912811279,
0.005550079822540284,
0.00556441593170166,
0.005553152084350586,
0.005566463947296142,
0.005545983791351319,
0.005548031806945801,
0.005568511962890625,
0.0054988799095153805,
0.005530623912811279,
0.005567488193511963,
0.005550079822540284,
0.005570559978485107,
0.005582848072052002,
0.005547008037567139,
0.005553152084350586,
0.005542912006378174,
0.005602303981781006,
0.0055623679161071774,
0.0055316481590271,
0.005554175853729248,
0.00552345609664917,
0.005545983791351319,
0.005573631763458252,
0.00551423978805542,
0.005565440177917481,
0.005530623912811279,
0.005548031806945801
]
},
"throughput": {
"unit": "samples/s",
"value": 178.82610724257398
},
"energy": {
"unit": "kWh",
"cpu": 6.208156712841605e-08,
"ram": 3.3914430033604384e-08,
"gpu": 1.2947072603141568e-07,
"total": 2.254667231934361e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4435244.304952548
}
}
}
}