{ "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.490624, "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.dev0", "optimum_benchmark_commit": null, "transformers_version": "4.45.2", "transformers_commit": null, "accelerate_version": "1.0.1", "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.2", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 1105.3056, "max_global_vram": 68702.69952, "max_process_vram": 4502.790144, "max_reserved": 725.614592, "max_allocated": 666.338304 }, "latency": { "unit": "s", "values": [ 0.07608988189697266 ], "count": 1, "total": 0.07608988189697266, "mean": 0.07608988189697266, "p50": 0.07608988189697266, "p90": 0.07608988189697266, "p95": 0.07608988189697266, "p99": 0.07608988189697266, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "prefill": { "memory": { "unit": "MB", "max_ram": 1271.750656, "max_global_vram": 68702.69952, "max_process_vram": 308688.891904, "max_reserved": 725.614592, "max_allocated": 513.235456 }, "latency": { "unit": "s", "values": [ 0.007994731903076173, 0.008060173034667968, 0.008050572395324708, 0.008037291526794433, 0.00800465202331543, 0.007973772048950195, 0.008001132011413574, 0.008747693061828613, 0.009059853553771972, 0.008334253311157227, 0.008342891693115235, 0.008360013008117676, 0.008518893241882325, 0.008753613471984863, 0.008414572715759277, 0.008526573181152344, 0.008481292724609376, 0.008233451843261718, 0.008028971672058105, 0.008054411888122559, 0.008083532333374024, 0.008287853240966796, 0.008068492889404297, 0.00808305263519287, 0.008091053009033204, 0.008953293800354005, 0.009177774429321288, 0.008571852684020996, 0.009128813743591308, 0.009120654106140137, 0.008539052963256836, 0.00869809341430664, 0.008569772720336915, 0.008506732940673828, 0.00854145336151123, 0.00855553436279297, 0.008433773040771484, 0.008034571647644043, 0.008062252044677734, 0.008043211936950683, 0.008036972045898438, 0.008030252456665039, 0.008052971839904785, 0.009305773735046386, 0.00908449363708496, 0.009245293617248535, 0.009054574012756347, 0.009037134170532226, 0.009037293434143067, 0.009092973709106446, 0.009038893699645997, 0.009052014350891114, 0.009092493057250977, 0.00907137393951416, 0.009127373695373536, 0.009065293312072753, 0.009084653854370118, 0.00906705379486084, 0.009084174156188965, 0.009094894409179688, 0.009128334045410157 ], "count": 61, "total": 0.5234139165878295, "mean": 0.00858055600963655, "p50": 0.008539052963256836, "p90": 0.009120654106140137, "p95": 0.009128813743591308, "p99": 0.009269485664367676, "stdev": 0.0004486055675595968, "stdev_": 5.228164317740973 }, "throughput": { "unit": "tokens/s", "value": 233.08512848746207 }, "energy": null, "efficiency": null }, "decode": { "memory": { "unit": "MB", "max_ram": 1271.750656, "max_global_vram": 68702.69952, "max_process_vram": 286005.784576, "max_reserved": 725.614592, "max_allocated": 513.257984 }, "latency": { "unit": "s", "values": [ 0.007369771003723145, 0.007456490993499756, 0.007603531837463379, 0.007448331832885742, 0.0074456119537353515, 0.007379371166229248, 0.007435371875762939, 0.00840449333190918, 0.008207213401794434, 0.00778209114074707, 0.007747052192687988, 0.0077508921623229985, 0.008431532859802245, 0.007979053020477295, 0.00793425178527832, 0.007916011810302735, 0.00772625207901001, 0.007590732097625732, 0.007496811866760254, 0.007557131767272949, 0.007763051986694336, 0.007462730884552002, 0.007554891109466552, 0.007493610858917236, 0.007570411205291748, 0.008338092803955078, 0.00801505184173584, 0.007843532085418702, 0.008558093070983886, 0.007836331844329834, 0.008047532081604004, 0.00784673309326172, 0.007868331909179687, 0.007887372016906738, 0.00797777223587036, 0.008070571899414063, 0.007734571933746338, 0.007545132160186768, 0.007559212207794189, 0.007580331802368164, 0.007559051990509033, 0.007732972145080567, 0.008417452812194824, 0.008416172981262206, 0.008445293426513671, 0.008355692863464355, 0.008353452682495117, 0.008340332984924316, 0.008348333358764648, 0.008353612899780273, 0.008373932838439941, 0.008334092140197754, 0.008476813316345215, 0.008443532943725586, 0.008568332672119141, 0.00839185333251953, 0.008457612991333009, 0.008412813186645508, 0.008376973152160645, 0.008440492630004882, 0.00845393180847168 ], "count": 61, "total": 0.48626810836792, "mean": 0.007971608333900327, "p50": 0.007916011810302735, "p90": 0.008443532943725586, "p95": 0.008457612991333009, "p99": 0.008562188911437988, "stdev": 0.00038529474611618256, "stdev_": 4.833337640005032 }, "throughput": { "unit": "tokens/s", "value": 125.44519977823882 }, "energy": null, "efficiency": null }, "per_token": { "memory": null, "latency": { "unit": "s", "values": [ 0.006922730922698975, 0.006985929965972901, 0.007135691165924073, 0.00696721076965332, 0.0069464111328125, 0.006905290126800537, 0.006963050842285156, 0.007848812103271484, 0.007672492027282715, 0.007273770809173584, 0.007250091075897217, 0.00728113079071045, 0.007858091831207276, 0.007395051956176758, 0.007328650951385498, 0.007318571090698243, 0.007183210849761963, 0.0069644908905029295, 0.006951210975646972, 0.006971850872039795, 0.007193450927734375, 0.0069308910369873045, 0.007000491142272949, 0.006954569816589356, 0.006993130207061767, 0.007834732055664062, 0.007496971130371094, 0.0072388920783996585, 0.008025132179260253, 0.007360811233520508, 0.007500330924987793, 0.007312012195587158, 0.007353771209716797, 0.00741041088104248, 0.007403532028198242, 0.007491051197052002, 0.0071393709182739256, 0.006992331027984619, 0.00698081111907959, 0.007003530979156494, 0.0069950509071350095, 0.007100171089172364, 0.0077729721069335934, 0.007827052116394043, 0.007884332180023193, 0.00782017183303833, 0.007813451766967773, 0.007829291820526123, 0.007848971843719483, 0.007839531898498535, 0.007838891983032227, 0.00777921199798584, 0.00793569278717041, 0.007902731895446777, 0.008024493217468261, 0.007851371765136719, 0.007904491901397704, 0.007850572109222412, 0.007853611946105957, 0.007880971908569337, 0.007900492191314697 ], "count": 61, "total": 0.45319349670410175, "mean": 0.00742940158531314, "p50": 0.007360811233520508, "p90": 0.007884332180023193, "p95": 0.007904491901397704, "p99": 0.008024748802185058, "stdev": 0.0003790862901444356, "stdev_": 5.10251445949341 }, "throughput": { "unit": "tokens/s", "value": 134.6003427755011 }, "energy": null, "efficiency": null } } }