{ "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.224-212.876.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.4.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": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 799.739904, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 8.02007666015625, "mean": 8.02007666015625, "stdev": 0.0, "p50": 8.02007666015625, "p90": 8.02007666015625, "p95": 8.02007666015625, "p99": 8.02007666015625, "values": [ 8.02007666015625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.3630796638890673e-06, "ram": 1.2751033778130705e-06, "gpu": 3.302502641999803e-06, "total": 6.940685683701941e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1095.282688, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 131, "total": 1.0024589099884031, "mean": 0.007652358091514529, "stdev": 0.0001743945975582852, "p50": 0.007622655868530274, "p90": 0.007898111820220948, "p95": 0.007928831815719604, "p99": 0.008318361568450923, "values": [ 0.00791756820678711, 0.007913472175598145, 0.007874495983123779, 0.007875584125518798, 0.007846911907196046, 0.007738368034362793, 0.007643104076385498, 0.007684095859527588, 0.007666687965393066, 0.007620607852935791, 0.00766048002243042, 0.007665664196014404, 0.007634912014007568, 0.007554048061370849, 0.007575551986694336, 0.007613440036773681, 0.007625728130340576, 0.007659520149230957, 0.007602208137512207, 0.007693312168121338, 0.007683008193969726, 0.00764518404006958, 0.007659520149230957, 0.007621632099151611, 0.007714816093444824, 0.007677951812744141, 0.007708703994750977, 0.0076984319686889645, 0.007679999828338623, 0.00764518404006958, 0.007675903797149658, 0.007638016223907471, 0.007654399871826172, 0.007654399871826172, 0.007584767818450928, 0.00757862377166748, 0.007576576232910156, 0.007606272220611572, 0.00760319995880127, 0.007726079940795898, 0.007616511821746826, 0.007585792064666748, 0.007620607852935791, 0.007651328086853027, 0.007685120105743408, 0.007688191890716553, 0.007635968208312988, 0.007651328086853027, 0.007581696033477783, 0.007571455955505371, 0.007662591934204102, 0.007661503791809082, 0.0075939841270446775, 0.00764518404006958, 0.007629824161529541, 0.007549952030181885, 0.00774348783493042, 0.00773632001876831, 0.007525375843048096, 0.00760319995880127, 0.007673855781555176, 0.007607295989990235, 0.007605247974395752, 0.00760422420501709, 0.0076308479309082035, 0.007622655868530274, 0.007932928085327149, 0.007888895988464355, 0.007931903839111328, 0.007993343830108643, 0.007913472175598145, 0.00790835189819336, 0.007925759792327881, 0.007861248016357422, 0.007642111778259277, 0.007618559837341309, 0.0075038719177246095, 0.007558144092559814, 0.007563295841217041, 0.007509024143218994, 0.007773183822631836, 0.007683072090148926, 0.007748608112335205, 0.00795136022567749, 0.007648255825042725, 0.007491583824157715, 0.007481311798095703, 0.008073216438293456, 0.007864319801330566, 0.007898111820220948, 0.00785920000076294, 0.007907360076904298, 0.008523776054382324, 0.008423423767089844, 0.007488512039184571, 0.007267327785491944, 0.0072468481063842774, 0.007414783954620361, 0.007516160011291504, 0.007531519889831543, 0.007649280071258545, 0.007543807983398438, 0.007519167900085449, 0.007648255825042725, 0.007616511821746826, 0.00757862377166748, 0.007618559837341309, 0.007618559837341309, 0.007519231796264648, 0.007497727870941162, 0.007475200176239013, 0.007498752117156982, 0.007461887836456299, 0.007576576232910156, 0.007527423858642578, 0.007510015964508057, 0.007491583824157715, 0.007485439777374267, 0.007506944179534912, 0.007481344223022461, 0.007479296207427978, 0.0074403839111328125, 0.007423999786376953, 0.0074967041015625, 0.0074700479507446285, 0.00748748779296875, 0.007497727870941162, 0.007581696033477783, 0.007589951992034912, 0.007566336154937744, 0.007575551986694336 ] }, "throughput": { "unit": "samples/s", "value": 130.67867290592034 }, "energy": { "unit": "kWh", "cpu": 8.870380478337309e-08, "ram": 4.8470988839705894e-08, "gpu": 1.6228661407462742e-07, "total": 2.994614076977064e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3339328.4553362466 } } } }