{ "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.1", "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.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 1106.18624, "max_global_vram": 68702.69952, "max_process_vram": 4942.27456, "max_reserved": 725.614592, "max_allocated": 666.338304 }, "latency": { "unit": "s", "values": [ 0.0858317642211914 ], "count": 1, "total": 0.0858317642211914, "mean": 0.0858317642211914, "p50": 0.0858317642211914, "p90": 0.0858317642211914, "p95": 0.0858317642211914, "p99": 0.0858317642211914, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "prefill": { "memory": { "unit": "MB", "max_ram": 1272.643584, "max_global_vram": 68702.69952, "max_process_vram": 310666.379264, "max_reserved": 725.614592, "max_allocated": 513.235456 }, "latency": { "unit": "s", "values": [ 0.008791850090026856, 0.009025130271911621, 0.00900032901763916, 0.009257769584655762, 0.009009288787841798, 0.008996809959411621, 0.00903536891937256, 0.009015049934387207, 0.009043210029602051, 0.008999528884887696, 0.00899409008026123, 0.009023848533630372, 0.009021610260009765, 0.009148009300231933, 0.009051210403442382, 0.009005449295043945, 0.008993450164794923, 0.009028968811035156, 0.009031370162963867, 0.009004329681396485, 0.008978729248046874, 0.008998729705810548, 0.009004328727722168, 0.00900337028503418, 0.009033129692077637, 0.009095849990844727, 0.009041609764099122, 0.00904240894317627, 0.009080010414123535, 0.00905521011352539, 0.009074729919433594, 0.009053448677062988, 0.009043370246887207, 0.009064648628234863, 0.009052968978881836, 0.009073129653930664, 0.009134089469909668, 0.009076490402221679, 0.009105290412902832, 0.008802729606628418, 0.009082889556884766, 0.009095528602600097, 0.009016810417175293, 0.008441928863525391, 0.008511528968811036, 0.008730249404907226, 0.008238088607788087, 0.0083707275390625, 0.008172327995300294, 0.008831209182739257, 0.009052490234375, 0.008515688896179199, 0.008871048927307128, 0.008584328651428223, 0.009013769149780273, 0.00905088996887207, 0.009017768859863282, 0.009030730247497558 ], "count": 58, "total": 0.5189189491271973, "mean": 0.008946878433227539, "p50": 0.009022729396820068, "p90": 0.009086681270599365, "p95": 0.009109610271453857, "p99": 0.00919520622253418, "stdev": 0.00022197406002836184, "stdev_": 2.48102242234542 }, "throughput": { "unit": "tokens/s", "value": 223.54165365344195 }, "energy": null, "efficiency": null }, "decode": { "memory": { "unit": "MB", "max_ram": 1272.643584, "max_global_vram": 68702.69952, "max_process_vram": 318555.500544, "max_reserved": 725.614592, "max_allocated": 513.257984 }, "latency": { "unit": "s", "values": [ 0.008003047943115234, 0.008320809364318848, 0.008332968711853028, 0.008491209030151367, 0.008300969123840332, 0.008312969207763672, 0.00838672924041748, 0.00831392765045166, 0.008320328712463378, 0.008326088905334473, 0.008297128677368164, 0.008328329086303711, 0.008326409339904785, 0.008316808700561524, 0.008384808540344239, 0.008330728530883789, 0.008432168006896973, 0.008372488975524903, 0.008314087867736816, 0.008314409255981446, 0.008315528869628906, 0.0083377685546875, 0.00838848876953125, 0.008349767684936523, 0.008323689460754395, 0.008331687927246093, 0.008334089279174804, 0.008482889175415039, 0.008499689102172851, 0.00864320945739746, 0.008524168968200683, 0.008436649322509766, 0.008482568740844727, 0.00851344871520996, 0.008502408981323243, 0.008489448547363282, 0.008409289360046387, 0.008444648742675781, 0.008051688194274903, 0.008046088218688964, 0.008476328849792481, 0.008391368865966796, 0.008190729141235352, 0.008083208084106445, 0.008016968727111816, 0.007672488212585449, 0.008110407829284669, 0.007763208866119385, 0.007859368801116944, 0.008468809127807618, 0.008434728622436523, 0.007944808006286622, 0.008012008666992188, 0.007963048934936523, 0.008437929153442382, 0.008398247718811034, 0.008472808837890625, 0.008404008865356445 ], "count": 58, "total": 0.4815341062545778, "mean": 0.008302312176803063, "p50": 0.00833232831954956, "p90": 0.008489976692199707, "p95": 0.00850406494140625, "p99": 0.008575356378555297, "stdev": 0.00019855620651297216, "stdev_": 2.3915772171003735 }, "throughput": { "unit": "tokens/s", "value": 120.44837374268259 }, "energy": null, "efficiency": null }, "per_token": { "memory": null, "latency": { "unit": "s", "values": [ 0.007657127857208252, 0.0078110480308532714, 0.007820007801055908, 0.007993927955627441, 0.0077972888946533205, 0.007819528102874757, 0.007878408908843995, 0.007803847789764404, 0.007817287921905518, 0.007822089195251465, 0.007804488182067871, 0.00781424903869629, 0.007835847854614258, 0.007817288875579835, 0.007857128143310547, 0.00781168794631958, 0.007921607971191406, 0.007838568210601807, 0.0078017678260803225, 0.007802887916564942, 0.007803849220275879, 0.007841447830200195, 0.007853127956390381, 0.007855048179626465, 0.007798247814178467, 0.007825128078460693, 0.007824967861175538, 0.007910089015960693, 0.007944008827209473, 0.008048487663269042, 0.00794320821762085, 0.007888648986816406, 0.007892648220062255, 0.007929769039154053, 0.007916327953338622, 0.007908487796783447, 0.00788304901123047, 0.007904808044433593, 0.00754752779006958, 0.007489927768707275, 0.007840968132019044, 0.007847049236297608, 0.007598728179931641, 0.007503528118133545, 0.007451687812805176, 0.007126728057861328, 0.007518407821655274, 0.0071724882125854495, 0.007256807804107666, 0.007882408142089844, 0.00784720802307129, 0.0073745670318603514, 0.007416967868804932, 0.0073553681373596195, 0.007863207817077637, 0.007769288063049317, 0.007889928817749024, 0.00783248805999756 ], "count": 58, "total": 0.45008271503448477, "mean": 0.007760046810939393, "p50": 0.0078235285282135, "p90": 0.007917911958694457, "p95": 0.007943328309059144, "p99": 0.00801738862991333, "stdev": 0.00020251202375550805, "stdev_": 2.609675285334947 }, "throughput": { "unit": "tokens/s", "value": 128.86520202304615 }, "energy": null, "efficiency": null } } }