{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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": {}, "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, "memory": true, "latency": 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.252864, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 801.910784, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.8912861328125, "mean": 7.8912861328125, "stdev": 0.0, "p50": 7.8912861328125, "p90": 7.8912861328125, "p95": 7.8912861328125, "p99": 7.8912861328125, "values": [ 7.8912861328125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0499408250022195e-06, "ram": 5.554409828209543e-07, "gpu": 1.7463902860000852e-06, "total": 3.3517720938232586e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1091.907584, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 146, "total": 0.9995753927230838, "mean": 0.0068464067994731745, "stdev": 0.0002090909164385449, "p50": 0.0067947518825531, "p90": 0.007145471811294556, "p95": 0.007319552183151246, "p99": 0.007396812963485718, "values": [ 0.007326720237731933, 0.007386112213134765, 0.007320576190948487, 0.007355552196502685, 0.007316480159759522, 0.007468031883239746, 0.007301119804382325, 0.007253087997436523, 0.00732150411605835, 0.0072540159225463864, 0.007326560020446777, 0.007101439952850342, 0.007163904190063477, 0.007146495819091797, 0.0071157760620117185, 0.007031775951385498, 0.007019519805908203, 0.007066624164581299, 0.00710041618347168, 0.007144447803497315, 0.0068853759765625, 0.006915071964263916, 0.006819839954376221, 0.006859776020050049, 0.00708403205871582, 0.007116799831390381, 0.007095295906066895, 0.00740556812286377, 0.007154655933380127, 0.006860799789428711, 0.006817791938781738, 0.006840320110321045, 0.006829055786132812, 0.006834176063537598, 0.006754303932189941, 0.006800384044647217, 0.006880256175994873, 0.006767615795135498, 0.0067645440101623535, 0.0067010560035705566, 0.006655007839202881, 0.006847487926483154, 0.006820864200592041, 0.006817791938781738, 0.006751232147216797, 0.006870016098022461, 0.006840320110321045, 0.006979519844055176, 0.006822912216186523, 0.006987775802612305, 0.006976511955261231, 0.006975488185882568, 0.006988800048828125, 0.0069344320297241215, 0.006815775871276856, 0.0067582402229309085, 0.006741024017333984, 0.0067573761940002445, 0.006816768169403077, 0.006801407814025879, 0.00679423999786377, 0.00690176010131836, 0.006762495994567871, 0.006851583957672119, 0.006917119979858399, 0.006899712085723877, 0.0067358717918396, 0.006795263767242431, 0.006810624122619629, 0.006837247848510742, 0.00674403190612793, 0.006755328178405762, 0.006719488143920899, 0.006774784088134766, 0.0067358717918396, 0.006729728221893311, 0.0067123198509216305, 0.006793248176574707, 0.006851679801940918, 0.006867968082427979, 0.007046144008636474, 0.006816768169403077, 0.00687820816040039, 0.007038976192474365, 0.0068249602317810056, 0.0067870721817016606, 0.0068392958641052244, 0.0067708477973937985, 0.006680575847625733, 0.006711296081542969, 0.006762495994567871, 0.0066938881874084475, 0.006774784088134766, 0.006666240215301514, 0.006519807815551758, 0.006705120086669922, 0.006715392112731934, 0.006653952121734619, 0.00643993616104126, 0.006413375854492188, 0.006433792114257812, 0.006661119937896728, 0.006858751773834228, 0.00693452787399292, 0.006897664070129395, 0.007007232189178467, 0.007123968124389648, 0.006877056121826172, 0.006726655960083008, 0.006716415882110595, 0.0067686400413513184, 0.006692863941192627, 0.0066979842185974124, 0.006708127975463867, 0.006723584175109864, 0.006751232147216797, 0.00706553602218628, 0.006711296081542969, 0.006724607944488525, 0.006673408031463623, 0.006672383785247803, 0.006713344097137451, 0.006673408031463623, 0.0067123198509216305, 0.0067134079933166505, 0.0066744318008422855, 0.0067870721817016606, 0.006756351947784424, 0.006760447978973389, 0.006635519981384277, 0.006525887966156006, 0.006682591915130615, 0.006716415882110595, 0.006498303890228272, 0.006529952049255371, 0.006553599834442139, 0.006665215969085693, 0.00667852783203125, 0.006652063846588134, 0.006676479816436768, 0.006684671878814697, 0.006690815925598144, 0.006683648109436035, 0.006706175804138184, 0.006689888000488281, 0.006692863941192627 ] }, "throughput": { "unit": "samples/s", "value": 146.0620189961469 }, "energy": { "unit": "kWh", "cpu": 7.928563518981631e-08, "ram": 4.334953355003881e-08, "gpu": 1.425575214533334e-07, "total": 2.651926901931885e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3770843.0020130514 } } } }