{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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.223-211.872.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.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.1", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 789.909504, "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.65292333984375, "mean": 7.65292333984375, "stdev": 0.0, "p50": 7.65292333984375, "p90": 7.65292333984375, "p95": 7.65292333984375, "p99": 7.65292333984375, "values": [ 7.65292333984375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.075779573611789e-06, "ram": 5.635637367262178e-07, "gpu": 1.8141681180001458e-06, "total": 3.453511428338153e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1080.111104, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 140, "total": 0.9958571524620059, "mean": 0.007113265374728612, "stdev": 0.0002980955571365957, "p50": 0.007136255979537964, "p90": 0.007416144132614136, "p95": 0.007536742568016052, "p99": 0.008141906642913812, "values": [ 0.007396351814270019, 0.007401472091674805, 0.007602176189422607, 0.00743936014175415, 0.007461887836456299, 0.007418879985809326, 0.007415840148925781, 0.007365632057189942, 0.00753868818283081, 0.007766079902648926, 0.007265279769897461, 0.007134208202362061, 0.007241727828979493, 0.007188479900360107, 0.00719974422454834, 0.007142399787902832, 0.007006207942962647, 0.007013376235961914, 0.007002111911773682, 0.006922239780426025, 0.00686787223815918, 0.006971392154693603, 0.007527423858642578, 0.007310336112976074, 0.007418879985809326, 0.007360511779785156, 0.007203936100006103, 0.007135231971740722, 0.007137279987335205, 0.007260159969329834, 0.007259263992309571, 0.007147520065307617, 0.0071905279159545895, 0.00722431993484497, 0.007201791763305664, 0.007185408115386963, 0.00704095983505249, 0.007220096111297607, 0.007157760143280029, 0.0073431038856506346, 0.007266304016113281, 0.007138304233551026, 0.007165952205657959, 0.007007232189178467, 0.007053311824798584, 0.00706166410446167, 0.007093088150024414, 0.007176191806793213, 0.007157760143280029, 0.00704204797744751, 0.006858751773834228, 0.0068884482383728025, 0.007005184173583984, 0.007357279777526856, 0.007536640167236328, 0.007309311866760254, 0.007273600101470947, 0.007260320186614991, 0.007230495929718018, 0.007153664112091064, 0.007128064155578613, 0.007184383869171143, 0.007443456172943115, 0.00725708818435669, 0.007041056156158448, 0.007142399787902832, 0.007206912040710449, 0.007205887794494629, 0.007266240119934082, 0.007315455913543701, 0.007198719978332519, 0.0071198720932006835, 0.007258111953735351, 0.007187456130981445, 0.0071157760620117185, 0.0071198720932006835, 0.007089280128479004, 0.007076863765716553, 0.00715990400314331, 0.007113728046417236, 0.00860979175567627, 0.008320096015930176, 0.007301023960113525, 0.007658559799194336, 0.007331679821014405, 0.007393280029296875, 0.007863200187683106, 0.007164927959442138, 0.007197696208953858, 0.0072293438911437986, 0.007203839778900147, 0.007062528133392334, 0.007166975975036621, 0.007120031833648682, 0.007079936027526855, 0.007164927959442138, 0.006914015769958496, 0.007046144008636474, 0.00723967981338501, 0.006944767951965332, 0.0067358717918396, 0.006716320037841797, 0.006767615795135498, 0.0068280320167541505, 0.006842368125915528, 0.0069324798583984375, 0.006968319892883301, 0.006939648151397705, 0.007071584224700928, 0.007122943878173828, 0.006907904148101806, 0.006849535942077637, 0.00694704008102417, 0.006945792198181152, 0.006862847805023193, 0.006817728042602539, 0.006914048194885254, 0.006822912216186523, 0.006773759841918945, 0.0066499199867248535, 0.0066936640739440915, 0.006721536159515381, 0.006650879859924317, 0.006687744140625, 0.00669593620300293, 0.006633471965789795, 0.006680575847625733, 0.006670335769653321, 0.006643487930297852, 0.0066406397819519045, 0.006680575847625733, 0.006793216228485107, 0.006721536159515381, 0.006862847805023193, 0.007180287837982178, 0.006842368125915528, 0.006785024166107178, 0.006722559928894043, 0.006675456047058105, 0.0066938881874084475 ] }, "throughput": { "unit": "samples/s", "value": 140.58241149735713 }, "energy": { "unit": "kWh", "cpu": 7.519525679940036e-08, "ram": 4.098671632198466e-08, "gpu": 1.429009582025348e-07, "total": 2.5908293132391986e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3859767.9703945625 } } } }