IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9ac35fb 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": "b0801269b3611e452bb077a62163b08a99ceb2a9",
"transformers_version": "4.42.4",
"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.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.064384,
"max_global_vram": 1708.58496,
"max_process_vram": 44485.07904,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.15961865234375,
"mean": 7.15961865234375,
"stdev": 0.0,
"p50": 7.15961865234375,
"p90": 7.15961865234375,
"p95": 7.15961865234375,
"p99": 7.15961865234375,
"values": [
7.15961865234375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1017.356288,
"max_global_vram": 1772.126208,
"max_process_vram": 237623.435264,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.0059763197898866,
"mean": 0.007738279382999127,
"stdev": 0.0003374059204557954,
"p50": 0.007932888507843017,
"p90": 0.008055385303497314,
"p95": 0.008087593173980712,
"p99": 0.008121786527633667,
"values": [
0.007937768936157226,
0.007928967952728272,
0.007925448894500732,
0.007980488777160644,
0.007917288780212403,
0.00792992877960205,
0.007908968925476075,
0.008014888763427734,
0.00787664794921875,
0.008020488739013672,
0.00819169044494629,
0.008025129318237305,
0.0080452880859375,
0.008010568618774415,
0.007966409206390381,
0.00802704906463623,
0.007995688915252685,
0.008017929077148437,
0.00796592903137207,
0.008086889266967774,
0.007995209217071534,
0.00798560905456543,
0.007963688850402832,
0.007837449073791504,
0.007529448032379151,
0.007771849155426025,
0.007471047878265381,
0.007434408187866211,
0.007139207839965821,
0.007201767921447754,
0.0071315279006958,
0.007369288921356201,
0.007408167839050293,
0.007179207801818847,
0.0070886478424072264,
0.007122888088226319,
0.007528327941894532,
0.007346407890319824,
0.0075129690170288085,
0.007420648097991944,
0.00737280797958374,
0.007286568164825439,
0.007222087860107422,
0.007512009143829346,
0.007654888153076172,
0.007592488765716552,
0.007406888008117676,
0.007250088214874268,
0.00710480785369873,
0.007511528968811035,
0.007624008178710937,
0.008018729209899902,
0.007968489170074464,
0.008016328811645507,
0.008019529342651367,
0.007993928909301758,
0.008083848953247071,
0.00803808879852295,
0.008055528640747071,
0.00804672908782959,
0.0080668888092041,
0.008014248847961427,
0.008018568992614746,
0.00803040885925293,
0.007977928161621094,
0.0080406494140625,
0.008012008666992188,
0.008032809257507325,
0.00803808879852295,
0.008079689025878906,
0.007984169006347656,
0.008092808723449706,
0.008031848907470704,
0.008091368675231934,
0.00808816909790039,
0.00813296890258789,
0.008018248558044434,
0.008018248558044434,
0.008094408988952636,
0.008002408981323242,
0.00795120906829834,
0.008078888893127441,
0.007979208946228028,
0.008089609146118164,
0.008049609184265137,
0.007975849151611328,
0.008050889015197753,
0.00801392936706543,
0.00805536937713623,
0.008001769065856933,
0.008008969306945802,
0.008037769317626953,
0.007964969158172608,
0.008042729377746582,
0.00802272891998291,
0.007950889110565186,
0.008026888847351074,
0.00799888801574707,
0.0077896080017089845,
0.007724968910217285,
0.007577447891235351,
0.007650088787078857,
0.007765927791595459,
0.007318089008331299,
0.007190567970275879,
0.007121928215026855,
0.007935848236083985,
0.007313447952270508,
0.007124328136444092,
0.007324488162994385,
0.007078887939453125,
0.007216328144073486,
0.007106088161468506,
0.007170087814331054,
0.0070948882102966305,
0.007184487819671631,
0.007360968112945556,
0.007399687767028809,
0.007484007835388184,
0.007513129234313965,
0.00745360803604126,
0.007381608009338379,
0.007284328937530517,
0.007658408164978027,
0.00762592887878418,
0.007489128112792969,
0.007737127780914307,
0.007600967884063721,
0.007586729049682617,
0.007556488037109375
]
},
"throughput": {
"unit": "samples/s",
"value": 129.22769397509524
},
"energy": null,
"efficiency": null
}
}
}