{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.2+rocm5.7", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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, "latency": true, "memory": 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", "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.2.0", "optimum_benchmark_commit": "ebd20fcf042acf5db8d8956e7057fa93c82e14ab", "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1002.684416, "max_global_vram": 897.14688, "max_process_vram": 261801.775104, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 125, "total": 0.9957488594055177, "mean": 0.00796599087524414, "stdev": 0.00014217940476750785, "p50": 0.007937283039093017, "p90": 0.008125123023986816, "p95": 0.008183874893188475, "p99": 0.008305353469848634, "values": [ 0.008300003051757812, 0.008143362998962402, 0.008180803298950195, 0.008209922790527343, 0.008307043075561524, 0.008221762657165527, 0.008138883590698242, 0.008076963424682617, 0.008051202774047852, 0.008021443367004395, 0.007993603229522705, 0.007983043193817138, 0.007979203224182128, 0.007963683128356934, 0.007967523097991943, 0.007905922889709472, 0.00790928316116333, 0.007925922870635987, 0.007957922935485839, 0.007950082778930664, 0.00795488405227661, 0.0079393630027771, 0.007934402942657471, 0.00791200304031372, 0.007898242950439453, 0.007914243221282959, 0.008059843063354492, 0.008098882675170898, 0.00803200340270996, 0.008011842727661133, 0.008006402969360352, 0.007977283000946045, 0.007949283123016357, 0.007931202888488769, 0.007930882930755615, 0.007938242912292481, 0.007948643207550048, 0.007893763065338134, 0.007946883201599121, 0.007904003143310547, 0.007904482841491698, 0.007937283039093017, 0.007995683193206787, 0.008109442710876465, 0.008184642791748046, 0.008128003120422363, 0.008032483100891113, 0.008015362739562989, 0.008028803825378418, 0.008043362617492675, 0.008037443161010743, 0.007970882892608642, 0.007952642917633057, 0.00803648281097412, 0.008066722869873047, 0.007998403072357177, 0.007935682773590087, 0.007895523071289063, 0.007906403064727783, 0.007879843235015869, 0.007861443042755127, 0.008004962921142578, 0.008253764152526856, 0.008162403106689453, 0.008068483352661132, 0.008054883003234863, 0.008021443367004395, 0.00893120288848877, 0.007966564178466798, 0.00808624267578125, 0.008076322555541993, 0.008064482688903809, 0.008058882713317872, 0.008028642654418945, 0.008031203269958495, 0.00802496337890625, 0.00792352294921875, 0.007896162986755372, 0.007876643180847168, 0.007874242782592774, 0.007862722873687744, 0.007829442977905273, 0.00784768295288086, 0.007849603176116944, 0.007822563171386718, 0.007818562984466553, 0.007838562965393066, 0.00782416296005249, 0.007872962951660156, 0.008130244255065918, 0.008120802879333497, 0.007975203037261963, 0.007918723106384277, 0.007889762878417968, 0.00790992307662964, 0.007856002807617187, 0.007885922908782959, 0.007884482860565185, 0.007898882865905761, 0.007821123123168945, 0.007915203094482421, 0.007894883155822754, 0.007897122859954834, 0.007899202823638917, 0.007873443126678467, 0.007856002807617187, 0.007955683231353759, 0.007871842861175538, 0.007842082977294922, 0.007858242988586426, 0.00784816312789917, 0.00784816312789917, 0.0078760027885437, 0.007844482898712158, 0.007837923049926757, 0.007795362949371338, 0.0078214430809021, 0.007806562900543213, 0.007799683094024658, 0.007842722892761231, 0.0077737622261047365, 0.007784162998199463, 0.007810883045196533, 0.007835362911224365, 0.007807202816009521 ] }, "throughput": { "unit": "samples/s", "value": 125.53366124328534 }, "energy": null, "efficiency": null } } }