IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
994bc60 verified
raw
history blame
11 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "0fe64c9dadf839c1f16495afd4c4cbc98fcfce05",
"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": 898.215936,
"max_global_vram": 3161.94816,
"max_process_vram": 47348.928512,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.55548828125,
"mean": 7.55548828125,
"stdev": 0.0,
"p50": 7.55548828125,
"p90": 7.55548828125,
"p95": 7.55548828125,
"p99": 7.55548828125,
"values": [
7.55548828125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.048512,
"max_global_vram": 3225.485312,
"max_process_vram": 236884.942848,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 129,
"total": 1.0002847485542294,
"mean": 0.0077541453376296894,
"stdev": 0.0001843457063114989,
"p50": 0.007799664974212647,
"p90": 0.007881296920776368,
"p95": 0.007918736743927002,
"p99": 0.008138153877258301,
"values": [
0.008051183700561524,
0.007767024993896484,
0.007652945041656494,
0.007605585098266601,
0.007759823799133301,
0.0077539048194885255,
0.007746224880218506,
0.00785038423538208,
0.007633265018463135,
0.007623024940490723,
0.0077679848670959475,
0.007740944862365723,
0.007381585121154785,
0.007423665046691895,
0.007406705856323242,
0.007178545951843262,
0.007313745021820068,
0.007679824829101563,
0.007372944831848144,
0.0073207859992980955,
0.007363025188446045,
0.007676624774932862,
0.007680465221405029,
0.007515345096588135,
0.007606864929199219,
0.007601425170898437,
0.007747825145721436,
0.007755024909973145,
0.0076487851142883305,
0.0075423851013183595,
0.007553905010223389,
0.00781694507598877,
0.00788270378112793,
0.007912785053253173,
0.007806384086608887,
0.007866704940795898,
0.0078612642288208,
0.00789710521697998,
0.007932943820953369,
0.007880945205688477,
0.007819664001464844,
0.007783185005187989,
0.00785310411453247,
0.00786926507949829,
0.007844304084777832,
0.007805264949798584,
0.007861104011535645,
0.007878224849700927,
0.0077908639907836915,
0.00783006477355957,
0.007842383861541747,
0.008166064262390136,
0.00779566478729248,
0.007906064033508301,
0.007839505195617675,
0.007843664169311523,
0.007875665187835694,
0.00791806411743164,
0.007919185161590576,
0.007895503997802734,
0.007877903938293457,
0.007870864868164063,
0.007865583896636963,
0.007830224990844726,
0.007773745059967041,
0.007817264080047608,
0.007814545154571534,
0.007599504947662353,
0.007826863765716553,
0.007410545825958252,
0.007050546169281005,
0.007235185146331787,
0.007836464881896973,
0.00784542417526245,
0.007838065147399903,
0.007474545001983642,
0.008066384315490723,
0.007831984996795655,
0.007509425163269043,
0.007450705051422119,
0.007799664974212647,
0.007803824901580811,
0.007774065017700196,
0.007803345203399658,
0.0078580641746521,
0.007983983993530274,
0.007844944953918458,
0.007839983940124511,
0.007810385227203369,
0.007832465171813964,
0.007746064186096192,
0.00778094482421875,
0.007716464996337891,
0.0077431840896606445,
0.007826544761657716,
0.007747824192047119,
0.0077863850593566895,
0.007836305141448974,
0.007824464797973633,
0.007810705184936524,
0.00784830379486084,
0.007803184986114502,
0.007769264221191406,
0.007846224784851074,
0.007807344913482666,
0.007817424774169923,
0.00852814292907715,
0.007773745059967041,
0.0077539048194885255,
0.007721263885498047,
0.007707184791564942,
0.007760624885559082,
0.00773230504989624,
0.007804783821105957,
0.0077491049766540525,
0.007774064064025879,
0.007750225067138672,
0.007831504821777344,
0.0077572641372680665,
0.0078011050224304195,
0.007762545108795166,
0.007827023983001708,
0.0077556648254394536,
0.007840303897857667,
0.0077908639907836915,
0.007787185192108154,
0.007811344146728515,
0.0077703847885131835,
0.007690704822540283
]
},
"throughput": {
"unit": "samples/s",
"value": 128.9632778930712
},
"energy": null,
"efficiency": null
}
}
}