{ "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.11", "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": 1109.884928, "max_global_vram": 68702.69952, "max_process_vram": 4997.79584, "max_reserved": 725.614592, "max_allocated": 666.338304 }, "latency": { "unit": "s", "values": [ 0.09667758178710938 ], "count": 1, "total": 0.09667758178710938, "mean": 0.09667758178710938, "p50": 0.09667758178710938, "p90": 0.09667758178710938, "p95": 0.09667758178710938, "p99": 0.09667758178710938, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "prefill": { "memory": { "unit": "MB", "max_ram": 1287.233536, "max_global_vram": 68702.69952, "max_process_vram": 224962.58048, "max_reserved": 731.906048, "max_allocated": 529.219072 }, "latency": { "unit": "s", "values": [ 0.008611504554748534, 0.00876910400390625, 0.008783184051513671, 0.008785903930664063, 0.008792143821716308, 0.008788944244384766, 0.008790703773498535, 0.008828304290771484, 0.008792144775390625, 0.008774703979492187, 0.008782383918762206, 0.0087847843170166, 0.008796143531799316, 0.008925904273986816, 0.008785264015197754, 0.008843024253845215, 0.008788304328918457, 0.00884046459197998, 0.009953581809997558, 0.009867341995239257, 0.009851181983947754, 0.00921582317352295, 0.00913742446899414, 0.009408462524414062, 0.009961421966552735, 0.009330544471740723, 0.008868783950805663, 0.00883614444732666, 0.008815024375915527, 0.008791343688964844, 0.008849743843078614, 0.008868304252624512, 0.008816464424133301, 0.008813103675842286, 0.008887344360351563, 0.008857904434204101, 0.008878704071044921, 0.008812784194946289, 0.008748144149780273, 0.008768783569335938, 0.008829903602600098, 0.008777745246887207, 0.00884382438659668, 0.008754063606262207, 0.00878974437713623, 0.008899824142456055, 0.008855824470520019, 0.008782544136047364, 0.008819025039672851, 0.008767663955688476, 0.008807344436645508, 0.008816464424133301, 0.00882414436340332, 0.008788463592529296, 0.008800623893737793, 0.008820943832397461, 0.008778223991394043, 0.008782064437866211, 0.008822064399719238 ], "count": 59, "total": 0.5259617748260497, "mean": 0.008914606352983894, "p50": 0.008815024375915527, "p90": 0.009238767433166505, "p95": 0.009852797985076904, "p99": 0.009956874675750732, "stdev": 0.00029700131336387854, "stdev_": 3.331625666953498 }, "throughput": { "unit": "samples/s", "value": 224.35090466227493 }, "energy": null, "efficiency": null }, "decode": { "memory": { "unit": "MB", "max_ram": 1287.24992, "max_global_vram": 68702.69952, "max_process_vram": 287672.410112, "max_reserved": 731.906048, "max_allocated": 529.219584 }, "latency": { "unit": "s", "values": [ 0.007751666069030762, 0.007804306030273438, 0.007844786167144775, 0.008123665809631348, 0.0077987060546875, 0.007873586177825928, 0.007883666038513183, 0.007960305213928223, 0.007953104972839355, 0.007988626003265381, 0.007965906143188477, 0.007902865886688232, 0.00797502613067627, 0.008024305343627929, 0.007931665897369385, 0.008028306007385255, 0.007934225082397462, 0.008242384910583496, 0.008776944160461425, 0.008915504455566407, 0.008161266326904297, 0.008177905082702637, 0.008840784072875977, 0.008810864448547364, 0.008739504814147949, 0.008165104866027832, 0.007978705883026124, 0.00795998477935791, 0.00801374626159668, 0.007961746215820312, 0.007919506072998047, 0.007949265003204345, 0.008024625778198242, 0.007931506156921387, 0.008056144714355468, 0.008033266067504883, 0.0079931058883667, 0.008040624618530274, 0.008042705535888673, 0.008014065742492676, 0.007972465038299561, 0.008037745475769043, 0.007974545955657959, 0.007976146221160888, 0.007995346069335937, 0.007986226081848145, 0.008052946090698242, 0.007949585914611817, 0.007989105224609374, 0.007917265892028808, 0.007880946159362794, 0.007942225933074951, 0.00793406581878662, 0.007945106029510499, 0.00806846523284912, 0.007940945148468017, 0.007968145847320557, 0.00790526580810547, 0.00798046588897705 ], "count": 59, "total": 0.47491099071502685, "mean": 0.008049338825678421, "p50": 0.007976146221160888, "p90": 0.008190801048278809, "p95": 0.00878033618927002, "p99": 0.008872166633605958, "stdev": 0.00024952125194848014, "stdev_": 3.099897486641703 }, "throughput": { "unit": "tokens/s", "value": 248.46761247268458 }, "energy": null, "efficiency": null }, "per_token": { "memory": null, "latency": { "unit": "s", "values": [ 0.007253107070922852, 0.007300467014312744, 0.0073161468505859376, 0.007538547039031982, 0.0072857470512390134, 0.007333106994628906, 0.007341426849365234, 0.0073462271690368655, 0.007362706184387207, 0.007342226982116699, 0.007352787017822266, 0.007346386909484863, 0.007364946842193604, 0.007384466171264648, 0.007375667095184326, 0.007398066997528076, 0.007372626781463623, 0.007741586208343506, 0.00826398468017578, 0.008306705474853515, 0.007657907009124756, 0.007706225872039795, 0.008281905174255371, 0.008281584739685058, 0.008251984596252442, 0.0075345458984375, 0.0073492670059204105, 0.007366065979003906, 0.007452627182006836, 0.007348466873168946, 0.007328627109527588, 0.007331185817718506, 0.007416306972503662, 0.007359507083892822, 0.007452146053314209, 0.007434546947479248, 0.007431666851043701, 0.007439186096191406, 0.007411187171936035, 0.0074270272254943846, 0.007385426044464112, 0.007456625938415527, 0.00735694694519043, 0.007402387142181397, 0.00742238712310791, 0.007385107040405273, 0.007436946868896484, 0.0073284668922424315, 0.007338706016540527, 0.007340627193450928, 0.007327507019042969, 0.007339986801147461, 0.007350226879119873, 0.00736558723449707, 0.007475185871124268, 0.007346705913543701, 0.007345907211303711, 0.007340466976165772, 0.007351346969604492 ], "count": 59, "total": 0.4406854491233826, "mean": 0.007469244900396314, "p50": 0.007366065979003906, "p90": 0.0077132979393005376, "p95": 0.008265744686126708, "p99": 0.008292321300506592, "stdev": 0.0002614692335466008, "stdev_": 3.5006113339880898 }, "throughput": null, "energy": null, "efficiency": null } } }