{ "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": 910.036992, "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.9998775987625124, "mean": 0.0072454898461051616, "stdev": 0.00023112556359064607, "p50": 0.0072386240959167476, "p90": 0.007369216012954712, "p95": 0.007695462274551392, "p99": 0.008186562156677245, "values": [ 0.00808140754699707, 0.007606272220611572, 0.007759871959686279, 0.007662591934204102, 0.007656447887420655, 0.007911424160003662, 0.007995391845703125, 0.0076267518997192385, 0.007865344047546387, 0.00830668830871582, 0.008248319625854492, 0.007328767776489258, 0.0071198720932006835, 0.007127039909362793, 0.007132160186767578, 0.007088128089904785, 0.0070594558715820314, 0.007116799831390381, 0.007094272136688232, 0.007156735897064209, 0.007090176105499267, 0.007080959796905518, 0.0072724480628967286, 0.007104512214660645, 0.007111680030822754, 0.007051263809204102, 0.007073791980743408, 0.007118783950805664, 0.007095295906066895, 0.0070594558715820314, 0.007072768211364746, 0.0070830078125, 0.007096320152282715, 0.007079936027526855, 0.0070553598403930665, 0.007071743965148926, 0.00707583999633789, 0.0070891518592834475, 0.007074816226959229, 0.007050240039825439, 0.007070720195770264, 0.0070860800743103025, 0.007071743965148926, 0.007051263809204102, 0.007073791980743408, 0.007096320152282715, 0.007073791980743408, 0.007039040088653564, 0.00708403205871582, 0.007080959796905518, 0.0070830078125, 0.007067647933959961, 0.007019519805908203, 0.007070720195770264, 0.007088128089904785, 0.00707583999633789, 0.007041024208068848, 0.007051263809204102, 0.007065599918365479, 0.0070829758644104, 0.007071712017059326, 0.007048192024230957, 0.007076863765716553, 0.007069695949554444, 0.007060480117797851, 0.0070594558715820314, 0.007684095859527588, 0.007074816226959229, 0.00708403205871582, 0.007094272136688232, 0.007054336071014404, 0.0070891518592834475, 0.00710041618347168, 0.007101439952850342, 0.007066624164581299, 0.007307263851165771, 0.007304192066192627, 0.007304192066192627, 0.0072979841232299805, 0.007301119804382325, 0.007251967906951904, 0.0072837119102478025, 0.007274496078491211, 0.0073359360694885255, 0.007282688140869141, 0.007277567863464355, 0.007270400047302246, 0.007263232231140137, 0.007277632236480713, 0.007238592147827148, 0.00722431993484497, 0.0071823358535766605, 0.007142399787902832, 0.007177216053009033, 0.007473184108734131, 0.007361536026000977, 0.0073359360694885255, 0.0073359360694885255, 0.007327744007110596, 0.007387135982513428, 0.007361536026000977, 0.007345151901245117, 0.00733081579208374, 0.007355391979217529, 0.007290880203247071, 0.007326784133911132, 0.00733081579208374, 0.007325695991516113, 0.0073359360694885255, 0.007279615879058838, 0.0072837119102478025, 0.0072765440940856935, 0.0072837119102478025, 0.007336959838867187, 0.007296000003814697, 0.007279615879058838, 0.007265279769897461, 0.007302144050598145, 0.007354368209838867, 0.007282688140869141, 0.007267327785491944, 0.007263264179229736, 0.00724070405960083, 0.007358463764190673, 0.007266304016113281, 0.007279615879058838, 0.007323647975921631, 0.007252992153167725, 0.007251967906951904, 0.007284671783447266, 0.007290847778320312, 0.007296000003814697, 0.007278592109680176, 0.007282688140869141, 0.007238656044006348, 0.00722431993484497, 0.007065599918365479, 0.007089216232299805 ] }, "throughput": { "unit": "samples/s", "value": 138.01689343855108 }, "energy": { "unit": "kWh", "cpu": 8.642965473011077e-08, "ram": 4.724945486413806e-08, "gpu": 1.596027229781017e-07, "total": 2.932818325723505e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3409689.5509315506 } } } }