Zenaique

Why quantization choice is an LLMOps decision, not just a serving runtime knob

Flashcard·Medium·4.0 · 0·~30s·Asked atJasperLightning AiMckinsey
Attempt it
TL;DR

Quantization shifts output quality, not just throughput; any change to it needs the eval gate, which makes it an LLMOps decision and not just an infra one.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

Imagine a piano with finely-tuned strings. Picture replacing them with cheaper ones that are almost in tune but a tiny bit off. The piano still plays every song, but a trained ear notices the difference on certain pieces. Think of squeezing a number into fewer digits the same way. The cheaper strings are nearly identical on simple songs and noticeably off on hard pieces. Whether the change is okay depends on what songs the piano plays. The musician (the application team) has to listen and approve, not just the piano-tuner (the infra team) who only cares the strings cost less and the keys still go down.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

Quantization gets pitched as an infra optimization: same model, fewer bits per weight, more requests per GPU, lower bill. The pitch is half-true. The throughput and cost wins are real; the implication that nothing else changes is not.

Quantization perturbs the model's numerical behavior. On benchmarks, the perturbation shows up as a one to three point score drop at INT4, often less at INT8, and sometimes near-zero at FP8. On a specific application's task distribution, the perturbation can be larger or smaller than the benchmark suggests. That uncertainty is why the decision belongs to LLMOps, not infra alone.

The 2026 quality ladder

The current quantization options for self-hosted LLM serving, ordered roughly from highest quality to lowest:

FP16/BF16. The conventional baseline. Most published benchmarks and published model weights are at this precision.

FP8. Supported in hardware on NVIDIA Hopper (H100, H200) and Blackwell (B100), and on AMD MI300 series. Quality is typically within 0.5 points of FP16 on standard benchmarks; throughput on supported hardware is meaningfully higher than FP16. The current sweet spot for teams with access to the hardware.

INT8. Near-lossless on most text tasks; modest throughput win over FP16 on most hardware. The conservative choice when FP8 hardware is not available.

INT4. Multiple methods (AWQ, GPTQ, SmoothQuant). Quality typically drops 1 to 3 points on hard benchmarks (MMLU, math, code generation), sometimes more on long-context or reasoning-heavy tasks, sometimes less on conversational tasks. The biggest throughput win, often doubles requests per second per GPU.

The ladder is not strictly monotone across all tasks. A specific (model, method, task) combination can defy expectations. Llama-3-70B at INT4-AWQ may hold MMLU within 1 point while losing 4 points on math. Qwen at INT8 may match FP16 within noise on chat but show measurable drift on structured-output tasks.

This variance is why the application's own eval set is the only reliable signal. Published benchmark numbers are inputs, not answers.

Why behavior change makes it an LLMOps decision
Method differences within a bit count
Calibration sets matter
KV cache quantization as a separate decision
The broader pattern: quality-touching infra changes need the gate
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • vLLM ships AWQ, GPTQ, FP8, and INT8 paths; SGLang and TGI cover similar ground with different default kernels.
  • NVIDIA TensorRT-LLM exposes hardware-optimized FP8 and INT4 paths on H100/H200 with Marlin kernels for INT4 throughput.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QHow would you decide between AWQ and GPTQ for a specific model deployment?
A

Run both quants through the application eval gate on the same calibration set, compare per-metric scores; AWQ tends to win on outlier-heavy distributions, GPTQ on more uniform ones.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Letting the infra team ship an INT4 quant for the cost win without running the application's eval set against it, then discovering a quality regression weeks later from customer feedback.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • The rough quality ladder: FP16, FP8, INT8, INT4

  • Why quantization changes behavior and not just performance

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
Why a circuit breaker around the primary LLM provider is more than a fancy retry
Flashcard·Medium