{ "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", "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.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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 902.107136, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 143, "total": 0.9956770243644714, "mean": 0.006962776394157142, "stdev": 0.0002757805620612039, "p50": 0.007015423774719238, "p90": 0.007198105812072754, "p95": 0.007334809446334838, "p99": 0.007932416105270387, "values": [ 0.007425024032592774, 0.007113728046417236, 0.007562272071838379, 0.007334911823272705, 0.007307263851165771, 0.007252992153167725, 0.007225344181060791, 0.007211008071899414, 0.007178239822387696, 0.007095232009887696, 0.007030784130096435, 0.007117824077606201, 0.007073791980743408, 0.007010303974151612, 0.006961152076721191, 0.00697654390335083, 0.007007232189178467, 0.007064576148986816, 0.007114751815795899, 0.007095295906066895, 0.00719974422454834, 0.007046144008636474, 0.0070563840866088865, 0.00703385591506958, 0.00719155216217041, 0.007085055828094483, 0.007129087924957276, 0.0071157760620117185, 0.007054336071014404, 0.007067647933959961, 0.007066624164581299, 0.007064576148986816, 0.00710041618347168, 0.007047167778015137, 0.007078847885131836, 0.007015423774719238, 0.007020544052124023, 0.006994944095611572, 0.006978591918945312, 0.007126048088073731, 0.007044095993041993, 0.007045119762420654, 0.007117824077606201, 0.007116799831390381, 0.007155712127685547, 0.007136256217956543, 0.0070266880989074704, 0.006979584217071533, 0.007078911781311035, 0.00709119987487793, 0.007051263809204102, 0.007216127872467041, 0.007069695949554444, 0.007097311973571777, 0.007094272136688232, 0.007047167778015137, 0.007012351989746094, 0.007084000110626221, 0.007144447803497315, 0.006957056045532227, 0.007044095993041993, 0.0069928960800170895, 0.007028736114501953, 0.007031807899475098, 0.007037951946258545, 0.007082943916320801, 0.007040063858032227, 0.007160799980163574, 0.007144447803497315, 0.007147456169128418, 0.007154687881469727, 0.007160831928253173, 0.00713318395614624, 0.007333888053894043, 0.007151616096496582, 0.007107583999633789, 0.007063551902770996, 0.006998015880584717, 0.006846464157104492, 0.006858751773834228, 0.007008255958557129, 0.0068280320167541505, 0.0066713600158691405, 0.0067573761940002445, 0.006709248065948486, 0.0067041277885437015, 0.006968319892883301, 0.00695091199874878, 0.006914048194885254, 0.006990848064422607, 0.007582719802856445, 0.008126463890075684, 0.007986176013946533, 0.007858176231384278, 0.007682047843933106, 0.0067686400413513184, 0.006756351947784424, 0.006719488143920899, 0.006688767910003662, 0.006681600093841553, 0.006659071922302246, 0.006711296081542969, 0.006700096130371094, 0.006651904106140137, 0.006663167953491211, 0.0066416640281677245, 0.006647808074951172, 0.006632448196411133, 0.00667955207824707, 0.006655968189239502, 0.006649856090545654, 0.006648831844329834, 0.0066641921997070315, 0.006721536159515381, 0.006683648109436035, 0.0066447358131408694, 0.006667263984680176, 0.0066979842185974124, 0.0066744318008422855, 0.006689792156219483, 0.006702079772949219, 0.006660128116607666, 0.0066375679969787596, 0.006665215969085693, 0.006672383785247803, 0.006646783828735352, 0.0066938881874084475, 0.006604800224304199, 0.006649856090545654, 0.006643712043762207, 0.006643712043762207, 0.006652927875518798, 0.006651904106140137, 0.00662937593460083, 0.0066713600158691405, 0.0066826238632202144, 0.006627327919006347, 0.006650879859924317, 0.006705088138580322, 0.006715392112731934, 0.006699007987976074, 0.006652927875518798, 0.006663167953491211 ] }, "throughput": { "unit": "samples/s", "value": 143.62086951968706 }, "energy": { "unit": "kWh", "cpu": 7.833801863486309e-08, "ram": 4.277907890977267e-08, "gpu": 1.3546794463157422e-07, "total": 2.5658504217620997e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3897343.319464621 } } } }