{ "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": 1082014.482432, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-122-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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.45.2", "transformers_commit": null, "accelerate_version": "1.0.0", "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.13.0", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 1105.395712, "max_global_vram": 68702.69952, "max_process_vram": 4620.537856, "max_reserved": 725.614592, "max_allocated": 666.338304 }, "latency": { "unit": "s", "values": [ 0.07578336334228515 ], "count": 1, "total": 0.07578336334228515, "mean": 0.07578336334228515, "p50": 0.07578336334228515, "p90": 0.07578336334228515, "p95": 0.07578336334228515, "p99": 0.07578336334228515, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "prefill": { "memory": { "unit": "MB", "max_ram": 1271.648256, "max_global_vram": 68702.69952, "max_process_vram": 294889.951232, "max_reserved": 725.614592, "max_allocated": 513.235456 }, "latency": { "unit": "s", "values": [ 0.009072818756103516, 0.009236820220947265, 0.00920497989654541, 0.009226900100708008, 0.009225460052490234, 0.009177300453186035, 0.009163539886474609, 0.009183859825134278, 0.00916018009185791, 0.009212820053100586, 0.009128338813781738, 0.009183698654174805, 0.009203538894653321, 0.009292180061340333, 0.009179059982299804, 0.009256179809570313, 0.009230420112609864, 0.009186900138854981, 0.009232500076293945, 0.009199539184570312, 0.009159379959106446, 0.00917393970489502, 0.009204819679260253, 0.009204819679260253, 0.00921090030670166, 0.009219539642333985, 0.009238260269165039, 0.009224019050598144, 0.009192179679870606, 0.009208820343017577, 0.009227858543395997, 0.009229619979858399, 0.009238419532775878, 0.009251219749450684, 0.00919569969177246, 0.009162099838256835, 0.009197139739990234, 0.009213299751281738, 0.009267379760742187, 0.009213939666748047, 0.009205300331115723, 0.00924705982208252, 0.009204500198364258, 0.00920337963104248, 0.00883441925048828, 0.008626579284667969, 0.008743219375610352, 0.008653618812561036, 0.008166418075561524, 0.008162898063659668, 0.008181297302246093, 0.008154256820678711, 0.008545939445495605, 0.008481778144836426, 0.008158738136291505, 0.00817121696472168, 0.008172818183898926, 0.008148978233337403 ], "count": 58, "total": 0.5222528057098389, "mean": 0.009004358719135151, "p50": 0.009198339462280273, "p90": 0.009238308048248291, "p95": 0.009251963758468628, "p99": 0.00927804388999939, "stdev": 0.0003790363185598113, "stdev_": 4.209475992491522 }, "throughput": { "unit": "tokens/s", "value": 222.11465162419645 }, "energy": null, "efficiency": null }, "decode": { "memory": { "unit": "MB", "max_ram": 1271.648256, "max_global_vram": 68702.69952, "max_process_vram": 308697.153536, "max_reserved": 725.614592, "max_allocated": 513.257984 }, "latency": { "unit": "s", "values": [ 0.008448979377746583, 0.008484977722167969, 0.008683697700500488, 0.008496818542480468, 0.008525137901306152, 0.008474258422851563, 0.008450098037719726, 0.008496018409729003, 0.008493938446044923, 0.00848753833770752, 0.008487378120422363, 0.00850113868713379, 0.008524179458618164, 0.008505457878112794, 0.008557619094848633, 0.00854097843170166, 0.008474577903747558, 0.008483378410339356, 0.00850545883178711, 0.00850801944732666, 0.008556017875671387, 0.008537617683410645, 0.008510578155517578, 0.008523538589477539, 0.0085212984085083, 0.00850065803527832, 0.008541297912597657, 0.008504018783569336, 0.00865201759338379, 0.008553619384765626, 0.008499058723449707, 0.00852033805847168, 0.008566259384155273, 0.008489618301391602, 0.0084515380859375, 0.008494097709655762, 0.008534257888793945, 0.008624499320983886, 0.008664817810058593, 0.008602739334106446, 0.008625938415527343, 0.00866977882385254, 0.008553458213806151, 0.008347537994384766, 0.00794241714477539, 0.008062737464904785, 0.008241937637329102, 0.007663536071777344, 0.0076913762092590335, 0.0076617770195007324, 0.007613777160644531, 0.008294258117675781, 0.00790433692932129, 0.0076203360557556155, 0.007767376899719239, 0.007720816135406494, 0.0077011361122131345, 0.0076344161033630375 ], "count": 58, "total": 0.48469448471069326, "mean": 0.008356801460529195, "p50": 0.008497938632965087, "p90": 0.008609267330169678, "p95": 0.008653937625885011, "p99": 0.008675763940811158, "stdev": 0.00032526829435713646, "stdev_": 3.8922582508803414 }, "throughput": { "unit": "tokens/s", "value": 119.66300799692266 }, "energy": null, "efficiency": null }, "per_token": { "memory": null, "latency": { "unit": "s", "values": [ 0.007943377017974854, 0.007949936866760253, 0.008160017013549804, 0.007982577800750732, 0.007988017082214355, 0.00795729684829712, 0.007946416854858399, 0.007960337162017822, 0.007959696769714355, 0.007960337162017822, 0.007976016998291015, 0.007957936763763428, 0.008003538131713867, 0.007985617160797119, 0.00799217700958252, 0.008006096839904785, 0.007962896823883056, 0.007960337162017822, 0.007967216968536377, 0.007998417854309083, 0.008010737419128418, 0.008006096839904785, 0.007994256973266601, 0.007988656997680664, 0.0080009765625, 0.007984656810760498, 0.008005777359008788, 0.007966097831726074, 0.008122257232666016, 0.007990256786346435, 0.007960018157958984, 0.007975377082824708, 0.00803633689880371, 0.007965776920318603, 0.00793153715133667, 0.007962737083435058, 0.007970417022705078, 0.008044816970825196, 0.008048497200012206, 0.008050098419189453, 0.00803361701965332, 0.00813665771484375, 0.008019376754760742, 0.007800817012786865, 0.007418575763702392, 0.007511216163635254, 0.007688177108764648, 0.007085774898529053, 0.0071300950050354, 0.0070872149467468264, 0.007075854778289795, 0.007723856925964356, 0.007337934970855713, 0.007071535110473633, 0.007210255146026611, 0.0071251349449157715, 0.00713393497467041, 0.007073454856872559 ], "count": 58, "total": 0.45329713010787964, "mean": 0.007815467760480683, "p50": 0.007965937376022338, "p90": 0.008038880920410156, "p95": 0.008060922241210937, "p99": 0.008146702213287354, "stdev": 0.00033467110605972923, "stdev_": 4.28216347781525 }, "throughput": { "unit": "tokens/s", "value": 127.95139467615127 }, "energy": null, "efficiency": null } } }