AI ShortsOpen the app
Under the Hood ยท

How NVIDIA's NIM tuning gets up to twice the speed

NVIDIA says its ready-to-run AI model packages now serve up to twice as many words per graphics card as the same model on a default open-source engine. A software agent tries settings, tests them, and keeps winners. Across 37 models the average gain is 1.39 times, and some models gained almost nothing.

What it is: NVIDIA's technical blog says NIM microservices deliver up to 2x output-token throughput per GPU compared with the same model on a default open-source engine, on Blackwell and Hopper GPUs.

How it works inside: An automated loop has an AI agent propose configuration changes from earlier benchmark data. A deterministic ranker picks up to five non-conflicting candidates, which are benchmarked on dedicated GPUs. Settings covered include the memory cache precision (FP8 KV cache), batching, CUDA graph sizes and speculative decoding. Winners must beat both the default engine and the existing NIM profile, then pass engineering review. Examples: Gemma 4 26B A4B on H200 gained 2x, Llama 3.1 8B on GB300 NVL72 gained 1.96x.

Why it was built this way: The goal was maximum throughput per GPU under limits of 20 ms between tokens and 10 s to the first token, holding the model weights, precision and context length fixed.

Limits: 2x is a best case; the geometric mean over 58 model and GPU combinations is 1.39x. Nemotron 3 Nano on B200 and Mistral Small 4 on H200 stayed within about 3%. These are NVIDIA's own benchmarks. NVIDIA did not say which model powers the agent, its prompts, or the exact baseline engine version.

New to this? The key idea

Serving a model fast is mostly about settings: how requests are grouped, how much memory is spent remembering earlier text, and how numbers are rounded. Think of a restaurant kitchen where the same chefs serve far more tables after the stations are rearranged. The model itself does not change.

Use it at work

Use it for: Teams that host open models on NVIDIA hardware and pay for GPU hours. It tells you where the speed is: cache precision, batching and speculative decoding, not new model weights. Expect big gains on some model and card pairs and none on others.

Copy this: Automate your own tuning. Fix the model, precision and context length. Define a target (throughput per GPU) and hard limits (inter-token latency, time to first token). Let an agent propose a few settings at a time, benchmark each, discard runs with over 1 percent request errors, and require human review before shipping.

Try it: Benchmark your current model under your real traffic mix first, then compare against a NIM profile for the same model and GPU. Results vary by hardware, so test on the cards you will actually use.

Summaries are written by AI from the linked source. Always check the original.

Get AI Shorts by email

Every morning, the day's stories in one short email. Unsubscribe in one tap.