All glossary terms

Efficiency

FP8 quantization

Storing model weights as 8-bit numbers instead of 16-bit halves their size. A model that needed two cards shrinks onto one, and decode reads less data.

Deep learning weights ship in 16-bit floats as a default. Half the values fit in 8-bit with almost no visible quality change, and the memory halves with them: a 70-billion-parameter model goes from about 140 GB to about 70 GB. Quantization is the umbrella term; FP8 is the serving-era variant people actually deploy for both weights and, carefully, activations.

The reason it helps serving so much is that decode reads the entire model every step. Halve the bytes and you double the tokens-per-second ceiling from bandwidth alone, before touching any software. Halve the weights and you also double how many users fit next to the model before the KV cache runs out of room.

It is not free, and the honest answer names the costs. Extreme values (outliers) in activations can wreck accuracy, so FP8 requires calibrated scales computed from real activations, and some sensitive layers are held in higher precision. The KV cache can be kept in 8-bit too, which doubles concurrency again, at the cost of one more error source to measure.

The usual decision frame for an interview: quantize the weights when bandwidth or card count is the binding constraint; keep 16-bit when accuracy measurement, unusual numerical behavior, or vendor tooling makes the risk not worth it; and validate with your own eval set either way, not with a leaderboard.

A worked example

A 70B model on 80 GB H100 cards, each with about 3.35 TB/s of memory bandwidth, deciding between 16-bit and 8-bit weights.

  1. Weights in 16-bit: 70B x 2 bytes = 140 GB, which is 1.75 cards, so it needs two.
  2. Weights in 8-bit: 70B x 1 byte = 70 GB, which fits on one card with about 10 GB left for the KV cache.
  3. Decode is bandwidth-bound: 3.35 TB/s over 140 GB is 23.9 tokens per second; 3.35 TB/s over 70 GB is 47.9.

Same weights, half the bytes per element: 8-bit doubles the single-token decode ceiling and cuts the card count from two to one.

Where this shows up

Test yourself

Related terms