{ "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": 909.76256, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 132, "total": 1.0006536970138549, "mean": 0.007580709825862539, "stdev": 0.0003088718943414982, "p50": 0.007382015943527222, "p90": 0.008035433769226075, "p95": 0.008080793619155884, "p99": 0.00816958493232727, "values": [ 0.008175616264343261, 0.008003583908081055, 0.00791756820678711, 0.008087552070617676, 0.008156160354614257, 0.008112128257751466, 0.008144895553588867, 0.007796735763549805, 0.007888895988464355, 0.007962624073028564, 0.008041472434997558, 0.00800870418548584, 0.008037376403808593, 0.008017919540405273, 0.008075263977050781, 0.008054783821105957, 0.008075263977050781, 0.008036352157592774, 0.007931903839111328, 0.007904255867004394, 0.007940095901489258, 0.007983039855957032, 0.00802716827392578, 0.008069120407104492, 0.00859340763092041, 0.007998464107513427, 0.007982079982757568, 0.007881728172302246, 0.007840767860412597, 0.007778304100036621, 0.007854080200195313, 0.007861248016357422, 0.007832640171051026, 0.007906303882598878, 0.00785203218460083, 0.007920639991760254, 0.007940095901489258, 0.00794316816329956, 0.007829504013061523, 0.007788544178009033, 0.007749631881713868, 0.007795711994171142, 0.007602176189422607, 0.007672832012176513, 0.007947264194488525, 0.0075970239639282225, 0.007490560054779053, 0.0074711041450500485, 0.007525375843048096, 0.007677951812744141, 0.007751679897308349, 0.007792640209197998, 0.007787519931793213, 0.007941120147705078, 0.00809267234802246, 0.007582719802856445, 0.007409664154052734, 0.00735536003112793, 0.007656447887420655, 0.007383039951324463, 0.007378943920135498, 0.007316480159759522, 0.007329792022705078, 0.00744755220413208, 0.007357439994812012, 0.007311359882354736, 0.007336959838867187, 0.007411712169647216, 0.007344128131866455, 0.007401472091674805, 0.007305215835571289, 0.007315455913543701, 0.007300096035003662, 0.007323647975921631, 0.007341055870056152, 0.007361536026000977, 0.007287807941436767, 0.007481344223022461, 0.007345151901245117, 0.007336927890777588, 0.007332863807678222, 0.00743833589553833, 0.00733900785446167, 0.007333888053894043, 0.007366655826568603, 0.007362559795379638, 0.00733081579208374, 0.007307263851165771, 0.0073400321006774905, 0.007295968055725098, 0.007303135871887207, 0.00734822416305542, 0.007361536026000977, 0.007320576190948487, 0.007449600219726562, 0.007286784172058106, 0.007301119804382325, 0.007352287769317627, 0.007353343963623047, 0.007384064197540283, 0.007374911785125732, 0.00733081579208374, 0.007332863807678222, 0.007372799873352051, 0.007325695991516113, 0.007316480159759522, 0.007312384128570557, 0.007319551944732666, 0.007231488227844239, 0.00733081579208374, 0.007294976234436036, 0.00729804801940918, 0.007311359882354736, 0.007341055870056152, 0.00738099193572998, 0.007294976234436036, 0.007351295948028564, 0.007341055870056152, 0.007293951988220215, 0.007334911823272705, 0.007284736156463623, 0.00729804801940918, 0.007363615989685058, 0.007312384128570557, 0.007316480159759522, 0.007324607849121094, 0.00728166389465332, 0.007299071788787842, 0.007287807941436767, 0.007294976234436036, 0.007310336112976074, 0.0073134078979492185 ] }, "throughput": { "unit": "samples/s", "value": 131.9137683635344 }, "energy": { "unit": "kWh", "cpu": 8.591485800121805e-08, "ram": 4.682657728879928e-08, "gpu": 1.700361072518008e-07, "total": 3.0277754254181817e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3302754.859574451 } } } }