{ "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": "5", "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": 2, "sequence_length": 16, "num_choices": 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.46.3", "transformers_commit": null, "accelerate_version": "1.1.1", "accelerate_commit": null, "diffusers_version": "0.31.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.12", "timm_commit": null, "peft_version": "0.13.2", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 1110.265856, "max_global_vram": 68702.69952, "max_process_vram": 3955.093504, "max_reserved": 725.614592, "max_allocated": 666.338304 }, "latency": { "unit": "s", "values": [ 0.09696657562255859 ], "count": 1, "total": 0.09696657562255859, "mean": 0.09696657562255859, "p50": 0.09696657562255859, "p90": 0.09696657562255859, "p95": 0.09696657562255859, "p99": 0.09696657562255859, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "prefill": { "memory": { "unit": "MB", "max_ram": 1287.491584, "max_global_vram": 68702.69952, "max_process_vram": 288671.105024, "max_reserved": 731.906048, "max_allocated": 529.219072 }, "latency": { "unit": "s", "values": [ 0.008914998054504394, 0.00874123764038086, 0.008744277954101563, 0.008729079246520995, 0.008769238471984863, 0.008736119270324708, 0.008756438255310058, 0.008781878471374512, 0.008742358207702637, 0.008728597640991211, 0.008747158050537109, 0.008744758605957031, 0.008731958389282226, 0.008872597694396973, 0.00875563907623291, 0.008735478401184082, 0.009929871559143067, 0.00941147518157959, 0.009362835884094239, 0.009231156349182128, 0.00938395595550537, 0.009886033058166504, 0.009909872055053712, 0.009026677131652831, 0.009060437202453614, 0.009309076309204101, 0.009148595809936523, 0.009176755905151367, 0.009192276000976562, 0.008835158348083495, 0.008852758407592774, 0.008843957901000976, 0.008768117904663086, 0.008785078048706055, 0.008799637794494629, 0.008788598060607911, 0.008793397903442383, 0.008749238967895508, 0.008756278991699219, 0.008766517639160157, 0.008774997711181641, 0.008754998207092286, 0.00880763816833496, 0.008802997589111327, 0.008775797843933106, 0.00887371826171875, 0.008765718460083009, 0.008770838737487793, 0.00877067756652832, 0.008774997711181641, 0.008728117942810058, 0.008703798294067382, 0.008735318183898926, 0.008721078872680664, 0.008710198402404785, 0.008744117736816406, 0.0087181978225708, 0.008713238716125489, 0.008717719078063966, 0.008722357749938965, 0.008725558280944824 ], "count": 61, "total": 0.5428116531372069, "mean": 0.008898551690773885, "p50": 0.00877067756652832, "p90": 0.009309076309204101, "p95": 0.00941147518157959, "p99": 0.009917871856689454, "stdev": 0.00029378531217956634, "stdev_": 3.3014958207655987 }, "throughput": { "unit": "samples/s", "value": 224.75567592349006 }, "energy": null, "efficiency": null }, "decode": { "memory": { "unit": "MB", "max_ram": 1287.507968, "max_global_vram": 68702.69952, "max_process_vram": 292656.76288, "max_reserved": 731.906048, "max_allocated": 529.219584 }, "latency": { "unit": "s", "values": [ 0.007521083831787109, 0.007519964218139648, 0.007510844230651855, 0.007809721946716309, 0.007542523860931396, 0.007516444206237793, 0.007542203903198242, 0.007518683910369873, 0.007541883945465088, 0.0075577239990234375, 0.0075207648277282714, 0.007562203884124756, 0.007510364055633545, 0.0075386838912963865, 0.0075454039573669435, 0.008641718864440918, 0.008609559059143066, 0.008061081886291503, 0.008050841331481933, 0.008105722427368164, 0.008093081474304199, 0.008578518867492675, 0.008117721557617188, 0.007831963062286377, 0.007848921775817872, 0.008131800651550293, 0.007995481967926026, 0.008017242431640625, 0.007762362957000732, 0.007667482852935791, 0.007695162773132324, 0.007599963188171387, 0.007586204051971436, 0.007609883785247803, 0.007626203060150147, 0.007615163803100586, 0.007611484050750733, 0.007595802783966064, 0.0075850830078125, 0.007582044124603272, 0.007582523822784424, 0.007735642910003662, 0.0075614042282104495, 0.007598204135894775, 0.007614363193511963, 0.0075882840156555175, 0.0075839638710021974, 0.007606203079223633, 0.0076071639060974125, 0.007614364147186279, 0.007516923904418945, 0.007794522762298584, 0.007534685134887695, 0.007523004055023193, 0.007645403861999512, 0.007534364223480225, 0.0075529241561889645, 0.007530523777008057, 0.0075620441436767575, 0.007551002979278565, 0.0075204439163208 ], "count": 61, "total": 0.4702369546890258, "mean": 0.007708802535885671, "p50": 0.007595802783966064, "p90": 0.008093081474304199, "p95": 0.008131800651550293, "p99": 0.008622422981262206, "stdev": 0.0002717748233240109, "stdev_": 3.5255128414414165 }, "throughput": { "unit": "tokens/s", "value": 259.44366724788836 }, "energy": null, "efficiency": null }, "per_token": { "memory": null, "latency": { "unit": "s", "values": [ 0.007182525157928467, 0.007171805858612061, 0.0071652460098266604, 0.007459164142608643, 0.007191805839538574, 0.007170845031738282, 0.007193565845489502, 0.007174205780029297, 0.007199326038360596, 0.00721388578414917, 0.0071676459312438965, 0.007215964794158936, 0.007161886215209961, 0.007195165157318115, 0.007201564788818359, 0.008243640899658204, 0.008211960792541504, 0.007668922901153565, 0.007689723014831543, 0.007756443023681641, 0.007694683074951172, 0.00818428134918213, 0.007768763065338135, 0.007488764762878418, 0.007503483772277832, 0.00774172306060791, 0.007647163867950439, 0.007663962841033936, 0.007403164863586426, 0.007301724910736084, 0.007315004825592041, 0.007242044925689697, 0.0072458858489990235, 0.007262684822082519, 0.007277725219726562, 0.007255646228790283, 0.007269404888153076, 0.007247964859008789, 0.007236925125122071, 0.007243805885314941, 0.007241566181182862, 0.007377405166625977, 0.0072142062187194825, 0.007250685214996338, 0.007256444931030274, 0.007241405010223388, 0.00724076509475708, 0.007248125076293945, 0.007264286041259766, 0.007258365154266358, 0.007173565864562989, 0.0074535651206970215, 0.007178046226501465, 0.007180446147918701, 0.00730140495300293, 0.007172766208648681, 0.007200925827026367, 0.0071881251335144045, 0.007219005107879639, 0.007197565078735352, 0.007178845882415771 ], "count": 61, "total": 0.4486676168441774, "mean": 0.0073552068335111034, "p50": 0.0072458858489990235, "p90": 0.007694683074951172, "p95": 0.007768763065338135, "p99": 0.008224632835388183, "stdev": 0.0002602278093211683, "stdev_": 3.5380080426228506 }, "throughput": null, "energy": null, "efficiency": null } } }