IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5a65ce7 verified
raw
history blame
14 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.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 714.027008,
"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.22256298828125,
"mean": 7.22256298828125,
"stdev": 0.0,
"p50": 7.22256298828125,
"p90": 7.22256298828125,
"p95": 7.22256298828125,
"p99": 7.22256298828125,
"values": [
7.22256298828125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.403988718986512e-07,
"ram": 4.940617826282315e-07,
"gpu": 1.8288903520027877e-06,
"total": 3.2633510065296704e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.082368,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 191,
"total": 1.0000335702896115,
"mean": 0.005235777854919433,
"stdev": 0.0001991278608814603,
"p50": 0.005268479824066162,
"p90": 0.005467135906219483,
"p95": 0.005552639961242676,
"p99": 0.005651251268386841,
"values": [
0.0056442880630493165,
0.005713920116424561,
0.005618688106536865,
0.005493760108947754,
0.005548031806945801,
0.005557248115539551,
0.005541888236999512,
0.005538815975189209,
0.0054568958282470706,
0.005401599884033203,
0.005416959762573242,
0.005421055793762207,
0.005348351955413819,
0.005319680213928223,
0.005406720161437988,
0.005402624130249023,
0.005404672145843506,
0.005280767917633057,
0.005194752216339111,
0.005237760066986084,
0.005396607875823974,
0.005256192207336426,
0.005379072189331055,
0.005458943843841553,
0.005398528099060058,
0.005453824043273926,
0.005417984008789062,
0.005331967830657959,
0.005268479824066162,
0.005320703983306885,
0.005389311790466309,
0.005483583927154541,
0.005433343887329102,
0.005430272102355957,
0.005408768177032471,
0.005370880126953125,
0.005392384052276611,
0.005369855880737305,
0.005284863948822022,
0.0053678078651428224,
0.005407743930816651,
0.00536575984954834,
0.00538316822052002,
0.005299200057983398,
0.005195775985717774,
0.005230591773986816,
0.005268479824066162,
0.00531763219833374,
0.005322751998901368,
0.00520908784866333,
0.0053340158462524415,
0.00531763219833374,
0.005345280170440674,
0.0054282240867614745,
0.005720064163208007,
0.005573631763458252,
0.00551526403427124,
0.005593088150024414,
0.005565440177917481,
0.005545983791351319,
0.00535859203338623,
0.005284863948822022,
0.005323775768280029,
0.005409791946411133,
0.0053637118339538575,
0.005380095958709717,
0.005371903896331787,
0.005340159893035889,
0.0053647360801696775,
0.005172224044799805,
0.005242879867553711,
0.005279744148254394,
0.0052715520858764645,
0.0052674560546875,
0.0054282240867614745,
0.005287936210632324,
0.005212160110473632,
0.005385216236114502,
0.00537395191192627,
0.005319680213928223,
0.005319680213928223,
0.005265408039093018,
0.0053012480735778805,
0.005261312007904053,
0.005431295871734619,
0.005467135906219483,
0.005396480083465576,
0.005369855880737305,
0.0053647360801696775,
0.005484543800354004,
0.005391359806060791,
0.005347328186035156,
0.005404672145843506,
0.0053606400489807126,
0.005280767917633057,
0.005287936210632324,
0.005426176071166992,
0.005261312007904053,
0.005243904113769531,
0.005141568183898926,
0.00506879997253418,
0.00505241584777832,
0.0052295680046081545,
0.005275648117065429,
0.005129216194152832,
0.005015552043914795,
0.004985856056213379,
0.005174272060394287,
0.005037055969238281,
0.005073919773101807,
0.005286911964416504,
0.0053309440612792965,
0.005396480083465576,
0.005450751781463623,
0.005441535949707031,
0.0054876160621643065,
0.005604351997375488,
0.005449728012084961,
0.005341184139251709,
0.005206016063690186,
0.005180416107177735,
0.005638144016265869,
0.0052070398330688475,
0.0051701760292053225,
0.005231616020202637,
0.005182464122772217,
0.005141503810882568,
0.005186560153961181,
0.005134335994720459,
0.0051036162376403805,
0.005193727970123291,
0.00505241584777832,
0.0051435518264770505,
0.005093376159667969,
0.0050206718444824215,
0.004980735778808594,
0.005015552043914795,
0.004976640224456787,
0.0050063362121582035,
0.0049909758567810054,
0.004994048118591309,
0.0049827837944030765,
0.005031936168670655,
0.004963327884674072,
0.004956160068511963,
0.004994048118591309,
0.005038080215454102,
0.004975615978240967,
0.004987904071807861,
0.004987904071807861,
0.005007359981536865,
0.004973567962646484,
0.004985856056213379,
0.004978720188140869,
0.0050954241752624516,
0.0050032639503479,
0.004952064037322998,
0.004933631896972656,
0.004968448162078858,
0.004978687763214112,
0.004994048118591309,
0.004966400146484375,
0.00501145601272583,
0.004985856056213379,
0.0050032639503479,
0.004986879825592041,
0.0050135040283203125,
0.004937727928161621,
0.004989952087402344,
0.004960256099700928,
0.005018623828887939,
0.0049725441932678225,
0.004993023872375488,
0.0050022401809692385,
0.005045248031616211,
0.004988927841186524,
0.0050432000160217285,
0.004981760025024414,
0.005029888153076172,
0.004981760025024414,
0.0050032639503479,
0.004969471931457519,
0.0050022401809692385,
0.0049797120094299315,
0.004987904071807861,
0.0050206718444824215,
0.004971519947052002,
0.0050165758132934574,
0.004997119903564453,
0.0049489917755126955,
0.0050063362121582035
]
},
"throughput": {
"unit": "samples/s",
"value": 190.99358828992715
},
"energy": {
"unit": "kWh",
"cpu": 6.153855470658447e-08,
"ram": 3.364731473103294e-08,
"gpu": 1.264408035129821e-07,
"total": 2.216266729505995e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4512092.279718063
}
}
}
}