{ "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", "library": "transformers", "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", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 907.93984, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 126, "total": 0.9968537235260014, "mean": 0.007911537488301595, "stdev": 0.00044501655595148326, "p50": 0.007943135976791383, "p90": 0.008152063846588134, "p95": 0.008276735782623291, "p99": 0.010092032194137573, "values": [ 0.01103872013092041, 0.010468352317810058, 0.008963071823120117, 0.00828006362915039, 0.008266752243041992, 0.008151040077209473, 0.008125439643859863, 0.008011775970458984, 0.008034303665161132, 0.008117247581481933, 0.008364031791687012, 0.007939072132110595, 0.007879680156707763, 0.007958528041839599, 0.00799129581451416, 0.008159232139587403, 0.008019968032836914, 0.008070143699645996, 0.007982079982757568, 0.008086527824401855, 0.008220671653747558, 0.0081725435256958, 0.008043519973754883, 0.008035327911376953, 0.007985151767730713, 0.008102911949157715, 0.008020992279052735, 0.008153087615966797, 0.008065024375915527, 0.007995391845703125, 0.007929855823516846, 0.00795136022567749, 0.007970848083496095, 0.007970816135406494, 0.007989247798919678, 0.007996416091918946, 0.008042495727539062, 0.008068096160888672, 0.008343551635742187, 0.008042495727539062, 0.007959551811218261, 0.007989247798919678, 0.008135680198669434, 0.007998464107513427, 0.007953407764434815, 0.007967743873596191, 0.00790118408203125, 0.007928832054138184, 0.007979008197784423, 0.008064000129699708, 0.008239104270935058, 0.007998464107513427, 0.007940095901489258, 0.007972864151000977, 0.007920639991760254, 0.007946239948272706, 0.007982143878936768, 0.007962624073028564, 0.008014847755432129, 0.00808448028564453, 0.008102911949157715, 0.008083456039428711, 0.007998464107513427, 0.007955455780029297, 0.007986176013946533, 0.007942143917083741, 0.008637503623962402, 0.007981056213378907, 0.007795711994171142, 0.007809023857116699, 0.007912479877471923, 0.0077547521591186525, 0.007599103927612305, 0.007622655868530274, 0.007627744197845459, 0.007683072090148926, 0.00789299201965332, 0.007944128036499024, 0.007965663909912109, 0.008073216438293456, 0.007896063804626464, 0.007844863891601562, 0.007836671829223632, 0.007792575836181641, 0.007699456214904785, 0.007724031925201416, 0.007570432186126709, 0.007583744049072265, 0.0075335679054260255, 0.007602176189422607, 0.007543807983398438, 0.007550975799560547, 0.007649280071258545, 0.007547904014587403, 0.007548927783966064, 0.007656447887420655, 0.007642111778259277, 0.007580671787261963, 0.007514111995697022, 0.0075335679054260255, 0.007558144092559814, 0.007565311908721924, 0.007600128173828125, 0.0075673599243164065, 0.007585792064666748, 0.007613440036773681, 0.007658495903015137, 0.007542784214019775, 0.007523327827453613, 0.007507967948913574, 0.007521279811859131, 0.007488512039184571, 0.007543776035308838, 0.007580671787261963, 0.007546879768371582, 0.007541759967803955, 0.007550975799560547, 0.00754585599899292, 0.007557119846343994, 0.007590911865234375, 0.007575551986694336, 0.0075939841270446775, 0.007571455955505371, 0.007571455955505371, 0.007591936111450195, 0.0075939841270446775 ] }, "throughput": { "unit": "samples/s", "value": 126.39768205341267 }, "energy": { "unit": "kWh", "cpu": 8.795645011305318e-08, "ram": 4.8080906397242665e-08, "gpu": 1.5576967194074036e-07, "total": 2.9180702845103624e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3426922.255122429 } } } }