{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "library": "transformers", "model": "FacebookAI/roberta-base", "processor": "FacebookAI/roberta-base", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "hub_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, "latency": true, "memory": true, "energy": true, "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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.3.0", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 902.893568, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 145, "total": 0.9983399357795715, "mean": 0.006885103005376355, "stdev": 0.00024112996937959472, "p50": 0.00692633581161499, "p90": 0.007206297588348389, "p95": 0.007307008171081542, "p99": 0.007444534931182861, "values": [ 0.007541759967803955, 0.0072499198913574215, 0.007293951988220215, 0.00725708818435669, 0.00719155216217041, 0.0073257598876953125, 0.0073359360694885255, 0.007135231971740722, 0.00714137601852417, 0.007050240039825439, 0.007048192024230957, 0.006917119979858399, 0.006892543792724609, 0.007007232189178467, 0.007017471790313721, 0.007112703800201416, 0.0070522880554199216, 0.0070553598403930665, 0.006974463939666748, 0.007000063896179199, 0.007287807941436767, 0.007074816226959229, 0.007231488227844239, 0.007114751815795899, 0.006996992111206054, 0.007005184173583984, 0.007036928176879883, 0.007031807899475098, 0.006958079814910889, 0.00692633581161499, 0.0069847040176391605, 0.007007232189178467, 0.006937600135803222, 0.006900735855102539, 0.007041024208068848, 0.007121920108795166, 0.007269375801086426, 0.007216127872467041, 0.007012256145477295, 0.00704204797744751, 0.007115744113922119, 0.006980607986450196, 0.006936575889587402, 0.006939775943756103, 0.007004159927368164, 0.006931456089019775, 0.006951935768127441, 0.007310272216796875, 0.006987775802612305, 0.006977471828460693, 0.007024640083312988, 0.0074035201072692874, 0.0070563840866088865, 0.007169023990631103, 0.007064576148986816, 0.007139328002929687, 0.007089183807373047, 0.0070861120223999026, 0.007010303974151612, 0.007038976192474365, 0.006948863983154297, 0.00709119987487793, 0.006969344139099121, 0.006989823818206787, 0.006779903888702392, 0.006865920066833496, 0.007017471790313721, 0.0069909758567810055, 0.006837183952331543, 0.0067348480224609375, 0.006731776237487793, 0.006707200050354004, 0.007031839847564697, 0.007012351989746094, 0.007459839820861816, 0.007068672180175781, 0.0070891518592834475, 0.00703385591506958, 0.007319551944732666, 0.006851583957672119, 0.006718463897705078, 0.006766623973846435, 0.007045087814331055, 0.0067276802062988285, 0.007095295906066895, 0.0067420158386230465, 0.006747136116027832, 0.006607808113098144, 0.006706175804138184, 0.006680575847625733, 0.006620160102844238, 0.006663167953491211, 0.006726655960083008, 0.00662937593460083, 0.006661151885986328, 0.006647808074951172, 0.0066078720092773435, 0.006802432060241699, 0.006658048152923584, 0.006609888076782227, 0.006765567779541016, 0.0066416640281677245, 0.0065812478065490725, 0.006618048191070557, 0.006620160102844238, 0.006601727962493896, 0.0066325759887695315, 0.006661119937896728, 0.006560768127441406, 0.006635519981384277, 0.0066344962120056155, 0.006573056221008301, 0.006628352165222168, 0.006842368125915528, 0.006591487884521485, 0.00673689603805542, 0.006647808074951172, 0.006616064071655273, 0.006599679946899414, 0.006619135856628418, 0.006585343837738037, 0.006618112087249756, 0.006653952121734619, 0.00658841609954834, 0.00662937593460083, 0.006605823993682861, 0.006561791896820069, 0.006605823993682861, 0.006723584175109864, 0.006590464115142822, 0.006896639823913574, 0.006621183872222901, 0.006591487884521485, 0.006585504055023193, 0.006647871971130371, 0.006524928092956543, 0.006597631931304931, 0.006665215969085693, 0.006598656177520752, 0.007425055980682373, 0.006684671878814697, 0.006633471965789795, 0.006651904106140137, 0.0066641921997070315, 0.0065710082054138185 ] }, "throughput": { "unit": "samples/s", "value": 145.2411095693314 }, "energy": { "unit": "kWh", "cpu": 7.795559035407172e-08, "ram": 4.2544051010081194e-08, "gpu": 1.4597143122875626e-07, "total": 2.6647107259290914e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3752752.5606042473 } } } }