{ "config": { "name": "cuda_inference_transformers_text-generation_openai-community/gpt2", "backend": { "name": "pytorch", "version": "2.4.1+rocm6.1", "_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": "4", "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": 1082015.256576, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-101-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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 1389.944832, "max_global_vram": 68702.69952, "max_process_vram": 0.0, "max_reserved": 725.614592, "max_allocated": 666.338304 }, "latency": { "unit": "s", "count": 1, "total": 7.91659228515625, "mean": 7.91659228515625, "stdev": 0.0, "p50": 7.91659228515625, "p90": 7.91659228515625, "p95": 7.91659228515625, "p99": 7.91659228515625, "values": [ 7.91659228515625 ] }, "throughput": null, "energy": null, "efficiency": null }, "prefill": { "memory": { "unit": "MB", "max_ram": 1548.877824, "max_global_vram": 68702.69952, "max_process_vram": 0.0, "max_reserved": 725.614592, "max_allocated": 513.035264 }, "latency": { "unit": "s", "count": 62, "total": 0.5266619615554811, "mean": 0.008494547767023887, "stdev": 0.007469384380191624, "p50": 0.007280853986740112, "p90": 0.007828739833831788, "p95": 0.007862747812271118, "p99": 0.037788903064727805, "values": [ 0.007774851799011231, 0.007747491836547851, 0.007591813087463379, 0.007542212963104248, 0.007355173110961914, 0.007299493789672851, 0.007155173778533935, 0.007170373916625976, 0.007239813804626465, 0.007499173164367676, 0.007183333873748779, 0.007153254985809326, 0.007183333873748779, 0.007265573978424073, 0.0073042941093444825, 0.007379814147949219, 0.00728589391708374, 0.007195974826812744, 0.009574525833129883, 0.007212775230407715, 0.007593253135681152, 0.007738371849060058, 0.007851652145385742, 0.007811172008514404, 0.007863331794738769, 0.007830691814422608, 0.06536392974853515, 0.007005575180053711, 0.007832771778106689, 0.007275814056396484, 0.00726301383972168, 0.007183973789215088, 0.007456293106079101, 0.007303493976593018, 0.007368293762207032, 0.0074498929977417, 0.007257413864135742, 0.007371173858642578, 0.0077473330497741695, 0.007480292797088623, 0.0072258939743041995, 0.00717565393447876, 0.007031974792480469, 0.006923655033111572, 0.006960935115814209, 0.0069306960105896, 0.006914694786071777, 0.0069074959754943845, 0.006897735118865967, 0.006931495189666748, 0.006942375183105469, 0.006950056076049805, 0.006892614841461182, 0.006895014762878418, 0.020158967971801757, 0.007062854766845703, 0.006919334888458252, 0.006922056198120117, 0.007804932117462159, 0.0077894129753112796, 0.007767813205718994, 0.007494214057922363 ] }, "throughput": { "unit": "tokens/s", "value": 235.44514138399052 }, "energy": null, "efficiency": null }, "decode": { "memory": { "unit": "MB", "max_ram": 1548.877824, "max_global_vram": 68702.69952, "max_process_vram": 0.0, "max_reserved": 725.614592, "max_allocated": 513.259008 }, "latency": { "unit": "s", "count": 62, "total": 0.47598197507858286, "mean": 0.007677128630299723, "stdev": 0.0006788733601986296, "p50": 0.007562933206558228, "p90": 0.008114608860015868, "p95": 0.008192163228988648, "p99": 0.009887631635665896, "values": [ 0.00805997085571289, 0.00797085189819336, 0.007796291828155518, 0.007656612873077393, 0.0075881328582763675, 0.007560293197631836, 0.0074412541389465335, 0.007450532913208008, 0.0075508527755737305, 0.007680932998657227, 0.007409412860870362, 0.0074342131614685055, 0.007465573787689209, 0.007592291831970215, 0.007514692783355713, 0.00753229284286499, 0.007565732955932617, 0.00785677194595337, 0.007416933059692383, 0.007681571960449219, 0.00807469081878662, 0.008060450553894044, 0.008263490676879882, 0.008189730644226074, 0.008192291259765625, 0.008197091102600097, 0.0074161338806152345, 0.007466372966766358, 0.007951651096343994, 0.007636292934417725, 0.007517093181610107, 0.007565573215484619, 0.007621413230895996, 0.007605253219604492, 0.007887971878051759, 0.007668773174285889, 0.007620932102203369, 0.01242795467376709, 0.007663331985473633, 0.007437094211578369, 0.007423812866210937, 0.007610373020172119, 0.0072119741439819335, 0.007222693920135498, 0.007262854099273681, 0.007353572845458984, 0.007214694976806641, 0.0071978940963745115, 0.00732413387298584, 0.007200613975524902, 0.007252455234527588, 0.007239014148712158, 0.007208293914794922, 0.007221254825592041, 0.007487654209136963, 0.007267973899841309, 0.007209734916687012, 0.007328773021697998, 0.008090851783752441, 0.008133410453796387, 0.00811724853515625, 0.007713891983032226 ] }, "throughput": { "unit": "tokens/s", "value": 130.2570333461977 }, "energy": null, "efficiency": null }, "per_token": { "memory": null, "latency": { "unit": "s", "count": 62, "total": 0.44409649229049675, "mean": 0.007162846649846724, "stdev": 0.0006866867699017258, "p50": 0.007029974937438965, "p90": 0.007590644073486328, "p95": 0.007630949115753173, "p99": 0.009421662082672122, "values": [ 0.007421573162078857, 0.007345094203948975, 0.007221574783325195, 0.007091334819793701, 0.007028295040130615, 0.007031654834747315, 0.0069356560707092285, 0.006925734996795654, 0.007040295124053955, 0.0071622152328491215, 0.006907175064086914, 0.006926855087280273, 0.006971495151519775, 0.007032614231109619, 0.00695981502532959, 0.007006694793701172, 0.007035014152526856, 0.006925095081329346, 0.007023815155029297, 0.007173093795776367, 0.007552612781524659, 0.007539652824401856, 0.007740612030029297, 0.007646533012390136, 0.0076266927719116214, 0.0076311731338500974, 0.00686621618270874, 0.006940935134887695, 0.007461092948913574, 0.007159335136413574, 0.007011334896087646, 0.0070801348686218265, 0.007163654804229736, 0.0071262140274047855, 0.007391014099121094, 0.007151975154876709, 0.007156454086303711, 0.012050996780395508, 0.007199493885040284, 0.006980134963989258, 0.006965095043182373, 0.007090054988861084, 0.006726215839385987, 0.006741896152496338, 0.00677677583694458, 0.006868134975433349, 0.006734055995941162, 0.00672653579711914, 0.006849575996398926, 0.006723495960235595, 0.006756455898284912, 0.006752295017242432, 0.0067300558090209964, 0.006736135959625244, 0.006950376033782959, 0.006771495819091797, 0.006736616134643555, 0.006789734840393066, 0.007568613052368164, 0.007619492053985596, 0.00759309196472168, 0.007248933792114258 ] }, "throughput": { "unit": "tokens/s", "value": 139.60929905171133 }, "energy": null, "efficiency": null } } }