Skip to content
inference.academy

glossary/precision/weight-only-quantization

Weight-only quantization

also W4A16, GPTQ, AWQ

Storing the weights in four or eight bits and converting them back to 16 on the way into the multiply, leaving activations at full precision. It cuts the bytes read per decode step without needing low-precision tensor cores, so it speeds up memory-bound decode on any GPU. It does nothing for compute-bound prefill, and the dequantisation adds work, so at large batch it can be slower than BF16.


4x fewer bytes

Per decode step at 4-bit weights, the whole gain, since the arithmetic is unchanged.


See it happen


Related