Standalone · Serving

Model-Optimizer: the quantization toolkit

Quantization is the easiest 2-4x you'll ever get. NVIDIA's Model Optimizer makes it a first-class tool: NVFP4, FP8, INT8, INT4, with algorithms that preserve quality.

Quantization is the easiest 2-4x you'll ever get. It doesn't require new hardware, new kernels, or new architecture. It just requires the right tooling to do it without wrecking quality. NVIDIA's Model Optimizer is that tooling.

What Model Optimizer is

Model Optimizer is a unified library of state-of-the-art model optimization techniques: quantization, distillation, pruning, neural architecture search, and speculative decoding. It compresses models for downstream deployment frameworks like TensorRT-LLM, TensorRT, and vLLM, to optimize inference speed.

The key word is unified: instead of stitching together separate tools for each technique, you get one library that does them all, with output that drops straight into your serving runtime.

The quantization formats

Model Optimizer supports all of them, plus advanced algorithms like SmoothQuant that shift the quantization burden from activations to weights, where it's easier to absorb.

The quality-preservation algorithms

Raw quantization loses quality. The algorithms in Model Optimizer are designed to minimize that loss:

Mental model

Quantization is like compressing a photo to JPEG. Done naively, you get artifacts. Done with the right algorithm, nobody can tell the difference and the file is a quarter the size.

Why it matters for serving

The takeaway

Quantization is the easiest 2-4x you'll ever get, and with the right tooling it doesn't have to cost quality.

Sources

Back to the blog