Skip to main content

News

NVIDIA NIM Tuning Doubles Throughput for Open Models on GPUs

NVIDIA NIM tuning achieves up to 2x token throughput per GPU for open models, leveraging automated optimization workflows on Blackwell and Hopper GPUs.

X LinkedIn
NVIDIA NIM Tuning Doubles Throughput for Open Models on GPUs

NVIDIA has announced that its NIM (Neural Inference Microservices) tuning framework can deliver up to 2x the output-token throughput per GPU for open models, compared to default open-source engines. The performance gains are achieved through an automated agentic tuning workflow that optimizes runtime configurations, including key-value (KV) cache precision, batching, CUDA graph sizes, kernel selection, and speculative decoding. These optimizations are validated against both default engine configurations and existing NIM profiles.

Benchmarking Methodology and Results

The benchmarks evaluated NVIDIA NIM tuning across 37 open models and 58 model-GPU combinations on NVIDIA Blackwell (B200), Hopper (H200), and GB300 NVL72 systems. The geometric mean throughput gain was 1.39x, with specific models achieving up to 2x improvement. Key results include:

  • Gemma 4 26B A4B IT: 2.01x on one NVIDIA H200 GPU at concurrency 8, achieving 14.5 ms inter-token latency (ITL) and 1.2 s time to first token (TTFT).
  • Llama-3.1-8B-Instruct: 1.96x on NVIDIA GB300 NVL72 at concurrency 32, with 15.4 ms ITL and 334 ms TTFT.
  • NVIDIA Nemotron 3.5 Lightning 30B: 1.88x on one NVIDIA B200 GPU at concurrency 64, achieving 11.8 ms ITL and 1.5 s TTFT.
  • GPT-OSS-120B: 1.82x on one NVIDIA B200 GPU with EAGLE3 speculative decoding at concurrency 16, achieving 7.1 ms ITL and 278 ms TTFT.

These results were achieved while maintaining latency constraints of 20 ms mean ITL and 10 s mean TTFT. Profiles that failed to meet these criteria or exceeded a 1% request error rate were excluded.

Key Optimization Techniques

The NIM framework employs several advanced techniques to optimize inference performance:

  • Speculative Decoding: Multi-token prediction methods, such as EAGLE3, allow the engine to emit multiple tokens per decode step, increasing throughput under the same ITL budget.
  • KV Cache Precision: Using FP8 KV cache reduces storage requirements, enabling larger batch sizes and improving efficiency.
  • CUDA Graph Captures: Larger graph captures reduce per-step launch overhead, enhancing throughput.
  • Hardware-Specific Tuning: Dense models benefit from the higher memory bandwidth of B200 GPUs, while mixture-of-experts (MoE) models on H200 GPUs gain more from speculative decoding.

Model and Hardware Variability

Performance improvements varied significantly by model architecture and hardware:

  • Largest Gains: Gemma 4 26B on H200 (2.01x) and Llama 3.1 8B Instruct on GB300 (1.96x).
  • Smallest Gains: Models like Nemotron 3 Nano and Mistral Small 4 showed minimal improvement where default settings were already near optimal.
  • Hardware Dependence: Mistral Small 4 gained 1.63x on B200 but showed no improvement on H200, while Nemotron 3 Super gained more on H200 (1.71x) than B200 (1.47x).

Implications for Inference Teams

By providing pre-tuned profiles for supported models and GPUs, NVIDIA NIM reduces the time and effort required for inference teams to optimize new open models. The framework ensures that only configurations outperforming both the baseline and existing NIM profiles are shipped, offering a reliable starting point for production deployments.

Sign in to save this article Free account: build your research collection and return to read it anytime.