IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
29f2582 verified
raw
history blame
13.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 713.44128,
"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.1211337890625,
"mean": 7.1211337890625,
"stdev": 0.0,
"p50": 7.1211337890625,
"p90": 7.1211337890625,
"p95": 7.1211337890625,
"p99": 7.1211337890625,
"values": [
7.1211337890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.191566043429905e-07,
"ram": 4.881856961549147e-07,
"gpu": 1.7744458639997601e-06,
"total": 3.1817881644976653e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.18944,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 188,
"total": 1.002261537075043,
"mean": 0.005331178388697037,
"stdev": 0.00029207246082519635,
"p50": 0.005255167961120606,
"p90": 0.005598208045959473,
"p95": 0.0056599551439285275,
"p99": 0.006569899220466609,
"values": [
0.007507967948913574,
0.007611392021179199,
0.006429728031158447,
0.005785600185394287,
0.005703680038452149,
0.005683199882507324,
0.0056442880630493165,
0.005642240047454834,
0.005620736122131348,
0.005595136165618897,
0.005645311832427978,
0.005595136165618897,
0.005667840003967285,
0.00562278413772583,
0.005541888236999512,
0.005462016105651855,
0.005483520030975342,
0.005535744190216065,
0.005559296131134033,
0.0056145920753479005,
0.005745664119720459,
0.005607423782348633,
0.005733376026153565,
0.005605375766754151,
0.005554175853729248,
0.005534719944000244,
0.005557248115539551,
0.005609471797943116,
0.005384191989898681,
0.0052930560111999515,
0.005371903896331787,
0.005331967830657959,
0.005328896045684814,
0.005386240005493164,
0.005276671886444092,
0.005282815933227539,
0.005311488151550293,
0.005336063861846924,
0.005326848030090332,
0.0053002238273620605,
0.005191679954528809,
0.005156864166259765,
0.005178368091583252,
0.005248000144958496,
0.005268479824066162,
0.005194752216339111,
0.005197824001312256,
0.0052633600234985355,
0.005255167961120606,
0.005302271842956543,
0.0053350400924682614,
0.0053944320678710935,
0.00536575984954834,
0.005313536167144775,
0.0053647360801696775,
0.005338111877441406,
0.005262335777282715,
0.005241856098175048,
0.005220352172851562,
0.005298175811767578,
0.00530944013595581,
0.005320703983306885,
0.005325823783874512,
0.005269504070281982,
0.00530944013595581,
0.005341184139251709,
0.005138432025909424,
0.005179391860961914,
0.005288959980010987,
0.005232639789581299,
0.00530944013595581,
0.0053821439743042,
0.00526643180847168,
0.005220352172851562,
0.005252096176147461,
0.005228544235229492,
0.005239808082580567,
0.005272575855255127,
0.005227519989013672,
0.005222400188446045,
0.005256192207336426,
0.005371903896331787,
0.0053975038528442385,
0.005419007778167725,
0.0053309440612792965,
0.005359615802764893,
0.005369855880737305,
0.005273600101470947,
0.0052899842262268066,
0.005319680213928223,
0.005306367874145508,
0.005259263992309571,
0.005183487892150879,
0.005368832111358642,
0.005239808082580567,
0.005153791904449463,
0.005157887935638428,
0.0050124797821044925,
0.004997119903564453,
0.005098495960235596,
0.005190656185150146,
0.005048319816589355,
0.004929535865783692,
0.00495411205291748,
0.004960256099700928,
0.004937727928161621,
0.00496230411529541,
0.004940800189971924,
0.005194752216339111,
0.00542310380935669,
0.005410816192626953,
0.00551423978805542,
0.005559296131134033,
0.005735424041748047,
0.005483520030975342,
0.005362688064575195,
0.005408768177032471,
0.005322751998901368,
0.005260287761688232,
0.005281792163848877,
0.005249023914337158,
0.005237760066986084,
0.005276671886444092,
0.005265408039093018,
0.00522547197341919,
0.0052633600234985355,
0.00522547197341919,
0.005249023914337158,
0.005258240222930908,
0.005224448204040527,
0.005222400188446045,
0.0052295680046081545,
0.005239808082580567,
0.005216256141662597,
0.00520908784866333,
0.0052295680046081545,
0.005306367874145508,
0.005214208126068115,
0.005252096176147461,
0.00522547197341919,
0.005234687805175781,
0.005246975898742676,
0.005210112094879151,
0.00521830415725708,
0.0052367358207702636,
0.005242879867553711,
0.005252096176147461,
0.005221375942230225,
0.005268479824066162,
0.005206016063690186,
0.005214208126068115,
0.005255167961120606,
0.005227519989013672,
0.0052367358207702636,
0.0052367358207702636,
0.005212160110473632,
0.005216256141662597,
0.0052295680046081545,
0.0052408318519592285,
0.005238783836364746,
0.005246975898742676,
0.005231616020202637,
0.005243904113769531,
0.00522649621963501,
0.005220352172851562,
0.005206016063690186,
0.0052295680046081545,
0.005220352172851562,
0.005212160110473632,
0.005206016063690186,
0.005219327926635742,
0.005212160110473632,
0.005227519989013672,
0.005210112094879151,
0.005228544235229492,
0.005203968048095703,
0.005232639789581299,
0.005230591773986816,
0.005195775985717774,
0.005215231895446777,
0.005262335777282715,
0.00520908784866333,
0.005203968048095703,
0.005208064079284668,
0.005235712051391602,
0.005202943801879883,
0.005215231895446777,
0.005234687805175781
]
},
"throughput": {
"unit": "samples/s",
"value": 187.57579039563979
},
"energy": {
"unit": "kWh",
"cpu": 6.128831724940297e-08,
"ram": 3.350733691136711e-08,
"gpu": 1.326304039278367e-07,
"total": 2.2742605808860678e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4397033.516759073
}
}
}
}