Define activation quantization and explain how W8A8 differs from weight-only quant.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
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.
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.
What an interviewer would ask next. Try answering before peeking at the approach.
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.