{ "config": { "name": "cuda_inference_transformers_text-generation_openai-community/gpt2", "backend": { "name": "pytorch", "version": "2.2.2+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": "0", "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": "error", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.236096, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 1, "gpu_vram_mb": 68702699520, "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "86906b8c1093b2f4cd2981b46a0b533238abf100", "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 901.67296, "max_global_vram": 1011.73248, "max_process_vram": 44953.88672, "max_reserved": 725.614592, "max_allocated": 666.338304 }, "latency": { "unit": "s", "count": 1, "total": 7.7443544921875, "mean": 7.7443544921875, "stdev": 0.0, "p50": 7.7443544921875, "p90": 7.7443544921875, "p95": 7.7443544921875, "p99": 7.7443544921875, "values": [ 7.7443544921875 ] }, "throughput": null, "energy": null, "efficiency": null }, "prefill": { "memory": { "unit": "MB", "max_ram": 1055.98976, "max_global_vram": 1107.464192, "max_process_vram": 283569.471488, "max_reserved": 725.614592, "max_allocated": 513.035264 }, "latency": { "unit": "s", "count": 55, "total": 0.5060979394912719, "mean": 0.009201780718023125, "stdev": 0.00019128941767147274, "p50": 0.009172320365905762, "p90": 0.009438848114013671, "p95": 0.009637279796600342, "p99": 0.00976162977218628, "values": [ 0.009311039924621583, 0.009618559837341308, 0.009418399810791015, 0.009261281013488769, 0.009240639686584473, 0.00924287986755371, 0.009145601272583008, 0.009193440437316895, 0.00937007999420166, 0.009244319915771484, 0.009232641220092774, 0.00920479965209961, 0.00918832015991211, 0.00979904079437256, 0.009295680046081544, 0.009223199844360352, 0.00933407974243164, 0.009318241119384766, 0.009261919975280761, 0.009224639892578126, 0.009729761123657227, 0.009530400276184082, 0.009680959701538086, 0.00945248031616211, 0.009219680786132813, 0.009172320365905762, 0.00909984016418457, 0.00914880084991455, 0.009207679748535156, 0.009078880310058594, 0.009082401275634765, 0.009379361152648926, 0.009193280220031737, 0.009163840293884278, 0.009077601432800293, 0.009038559913635254, 0.009028800010681152, 0.009064480781555176, 0.009029919624328614, 0.009086400032043458, 0.009015200614929199, 0.009021281242370605, 0.009052800178527833, 0.008991040229797364, 0.00899280071258545, 0.009144960403442383, 0.0090283203125, 0.00899376106262207, 0.009075679779052735, 0.009052000045776366, 0.009033440589904785, 0.009054880142211914, 0.009007040023803712, 0.008993280410766602, 0.00904720115661621 ] }, "throughput": { "unit": "tokens/s", "value": 217.34923503259404 }, "energy": null, "efficiency": null }, "decode": { "memory": { "unit": "MB", "max_ram": 1055.98976, "max_global_vram": 1107.49696, "max_process_vram": 267501.40416, "max_reserved": 725.614592, "max_allocated": 513.259008 }, "latency": { "unit": "s", "count": 55, "total": 0.4940829010009766, "mean": 0.00898332547274503, "stdev": 0.000178504850390468, "p50": 0.008935041427612304, "p90": 0.009241888999938965, "p95": 0.009308465003967285, "p99": 0.009430007457733154, "values": [ 0.009307841300964355, 0.009330720901489257, 0.00917903995513916, 0.009059840202331543, 0.009186241149902344, 0.009092320442199707, 0.009088800430297852, 0.009108160972595215, 0.009243041038513184, 0.00930992031097412, 0.009120960235595704, 0.009093120574951171, 0.009141599655151367, 0.009115039825439453, 0.009002241134643554, 0.00893360137939453, 0.009060799598693848, 0.00890447998046875, 0.008838561058044434, 0.009138079643249511, 0.009260640144348145, 0.009240160942077637, 0.009546561241149902, 0.008943679809570313, 0.008906080245971679, 0.008779520988464356, 0.008797120094299317, 0.008899359703063965, 0.008804640769958495, 0.008830400466918945, 0.008986559867858887, 0.008958399772644043, 0.009075840950012208, 0.008864800453186035, 0.008884480476379394, 0.008935041427612304, 0.008826239585876465, 0.008800959587097168, 0.00885088062286377, 0.008716320037841797, 0.008767359733581543, 0.008815360069274903, 0.008814881324768067, 0.0087958402633667, 0.008786399841308594, 0.008862240791320801, 0.00896288013458252, 0.008847359657287598, 0.00902976131439209, 0.008964159965515136, 0.008845279693603516, 0.00881439971923828, 0.008798721313476563, 0.008891200065612793, 0.008924960136413574 ] }, "throughput": { "unit": "tokens/s", "value": 111.31735157920652 }, "energy": null, "efficiency": null }, "per_token": { "memory": null, "latency": { "unit": "s", "count": 55, "total": 0.4530318574905395, "mean": 0.008236942863464354, "stdev": 0.00014245257241195304, "p50": 0.008225919723510743, "p90": 0.008443935966491699, "p95": 0.008482464790344238, "p99": 0.008620451679229736, "values": [ 0.008479681015014649, 0.008488960266113281, 0.008370079994201661, 0.008236639976501465, 0.008292800903320312, 0.00821343994140625, 0.008208800315856933, 0.00823728084564209, 0.008321760177612304, 0.008458720207214356, 0.008313920021057129, 0.008289280891418458, 0.008350079536437988, 0.008421759605407714, 0.00830160140991211, 0.008280960083007813, 0.00836672019958496, 0.00822976016998291, 0.008198081016540527, 0.00841327953338623, 0.008527199745178222, 0.008462241172790527, 0.008729921340942384, 0.00828991985321045, 0.008244000434875488, 0.008135201454162598, 0.008119999885559082, 0.008183679580688476, 0.0081580810546875, 0.008139200210571289, 0.008299200057983399, 0.008277119636535645, 0.008280160903930665, 0.008159839630126953, 0.008225919723510743, 0.008258721351623536, 0.008165760040283203, 0.008132479667663573, 0.008145601272583007, 0.008080320358276367, 0.008097439765930177, 0.008105600357055664, 0.008112320899963379, 0.00805008029937744, 0.008052639961242676, 0.008053280830383302, 0.008164480209350585, 0.008115360260009766, 0.008270721435546875, 0.008137760162353515, 0.008105119705200196, 0.008043840408325195, 0.008046079635620117, 0.008097599983215333, 0.008091360092163087 ] }, "throughput": { "unit": "tokens/s", "value": 121.40426570585832 }, "energy": null, "efficiency": null } } }