Skip to content

LLM inference serving · 7 of 9

The compressed model that slowed down at peak

Step 1 · The pattern

A 16-bit model on one server

The model runs in 16-bit precision on one inference server, batching requests together. It is accurate, but memory-hungry and not cheap. (All numbers are illustrative.)

  • a request
  • served

In short

The compressed model that slowed down at peak: how it works and how it breaks

Quantisation stores a model's numbers in fewer bits: 8 or 4 instead of 16. The model needs less GPU memory and often runs faster, so it looks like free money. A study of more than half a million evaluations across the Llama 3.1 family found 8-bit floating point effectively lossless, well-tuned 8-bit integers within 1 to 3% accuracy, and 4-bit weight-only formats surprisingly competitive. Speed is where the trap is. The same study found 4-bit weight-only the most cost-efficient when requests run one at a time, while 8-bit weights and activations did best under continuous batching, where many requests share the GPU. Benchmark with one user, ship the 4-bit model to a busy service, and the peak can be slower than before. Pick the format by testing accuracy on your own tasks and speed at your real concurrency.

What this simulation simplifies

  • Request times are fixed per format and load level; real behaviour depends on hardware, engine and batch size.
  • One server stands for a fleet.

How this comes up in interviews

"Would you quantise the model for a high-traffic chat service? How would you decide?"

Then they ask

  1. What can go wrong with accuracy?
  2. Why might it be slower?
  3. How do you test it?

A strong answer covers

  • Fewer bits: less memory, often faster, small accuracy cost.
  • 8-bit is near lossless; 4-bit weight-only competitive on accuracy.
  • Speed depends on concurrency: 4-bit weight-only suits low concurrency, 8-bit heavy batching.
  • Test accuracy on your tasks and speed at production load.
  • Roll out gradually, watching quality and latency.

Points to cover, not a script. Say them in your own words and tie them to a system you have worked on.

On one page: the track cheat sheet.

Last reviewed: Research paper

Diagrams are our own simulations: the timings, rates and counts in them are illustrative, not measurements. Captions are original wording.