{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.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": 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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.45.0", "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.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 804.00384, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 0.22179840087890626, "mean": 0.22179840087890626, "stdev": 0.0, "p50": 0.22179840087890626, "p90": 0.22179840087890626, "p95": 0.22179840087890626, "p99": 0.22179840087890626, "values": [ 0.22179840087890626 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.607056261674896e-06, "ram": 1.409818901122244e-06, "gpu": 3.6086139979518705e-06, "total": 7.625489160749011e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1078.5792, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.992512 }, "latency": { "unit": "s", "count": 171, "total": 0.9967310099601743, "mean": 0.005828836315556576, "stdev": 0.00021928083855933233, "p50": 0.005877696037292481, "p90": 0.006025216102600098, "p95": 0.0060492799282073975, "p99": 0.006534144067764286, "values": [ 0.005819392204284668, 0.005943295955657959, 0.005877696037292481, 0.005823488235473633, 0.005833727836608887, 0.005824512004852295, 0.005799935817718506, 0.005754879951477051, 0.005768256187438965, 0.005723135948181152, 0.005772287845611572, 0.005675007820129394, 0.005687359809875488, 0.005646336078643799, 0.005912576198577881, 0.00601804780960083, 0.0060282878875732426, 0.0059955201148986816, 0.005896192073822021, 0.005836800098419189, 0.005898240089416504, 0.006001664161682129, 0.005994495868682862, 0.005976064205169678, 0.006047743797302246, 0.006013951778411865, 0.006022143840789795, 0.005996543884277344, 0.0059770879745483394, 0.005888000011444092, 0.0059688959121704105, 0.005974016189575195, 0.00601804780960083, 0.005991424083709717, 0.006024191856384278, 0.006001664161682129, 0.006057983875274659, 0.0060067839622497555, 0.006047743797302246, 0.005972991943359375, 0.006009856224060059, 0.005996543884277344, 0.0060067839622497555, 0.00601087999343872, 0.0059770879745483394, 0.005899263858795166, 0.0058787841796875, 0.0058501439094543455, 0.005945407867431641, 0.005912576198577881, 0.005925888061523437, 0.005928959846496582, 0.005963776111602783, 0.00591871976852417, 0.005945343971252442, 0.006009856224060059, 0.006007808208465576, 0.006022143840789795, 0.006051839828491211, 0.005991424083709717, 0.006030335903167725, 0.005963776111602783, 0.005962751865386963, 0.005914624214172363, 0.006128608226776123, 0.0060282878875732426, 0.006046720027923584, 0.005972991943359375, 0.0060293121337890625, 0.005916672229766846, 0.006008831977844238, 0.005931007862091065, 0.005856256008148194, 0.00586240005493164, 0.005949440002441406, 0.005914624214172363, 0.00616755199432373, 0.006050816059112549, 0.005991424083709717, 0.0067276802062988285, 0.006451200008392334, 0.006976511955261231, 0.00591974401473999, 0.005948416233062744, 0.005921823978424072, 0.0059054079055786135, 0.005909503936767578, 0.005946368217468262, 0.006025216102600098, 0.006041600227355957, 0.0059955201148986816, 0.006025216102600098, 0.005982207775115967, 0.006013951778411865, 0.005986303806304932, 0.006050816059112549, 0.005924863815307617, 0.005943295955657959, 0.005886975765228271, 0.005847040176391601, 0.0059955201148986816, 0.005834752082824707, 0.005783552169799804, 0.005794816017150879, 0.005689343929290771, 0.005654528141021729, 0.005817344188690185, 0.005850111961364746, 0.005659647941589355, 0.005542912006378174, 0.005590015888214111, 0.005629951953887939, 0.005692416191101074, 0.005686272144317627, 0.005743648052215576, 0.005694464206695556, 0.005694464206695556, 0.00587059211730957, 0.00595359992980957, 0.005908480167388916, 0.005652480125427246, 0.005650432109832764, 0.005590015888214111, 0.005560319900512695, 0.005640192031860352, 0.0055511040687561035, 0.005608448028564453, 0.005567488193511963, 0.0055582718849182125, 0.005598207950592041, 0.005607391834259033, 0.005617663860321045, 0.005598207950592041, 0.005567488193511963, 0.005626880168914795, 0.005600255966186523, 0.005607423782348633, 0.0055582718849182125, 0.005581823825836182, 0.005557248115539551, 0.0056258559226989744, 0.005595136165618897, 0.0055848960876464845, 0.005583871841430664, 0.005566463947296142, 0.00558073616027832, 0.005598207950592041, 0.005567520141601562, 0.005647359848022461, 0.005641215801239013, 0.005581823825836182, 0.005596159934997558, 0.005552127838134766, 0.005571584224700928, 0.0055623679161071774, 0.005570559978485107, 0.005595136165618897, 0.005553152084350586, 0.00557260799407959, 0.0055316481590271, 0.0055766720771789555, 0.005574656009674072, 0.005565440177917481, 0.005560256004333496, 0.005541888236999512, 0.005549056053161621, 0.005561344146728516, 0.005571584224700928, 0.0055623998641967775, 0.00552243185043335, 0.0055552000999450684 ] }, "throughput": { "unit": "samples/s", "value": 171.56083064660794 }, "energy": { "unit": "kWh", "cpu": 6.24374715065727e-08, "ram": 3.4120308359790396e-08, "gpu": 1.268041950108767e-07, "total": 2.2336197487723978e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4477037.779369573 } } } }