{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.5.1+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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": 2, "sequence_length": 16, "num_choices": 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.248768, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.228-219.884.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.dev0", "optimum_benchmark_commit": null, "transformers_version": "4.46.3", "transformers_commit": null, "accelerate_version": "1.1.1", "accelerate_commit": null, "diffusers_version": "0.31.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.11", "timm_commit": null, "peft_version": "0.13.2", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 819.011584, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "values": [ 0.08748748779296875 ], "count": 1, "total": 0.08748748779296875, "mean": 0.08748748779296875, "p50": 0.08748748779296875, "p90": 0.08748748779296875, "p95": 0.08748748779296875, "p99": 0.08748748779296875, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1086.431232, "max_global_vram": 1205.338112, "max_process_vram": 0.0, "max_reserved": 557.842432, "max_allocated": 509.729792 }, "latency": { "unit": "s", "values": [ 0.006654975891113281, 0.006375423908233643, 0.006401023864746094, 0.006170464038848877, 0.006178815841674804, 0.0061296639442443845, 0.006050879955291748, 0.00608358383178711, 0.006155263900756836, 0.006165503978729248, 0.006155263900756836, 0.0061337599754333495, 0.006326208114624024, 0.006153215885162353, 0.006113279819488526, 0.006109312057495118, 0.00606822395324707, 0.006088704109191895, 0.006093952178955078, 0.006094848155975342, 0.006153151988983154, 0.006145023822784424, 0.0060631041526794435, 0.006131711959838867, 0.005948448181152343, 0.0059361281394958495, 0.005987328052520752, 0.005993472099304199, 0.0060590081214904785, 0.006023168087005615, 0.006025216102600098, 0.0060068159103393555, 0.006064064025878906, 0.0060293121337890625, 0.00608460807800293, 0.006091775894165039, 0.006147071838378906, 0.006147071838378906, 0.006198239803314209, 0.00622489595413208, 0.006302559852600097, 0.006277120113372803, 0.00637337589263916, 0.006201344013214111, 0.006086656093597412, 0.006009856224060059, 0.006071487903594971, 0.006355967998504639, 0.006262784004211426, 0.006378496170043945, 0.0061337599754333495, 0.006079487800598145, 0.006100096225738525, 0.006103040218353272, 0.0059688959121704105, 0.005966911792755127, 0.006012928009033203, 0.006061056137084961, 0.006830080032348633, 0.006159359931945801, 0.006158336162567139, 0.006177792072296143, 0.006115327835083008, 0.006145023822784424, 0.007096320152282715, 0.007011328220367432, 0.006261760234832763, 0.006212607860565185, 0.006239232063293457, 0.006277120113372803, 0.006212607860565185, 0.0062259202003479, 0.006011903762817383, 0.006078464031219482, 0.006089727878570556, 0.006151167869567871, 0.006130688190460205, 0.006154240131378174, 0.0061296639442443845, 0.006202303886413575, 0.006157311916351318, 0.006218751907348633, 0.006058879852294922, 0.006082560062408447, 0.006189055919647217, 0.006050943851470947, 0.005935135841369629, 0.0059985918998718265, 0.006106143951416016, 0.005955584049224853, 0.005964735984802246, 0.005894144058227539, 0.005796735763549805, 0.005752768039703369, 0.0059186239242553715, 0.005964799880981446, 0.005801951885223389, 0.005996736049652099, 0.005929120063781738, 0.0059658241271972655, 0.005981184005737304, 0.005924863815307617, 0.0060590081214904785, 0.006056960105895996, 0.006070240020751953, 0.006120448112487793, 0.006252543926239014, 0.006360064029693604, 0.00608358383178711, 0.005934080123901367, 0.005952511787414551, 0.0059443521499633785, 0.005949440002441406, 0.005934080123901367, 0.005975039958953857, 0.006022143840789795, 0.00603545618057251, 0.005888000011444092, 0.0059391999244689945, 0.005874688148498535, 0.005937151908874512, 0.005916672229766846, 0.005889023780822754, 0.005734399795532226, 0.005768191814422607, 0.0057497601509094234, 0.005754879951477051, 0.005756927967071533, 0.00568012809753418, 0.005745632171630859, 0.005709824085235596, 0.005708799839019775, 0.005666816234588623, 0.005692416191101074, 0.005710847854614258, 0.005721055984497071, 0.005693439960479736, 0.005713920116424561, 0.005681151866912842, 0.00582041597366333, 0.005679103851318359, 0.0056514558792114256, 0.005661664009094239, 0.005718080043792725, 0.005668863773345947, 0.005690368175506591, 0.005679103851318359, 0.005750783920288086, 0.005742591857910156, 0.005682240009307862, 0.005662720203399658, 0.00569155216217041, 0.005700543880462646, 0.00572108793258667, 0.005744639873504639, 0.005832608222961426, 0.006024191856384278, 0.005824512004852295, 0.005822463989257813, 0.006024191856384278, 0.006200255870819092, 0.006065248012542724, 0.0059391999244689945, 0.005874559879302978, 0.005920767784118652, 0.005836863994598388 ], "count": 166, "total": 0.9999361901283264, "mean": 0.006023711988724857, "p50": 0.0060431680679321285, "p90": 0.006245887994766235, "p95": 0.006359040021896363, "p99": 0.006893516898155211, "stdev": 0.00023302211419767136, "stdev_": 3.8684139386783523 }, "throughput": { "unit": "samples/s", "value": 332.02118622928623 }, "energy": { "unit": "kWh", "cpu": 6.935756434915894e-08, "ram": 3.766205160117378e-08, "gpu": 1.4921846562791468e-07, "total": 2.562380815782474e-07 }, "efficiency": { "unit": "samples/kWh", "value": 7805241.077678222 } } } }