{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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": {}, "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, "memory": true, "latency": 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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.225-213.878.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": "1.22.0", "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 802.312192, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.372544 }, "latency": { "unit": "s", "values": [ 8.3148017578125 ], "count": 1, "total": 8.3148017578125, "mean": 8.3148017578125, "p50": 8.3148017578125, "p90": 8.3148017578125, "p95": 8.3148017578125, "p99": 8.3148017578125, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.353683215276793e-07, "ram": 4.864086919746759e-07, "gpu": 0.0, "total": 1.4217770135023554e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1099.063296, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "values": [ 0.008393728256225585, 0.008142848014831543, 0.008162143707275391, 0.008140800476074218, 0.008099840164184571, 0.008064000129699708, 0.00800767993927002, 0.008003711700439453, 0.008128447532653809, 0.008102911949157715, 0.008043519973754883, 0.00821452808380127, 0.008083552360534667, 0.008002559661865234, 0.008030303955078125, 0.008064000129699708, 0.008045568466186523, 0.008072192192077637, 0.007984127998352051, 0.008051839828491211, 0.008091520309448243, 0.008144895553588867, 0.008088576316833495, 0.008175616264343261, 0.008067071914672852, 0.008023039817810058, 0.00809881591796875, 0.008134655952453614, 0.008047616004943848, 0.00808243179321289, 0.008071231842041015, 0.008033280372619628, 0.007615488052368164, 0.007612383842468261, 0.007605247974395752, 0.007675903797149658, 0.007861248016357422, 0.007696383953094482, 0.0075008001327514645, 0.0076605439186096195, 0.0076574721336364745, 0.007763967990875244, 0.0076308479309082035, 0.007585792064666748, 0.007599103927612305, 0.007676928043365478, 0.007711775779724121, 0.007665664196014404, 0.007881728172302246, 0.008126496315002441, 0.007704607963562012, 0.00765337610244751, 0.007616511821746826, 0.007552000045776367, 0.007608384132385254, 0.00770854377746582, 0.007609344005584716, 0.007540736198425293, 0.007379903793334961, 0.0073573441505432125, 0.008500224113464355, 0.0077916159629821775, 0.007964672088623047, 0.007742464065551758, 0.007845888137817383, 0.007865344047546387, 0.007958528041839599, 0.007955520153045655, 0.007993279933929443, 0.007985151767730713, 0.00802086353302002, 0.007711743831634522, 0.007979008197784423, 0.008062975883483887, 0.007792640209197998, 0.008513504028320313, 0.008319999694824219, 0.007637856006622315, 0.0075879359245300294, 0.007621632099151611, 0.007592959880828858, 0.007681024074554443, 0.007615488052368164, 0.007579648017883301, 0.007613440036773681, 0.0075632638931274416, 0.008085503578186035, 0.0076308479309082035, 0.007600128173828125, 0.00759500789642334, 0.00753868818283081, 0.00757862377166748, 0.007664639949798584, 0.007721983909606934, 0.007640063762664795, 0.00760319995880127, 0.007591936111450195, 0.007599103927612305, 0.007601151943206787, 0.007641088008880615, 0.007607295989990235, 0.007574528217315674, 0.007550975799560547, 0.007625728130340576, 0.007622655868530274, 0.007623680114746094, 0.007556096076965332, 0.007552000045776367, 0.007761023998260498, 0.007859039783477783, 0.007614463806152344, 0.007624703884124756, 0.007702591896057129, 0.0075642881393432615, 0.0075335679054260255, 0.007643136024475097, 0.007527552127838135, 0.007560192108154297, 0.007614463806152344, 0.007535615921020508, 0.0075632319450378415, 0.007516160011291504, 0.007544832229614258, 0.00753868818283081, 0.007513088226318359, 0.007585792064666748, 0.007582719802856445, 0.007573503971099854 ], "count": 128, "total": 0.9974158396720886, "mean": 0.007792311247438191, "p50": 0.007676415920257569, "p90": 0.008109987258911133, "p95": 0.008156106853485107, "p99": 0.008471470232009887, "stdev": 0.0002477559194444645, "stdev_": 3.179492086201216 }, "throughput": { "unit": "samples/s", "value": 128.3316295057851 }, "energy": { "unit": "kWh", "cpu": 8.5699541761591e-08, "ram": 4.6828054899328336e-08, "gpu": 1.5743617710790733e-07, "total": 2.8996377376882667e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3448706.6677413606 } } } }