{ "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_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": {}, "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.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 907.485184, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 151, "total": 0.9964400358200067, "mean": 0.006598940634569585, "stdev": 0.00029264070066431085, "p50": 0.006470655918121338, "p90": 0.006919167995452881, "p95": 0.007051775932312012, "p99": 0.00775987195968628, "values": [ 0.007425024032592774, 0.006858751773834228, 0.007270400047302246, 0.006977536201477051, 0.0071833600997924804, 0.007080959796905518, 0.006883327960968018, 0.006919167995452881, 0.00679423999786377, 0.006724607944488525, 0.006944767951965332, 0.006802432060241699, 0.006825984001159668, 0.0066979842185974124, 0.006639616012573242, 0.006680575847625733, 0.0066979842185974124, 0.006855679988861084, 0.006833151817321777, 0.0067686400413513184, 0.006883327960968018, 0.0065136637687683106, 0.006371327877044678, 0.00643071985244751, 0.006534143924713135, 0.006622208118438721, 0.006802432060241699, 0.0067870721817016606, 0.00673689603805542, 0.006782976150512696, 0.006761472225189209, 0.006793216228485107, 0.006755328178405762, 0.006751232147216797, 0.0070225920677185055, 0.006717440128326416, 0.006648831844329834, 0.0067441282272338865, 0.006703104019165039, 0.00664572811126709, 0.006922239780426025, 0.0067758078575134275, 0.0067276802062988285, 0.006520832061767578, 0.006546432018280029, 0.006468607902526856, 0.006498303890228272, 0.006437888145446777, 0.006458367824554443, 0.006709248065948486, 0.00689356803894043, 0.0067645440101623535, 0.006448128223419189, 0.006419456005096436, 0.006455296039581298, 0.006652927875518798, 0.0067123198509216305, 0.006755328178405762, 0.006945792198181152, 0.006914048194885254, 0.006728640079498291, 0.006475776195526123, 0.006470655918121338, 0.006415359973907471, 0.006479872226715088, 0.006689792156219483, 0.006752319812774658, 0.00677785587310791, 0.0068351998329162595, 0.006846464157104492, 0.006988800048828125, 0.006946815967559815, 0.006817791938781738, 0.006717440128326416, 0.0064839677810668945, 0.00639081621170044, 0.006336512088775635, 0.006533120155334473, 0.006378496170043945, 0.00633241605758667, 0.006227968215942382, 0.006181888103485108, 0.006352896213531494, 0.006339583873748779, 0.006524928092956543, 0.00638259220123291, 0.006642623901367188, 0.006446080207824707, 0.007419904232025146, 0.007767039775848389, 0.00775270414352417, 0.007806975841522217, 0.006813695907592773, 0.006781951904296875, 0.006492159843444824, 0.006397952079772949, 0.006421504020690918, 0.006379583835601807, 0.006406144142150879, 0.006388735771179199, 0.006367231845855713, 0.006435840129852295, 0.006375423908233643, 0.006428671836853027, 0.006425600051879882, 0.006371327877044678, 0.006418399810791016, 0.006384640216827392, 0.006400000095367431, 0.006405119895935059, 0.006344704151153564, 0.006393856048583985, 0.0063836159706115725, 0.006396927833557129, 0.006386688232421875, 0.006343679904937744, 0.006423552036285401, 0.006364160060882569, 0.006366208076477051, 0.006395904064178467, 0.0063539199829101565, 0.006366208076477051, 0.006395904064178467, 0.006386688232421875, 0.006392831802368164, 0.006340608119964599, 0.006369279861450195, 0.006340608119964599, 0.006359039783477783, 0.006387712001800537, 0.00633241605758667, 0.006366208076477051, 0.006393856048583985, 0.006362112045288086, 0.006372352123260498, 0.006358016014099121, 0.006387712001800537, 0.006351871967315674, 0.006370304107666015, 0.006378496170043945, 0.0063539199829101565, 0.006372352123260498, 0.006363071918487549, 0.006355967998504639, 0.0063907837867736815, 0.006347775936126709, 0.0063805441856384275, 0.006368256092071533, 0.0063805441856384275, 0.00637440013885498, 0.0063508481979370115 ] }, "throughput": { "unit": "samples/s", "value": 151.53947510322237 }, "energy": { "unit": "kWh", "cpu": 7.549907118398421e-08, "ram": 4.127701829905341e-08, "gpu": 1.3761688291720113e-07, "total": 2.5439297240023876e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3930926.198805095 } } } }