{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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": {}, "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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 913.53088, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 138, "total": 1.002424384117126, "mean": 0.007263944812442946, "stdev": 0.0002154248867046156, "p50": 0.007237632036209106, "p90": 0.007522508716583252, "p95": 0.007659929442405701, "p99": 0.007969792003631591, "values": [ 0.007840767860412597, 0.007507967948913574, 0.007546879768371582, 0.007512063980102539, 0.007511040210723877, 0.007287807941436767, 0.007259136199951172, 0.007271423816680909, 0.007250944137573242, 0.00719974422454834, 0.00724070405960083, 0.007211008071899414, 0.00719155216217041, 0.007147520065307617, 0.007142399787902832, 0.007208960056304932, 0.00724783992767334, 0.00800767993927002, 0.007574528217315674, 0.007726079940795898, 0.0076308479309082035, 0.007464960098266602, 0.00758784008026123, 0.007234560012817383, 0.007301119804382325, 0.007291872024536133, 0.007304255962371826, 0.007264256000518799, 0.007274496078491211, 0.007228415966033935, 0.007303232192993164, 0.007315455913543701, 0.0074065918922424315, 0.007481344223022461, 0.007498752117156982, 0.0074301438331604, 0.007398399829864502, 0.0072468481063842774, 0.0072837119102478025, 0.007361504077911377, 0.007342080116271973, 0.007323647975921631, 0.007265279769897461, 0.0072765440940856935, 0.007234560012817383, 0.007322624206542969, 0.007648255825042725, 0.007337984085083008, 0.007415808200836181, 0.007571455955505371, 0.007365632057189942, 0.0071823358535766605, 0.0072202239036560055, 0.007226367950439453, 0.00734822416305542, 0.007252992153167725, 0.00808448028564453, 0.0074414081573486324, 0.007445504188537597, 0.0072540159225463864, 0.00727347183227539, 0.0073471999168395995, 0.007342080116271973, 0.007316480159759522, 0.007326784133911132, 0.007332863807678222, 0.007274496078491211, 0.007260159969329834, 0.0072837119102478025, 0.0071833600997924804, 0.007247871875762939, 0.007194623947143554, 0.007160831928253173, 0.00704204797744751, 0.007021567821502686, 0.007203839778900147, 0.0070522880554199216, 0.006853631973266602, 0.0067983360290527345, 0.006873087882995605, 0.007187456130981445, 0.007351295948028564, 0.0074106879234313965, 0.007394303798675537, 0.007460864067077637, 0.007550975799560547, 0.007304192066192627, 0.007765984058380127, 0.00743120002746582, 0.007136256217956543, 0.007090176105499267, 0.007168000221252442, 0.007127039909362793, 0.007189504146575928, 0.007853055953979492, 0.0073175039291381834, 0.007103487968444824, 0.007121920108795166, 0.007144447803497315, 0.007200767993927002, 0.007130112171173096, 0.007202816009521484, 0.007069695949554444, 0.007097343921661377, 0.00709939193725586, 0.007073791980743408, 0.00709222412109375, 0.007045119762420654, 0.00704307222366333, 0.007058432102203369, 0.0070225920677185055, 0.007064576148986816, 0.007053343772888183, 0.007126016139984131, 0.007039999961853028, 0.007168000221252442, 0.007154687881469727, 0.007087135791778564, 0.007114751815795899, 0.0070891518592834475, 0.007054336071014404, 0.007905280113220215, 0.00713318395614624, 0.0071075520515441895, 0.007146495819091797, 0.007095295906066895, 0.007067647933959961, 0.0071198720932006835, 0.007048192024230957, 0.007053311824798584, 0.007013376235961914, 0.00707583999633789, 0.007076831817626953, 0.0070553598403930665, 0.007015423774719238, 0.0070481600761413575, 0.0070553598403930665, 0.007068672180175781 ] }, "throughput": { "unit": "samples/s", "value": 137.66624414423225 }, "energy": { "unit": "kWh", "cpu": 8.372403739576982e-08, "ram": 4.563820101299837e-08, "gpu": 1.582454317603072e-07, "total": 2.876076701690754e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3476958.731358353 } } } }