IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7d1a6bf verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+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": "6",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 946.614272,
"max_global_vram": 68702.69952,
"max_process_vram": 47997.403136,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2056083984375,
"mean": 8.2056083984375,
"stdev": 0.0,
"p50": 8.2056083984375,
"p90": 8.2056083984375,
"p95": 8.2056083984375,
"p99": 8.2056083984375,
"values": [
8.2056083984375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.19072,
"max_global_vram": 68702.69952,
"max_process_vram": 235816.935424,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 140,
"total": 1.0000099062919618,
"mean": 0.007142927902085441,
"stdev": 0.00033715834792160396,
"p50": 0.007018569946289062,
"p90": 0.007665482902526856,
"p95": 0.007705641865730285,
"p99": 0.00805841523170471,
"values": [
0.007991851806640625,
0.007864330768585205,
0.007410251140594483,
0.0073928098678588865,
0.00770849084854126,
0.00724960994720459,
0.007235849857330322,
0.007259210109710693,
0.007280809879302979,
0.007449291229248047,
0.008544491767883302,
0.006993770122528076,
0.006990570068359375,
0.00697392988204956,
0.006970570087432861,
0.006934569835662842,
0.0069916901588439944,
0.00697776985168457,
0.00697121000289917,
0.006989610195159912,
0.008100972175598145,
0.007040969848632813,
0.006797130107879639,
0.006824968814849853,
0.007148331165313721,
0.00761073112487793,
0.0073236899375915526,
0.0072860908508300785,
0.0071737699508667,
0.007244969844818115,
0.007413451194763184,
0.007119369983673096,
0.007322249889373779,
0.007218730926513672,
0.007228169918060303,
0.00738369083404541,
0.007289770126342773,
0.0070081701278686525,
0.007054570198059082,
0.007048810005187988,
0.00714785099029541,
0.0072785701751708985,
0.007677131175994873,
0.00770625114440918,
0.007294410228729248,
0.007236811161041259,
0.007210730075836181,
0.007085130214691162,
0.00718848991394043,
0.007621610164642334,
0.007225450992584229,
0.007081769943237305,
0.007329929828643799,
0.0072862510681152345,
0.00708257007598877,
0.007194729804992675,
0.006996170043945312,
0.006986410140991211,
0.006981450080871582,
0.007194089889526367,
0.006960168838500976,
0.006844329833984375,
0.006850570201873779,
0.006801609992980957,
0.0067801690101623536,
0.006877449989318848,
0.006801129817962647,
0.0068692898750305174,
0.006826889991760254,
0.006829288959503174,
0.006893290042877197,
0.007114729881286621,
0.006876329898834229,
0.006883049964904785,
0.006815209865570069,
0.006858729839324952,
0.006807369232177734,
0.006785130023956299,
0.006873129844665527,
0.006842730045318604,
0.006810569763183593,
0.006988969802856446,
0.0068260889053344724,
0.006833449840545654,
0.0068209700584411625,
0.006850409984588623,
0.006846728801727295,
0.00685552978515625,
0.006978730201721192,
0.0068356900215148925,
0.006991049766540527,
0.006833610057830811,
0.006832489967346192,
0.006810568809509278,
0.0068900899887084964,
0.006991529941558838,
0.006813449859619141,
0.006870409965515137,
0.006820010185241699,
0.0068113689422607425,
0.006919849872589112,
0.00690625,
0.006783689975738525,
0.0068424100875854495,
0.006981450080871582,
0.006837449073791504,
0.006831210136413574,
0.006865129947662353,
0.006745930194854736,
0.006805768966674805,
0.006775529861450196,
0.006982250213623047,
0.00676209020614624,
0.006857288837432861,
0.006830570220947266,
0.006779850006103516,
0.007384971141815185,
0.007637290000915528,
0.00761681079864502,
0.007698891162872315,
0.007670091152191162,
0.007151531219482422,
0.007409130096435547,
0.007638091087341308,
0.007648331165313721,
0.007656331062316894,
0.007648331165313721,
0.007718410968780518,
0.0076936111450195315,
0.007696331024169922,
0.007664970874786377,
0.007705609798431396,
0.007672970771789551,
0.007519690990447998,
0.007339529991149903,
0.007214570999145508,
0.007266409873962402,
0.007310249805450439,
0.007384651184082032,
0.007028969764709472
]
},
"throughput": {
"unit": "samples/s",
"value": 139.99861313286405
},
"energy": null,
"efficiency": null
}
}
}