IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a2a9486 verified
raw
history blame
13.4 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.966208,
"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.44635498046875,
"mean": 7.44635498046875,
"stdev": 0.0,
"p50": 7.44635498046875,
"p90": 7.44635498046875,
"p95": 7.44635498046875,
"p99": 7.44635498046875,
"values": [
7.44635498046875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.293292131941103e-07,
"ram": 4.937943525166576e-07,
"gpu": 1.7491680660000272e-06,
"total": 3.1722916317107952e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1039.44192,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 176,
"total": 0.9997998409271238,
"mean": 0.005680680914358659,
"stdev": 0.0003507425247852144,
"p50": 0.005774847984313965,
"p90": 0.00597760009765625,
"p95": 0.006251263976097107,
"p99": 0.006653696179389954,
"values": [
0.006077439785003662,
0.006248447895050049,
0.006082560062408447,
0.006051839828491211,
0.005952511787414551,
0.005946368217468262,
0.005929984092712402,
0.005921792030334472,
0.00592793607711792,
0.005917695999145508,
0.005887008190155029,
0.00587059211730957,
0.005897215843200684,
0.005865471839904785,
0.0058787841796875,
0.005772287845611572,
0.005753856182098388,
0.005689343929290771,
0.005810175895690918,
0.005796864032745362,
0.005850111961364746,
0.005854207992553711,
0.005857279777526855,
0.00587775993347168,
0.005910528182983398,
0.005823488235473633,
0.005772287845611572,
0.005835775852203369,
0.005855231761932373,
0.0059054079055786135,
0.005900288105010986,
0.005925888061523437,
0.005860352039337159,
0.005921792030334472,
0.0058726401329040525,
0.005851136207580566,
0.005858304023742676,
0.005913599967956543,
0.005864448070526123,
0.0058757119178771975,
0.005847040176391601,
0.005699584007263184,
0.005803008079528809,
0.005705728054046631,
0.005786623954772949,
0.0057794561386108395,
0.0058009600639343266,
0.005804031848907471,
0.00582860803604126,
0.005822463989257813,
0.0059361281394958495,
0.0059023361206054685,
0.00586240005493164,
0.005929984092712402,
0.005851136207580566,
0.005889023780822754,
0.005940224170684814,
0.005863423824310303,
0.005850111961364746,
0.005886975765228271,
0.007069695949554444,
0.006604800224304199,
0.006191103935241699,
0.005886975765228271,
0.0059064321517944334,
0.00576204776763916,
0.00577023983001709,
0.005777408123016357,
0.005786623954772949,
0.005827583789825439,
0.005858304023742676,
0.005985280036926269,
0.005740543842315674,
0.005789696216583252,
0.005764095783233642,
0.005823488235473633,
0.0058009600639343266,
0.005835775852203369,
0.005850111961364746,
0.005835775852203369,
0.00587775993347168,
0.0058716158866882326,
0.0059699201583862304,
0.00587775993347168,
0.006245376110076905,
0.0059054079055786135,
0.006493184089660644,
0.00588595199584961,
0.006012928009033203,
0.005874688148498535,
0.006078464031219482,
0.005743616104125977,
0.0064245758056640625,
0.005777408123016357,
0.0057149438858032225,
0.0056780800819396975,
0.00566476821899414,
0.005518335819244385,
0.005656576156616211,
0.00576204776763916,
0.005640192031860352,
0.005488639831542969,
0.005478400230407715,
0.005495808124542236,
0.0054876160621643065,
0.005469183921813964,
0.0055797758102417,
0.005602303981781006,
0.005620736122131348,
0.005635072231292724,
0.005653503894805908,
0.00573747205734253,
0.006259712219238281,
0.006494207859039307,
0.00638156795501709,
0.006400000095367431,
0.006800384044647217,
0.0053606400489807126,
0.0053350400924682614,
0.005416959762573242,
0.0053350400924682614,
0.00536575984954834,
0.00530841588973999,
0.005287936210632324,
0.005346303939819336,
0.005306367874145508,
0.005295104026794434,
0.0052899842262268066,
0.005351424217224121,
0.005262335777282715,
0.005254144191741943,
0.005278719902038574,
0.005249023914337158,
0.0052295680046081545,
0.0052971520423889164,
0.005253119945526123,
0.005245952129364013,
0.005286911964416504,
0.005282815933227539,
0.005239808082580567,
0.005264383792877197,
0.005279744148254394,
0.005261312007904053,
0.005264383792877197,
0.005285888195037842,
0.005244927883148193,
0.005281792163848877,
0.005258240222930908,
0.005277696132659912,
0.005239808082580567,
0.005265408039093018,
0.0052674560546875,
0.005248000144958496,
0.0053678078651428224,
0.0052715520858764645,
0.005250048160552978,
0.00526643180847168,
0.005268479824066162,
0.005223423957824707,
0.005244927883148193,
0.005255167961120606,
0.005250048160552978,
0.005264383792877197,
0.0052899842262268066,
0.005234687805175781,
0.005249023914337158,
0.005241856098175048,
0.005239808082580567,
0.005252096176147461,
0.005281792163848877,
0.0052336640357971195,
0.005215231895446777,
0.0052633600234985355,
0.005248000144958496,
0.0052295680046081545,
0.005262335777282715
]
},
"throughput": {
"unit": "samples/s",
"value": 176.035235049441
},
"energy": {
"unit": "kWh",
"cpu": 6.14790637593567e-08,
"ram": 3.3614266225425634e-08,
"gpu": 1.2718634239378388e-07,
"total": 2.222796723785662e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4498836.935016227
}
}
}
}