{ "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", "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.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.0", "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 909.778944, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 135, "total": 1.0020632610321047, "mean": 0.007422690822460033, "stdev": 0.0001928367503758692, "p50": 0.007385087966918945, "p90": 0.007639449596405029, "p95": 0.007807443284988403, "p99": 0.008154500827789306, "values": [ 0.008125439643859863, 0.007875584125518798, 0.007912447929382324, 0.007787456035614013, 0.007641088008880615, 0.0076267518997192385, 0.00760422420501709, 0.007452672004699707, 0.007595071792602539, 0.007527423858642578, 0.007456736087799072, 0.007432191848754883, 0.007377024173736572, 0.007336959838867187, 0.007321599960327148, 0.007422976016998291, 0.008245247840881348, 0.007854080200195313, 0.007442431926727295, 0.007503839969635009, 0.0074997758865356446, 0.00765235185623169, 0.007449600219726562, 0.007402495861053467, 0.007502848148345947, 0.00745472002029419, 0.007636991977691651, 0.007455743789672851, 0.007426047801971435, 0.0074741759300231934, 0.007469056129455566, 0.007485439777374267, 0.007419904232025146, 0.007372799873352051, 0.007324672222137451, 0.0074065918922424315, 0.007370751857757568, 0.007443456172943115, 0.007504896163940429, 0.007605247974395752, 0.007474143981933593, 0.007516160011291504, 0.007385087966918945, 0.007425119876861572, 0.007412735939025879, 0.007391232013702393, 0.007337984085083008, 0.007400447845458984, 0.007412735939025879, 0.007292928218841553, 0.007374815940856934, 0.007375872135162354, 0.007318528175354004, 0.007334911823272705, 0.007267327785491944, 0.0073134078979492185, 0.007479296207427978, 0.00738918399810791, 0.0073359360694885255, 0.007402495861053467, 0.007417856216430664, 0.007374847888946533, 0.007237631797790528, 0.007296000003814697, 0.007335872173309326, 0.007415808200836181, 0.008169471740722656, 0.007468031883239746, 0.007449600219726562, 0.007508992195129394, 0.007392255783081054, 0.007327744007110596, 0.007293951988220215, 0.007385087966918945, 0.007427072048187256, 0.007366655826568603, 0.007217152118682861, 0.007094272136688232, 0.007281472206115722, 0.007178239822387696, 0.007032896041870117, 0.006987775802612305, 0.007072768211364746, 0.007450623989105225, 0.0077619199752807615, 0.007688191890716553, 0.007739391803741455, 0.007890944004058837, 0.007694176197052002, 0.0075345921516418455, 0.007487455844879151, 0.007603136062622071, 0.007305215835571289, 0.007455872058868408, 0.0073768959045410155, 0.007292928218841553, 0.007256063938140869, 0.007260032176971435, 0.007244800090789795, 0.007355391979217529, 0.007329792022705078, 0.007287807941436767, 0.007285759925842285, 0.007362559795379638, 0.007523327827453613, 0.007284736156463623, 0.007274367809295654, 0.007293951988220215, 0.007332863807678222, 0.0072468481063842774, 0.007234560012817383, 0.007336959838867187, 0.007345151901245117, 0.007311359882354736, 0.007260159969329834, 0.007334911823272705, 0.007524352073669433, 0.007333920001983642, 0.007355391979217529, 0.00729702377319336, 0.00723967981338501, 0.007315392017364502, 0.00729804801940918, 0.007305215835571289, 0.007292928218841553, 0.007320543766021728, 0.007307263851165771, 0.007284736156463623, 0.007243775844573975, 0.007275519847869873, 0.0074997758865356446, 0.007374815940856934, 0.007398399829864502, 0.007353312015533448, 0.007329792022705078 ] }, "throughput": { "unit": "samples/s", "value": 134.72203327857045 }, "energy": { "unit": "kWh", "cpu": 8.468125074628801e-08, "ram": 4.628627736695177e-08, "gpu": 1.5826203137142434e-07, "total": 2.892295594846641e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3457461.269801586 } } } }