{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.0.dev20231010+rocm5.7", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "library": "transformers", "model_type": "roberta", "model": "FacebookAI/roberta-base", "processor": "FacebookAI/roberta-base", "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": 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.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.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 956.653568, "max_global_vram": 68702.69952, "max_process_vram": 48559.0016, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 13.49783203125, "mean": 13.49783203125, "stdev": 0.0, "p50": 13.49783203125, "p90": 13.49783203125, "p95": 13.49783203125, "p99": 13.49783203125, "values": [ 13.49783203125 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1083.199488, "max_global_vram": 68702.69952, "max_process_vram": 236130.107392, "max_reserved": 555.74528, "max_allocated": 499.4432 }, "latency": { "unit": "s", "count": 139, "total": 0.9951768388748163, "mean": 0.007159545603415948, "stdev": 0.0006315001967650073, "p50": 0.006950863838195801, "p90": 0.007696941184997559, "p95": 0.007734189796447754, "p99": 0.008318578567504887, "values": [ 0.00754078197479248, 0.007201423168182373, 0.006989422798156738, 0.006976943016052246, 0.007044464111328125, 0.007042863845825195, 0.007024463176727295, 0.006998863220214844, 0.007402863025665283, 0.0070651030540466305, 0.007071183204650879, 0.007073742866516113, 0.007023344039916992, 0.006997903823852539, 0.006957423210144043, 0.006950863838195801, 0.006992463111877441, 0.006899343967437744, 0.006966063976287842, 0.006909903049468994, 0.006905104160308838, 0.006902224063873291, 0.006912784099578857, 0.006943822860717774, 0.0069193439483642575, 0.006930542945861816, 0.006849743843078613, 0.006877264022827148, 0.00685774278640747, 0.006816463947296143, 0.0068171038627624515, 0.008625739097595215, 0.007732781887054443, 0.006983663082122803, 0.00681054401397705, 0.006798863887786865, 0.006871663093566895, 0.007701422214508057, 0.0077468609809875485, 0.007817421913146973, 0.007580301761627197, 0.0077108612060546875, 0.007672942161560058, 0.007698222160339356, 0.007655342102050781, 0.007523662090301514, 0.007569901943206787, 0.007592462062835694, 0.00761726188659668, 0.013086849212646485, 0.0073270220756530766, 0.007279343128204345, 0.007235982894897461, 0.006830862998962402, 0.0067854242324829105, 0.006840144157409668, 0.006794384002685547, 0.0068211030960083005, 0.006773903846740723, 0.00680622386932373, 0.006802063941955566, 0.0068030238151550295, 0.006821104049682617, 0.006798384189605713, 0.006774543762207031, 0.006835663795471191, 0.006778863906860352, 0.006815983772277832, 0.0067956638336181645, 0.006777743816375733, 0.006802224159240723, 0.0068177437782287595, 0.0067956638336181645, 0.006805903911590576, 0.006775343894958496, 0.006807343006134033, 0.0067670240402221676, 0.006777103900909424, 0.006780464172363282, 0.006789904117584228, 0.0067670240402221676, 0.006824143886566162, 0.006811823844909668, 0.006793424129486084, 0.006806863784790039, 0.006820464134216308, 0.006795983791351318, 0.0070155029296875, 0.006795504093170166, 0.00679534387588501, 0.006761424064636231, 0.006818062782287597, 0.0067811040878295896, 0.0067878241539001466, 0.006800784111022949, 0.00677342414855957, 0.006780623912811279, 0.006764304161071777, 0.006774384021759033, 0.006788623809814453, 0.006761104106903076, 0.0067889437675476075, 0.0067878241539001466, 0.006870384216308594, 0.007296623229980469, 0.007223981857299805, 0.007140303134918213, 0.007157742977142334, 0.007104463100433349, 0.007279343128204345, 0.007209103107452392, 0.007016783237457276, 0.006776303768157959, 0.006845424175262451, 0.0076966209411621096, 0.007651182174682617, 0.007677422046661377, 0.00749278211593628, 0.0070339031219482425, 0.007509101867675781, 0.007716782093048095, 0.0076827011108398435, 0.007786702156066894, 0.007731660842895508, 0.007686701774597168, 0.007671502113342285, 0.007647500991821289, 0.007654222011566162, 0.007668302059173584, 0.007486542224884033, 0.007468942165374756, 0.007748140811920166, 0.007672300815582275, 0.007753101825714112, 0.007665262222290039, 0.007721581935882568, 0.007670701980590821, 0.007494381904602051, 0.006799344062805176 ] }, "throughput": { "unit": "samples/s", "value": 139.67366860864493 }, "energy": null, "efficiency": null } } }