IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f774c57 verified
raw
history blame
11.7 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": "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": 1035.051008,
"max_global_vram": 68702.69952,
"max_process_vram": 44101.996544,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2809052734375,
"mean": 8.2809052734375,
"stdev": 0.0,
"p50": 8.2809052734375,
"p90": 8.2809052734375,
"p95": 8.2809052734375,
"p99": 8.2809052734375,
"values": [
8.2809052734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1164.951552,
"max_global_vram": 68702.69952,
"max_process_vram": 230901.39136,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0006204972267156,
"mean": 0.007250873168309529,
"stdev": 0.0006561729630903185,
"p50": 0.007042815923690796,
"p90": 0.007687008857727051,
"p95": 0.007732490038871765,
"p99": 0.009424334640502921,
"values": [
0.007882897853851318,
0.007878737926483154,
0.00759089708328247,
0.007285457134246826,
0.008124817848205566,
0.0072704172134399414,
0.007097775936126709,
0.007068016052246094,
0.0074176168441772465,
0.0070355358123779296,
0.007025935173034668,
0.007010735988616943,
0.007086575984954834,
0.006967535972595215,
0.0069499359130859376,
0.006866895198822022,
0.006884496212005615,
0.006870894908905029,
0.0069035358428955074,
0.006864815235137939,
0.006963056087493896,
0.00697489595413208,
0.006977295875549317,
0.00692049503326416,
0.007051055908203125,
0.010187542915344239,
0.007629618167877197,
0.006840014934539795,
0.007135056018829346,
0.007082575798034668,
0.006971695899963379,
0.007640817165374756,
0.0076412978172302245,
0.007596177101135254,
0.007632176876068115,
0.00759473705291748,
0.007671217918395996,
0.007688016891479492,
0.007604496955871582,
0.007608497142791748,
0.007585136890411377,
0.0075936179161071775,
0.007604496955871582,
0.0075761771202087404,
0.007615537166595459,
0.007621777057647705,
0.00766497802734375,
0.007624337196350098,
0.007640017032623291,
0.01277906894683838,
0.007580817222595215,
0.0076262569427490235,
0.007613136768341065,
0.007659697055816651,
0.007624657154083252,
0.007609776973724365,
0.00759425687789917,
0.007612977981567383,
0.0076140971183776855,
0.0074556970596313474,
0.007124176025390625,
0.0070619359016418455,
0.007050096035003662,
0.007120016098022461,
0.006791055202484131,
0.006770094871520996,
0.006782256126403809,
0.0067931351661682125,
0.006842414855957032,
0.0067984161376953125,
0.006919535160064697,
0.0069884958267211915,
0.006806575775146485,
0.006803534984588623,
0.006929935932159424,
0.006945455074310302,
0.006778255939483642,
0.007093135833740234,
0.006813934803009033,
0.006790255069732666,
0.006832176208496093,
0.006779055118560791,
0.006795855045318604,
0.006781295776367187,
0.006792335033416748,
0.006814576148986816,
0.006818095207214356,
0.00679393482208252,
0.006824656009674072,
0.006837934970855713,
0.006838895797729492,
0.006811534881591797,
0.006809295177459717,
0.006793295860290528,
0.006992815017700195,
0.006762255191802979,
0.00682065486907959,
0.006806416034698486,
0.006821455001831055,
0.006834735870361328,
0.006795855045318604,
0.006822895050048828,
0.006818416118621826,
0.00695249605178833,
0.006805775165557862,
0.006811534881591797,
0.006835855960845947,
0.006844015121459961,
0.0068784160614013675,
0.007152016162872314,
0.006814095020294189,
0.006821455955505371,
0.007007534980773926,
0.006808495044708252,
0.006816014766693115,
0.006823535919189453,
0.006825294971466065,
0.0068680157661437985,
0.006805934906005859,
0.00784129810333252,
0.007709136962890625,
0.00768161678314209,
0.007731698036193848,
0.007698737144470215,
0.007736978054046631,
0.0076782569885253905,
0.007352497100830078,
0.007256656169891357,
0.007669776916503906,
0.007639057159423828,
0.007666255950927734,
0.007686576843261719,
0.00769169807434082,
0.007644816875457764,
0.007668177127838135,
0.007688337802886963,
0.00769521713256836,
0.007421297073364258
]
},
"throughput": {
"unit": "samples/s",
"value": 137.91442448208485
},
"energy": null,
"efficiency": null
}
}
}