{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+cu121", "_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": 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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 763.854848, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.4352119140625, "mean": 7.4352119140625, "stdev": 0.0, "p50": 7.4352119140625, "p90": 7.4352119140625, "p95": 7.4352119140625, "p99": 7.4352119140625, "values": [ 7.4352119140625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.118544277777526e-06, "ram": 5.973019977596054e-07, "gpu": 1.7027791400000408e-06, "total": 3.4186254155371724e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 957.464576, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 160, "total": 1.000108989238739, "mean": 0.006250681182742118, "stdev": 0.00020013473173951488, "p50": 0.006215167999267578, "p90": 0.006365798234939575, "p95": 0.006845132708549499, "p99": 0.0070046411561965945, "values": [ 0.007045119762420654, 0.006976511955261231, 0.0069253120422363285, 0.006908927917480469, 0.006960127830505371, 0.006916096210479736, 0.006843391895294189, 0.00687820816040039, 0.0073431038856506346, 0.006243328094482422, 0.006049791812896729, 0.006118400096893311, 0.00602623987197876, 0.006055935859680176, 0.005982207775115967, 0.006012928009033203, 0.005985280036926269, 0.006034431934356689, 0.005982207775115967, 0.006021120071411133, 0.006013951778411865, 0.006017024040222168, 0.005972000122070312, 0.006013951778411865, 0.00611737585067749, 0.006269951820373535, 0.006203360080718994, 0.00622489595413208, 0.006221824169158936, 0.006235136032104492, 0.006252543926239014, 0.0062197761535644535, 0.0062494721412658695, 0.0061859841346740725, 0.0062269439697265625, 0.006196224212646485, 0.006231040000915527, 0.006187007904052734, 0.0062156801223754886, 0.0062269439697265625, 0.006182911872863769, 0.006227968215942382, 0.006190080165863037, 0.0063170561790466305, 0.006207488059997559, 0.006246399879455566, 0.006219711780548096, 0.0062044157981872555, 0.0062494721412658695, 0.006201344013214111, 0.006243328094482422, 0.00620851182937622, 0.006245376110076905, 0.006214655876159668, 0.006252480030059814, 0.006247424125671387, 0.006178815841674804, 0.006250495910644531, 0.006209536075592041, 0.0062197761535644535, 0.0062055039405822755, 0.006235136032104492, 0.006276095867156982, 0.006187007904052734, 0.006285247802734375, 0.006180863857269287, 0.00624128007888794, 0.006223872184753418, 0.006248479843139649, 0.006180863857269287, 0.006210559844970703, 0.006263840198516846, 0.006168575763702393, 0.006228991985321045, 0.006207488059997559, 0.006218751907348633, 0.00618287992477417, 0.006223872184753418, 0.00621776008605957, 0.0061972799301147465, 0.006252543926239014, 0.006190080165863037, 0.006235136032104492, 0.006228991985321045, 0.006240255832672119, 0.006205440044403076, 0.006206463813781738, 0.0062197761535644535, 0.006168575763702393, 0.006229951858520508, 0.006189055919647217, 0.00623308801651001, 0.006217728137969971, 0.006221824169158936, 0.006184959888458252, 0.006204448223114014, 0.006230016231536865, 0.006170623779296875, 0.006223872184753418, 0.006189055919647217, 0.006212607860565185, 0.006178815841674804, 0.006189055919647217, 0.006179840087890625, 0.006195199966430664, 0.006213632106781006, 0.0061634559631347655, 0.00623308801651001, 0.006179840087890625, 0.0064839677810668945, 0.00638156795501709, 0.006405119895935059, 0.0064143362045288085, 0.006355967998504639, 0.006405119895935059, 0.006371327877044678, 0.006341631889343262, 0.006360064029693604, 0.006218751907348633, 0.006243328094482422, 0.006200319766998291, 0.0062341117858886715, 0.006238207817077636, 0.006235072135925293, 0.006269951820373535, 0.006205440044403076, 0.0062259202003479, 0.00619212818145752, 0.00619212818145752, 0.006269951820373535, 0.006182911872863769, 0.006258687973022461, 0.006177824020385742, 0.0061972479820251464, 0.006151167869567871, 0.006200319766998291, 0.006154240131378174, 0.006181920051574707, 0.006207488059997559, 0.006211584091186524, 0.00621670389175415, 0.006137856006622314, 0.006221824169158936, 0.006130688190460205, 0.006168575763702393, 0.006151167869567871, 0.006166528224945069, 0.006180863857269287, 0.00618393611907959, 0.006137856006622314, 0.0066416640281677245, 0.00636518383026123, 0.00621670389175415, 0.006284287929534912, 0.006246399879455566, 0.006195199966430664, 0.006168575763702393, 0.006124544143676758, 0.00618393611907959, 0.006139904022216797 ] }, "throughput": { "unit": "samples/s", "value": 159.9825636221793 }, "energy": { "unit": "kWh", "cpu": 7.151040704902762e-08, "ram": 3.9094251070526885e-08, "gpu": 1.352410720481931e-07, "total": 2.458457301677476e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4067591.4904752313 } } } }