{ "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": "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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "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": 902.69696, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 144, "total": 0.9981359982490539, "mean": 0.006931499987840652, "stdev": 0.0002388507755670479, "p50": 0.006790143966674805, "p90": 0.007226572751998901, "p95": 0.007278131270408631, "p99": 0.007468676977157591, "values": [ 0.007582719802856445, 0.007303167819976806, 0.007307295799255371, 0.007275519847869873, 0.0073175039291381834, 0.007310336112976074, 0.007301119804382325, 0.007244800090789795, 0.0071792640686035155, 0.007278592109680176, 0.007222271919250488, 0.007111680030822754, 0.007080959796905518, 0.007097343921661377, 0.0072427520751953125, 0.007228415966033935, 0.007228415966033935, 0.007143424034118652, 0.007143424034118652, 0.007209983825683594, 0.007221248149871826, 0.007158783912658692, 0.007197663784027099, 0.007108607769012451, 0.007144447803497315, 0.0071823358535766605, 0.007202816009521484, 0.0070830078125, 0.006818816184997558, 0.007102496147155761, 0.007071743965148926, 0.00714137601852417, 0.0071485438346862796, 0.007163904190063477, 0.007268352031707764, 0.007215104103088379, 0.007152607917785644, 0.007102464199066162, 0.007102464199066162, 0.007209983825683594, 0.007171072006225586, 0.007158783912658692, 0.007739391803741455, 0.007107583999633789, 0.00710041618347168, 0.00723967981338501, 0.00708403205871582, 0.007077888011932373, 0.006616064071655273, 0.006694911956787109, 0.006688767910003662, 0.006812672138214112, 0.0071649918556213376, 0.007211040019989014, 0.007188479900360107, 0.007181312084197998, 0.00709119987487793, 0.0071526398658752445, 0.007107583999633789, 0.007189536094665527, 0.0070368962287902835, 0.0069918718338012695, 0.006945792198181152, 0.0070860800743103025, 0.0070522880554199216, 0.0068351998329162595, 0.006788095951080322, 0.006792191982269287, 0.006778880119323731, 0.006860799789428711, 0.007142399787902832, 0.006993919849395752, 0.0070225920677185055, 0.0071526398658752445, 0.007197696208953858, 0.007023615837097168, 0.006937600135803222, 0.006739967823028564, 0.006783999919891357, 0.006762495994567871, 0.006765567779541016, 0.006780928134918213, 0.006782976150512696, 0.0067420158386230465, 0.006773759841918945, 0.006781951904296875, 0.006719488143920899, 0.006718495845794678, 0.006713344097137451, 0.006722591876983643, 0.0067041277885437015, 0.006717440128326416, 0.006725632190704346, 0.006719488143920899, 0.006730751991271973, 0.006702079772949219, 0.006725632190704346, 0.0067348480224609375, 0.006729728221893311, 0.006680575847625733, 0.0067420158386230465, 0.006716415882110595, 0.006685696125030518, 0.0066938881874084475, 0.006713344097137451, 0.006710271835327148, 0.006696959972381592, 0.006715392112731934, 0.006691840171813965, 0.0066979842185974124, 0.006665215969085693, 0.006692863941192627, 0.006684671878814697, 0.0067041277885437015, 0.006709248065948486, 0.006717440128326416, 0.00672870397567749, 0.006717440128326416, 0.006651904106140137, 0.006708223819732666, 0.006702079772949219, 0.006659071922302246, 0.006766592025756836, 0.006721536159515381, 0.0067123198509216305, 0.00669593620300293, 0.006744063854217529, 0.006706175804138184, 0.006694911956787109, 0.006719488143920899, 0.006704160213470459, 0.006677504062652588, 0.0067041277885437015, 0.006717440128326416, 0.006683648109436035, 0.0067338237762451176, 0.006770688056945801, 0.0066713600158691405, 0.006725632190704346, 0.006713344097137451, 0.006699007987976074, 0.006722559928894043, 0.0067573761940002445, 0.006709248065948486 ] }, "throughput": { "unit": "samples/s", "value": 144.2689175148548 }, "energy": { "unit": "kWh", "cpu": 7.554259986971933e-08, "ram": 4.129726972205175e-08, "gpu": 1.3920747159235592e-07, "total": 2.5604734118412697e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3905527.764417936 } } } }