{ "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.292672, "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.0019662394523619, "mean": 0.007590653329184561, "stdev": 0.0002781192663456145, "p50": 0.007538176059722901, "p90": 0.007924838209152222, "p95": 0.00804220314025879, "p99": 0.008251709642410277, "values": [ 0.008181759834289551, 0.008173567771911621, 0.008039423942565918, 0.008283136367797851, 0.008567808151245117, 0.007963647842407226, 0.007975935935974121, 0.007823359966278077, 0.007828479766845703, 0.00795136022567749, 0.007815167903900147, 0.00785100793838501, 0.0077916159629821775, 0.007723008155822754, 0.007751679897308349, 0.007773183822631836, 0.007832543849945068, 0.007771071910858155, 0.007788512229919433, 0.007819263935089112, 0.007782400131225586, 0.007787519931793213, 0.00781824016571045, 0.007886879920959473, 0.007790592193603516, 0.007898111820220948, 0.00773529577255249, 0.007730175971984863, 0.0075642881393432615, 0.007517183780670166, 0.0074700798988342285, 0.007404543876647949, 0.0074629120826721195, 0.007617536067962646, 0.00774451208114624, 0.00774348783493042, 0.007809023857116699, 0.007972864151000977, 0.007829504013061523, 0.007838719844818116, 0.00782643222808838, 0.007806975841522217, 0.007740416049957275, 0.0076912641525268555, 0.0077619199752807615, 0.0075673599243164065, 0.007485375881195068, 0.007482367992401123, 0.007450623989105225, 0.0074301438331604, 0.0074700798988342285, 0.007444479942321777, 0.007452672004699707, 0.007570432186126709, 0.007413760185241699, 0.007387135982513428, 0.007442431926727295, 0.007927807807922363, 0.007729152202606201, 0.007729152202606201, 0.007756800174713135, 0.007774208068847656, 0.007865312099456788, 0.0077844481468200685, 0.007565311908721924, 0.007542784214019775, 0.008085472106933594, 0.007590911865234375, 0.0074106879234313965, 0.0075673599243164065, 0.00742195177078247, 0.007414783954620361, 0.007290880203247071, 0.007304192066192627, 0.007409664154052734, 0.007267327785491944, 0.007079936027526855, 0.007116799831390381, 0.007513088226318359, 0.0076943359375, 0.00774348783493042, 0.007727104187011719, 0.007816192150115966, 0.008018943786621094, 0.007656447887420655, 0.007403456211090088, 0.007419904232025146, 0.0074403839111328125, 0.008045599937438965, 0.007504896163940429, 0.00727347183227539, 0.0072120318412780765, 0.007162879943847656, 0.007157760143280029, 0.0071792640686035155, 0.007159808158874512, 0.007170015811920166, 0.00709939193725586, 0.007228415966033935, 0.007126016139984131, 0.007142399787902832, 0.007106560230255127, 0.007233535766601563, 0.007175168037414551, 0.007105535984039306, 0.007109632015228271, 0.007120895862579346, 0.008104960441589355, 0.007522304058074952, 0.007512063980102539, 0.007613440036773681, 0.007450623989105225, 0.007523327827453613, 0.007579648017883301, 0.0074925761222839355, 0.007479296207427978, 0.007477248191833496, 0.007520256042480469, 0.007501823902130127, 0.0074629120826721195, 0.007444479942321777, 0.007455743789672851, 0.0075335359573364255, 0.007452672004699707, 0.0075335679054260255, 0.007527423858642578, 0.007544832229614258, 0.007455743789672851, 0.007493631839752197, 0.0074670081138610836, 0.007461887836456299, 0.0074403839111328125 ] }, "throughput": { "unit": "samples/s", "value": 131.7409657157175 }, "energy": { "unit": "kWh", "cpu": 8.680016309965558e-08, "ram": 4.7454530613322276e-08, "gpu": 1.5823816389780715e-07, "total": 2.92492857610785e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3418886.9026356945 } } } }