IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
349e04e verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "5",
"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": 1069.981696,
"max_global_vram": 68702.69952,
"max_process_vram": 49487.642624,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.413056640625,
"mean": 8.413056640625,
"stdev": 0.0,
"p50": 8.413056640625,
"p90": 8.413056640625,
"p95": 8.413056640625,
"p99": 8.413056640625,
"values": [
8.413056640625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1199.374336,
"max_global_vram": 68702.69952,
"max_process_vram": 213125.808128,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 141,
"total": 1.003367263793945,
"mean": 0.007116079885063443,
"stdev": 0.0005342518645292915,
"p50": 0.006957904815673828,
"p90": 0.007628462791442871,
"p95": 0.007758543014526367,
"p99": 0.008165294647216794,
"values": [
0.007860783100128175,
0.007628462791442871,
0.007279984951019287,
0.00731822395324707,
0.0073451042175292965,
0.007243663787841797,
0.0071438241004943845,
0.007104625225067138,
0.008368302345275878,
0.0070636639595031735,
0.0070139050483703615,
0.006989584922790527,
0.0069716649055480955,
0.006961265087127686,
0.0069569449424743655,
0.00697198486328125,
0.007001423835754394,
0.006975345134735108,
0.007359983921051025,
0.0070420651435852055,
0.006969584941864014,
0.006985264778137207,
0.006977425098419189,
0.006975665092468262,
0.006957904815673828,
0.007111983776092529,
0.00688462495803833,
0.006968305110931396,
0.0069380650520324706,
0.0069495849609375,
0.006818224906921386,
0.006815664768218994,
0.0073267040252685545,
0.007329264163970947,
0.0068927850723266605,
0.006785746097564697,
0.006846704959869385,
0.007036624908447265,
0.006812145233154297,
0.006833264827728272,
0.006815664768218994,
0.006824625015258789,
0.007242545127868653,
0.007289584159851074,
0.00700686502456665,
0.0071287841796875,
0.007307344913482666,
0.00720558500289917,
0.0072500638961792,
0.007071664810180664,
0.007378384113311768,
0.00712494421005249,
0.007090704917907715,
0.007233424186706543,
0.007374703884124756,
0.007156624794006348,
0.007120944023132324,
0.007112784862518311,
0.007084145069122315,
0.007093103885650634,
0.007079185009002686,
0.0068879852294921875,
0.006912785053253174,
0.007150063991546631,
0.0068534259796142576,
0.006854384899139404,
0.006912145137786865,
0.006871184825897217,
0.006889424800872803,
0.006885584831237793,
0.006892304897308349,
0.006879185199737549,
0.006882544994354248,
0.006875504970550537,
0.006854865074157715,
0.006861906051635742,
0.006832145214080811,
0.006841744899749756,
0.006889424800872803,
0.006910544872283935,
0.006878544807434082,
0.006877425193786621,
0.006836945056915283,
0.006889265060424804,
0.006883026123046875,
0.0068812651634216305,
0.0068535847663879395,
0.006847984790802002,
0.006923504829406738,
0.012424933433532714,
0.006809905052185059,
0.00685838508605957,
0.006882705211639404,
0.006885265827178955,
0.007171823978424073,
0.0068699049949646,
0.006877745151519775,
0.0068676648139953615,
0.006910224914550781,
0.0068628649711608885,
0.006907185077667236,
0.0068695850372314455,
0.006907824993133545,
0.006906865119934082,
0.0069220647811889646,
0.006883985042572022,
0.006890544891357422,
0.006883505821228027,
0.006878544807434082,
0.0072025442123413086,
0.007736783027648925,
0.00775726318359375,
0.007315024852752685,
0.0069123048782348635,
0.006868784904479981,
0.006872785091400146,
0.0069147047996520996,
0.0069113450050354,
0.006918544769287109,
0.006901424884796142,
0.006854865074157715,
0.006916305065155029,
0.006856305122375488,
0.007207184791564941,
0.007746542930603027,
0.007728463172912598,
0.007758543014526367,
0.007830062866210937,
0.00742958402633667,
0.007147025108337402,
0.007185904026031495,
0.007313263893127441,
0.007676303863525391,
0.007769742965698242,
0.0077731032371521,
0.007768143177032471,
0.007753743171691895,
0.007344304084777832,
0.007177264213562012,
0.006879825115203858,
0.006851025104522705
]
},
"throughput": {
"unit": "samples/s",
"value": 140.52680916342533
},
"energy": null,
"efficiency": null
}
}
}