{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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": "0", "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": 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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.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.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": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 792.805376, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.64997509765625, "mean": 7.64997509765625, "stdev": 0.0, "p50": 7.64997509765625, "p90": 7.64997509765625, "p95": 7.64997509765625, "p99": 7.64997509765625, "values": [ 7.64997509765625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.522999690971912e-06, "ram": 1.3670561585856212e-06, "gpu": 3.1236136099998917e-06, "total": 7.0136694595574245e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1082.261504, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 154, "total": 0.9987019510269166, "mean": 0.006485077604070886, "stdev": 0.00021013220953622854, "p50": 0.006384128093719483, "p90": 0.006710272073745728, "p95": 0.006782924628257751, "p99": 0.007147734994888306, "values": [ 0.007002111911773682, 0.007077888011932373, 0.006956031799316406, 0.00693555212020874, 0.007127039909362793, 0.007171072006225586, 0.00759603214263916, 0.006753215789794922, 0.0065075201988220215, 0.006451200008392334, 0.006435840129852295, 0.006369279861450195, 0.006415359973907471, 0.006376448154449463, 0.006369279861450195, 0.006408192157745361, 0.006378496170043945, 0.006393856048583985, 0.006391808032989502, 0.006372352123260498, 0.006371327877044678, 0.006341631889343262, 0.00638156795501709, 0.006364160060882569, 0.006368256092071533, 0.0064440321922302245, 0.00637337589263916, 0.006404096126556396, 0.006355967998504639, 0.0064061121940612795, 0.00638976001739502, 0.006331391811370849, 0.0063610877990722655, 0.006347775936126709, 0.006370304107666015, 0.006377471923828125, 0.006337535858154297, 0.006379519939422608, 0.006367231845855713, 0.006402048110961914, 0.0063836159706115725, 0.006342656135559082, 0.006372352123260498, 0.006340608119964599, 0.006358016014099121, 0.0063508481979370115, 0.006326272010803223, 0.006347775936126709, 0.006331391811370849, 0.006362112045288086, 0.00637440013885498, 0.006341631889343262, 0.00638259220123291, 0.006384640216827392, 0.006315008163452148, 0.006421504020690918, 0.006351871967315674, 0.006386688232421875, 0.0063610877990722655, 0.00637337589263916, 0.006713344097137451, 0.006341631889343262, 0.006385663986206055, 0.006336512088775635, 0.006359039783477783, 0.0063784317970275875, 0.006307807922363282, 0.006312960147857666, 0.006280191898345947, 0.006299647808074951, 0.006296576023101807, 0.006271999835968017, 0.006294528007507324, 0.0062576642036437985, 0.006293504238128662, 0.006254591941833496, 0.0062975997924804685, 0.006296576023101807, 0.006243328094482422, 0.006291456222534179, 0.006254591941833496, 0.006296576023101807, 0.006269951820373535, 0.0062863039970397945, 0.006278143882751465, 0.006240287780761719, 0.006355967998504639, 0.006331391811370849, 0.00633955192565918, 0.006346752166748047, 0.006329343795776367, 0.00636518383026123, 0.006354944229125976, 0.006376448154449463, 0.006311999797821045, 0.0063272957801818845, 0.006379519939422608, 0.006384640216827392, 0.006427648067474365, 0.006358016014099121, 0.006403071880340576, 0.006377471923828125, 0.006335487842559814, 0.006385663986206055, 0.006364192008972168, 0.006340608119964599, 0.0064102401733398436, 0.006544479846954346, 0.006643712043762207, 0.006739967823028564, 0.0067010560035705566, 0.006747136116027832, 0.00676966381072998, 0.006697951793670654, 0.006758399963378906, 0.006766592025756836, 0.006663167953491211, 0.006651904106140137, 0.006668288230895996, 0.00667955207824707, 0.006669312000274658, 0.006702079772949219, 0.006702079772949219, 0.006699007987976074, 0.006694911956787109, 0.006807551860809326, 0.006625279903411865, 0.006668288230895996, 0.006672383785247803, 0.0066344962120056155, 0.006703104019165039, 0.006703104019165039, 0.006652927875518798, 0.006645760059356689, 0.006627327919006347, 0.0066344962120056155, 0.006639616012573242, 0.006656000137329102, 0.006646783828735352, 0.0067276802062988285, 0.006653952121734619, 0.0066109437942504885, 0.006550528049468994, 0.006551551818847656, 0.006520832061767578, 0.006589439868927002, 0.006561791896820069, 0.006529024124145508, 0.006574079990386963, 0.006555647850036621, 0.006511616230010986, 0.006703104019165039, 0.0066826238632202144, 0.006646719932556153 ] }, "throughput": { "unit": "samples/s", "value": 154.20015935850464 }, "energy": { "unit": "kWh", "cpu": 7.880946915470745e-08, "ram": 4.3086389305906506e-08, "gpu": 1.37788925536425e-07, "total": 2.59684783997039e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3850822.4648672612 } } } }