mlprep
Medium15 min·2 rounds·Compression & Optimization

Walk me through post-training quantization for LLM serving: INT8, INT4 (AWQ/GPTQ), and FP8 trade-offs

Written by the mlprep team · Updated

Interviewer Mode
Interviewer

You're asked to cut GPU serving costs by 2× on an LLM deployment using post-training quantization. Compare weight-only quantization (W4A16 like AWQ/GPTQ) vs. weight-and-activation quantization (W8A8 INT8 and FP8). When does each actually speed up inference vs. slow it down?

Ready to compare your reasoning?
Interviewer

Beyond weights, what about quantizing the KV cache (e.g., FP8 KV cache)? And how do you evaluate whether quantization silently degraded model quality before shipping?

Ready to compare your reasoning?

The key takeaway unlocks after you reveal an expert answer.

Follow-up Questions to Test Yourself

Interviewers often pivot here once you cover the core concept.

  • Why are activation outliers much harder to quantize in INT8 than weight matrices, and how does SmoothQuant address this?
  • On an A100 vs. an H100, how does your quantization recommendation change?
  • What is the trade-off of smaller group sizes (e.g., 32 vs. 128) in W4A16 quantization?

How confident do you feel explaining this?

Track your understanding or flag it to revisit before your next loop.

Related Questions