IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9e8917a verified
raw
history blame
11 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 878.010368,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 147,
"total": 1.0051106548309323,
"mean": 0.006837487447829475,
"stdev": 0.0002080196090108409,
"p50": 0.006916096210479736,
"p90": 0.007054745578765869,
"p95": 0.007123046588897705,
"p99": 0.007233761157989502,
"values": [
0.007512063980102539,
0.007106560230255127,
0.007209983825683594,
0.007171072006225586,
0.0072540159225463864,
0.007130112171173096,
0.007135231971740722,
0.007087135791778564,
0.007162879943847656,
0.0069847040176391605,
0.007014400005340577,
0.006957056045532227,
0.007024640083312988,
0.006986752033233643,
0.006919167995452881,
0.006880256175994873,
0.006960127830505371,
0.006980607986450196,
0.007054336071014404,
0.007019519805908203,
0.00709222412109375,
0.0069928960800170895,
0.007001088142395019,
0.006936575889587402,
0.007051263809204102,
0.0070134720802307125,
0.007006207942962647,
0.0069918718338012695,
0.0070553598403930665,
0.0069847040176391605,
0.006996992111206054,
0.006961152076721191,
0.006970367908477783,
0.0069253120422363285,
0.006936768054962158,
0.006812672138214112,
0.006890495777130127,
0.006851583957672119,
0.006881279945373535,
0.0068853759765625,
0.006850560188293457,
0.006927360057830811,
0.006913023948669434,
0.007016448020935059,
0.00709939193725586,
0.007010303974151612,
0.006986752033233643,
0.007004159927368164,
0.006965248107910156,
0.006915071964263916,
0.006985727787017822,
0.007054336071014404,
0.007004159927368164,
0.006973440170288086,
0.006964223861694336,
0.006923264026641846,
0.00692633581161499,
0.00695091199874878,
0.006931456089019775,
0.006952960014343262,
0.0070594558715820314,
0.006914048194885254,
0.006858751773834228,
0.006915071964263916,
0.006930431842803955,
0.006920191764831543,
0.006985727787017822,
0.006923264026641846,
0.00695091199874878,
0.006923264026641846,
0.007060480117797851,
0.007018496036529541,
0.007041024208068848,
0.007004159927368164,
0.006989823818206787,
0.006987775802612305,
0.007041024208068848,
0.006908927917480469,
0.0070225920677185055,
0.006968319892883301,
0.006924287796020508,
0.00675328016281128,
0.006730751991271973,
0.006916096210479736,
0.0070348801612854,
0.006643712043762207,
0.006586368083953857,
0.006589439868927002,
0.006804480075836182,
0.006765567779541016,
0.006920191764831543,
0.006823935985565186,
0.006969344139099121,
0.006998047828674316,
0.007160831928253173,
0.0067338237762451176,
0.006660096168518067,
0.006614016056060791,
0.00652288007736206,
0.006542367935180664,
0.006523903846740723,
0.006532095909118653,
0.006498303890228272,
0.006494207859039307,
0.006529024124145508,
0.0065075201988220215,
0.006589439868927002,
0.006593535900115967,
0.006622208118438721,
0.00659660816192627,
0.006589439868927002,
0.00659660816192627,
0.006583295822143555,
0.006569983959197998,
0.006604800224304199,
0.006597631931304931,
0.0066119680404663084,
0.006599679946899414,
0.0066119680404663084,
0.006605823993682861,
0.006592512130737305,
0.006615039825439453,
0.006593535900115967,
0.0066826238632202144,
0.006788095951080322,
0.006602752208709717,
0.0065812478065490725,
0.006653952121734619,
0.006631423950195312,
0.00657203197479248,
0.0065781760215759275,
0.006591487884521485,
0.006592512130737305,
0.00657919979095459,
0.006602752208709717,
0.006598656177520752,
0.00657919979095459,
0.0065781760215759275,
0.006612991809844971,
0.006601727962493896,
0.006614016056060791,
0.006604800224304199,
0.006612991809844971,
0.006558720111846924,
0.0066007041931152345,
0.006604800224304199,
0.0065669121742248536
]
},
"throughput": {
"unit": "samples/s",
"value": 146.25255367999907
},
"energy": {
"unit": "kWh",
"cpu": 7.489117540570093e-08,
"ram": 4.0939306508901284e-08,
"gpu": 1.4316223891824085e-07,
"total": 2.5899272083284307e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3861112.377152143
}
}
}
}