Skip to content
inference.academy

glossary/precision/activation-quantization

Activation quantization

also W8A8, SmoothQuant

Quantizing the activations flowing between layers as well as the weights, so the matmul itself runs in low precision on the tensor cores. This is what turns a memory saving into a compute saving: W8A8 runs at the INT8 or FP8 rate, twice BF16. Activations have outliers that resist naive rounding; SmoothQuant migrates that difficulty into the weights, which quantize more easily.


2x compute

The tensor core rate gain from 8-bit matmuls, on top of half the bytes, which is why it helps prefill where weight-only does not.


Related