{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.2", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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.214-202.855.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.0", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 891.981824, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 138, "total": 0.9976554260253904, "mean": 0.007229387145111526, "stdev": 0.00011782743380629321, "p50": 0.007202816009521484, "p90": 0.007294464159011841, "p95": 0.0074711038351058965, "p99": 0.007776327791213989, "values": [ 0.00781004810333252, 0.007461887836456299, 0.007544832229614258, 0.007541759967803955, 0.007544896125793457, 0.007523327827453613, 0.007885824203491211, 0.007292928218841553, 0.006912000179290771, 0.006923264026641846, 0.007062528133392334, 0.00724889612197876, 0.007193600177764893, 0.0072499198913574215, 0.007225344181060791, 0.007227392196655274, 0.007223296165466309, 0.007214079856872559, 0.007178239822387696, 0.007196703910827637, 0.007222271919250488, 0.007188479900360107, 0.007204864025115967, 0.00719974422454834, 0.007227392196655274, 0.007209983825683594, 0.007247871875762939, 0.00719155216217041, 0.0071905279159545895, 0.007193600177764893, 0.007208960056304932, 0.007201791763305664, 0.007208992004394532, 0.007165952205657959, 0.007192575931549072, 0.007193632125854492, 0.007188479900360107, 0.007345151901245117, 0.007188479900360107, 0.007183328151702881, 0.00724070405960083, 0.007258111953735351, 0.007174143791198731, 0.007177216053009033, 0.007159808158874512, 0.007165952205657959, 0.00719974422454834, 0.0071823358535766605, 0.007204864025115967, 0.0072130560874938965, 0.007398399829864502, 0.007267327785491944, 0.007221248149871826, 0.007196671962738037, 0.007146495819091797, 0.00724070405960083, 0.007217152118682861, 0.007243775844573975, 0.007202816009521484, 0.007193600177764893, 0.007220191955566406, 0.007234560012817383, 0.007173120021820068, 0.0071833600997924804, 0.007195648193359375, 0.007718912124633789, 0.00723967981338501, 0.007220191955566406, 0.007217152118682861, 0.007207935810089112, 0.007186431884765625, 0.007185408115386963, 0.00719974422454834, 0.007198719978332519, 0.007185408115386963, 0.007206912040710449, 0.007164927959442138, 0.007198719978332519, 0.0071905279159545895, 0.007187456130981445, 0.007196671962738037, 0.007202816009521484, 0.007234560012817383, 0.007231488227844239, 0.007214079856872559, 0.007196671962738037, 0.007261184215545655, 0.007218175888061523, 0.00733900785446167, 0.0072130560874938965, 0.007185408115386963, 0.007226367950439453, 0.007177184104919434, 0.007197696208953858, 0.007225344181060791, 0.00729804801940918, 0.007229440212249756, 0.007208960056304932, 0.007218175888061523, 0.007218175888061523, 0.007206912040710449, 0.007188416004180908, 0.007251967906951904, 0.007228415966033935, 0.007227392196655274, 0.007260159969329834, 0.007193600177764893, 0.007200767993927002, 0.007153664112091064, 0.007180287837982178, 0.007217152118682861, 0.007177216053009033, 0.007180287837982178, 0.0071495680809020995, 0.00719155216217041, 0.007200767993927002, 0.007168000221252442, 0.007303167819976806, 0.007139328002929687, 0.0071833600997924804, 0.007184351921081543, 0.007201791763305664, 0.0072540159225463864, 0.007172095775604248, 0.007184383869171143, 0.007332863807678222, 0.007204864025115967, 0.007203839778900147, 0.007265279769897461, 0.007225344181060791, 0.007264256000518799, 0.007197696208953858, 0.007194623947143554, 0.007179200172424316, 0.007143424034118652, 0.007169023990631103, 0.007176191806793213, 0.007174143791198731 ] }, "throughput": { "unit": "samples/s", "value": 138.32431158098854 }, "energy": { "unit": "kWh", "cpu": 8.240090453146417e-08, "ram": 4.504373190457045e-08, "gpu": 1.5436354941666363e-07, "total": 2.818081858526982e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3548512.960949624 } } } }