{ "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", "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": 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", "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.0", "optimum_benchmark_commit": null, "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": 904.118272, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 149, "total": 0.9998194217681889, "mean": 0.006710197461531467, "stdev": 0.00015346916109906233, "p50": 0.006713344097137451, "p90": 0.006843392086029053, "p95": 0.006929651069641113, "p99": 0.0070813696289062505, "values": [ 0.007044095993041993, 0.006750175952911377, 0.006914048194885254, 0.006882304191589355, 0.006825984001159668, 0.006831103801727295, 0.006782976150512696, 0.006821887969970703, 0.006767615795135498, 0.0067420158386230465, 0.006672383785247803, 0.006617087841033936, 0.006654975891113281, 0.006648831844329834, 0.00657203197479248, 0.006540287971496582, 0.006632448196411133, 0.006603775978088379, 0.0066406397819519045, 0.00672051191329956, 0.0066744318008422855, 0.0067010560035705566, 0.00669593620300293, 0.006625279903411865, 0.006594560146331787, 0.0067051520347595215, 0.0067573761940002445, 0.006713344097137451, 0.006699007987976074, 0.0066744318008422855, 0.006662144184112549, 0.006643712043762207, 0.0066447358131408694, 0.006665215969085693, 0.006672383785247803, 0.006615039825439453, 0.0065689277648925785, 0.0065710082054138185, 0.006589439868927002, 0.0066304001808166506, 0.006586368083953857, 0.006606912136077881, 0.006685696125030518, 0.006676544189453125, 0.006643712043762207, 0.00673689603805542, 0.006707200050354004, 0.0067348480224609375, 0.006665215969085693, 0.006648831844329834, 0.006618112087249756, 0.006618112087249756, 0.0066754879951477055, 0.0066468482017517086, 0.0066119680404663084, 0.006657023906707763, 0.006590464115142822, 0.006568960189819336, 0.006625279903411865, 0.006615039825439453, 0.006619135856628418, 0.006757343769073486, 0.006660096168518067, 0.006551551818847656, 0.006602752208709717, 0.006633471965789795, 0.006677504062652588, 0.006617055892944336, 0.00662937593460083, 0.006621183872222901, 0.006614016056060791, 0.0066826238632202144, 0.006708223819732666, 0.006724607944488525, 0.0067041277885437015, 0.006668288230895996, 0.006635519981384277, 0.006662144184112549, 0.006605823993682861, 0.006583295822143555, 0.006681600093841553, 0.006493184089660644, 0.006428671836853027, 0.00637440013885498, 0.00638156795501709, 0.006459392070770263, 0.0064245758056640625, 0.006354944229125976, 0.006260735988616943, 0.006281216144561768, 0.006346752166748047, 0.007601151943206787, 0.006936639785766602, 0.006966271877288818, 0.006987775802612305, 0.007005184173583984, 0.0071157760620117185, 0.006987775802612305, 0.006860799789428711, 0.0068853759765625, 0.006847487926483154, 0.006890495777130127, 0.006919167995452881, 0.006833151817321777, 0.006830080032348633, 0.006811647891998291, 0.006821887969970703, 0.006820864200592041, 0.006779903888702392, 0.006780928134918213, 0.006766592025756836, 0.006842368125915528, 0.0067717118263244626, 0.006809599876403808, 0.0067276802062988285, 0.006751232147216797, 0.0067573761940002445, 0.00673689603805542, 0.006767615795135498, 0.006773759841918945, 0.00679423999786377, 0.006780928134918213, 0.006760447978973389, 0.006788095951080322, 0.006737919807434082, 0.006776832103729248, 0.006754303932189941, 0.006756351947784424, 0.006761472225189209, 0.006765567779541016, 0.006759424209594727, 0.006773759841918945, 0.0067645440101623535, 0.006765567779541016, 0.006758399963378906, 0.006768608093261718, 0.006780928134918213, 0.006776832103729248, 0.0067573761940002445, 0.0067758078575134275, 0.0067645440101623535, 0.00677785587310791, 0.006763519763946534, 0.006781951904296875, 0.006760479927062989, 0.006781951904296875, 0.006790143966674805, 0.006751232147216797, 0.00676966381072998 ] }, "throughput": { "unit": "samples/s", "value": 149.0269110160836 }, "energy": { "unit": "kWh", "cpu": 7.823070957821016e-08, "ram": 4.2766240117567866e-08, "gpu": 1.390351989473783e-07, "total": 2.6003214864315634e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3845678.3333060327 } } } }