{ "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.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.281152, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.98956640625, "mean": 7.98956640625, "stdev": 0.0, "p50": 7.98956640625, "p90": 7.98956640625, "p95": 7.98956640625, "p99": 7.98956640625, "values": [ 7.98956640625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.467885041674991e-06, "ram": 1.3337342495780554e-06, "gpu": 3.1697247580148025e-06, "total": 6.971344049267849e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1088.188416, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 148, "total": 1.0006987833976744, "mean": 0.006761478266200504, "stdev": 0.0001945488897553889, "p50": 0.0067338237762451176, "p90": 0.006908518314361573, "p95": 0.00703841290473938, "p99": 0.007580064282417298, "values": [ 0.006849535942077637, 0.006795263767242431, 0.006833151817321777, 0.00683622407913208, 0.006707136154174805, 0.00676966381072998, 0.006892543792724609, 0.006799359798431396, 0.00673689603805542, 0.006782976150512696, 0.006754303932189941, 0.006709248065948486, 0.006774784088134766, 0.006795263767242431, 0.006691840171813965, 0.0066344962120056155, 0.006752255916595459, 0.006715392112731934, 0.006702079772949219, 0.006790143966674805, 0.006774784088134766, 0.00678604793548584, 0.006804480075836182, 0.006770688056945801, 0.006663167953491211, 0.006716415882110595, 0.00675328016281128, 0.0067870721817016606, 0.00672870397567749, 0.006797311782836914, 0.006773759841918945, 0.0067420158386230465, 0.006743040084838867, 0.00672870397567749, 0.006709248065948486, 0.0067573761940002445, 0.006762495994567871, 0.006708223819732666, 0.006632448196411133, 0.0066938881874084475, 0.006710271835327148, 0.006717440128326416, 0.006789120197296142, 0.006737919807434082, 0.0066826238632202144, 0.00672156810760498, 0.006752255916595459, 0.0067338237762451176, 0.006790143966674805, 0.006817791938781738, 0.0067338237762451176, 0.0072202239036560055, 0.007135231971740722, 0.007029759883880615, 0.0070256638526916505, 0.006754303932189941, 0.006802432060241699, 0.006780928134918213, 0.006713344097137451, 0.006811647891998291, 0.006815743923187256, 0.006687744140625, 0.0066938881874084475, 0.0068853759765625, 0.007008255958557129, 0.007189504146575928, 0.0070891518592834475, 0.006998015880584717, 0.00704307222366333, 0.007045119762420654, 0.0066979842185974124, 0.006739967823028564, 0.006749184131622315, 0.0066938881874084475, 0.006738944053649902, 0.00677785587310791, 0.006793216228485107, 0.006795263767242431, 0.006808576107025147, 0.0067870721817016606, 0.006749184131622315, 0.0067358717918396, 0.00675328016281128, 0.006726655960083008, 0.006680575847625733, 0.0067686400413513184, 0.0067123198509216305, 0.006665215969085693, 0.006684671878814697, 0.006505504131317139, 0.006486015796661377, 0.0066713600158691405, 0.0066007041931152345, 0.0064440321922302245, 0.006371327877044678, 0.006352896213531494, 0.0064133119583129885, 0.0068618240356445315, 0.006823935985565186, 0.006808576107025147, 0.0068915200233459475, 0.006949888229370117, 0.007018496036529541, 0.006945792198181152, 0.006707200050354004, 0.006665215969085693, 0.008094719886779785, 0.007899168014526368, 0.006806528091430664, 0.006689727783203125, 0.0066641921997070315, 0.006738912105560302, 0.006713344097137451, 0.006658048152923584, 0.006744063854217529, 0.00674508810043335, 0.006631423950195312, 0.006726655960083008, 0.006654975891113281, 0.006612991809844971, 0.006631423950195312, 0.0066743998527526854, 0.006632448196411133, 0.006710271835327148, 0.006673408031463623, 0.006651904106140137, 0.006645760059356689, 0.006675456047058105, 0.006652927875518798, 0.006622208118438721, 0.006619135856628418, 0.006642687797546387, 0.006653952121734619, 0.006681600093841553, 0.006707200050354004, 0.0066375679969787596, 0.006676479816436768, 0.006716415882110595, 0.006683648109436035, 0.006681600093841553, 0.0066713600158691405, 0.006675456047058105, 0.006675456047058105, 0.006676479816436768, 0.006617087841033936, 0.006680575847625733, 0.006665215969085693, 0.006738944053649902 ] }, "throughput": { "unit": "samples/s", "value": 147.8966522748187 }, "energy": { "unit": "kWh", "cpu": 7.900590703704641e-08, "ram": 4.317257535483239e-08, "gpu": 1.3932788924003737e-07, "total": 2.6150637163191615e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3823998.603779919 } } } }