IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
928e692 verified
raw
history blame
13.6 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 783.101952,
"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.43168505859375,
"mean": 7.43168505859375,
"stdev": 0.0,
"p50": 7.43168505859375,
"p90": 7.43168505859375,
"p95": 7.43168505859375,
"p99": 7.43168505859375,
"values": [
7.43168505859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.290390680554989e-07,
"ram": 4.935459182248625e-07,
"gpu": 1.6130568459998308e-06,
"total": 3.0356418322801925e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.700544,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 180,
"total": 1.0010449900627136,
"mean": 0.0055613610559039645,
"stdev": 0.0002906952603483861,
"p50": 0.005551615953445435,
"p90": 0.005910220766067505,
"p95": 0.005975142359733581,
"p99": 0.006510613136291504,
"values": [
0.006139840126037598,
0.005922815799713135,
0.0057118721008300784,
0.005686272144317627,
0.005682176113128662,
0.00566374397277832,
0.005642240047454834,
0.005576704025268555,
0.005610496044158936,
0.005616640090942383,
0.005582848072052002,
0.005577727794647217,
0.0055552000999450684,
0.005601280212402344,
0.005689343929290771,
0.005623807907104492,
0.005499904155731201,
0.005433343887329102,
0.005501952171325684,
0.005585984230041504,
0.005538815975189209,
0.0055848960876464845,
0.005649407863616943,
0.005643263816833496,
0.005740543842315674,
0.005605375766754151,
0.005593088150024414,
0.005505023956298828,
0.005761023998260498,
0.006044672012329101,
0.005916672229766846,
0.005909503936767578,
0.006073344230651856,
0.005975039958953857,
0.0059269118309021,
0.005894144058227539,
0.005891071796417236,
0.005971968173980713,
0.006058015823364258,
0.00592796802520752,
0.005896192073822021,
0.005826560020446778,
0.005734399795532226,
0.005471231937408447,
0.00552243185043335,
0.00551526403427124,
0.005565440177917481,
0.0055244798660278325,
0.00553984022140503,
0.005689343929290771,
0.005574656009674072,
0.005628928184509278,
0.005624832153320313,
0.005610496044158936,
0.005661695957183838,
0.006564864158630371,
0.00649619197845459,
0.006985727787017822,
0.005846015930175781,
0.005964799880981446,
0.005937151908874512,
0.005955584049224853,
0.005844992160797119,
0.005583871841430664,
0.005716991901397705,
0.005525504112243652,
0.0054876160621643065,
0.005472256183624268,
0.005543935775756836,
0.005508096218109131,
0.005519360065460205,
0.005643263816833496,
0.005554175853729248,
0.005447679996490478,
0.0055203838348388675,
0.0056555519104003905,
0.005573631763458252,
0.0054917120933532714,
0.0054876160621643065,
0.00552345609664917,
0.00551526403427124,
0.00553984022140503,
0.0056258559226989744,
0.005649407863616943,
0.005801983833312988,
0.005637119770050049,
0.005649407863616943,
0.00561356782913208,
0.005908480167388916,
0.005833727836608887,
0.005866496086120605,
0.005858304023742676,
0.0062044157981872555,
0.0058419198989868165,
0.005837823867797852,
0.005763072013854981,
0.005746687889099121,
0.005777408123016357,
0.005563392162322998,
0.00562278413772583,
0.005784575939178467,
0.005492735862731934,
0.005481472015380859,
0.005287936210632324,
0.005419007778167725,
0.005242879867553711,
0.005239808082580567,
0.0052930560111999515,
0.005695487976074219,
0.005815296173095703,
0.005790719985961914,
0.0058091521263122555,
0.00586956787109375,
0.005865471839904785,
0.0059770879745483394,
0.005642240047454834,
0.005585919857025146,
0.005542912006378174,
0.005541888236999512,
0.0055511040687561035,
0.005526527881622314,
0.005527552127838135,
0.005679103851318359,
0.005511168003082275,
0.0055285758972167965,
0.00555622386932373,
0.005439487934112549,
0.005464064121246338,
0.005479423999786377,
0.005426176071166992,
0.005552127838134766,
0.005494783878326416,
0.005179391860961914,
0.0051660799980163576,
0.005167103767395019,
0.005158912181854248,
0.00520908784866333,
0.005192704200744629,
0.0051701760292053225,
0.0051476478576660155,
0.0051660799980163576,
0.005138432025909424,
0.005152768135070801,
0.005172224044799805,
0.005183487892150879,
0.005185535907745361,
0.005173247814178467,
0.005303296089172363,
0.005248000144958496,
0.005214208126068115,
0.005399551868438721,
0.0052295680046081545,
0.005246975898742676,
0.005248000144958496,
0.005245952129364013,
0.005319680213928223,
0.005249023914337158,
0.00520908784866333,
0.005224448204040527,
0.005238783836364746,
0.0052367358207702636,
0.005350399971008301,
0.005228544235229492,
0.0051998720169067385,
0.005232639789581299,
0.00521727991104126,
0.005244927883148193,
0.0052367358207702636,
0.005223423957824707,
0.005274623870849609,
0.005214208126068115,
0.005249023914337158,
0.005264383792877197,
0.0052367358207702636,
0.005224448204040527,
0.005231616020202637,
0.005234687805175781,
0.005234687805175781,
0.005224448204040527,
0.005224448204040527
]
},
"throughput": {
"unit": "samples/s",
"value": 179.81209814428354
},
"energy": {
"unit": "kWh",
"cpu": 6.272360744782444e-08,
"ram": 3.424517297276035e-08,
"gpu": 1.2708270013756815e-07,
"total": 2.2405148055815296e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4463259.950386483
}
}
}
}