Define activation quantization and explain how W8A8 differs from weight-only quant.
Activation quantization stores the per-token tensors flowing between layers in INT8 or FP8. W8A8 quantizes both weights and activations, so the matmul itself runs at low precision, halving compute as well as memory.
Imagine a factory line. The machines are the model's learned coefficients, and the half-finished products moving from station to station are the in-flight numbers between layers. Compressing only the machines into smaller cabinets saves floor space, but the products are still passed around in big crates that the machines have to unpack before each step. W8A8 is the recipe that also compresses the crates into compact 8-bit packages, so each station receives small parcels and works on them directly. Less storage, faster handoff, less unpacking. The trade-off is that the smaller crates have less precision; rare odd-shaped products can get squashed in transit, which is why the compression step needs careful calibration to keep flavor.
Detailed answer & concept explanation~6 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
2 min: weights versus activations + why weight-only stays at BF16 matmul + how W8A8 unlocks low-precision tensor cores + outlier handling + INT8 versus FP8 in 2026.
Real products, models, and research that use this idea.
- NVIDIA TensorRT-LLM ships FP8 W8A8 as the default low-precision recipe on H100 and B200 for Llama 4, Qwen 3, and DeepSeek V4 deployments.
- vLLM supports both INT8 W8A8 (with SmoothQuant calibration) and FP8 W8A8 as first-class quantization paths for production serving.
- SmoothQuant (Xiao et al.) is the canonical outlier-handling technique that made W8A8 viable on transformer activations.
- GPTQ and AWQ are weight-only recipes that pair well with W8A8 activation quantization for deployment stacks that need both bandwidth and compute wins.
- Anthropic, OpenAI, and DeepSeek production stacks all ship FP8 W8A8 internally to extract the maximum throughput from their Hopper and Blackwell fleets.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy does SmoothQuant migrate outlier magnitude from activations to weights instead of clipping them?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Believing weight-only quantization gives the same speedup as W8A8. Weight-only cuts memory, but the matmul still runs in FP16. Only W8A8 reaches the INT8 or FP8 tensor-core path.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.