IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2f7a14d 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": 1070.379008,
"max_global_vram": 68702.69952,
"max_process_vram": 48762.953728,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.8299052734375,
"mean": 8.8299052734375,
"stdev": 0.0,
"p50": 8.8299052734375,
"p90": 8.8299052734375,
"p95": 8.8299052734375,
"p99": 8.8299052734375,
"values": [
8.8299052734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1199.775744,
"max_global_vram": 68702.69952,
"max_process_vram": 236110.491648,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0167165775299074,
"mean": 0.007367511431376139,
"stdev": 0.0013928521104882166,
"p50": 0.007143768072128296,
"p90": 0.007591640949249268,
"p95": 0.007631425285339356,
"p99": 0.014595550012588492,
"values": [
0.007239368915557862,
0.007367208957672119,
0.0074486489295959475,
0.007525769233703614,
0.007388648986816407,
0.007276328086853028,
0.00715264892578125,
0.007268009185791016,
0.008567049980163574,
0.0072212891578674315,
0.00718608808517456,
0.007098089218139649,
0.006920648097991943,
0.006932649135589599,
0.006916327953338623,
0.0068721680641174315,
0.007084329128265381,
0.007033127784729004,
0.006850088119506836,
0.007076649188995361,
0.0070660881996154785,
0.006910408973693848,
0.006938727855682373,
0.006836167812347412,
0.00684656810760498,
0.006809129238128662,
0.006835527896881103,
0.009717930793762207,
0.007113608837127685,
0.006879848003387451,
0.006814888000488281,
0.00684992790222168,
0.0068459281921386715,
0.0077264089584350585,
0.006958408832550049,
0.0069217681884765625,
0.007197449207305908,
0.015342417716979981,
0.007428009033203125,
0.007494248867034912,
0.00747632884979248,
0.0075288090705871585,
0.007486409187316895,
0.00749648904800415,
0.007543848991394043,
0.007504969120025635,
0.007490408897399902,
0.00749376916885376,
0.00752384901046753,
0.007482409000396728,
0.007481449127197266,
0.007492329120635986,
0.007518568992614746,
0.007558888912200927,
0.007590888977050781,
0.007558409214019775,
0.0075532889366149904,
0.007595048904418945,
0.007563689231872559,
0.007566249847412109,
0.007570728778839111,
0.0075912089347839355,
0.007592648983001709,
0.007597609043121338,
0.007548008918762207,
0.007628328800201416,
0.007619049072265625,
0.007630729198455811,
0.007635369777679444,
0.007606888771057129,
0.007585928916931152,
0.007558888912200927,
0.007552009105682373,
0.007543848991394043,
0.007553769111633301,
0.007546089172363281,
0.007573288917541504,
0.013323856353759765,
0.0071478490829467774,
0.006732808113098144,
0.006702888011932373,
0.006747687816619873,
0.006775847911834717,
0.006761288166046143,
0.0067755279541015625,
0.00679072904586792,
0.0067828879356384274,
0.0067558479309082035,
0.006746888160705566,
0.006740647792816162,
0.006744967937469482,
0.006736648082733154,
0.006746407985687256,
0.006739208221435547,
0.0067643289566040035,
0.006710887908935547,
0.00673200798034668,
0.006760647773742676,
0.006742568016052246,
0.0067326478958129885,
0.006750408172607422,
0.006757448196411133,
0.006703048229217529,
0.006800969123840332,
0.006803048133850098,
0.006764167785644531,
0.006745287895202637,
0.006724647998809815,
0.00675216817855835,
0.006698567867279053,
0.0067424077987670895,
0.006752007961273193,
0.006719207763671875,
0.0067156882286071775,
0.006795528888702392,
0.007562728881835937,
0.007571528911590577,
0.007561608791351319,
0.007580968856811523,
0.007065447807312011,
0.0070414490699768064,
0.0070452880859375,
0.007127688884735107,
0.007143847942352295,
0.007160968780517578,
0.007570728778839111,
0.007081768989562988,
0.007180327892303467,
0.007186408996582031,
0.00710096788406372,
0.007052168846130371,
0.007143688201904297,
0.00725360918045044,
0.007227849006652832,
0.0071564879417419435,
0.0070718488693237306,
0.006809447765350342,
0.019200981140136717
]
},
"throughput": {
"unit": "samples/s",
"value": 135.7310415211959
},
"energy": null,
"efficiency": null
}
}
}