{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+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.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.41.0", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 901.369856, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 149, "total": 1.0005983362197879, "mean": 0.006715425075300588, "stdev": 0.00031006355787222033, "p50": 0.006694911956787109, "p90": 0.007109017753601074, "p95": 0.007189708805084228, "p99": 0.0075840717124938985, "values": [ 0.00749567985534668, 0.007151616096496582, 0.007247871875762939, 0.007299071788787842, 0.0072130560874938965, 0.007150591850280762, 0.006775743961334228, 0.006739967823028564, 0.006859776020050049, 0.0066938881874084475, 0.006694911956787109, 0.006666240215301514, 0.0065781760215759275, 0.006586368083953857, 0.006689792156219483, 0.0067338237762451176, 0.006739967823028564, 0.0067348480224609375, 0.006699007987976074, 0.0066375679969787596, 0.007093247890472412, 0.007665664196014404, 0.007127039909362793, 0.007070720195770264, 0.007053343772888183, 0.007002111911773682, 0.007045119762420654, 0.007047167778015137, 0.007001088142395019, 0.006973440170288086, 0.006944767951965332, 0.007134208202362061, 0.00693452787399292, 0.006999040126800537, 0.007009312152862549, 0.007047167778015137, 0.007104512214660645, 0.007067647933959961, 0.007143424034118652, 0.007072768211364746, 0.006986752033233643, 0.007023615837097168, 0.007024640083312988, 0.007746560096740723, 0.007027711868286133, 0.007144447803497315, 0.006650879859924317, 0.006651904106140137, 0.00677785587310791, 0.006594560146331787, 0.006626304149627686, 0.006643712043762207, 0.00678604793548584, 0.0066344962120056155, 0.00659660816192627, 0.006563839912414551, 0.0066979842185974124, 0.0067604160308837894, 0.0067358717918396, 0.006723584175109864, 0.006724607944488525, 0.006726655960083008, 0.0066416640281677245, 0.006772736072540283, 0.006638591766357422, 0.0069928960800170895, 0.006894591808319092, 0.0069621758460998535, 0.006959104061126709, 0.006933504104614257, 0.006779903888702392, 0.006645760059356689, 0.006649856090545654, 0.006696959972381592, 0.006913023948669434, 0.006959104061126709, 0.00698367977142334, 0.0069847040176391605, 0.007154687881469727, 0.007245823860168457, 0.006862847805023193, 0.006757311820983887, 0.007258111953735351, 0.006573056221008301, 0.00637440013885498, 0.00639792013168335, 0.006342656135559082, 0.006408192157745361, 0.0062740478515625, 0.006295551776885986, 0.006378496170043945, 0.006377439975738525, 0.00637337589263916, 0.006309887886047363, 0.0062975997924804685, 0.006323200225830078, 0.006312960147857666, 0.006340608119964599, 0.006346752166748047, 0.006316031932830811, 0.006302720069885254, 0.0062904319763183595, 0.006296576023101807, 0.0062576642036437985, 0.006304768085479737, 0.0062791681289672855, 0.0062791681289672855, 0.0062904319763183595, 0.006291456222534179, 0.006255616188049316, 0.006200319766998291, 0.006248447895050049, 0.006311935901641846, 0.0064471039772033695, 0.0063211522102355954, 0.006303743839263916, 0.006316031932830811, 0.006271008014678955, 0.0063129281997680664, 0.0062679038047790524, 0.006852608203887939, 0.006711296081542969, 0.006709248065948486, 0.0066304001808166506, 0.0066447358131408694, 0.006558720111846924, 0.006558720111846924, 0.00658022403717041, 0.0065474557876586915, 0.006694911956787109, 0.006545407772064209, 0.006535168170928955, 0.00652185583114624, 0.006560768127441406, 0.006724607944488525, 0.0066344962120056155, 0.0066928319931030275, 0.007017471790313721, 0.006799359798431396, 0.006789120197296142, 0.006660096168518067, 0.006676479816436768, 0.006702079772949219, 0.0067348480224609375, 0.006654975891113281, 0.006657023906707763, 0.006694911956787109, 0.0065710082054138185, 0.006586368083953857 ] }, "throughput": { "unit": "samples/s", "value": 148.91090121428226 }, "energy": { "unit": "kWh", "cpu": 7.876799310981746e-08, "ram": 4.30652446759015e-08, "gpu": 1.5105604431788146e-07, "total": 2.7288928210360043e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3664489.833720759 } } } }