IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
8fe267b verified
raw
history blame
14.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gpt2",
"model": "openai-community/gpt2",
"processor": "openai-community/gpt2",
"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": 1079.468032,
"max_global_vram": 68702.69952,
"max_process_vram": 48043.483136,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.7062158203125,
"mean": 8.7062158203125,
"stdev": 0.0,
"p50": 8.7062158203125,
"p90": 8.7062158203125,
"p95": 8.7062158203125,
"p99": 8.7062158203125,
"values": [
8.7062158203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1248.62464,
"max_global_vram": 68702.69952,
"max_process_vram": 295657.381888,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 54,
"total": 0.4844157228469849,
"mean": 0.008970661534203424,
"stdev": 0.0005291041026772095,
"p50": 0.008823458671569823,
"p90": 0.00922603521347046,
"p95": 0.009847676134109496,
"p99": 0.011032481803894042,
"values": [
0.009938261032104493,
0.00979889965057373,
0.00946241855621338,
0.009249459266662598,
0.00917137908935547,
0.008941779136657715,
0.008899378776550292,
0.009078259468078614,
0.0090779390335083,
0.011933144569396972,
0.008949137687683106,
0.008809618949890137,
0.008856178283691406,
0.01023378086090088,
0.008797138214111329,
0.008867378234863282,
0.00881137752532959,
0.008807377815246582,
0.008818737983703613,
0.008816018104553222,
0.008824498176574706,
0.008814258575439453,
0.00880465793609619,
0.008870898246765136,
0.008850579261779784,
0.008806737899780273,
0.008819217681884766,
0.008832818031311035,
0.008790098190307617,
0.00880081844329834,
0.007616335868835449,
0.008808338165283203,
0.008787057876586913,
0.008792818069458008,
0.008794418334960937,
0.008810097694396973,
0.008795859336853028,
0.008806418418884278,
0.008790098190307617,
0.008808817863464356,
0.008822897911071777,
0.008848978042602538,
0.008824019432067872,
0.008807217597961426,
0.008858419418334961,
0.008960019111633301,
0.008873779296875,
0.008868178367614747,
0.008834577560424805,
0.009061139106750488,
0.008876338958740234,
0.008819217681884766,
0.008806577682495117,
0.008811858177185059
]
},
"throughput": {
"unit": "tokens/s",
"value": 222.94899795008214
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1248.755712,
"max_global_vram": 68702.69952,
"max_process_vram": 299822.587904,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 54,
"total": 0.5293902173042297,
"mean": 0.009803522542670919,
"stdev": 0.006691870483839314,
"p50": 0.00833121681213379,
"p90": 0.008727281951904297,
"p95": 0.012301529550552323,
"p99": 0.04140605892181394,
"values": [
0.009467700004577636,
0.009011539459228515,
0.008742737770080566,
0.008688178062438965,
0.00846209716796875,
0.008331377029418946,
0.008475696563720703,
0.008550578117370606,
0.00842929744720459,
0.008691218376159668,
0.008240337371826173,
0.008317296981811523,
0.051544429779052735,
0.008352977752685547,
0.008286096572875977,
0.008306737899780273,
0.008331056594848632,
0.00829489803314209,
0.008327696800231934,
0.008338738441467285,
0.008328177452087403,
0.00831425666809082,
0.008506097793579102,
0.008315377235412598,
0.008332496643066406,
0.008302256584167481,
0.00832193660736084,
0.008323858261108399,
0.008308816909790039,
0.032415428161621095,
0.007907697200775146,
0.008258417129516601,
0.008306736946105958,
0.008400656700134278,
0.008284177780151367,
0.008413456916809081,
0.008298736572265625,
0.00828481674194336,
0.008354257583618165,
0.008287217140197754,
0.008291538238525391,
0.008331856727600097,
0.008298256874084472,
0.008307856559753418,
0.008460657119750976,
0.008365137100219727,
0.008354416847229004,
0.008297937393188477,
0.017564355850219728,
0.00835793685913086,
0.008343695640563965,
0.008305458068847657,
0.008366256713867188,
0.008289298057556153
]
},
"throughput": {
"unit": "tokens/s",
"value": 102.00415163502599
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 54,
"total": 0.47763314628601083,
"mean": 0.008845058264555753,
"stdev": 0.005930449316039421,
"p50": 0.007831855773925782,
"p90": 0.00816214485168457,
"p95": 0.008518473339080809,
"p99": 0.03304226999282833,
"values": [
0.008741138458251953,
0.008398576736450196,
0.00817617702484131,
0.0081387357711792,
0.007957295894622803,
0.007842415809631348,
0.007949935913085937,
0.00802161693572998,
0.007918255805969238,
0.0081721773147583,
0.00776193618774414,
0.007830095767974854,
0.05104458236694336,
0.007855377197265624,
0.007788976192474365,
0.007821456909179687,
0.00782257604598999,
0.007787857055664062,
0.007844336032867431,
0.00783441686630249,
0.00783409595489502,
0.0078105759620666505,
0.007994097232818603,
0.007813615798950195,
0.00781601619720459,
0.0077934560775756835,
0.007820496082305908,
0.007821617126464843,
0.007833615779876709,
0.007849617004394531,
0.007427696228027344,
0.007762256145477295,
0.007808176040649414,
0.007881936073303222,
0.007774256229400635,
0.007910736083984375,
0.0077897758483886715,
0.007777775764465332,
0.007836176872253417,
0.007787055969238281,
0.0077920169830322265,
0.007808976173400879,
0.007800655841827393,
0.007804495811462402,
0.007932496070861817,
0.007847216129302979,
0.007845295906066894,
0.007802256107330322,
0.01707795524597168,
0.007853136062622071,
0.007816336154937743,
0.007791376113891602,
0.007838575839996339,
0.007771377086639404
]
},
"throughput": {
"unit": "tokens/s",
"value": 113.05748024376925
},
"energy": null,
"efficiency": null
}
}
}