{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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": 907.546624, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 137, "total": 0.9963427519798278, "mean": 0.007272574831969547, "stdev": 0.00018068504545493453, "p50": 0.007258111953735351, "p90": 0.007359692668914794, "p95": 0.0075577344894409175, "p99": 0.008015626449584956, "values": [ 0.008330240249633789, 0.007679999828338623, 0.007659520149230957, 0.007732223987579345, 0.007556096076965332, 0.0075642881393432615, 0.008120320320129394, 0.007352320194244385, 0.007324704170227051, 0.007256063938140869, 0.007221248149871826, 0.007243775844573975, 0.007243775844573975, 0.007200767993927002, 0.007226367950439453, 0.007271423816680909, 0.007234560012817383, 0.007271423816680909, 0.007222271919250488, 0.007237631797790528, 0.007251967906951904, 0.007279615879058838, 0.007294911861419678, 0.007245823860168457, 0.007189504146575928, 0.00722431993484497, 0.007237631797790528, 0.0072202239036560055, 0.007258111953735351, 0.007275519847869873, 0.00719155216217041, 0.007214079856872559, 0.007211008071899414, 0.0072672638893127445, 0.007197696208953858, 0.007269375801086426, 0.007319551944732666, 0.007207968235015869, 0.007229407787322998, 0.007216127872467041, 0.00719046401977539, 0.007176191806793213, 0.007200767993927002, 0.0072120318412780765, 0.0072334718704223635, 0.007265312194824219, 0.007187456130981445, 0.007226367950439453, 0.007217152118682861, 0.007305215835571289, 0.0071792640686035155, 0.007178239822387696, 0.007128064155578613, 0.00692633581161499, 0.006924287796020508, 0.0068915200233459475, 0.006908927917480469, 0.006882304191589355, 0.0068689918518066405, 0.006872064113616944, 0.0074793601036071775, 0.00725708818435669, 0.007192575931549072, 0.007180287837982178, 0.007231488227844239, 0.007332863807678222, 0.007829504013061523, 0.00729804801940918, 0.0072427520751953125, 0.0072468481063842774, 0.007211008071899414, 0.007221343994140625, 0.007209983825683594, 0.007217152118682861, 0.007214079856872559, 0.0071792640686035155, 0.007090176105499267, 0.0069959678649902345, 0.007205887794494629, 0.0073400321006774905, 0.007288832187652588, 0.007307263851165771, 0.00728985595703125, 0.007357439994812012, 0.007304192066192627, 0.007324672222137451, 0.007275519847869873, 0.007311359882354736, 0.007293951988220215, 0.007312384128570557, 0.007304192066192627, 0.007316480159759522, 0.007443456172943115, 0.007358463764190673, 0.007333888053894043, 0.007361536026000977, 0.007395328044891358, 0.0074414081573486324, 0.007478271961212158, 0.00733081579208374, 0.007324672222137451, 0.007305215835571289, 0.007304192066192627, 0.007305215835571289, 0.007332863807678222, 0.0072765440940856935, 0.007293951988220215, 0.007274496078491211, 0.007136256217956543, 0.007173120021820068, 0.007286784172058106, 0.007258080005645752, 0.007287807941436767, 0.0072550721168518064, 0.007259136199951172, 0.007282688140869141, 0.00724889612197876, 0.007278592109680176, 0.007315455913543701, 0.007311359882354736, 0.007291903972625732, 0.007310336112976074, 0.007251967906951904, 0.007280640125274658, 0.007270400047302246, 0.007292895793914795, 0.007262239933013916, 0.0073062400817871095, 0.007235583782196045, 0.007233535766601563, 0.0072468481063842774, 0.0072724480628967286, 0.007279615879058838, 0.0071792640686035155, 0.0071198720932006835, 0.007136256217956543, 0.007132160186767578 ] }, "throughput": { "unit": "samples/s", "value": 137.50288214348723 }, "energy": { "unit": "kWh", "cpu": 8.224502297831172e-08, "ram": 4.495849856311906e-08, "gpu": 1.4880220237500817e-07, "total": 2.760057239164389e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3623113.2666754085 } } } }