{ "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.223-212.873.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.34.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "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": 802.131968, "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.851044921875, "mean": 7.851044921875, "stdev": 0.0, "p50": 7.851044921875, "p90": 7.851044921875, "p95": 7.851044921875, "p99": 7.851044921875, "values": [ 7.851044921875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.1251708777782219e-06, "ram": 5.625819051912601e-07, "gpu": 1.691668019999839e-06, "total": 3.379420802969321e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1091.858432, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 149, "total": 0.9967676167488095, "mean": 0.00668971554864973, "stdev": 0.00029690876744786337, "p50": 0.006739967823028564, "p90": 0.006906879901885986, "p95": 0.006974668884277344, "p99": 0.008149401550292968, "values": [ 0.0069928960800170895, 0.0069928960800170895, 0.0069816322326660156, 0.007063551902770996, 0.006964223861694336, 0.006904831886291504, 0.006922239780426025, 0.006924287796020508, 0.006838272094726563, 0.006810624122619629, 0.007215104103088379, 0.006801407814025879, 0.006807551860809326, 0.006766592025756836, 0.006739967823028564, 0.00672870397567749, 0.006680575847625733, 0.006766592025756836, 0.00675328016281128, 0.006766592025756836, 0.0068055038452148435, 0.006830080032348633, 0.006782976150512696, 0.0067717118263244626, 0.006744063854217529, 0.006715392112731934, 0.006744063854217529, 0.006906879901885986, 0.00688640022277832, 0.006789120197296142, 0.006809599876403808, 0.006806528091430664, 0.006767615795135498, 0.006784895896911621, 0.006801439762115479, 0.006788095951080322, 0.006744063854217529, 0.006803455829620361, 0.006706175804138184, 0.0066406397819519045, 0.006639616012573242, 0.006743040084838867, 0.0067870721817016606, 0.006761472225189209, 0.006725632190704346, 0.00672870397567749, 0.006717440128326416, 0.006792191982269287, 0.006852608203887939, 0.006863872051239014, 0.0068689918518066405, 0.006931456089019775, 0.006810624122619629, 0.006791168212890625, 0.006743040084838867, 0.006779903888702392, 0.0067870721817016606, 0.006816864013671875, 0.006817791938781738, 0.006808576107025147, 0.006732800006866455, 0.006781760215759277, 0.006691840171813965, 0.006717440128326416, 0.00679423999786377, 0.0067358717918396, 0.0067276802062988285, 0.00684441614151001, 0.006751232147216797, 0.00675328016281128, 0.006683648109436035, 0.006754303932189941, 0.00667955207824707, 0.006706175804138184, 0.0067420158386230465, 0.006752255916595459, 0.006776832103729248, 0.006941696166992187, 0.006859776020050049, 0.006780928134918213, 0.006840320110321045, 0.006941696166992187, 0.006846464157104492, 0.006770688056945801, 0.006747136116027832, 0.006732704162597657, 0.006609920024871826, 0.006750207901000976, 0.006711296081542969, 0.006651904106140137, 0.006654975891113281, 0.006559743881225586, 0.006594560146331787, 0.006677504062652588, 0.006510655879974365, 0.006362112045288086, 0.006404096126556396, 0.006433792114257812, 0.006782976150512696, 0.008125439643859863, 0.008171520233154296, 0.008252415657043457, 0.006800320148468018, 0.006906879901885986, 0.006686719894409179, 0.0066375679969787596, 0.006620160102844238, 0.0064778242111206055, 0.0063907837867736815, 0.0064737281799316405, 0.006394879817962646, 0.006456319808959961, 0.006432767868041992, 0.006411263942718506, 0.006464511871337891, 0.006425600051879882, 0.00638976001739502, 0.006409215927124024, 0.0063498239517211915, 0.006415359973907471, 0.006387712001800537, 0.006401055812835693, 0.006412288188934326, 0.0064102401733398436, 0.006372352123260498, 0.006401023864746094, 0.006347775936126709, 0.006408224105834961, 0.006330368041992188, 0.006366208076477051, 0.006275072097778321, 0.006272031784057617, 0.006289408206939697, 0.006285312175750732, 0.00632428789138794, 0.006299647808074951, 0.006352896213531494, 0.006307839870452881, 0.006335487842559814, 0.006311935901641846, 0.006275072097778321, 0.006347775936126709, 0.006359039783477783, 0.006391808032989502, 0.006355967998504639, 0.006400000095367431, 0.006440959930419922, 0.006369279861450195, 0.006635519981384277 ] }, "throughput": { "unit": "samples/s", "value": 149.48318694983115 }, "energy": { "unit": "kWh", "cpu": 7.985174998135416e-08, "ram": 4.365406248539712e-08, "gpu": 1.4158661587919298e-07, "total": 2.6509242834594426e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3772269.190182245 } } } }