{ "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": {}, "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.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.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 718.749696, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.16553125, "mean": 7.16553125, "stdev": 0.0, "p50": 7.16553125, "p90": 7.16553125, "p95": 7.16553125, "p99": 7.16553125, "values": [ 7.16553125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.309922655423483e-07, "ram": 4.780410007890623e-07, "gpu": 1.753334736009915e-06, "total": 3.1623680023413257e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 918.03648, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 140, "total": 0.9999465622901917, "mean": 0.00714247544492994, "stdev": 0.00036208308096161943, "p50": 0.007004159927368164, "p90": 0.00733551983833313, "p95": 0.007419801783561705, "p99": 0.008484239134788499, "values": [ 0.010300415992736817, 0.008843263626098634, 0.0077077441215515135, 0.00749567985534668, 0.00760422420501709, 0.007922688007354736, 0.007094272136688232, 0.007028736114501953, 0.0070174078941345214, 0.007001088142395019, 0.0069242558479309085, 0.0069929280281066895, 0.006987775802612305, 0.006993919849395752, 0.006974463939666748, 0.007004159927368164, 0.006982656002044678, 0.006914048194885254, 0.006969344139099121, 0.006978559970855713, 0.006969344139099121, 0.006938623905181885, 0.006976511955261231, 0.006977536201477051, 0.007030784130096435, 0.006994944095611572, 0.00698367977142334, 0.007030784130096435, 0.007109632015228271, 0.006972415924072266, 0.0069621758460998535, 0.00698367977142334, 0.0070256638526916505, 0.007007232189178467, 0.0068915200233459475, 0.007153664112091064, 0.0069928960800170895, 0.006993919849395752, 0.0069550080299377445, 0.006929408073425293, 0.006892735958099365, 0.00692633581161499, 0.00693555212020874, 0.006952928066253662, 0.00690176010131836, 0.00704307222366333, 0.006941696166992187, 0.006967296123504638, 0.006944767951965332, 0.006889408111572266, 0.006881279945373535, 0.006917119979858399, 0.006880256175994873, 0.006795360088348389, 0.006854656219482422, 0.006931456089019775, 0.006923232078552246, 0.006971392154693603, 0.00693452787399292, 0.007023615837097168, 0.006930431842803955, 0.006980607986450196, 0.006999040126800537, 0.0069550080299377445, 0.006999040126800537, 0.0069847040176391605, 0.0069918718338012695, 0.007006207942962647, 0.006997056007385254, 0.00693558406829834, 0.006976511955261231, 0.0069928960800170895, 0.006988800048828125, 0.00695798397064209, 0.006972415924072266, 0.006889472007751465, 0.006903808116912841, 0.006994944095611572, 0.007030784130096435, 0.007004159927368164, 0.006974463939666748, 0.006968319892883301, 0.006918111801147461, 0.006994143962860107, 0.006912000179290771, 0.007105535984039306, 0.006939648151397705, 0.006953983783721924, 0.007001088142395019, 0.006960127830505371, 0.0069816322326660156, 0.007415808200836181, 0.007349215984344483, 0.007327744007110596, 0.007287807941436767, 0.007323647975921631, 0.007334911823272705, 0.007331840038299561, 0.007255040168762207, 0.007323647975921631, 0.007293951988220215, 0.007287807941436767, 0.007223296165466309, 0.007260159969329834, 0.0073471999168395995, 0.007349247932434082, 0.007294976234436036, 0.007224287986755371, 0.007216127872467041, 0.007235583782196045, 0.007278592109680176, 0.00724889612197876, 0.007229440212249756, 0.007262207984924316, 0.007287807941436767, 0.007304192066192627, 0.007225344181060791, 0.007300096035003662, 0.00724783992767334, 0.007287807941436767, 0.007692287921905518, 0.007291808128356934, 0.007290880203247071, 0.007346176147460938, 0.00728166389465332, 0.007286784172058106, 0.007282688140869141, 0.007286784172058106, 0.007341055870056152, 0.007284736156463623, 0.007340991973876953, 0.007334911823272705, 0.007194623947143554, 0.007280640125274658, 0.007277664184570313, 0.007293951988220215, 0.007326784133911132, 0.007311359882354736, 0.0072724480628967286, 0.007247903823852539 ] }, "throughput": { "unit": "samples/s", "value": 140.00748167917698 }, "energy": { "unit": "kWh", "cpu": 8.491072626340958e-08, "ram": 4.642950179064087e-08, "gpu": 1.6038703307140666e-07, "total": 2.917272611254571e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3427859.282475321 } } } }