Lattice
Skip to content

Quantisation

Storing and computing model weights in fewer bits than they were trained in, to trade accuracy for memory and speed.

By Entry last reviewedmethod

What it implies

8-bit is nearly free in quality; 4-bit usually is not, and the method matters more than the bit count: AWQ and GPTQ are perceptually better than naive rounding at the same width. FP8 is the easier win on recent NVIDIA hardware. Quantisation changes your throughput numbers but not your architectural decisions, so do it after you have chosen a runtime, not before.

Tools in this index

Related terms

Rules of thumb

  • A definition is only useful next to the decision it changes. Read the linked layer to see where this term bites.
  • If a vendor's definition differs from this one, ask what it measures. Marketing definitions rarely name a number.
  • Every optimisation spends latency, memory or quality somewhere. Find out which before you turn it on.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.