Back to LLMs Mind Map
中文·English
LLMsID: smoothquant-awq-fp8

SmoothQuant/AWQ & FP8

激活异常值处理与 FP8
🎯Core Definition
Three advanced quantization schemes: SmoothQuant migrates activation outliers into weights via a mathematically equivalent transform — rewriting as Y=(Xdiag(s))(diag(s)1W)Y = (X \cdot \text{diag}(s)) \cdot (\text{diag}(s)^{-1} W) keeps the output unchanged but smooths the activation distribution so activations can go INT8 (W8A8); AWQ (Activation-aware Weight Quantization) identifies sensitive channels from activation statistics and protects the top 1% of important weight channels using only scale scaling (no training), achieving high-accuracy W4A16; FP8 offers two formats — E4M3 (4-bit exponent, 3-bit mantissa, higher precision) for forward/weights and E5M2 (5-bit exponent, 2-bit mantissa, wider range) for gradients/backward.
💡Use Cases
SmoothQuant for W8A8 inference when activations carry strong outliers (LLaMA-family models); AWQ for W4A16 weight quantization when serving very large models; FP8 as the mainstream precision for pretraining/fine-tuning on H100/B200, with forward and backward using different formats.
Key Problems Solved
activation outliers are the main obstacle to LLM quantization — activations are usually harder to quantize than weights; SmoothQuant removes outliers, AWQ protects critical channels, and FP8 splits precision-vs-range duties across two formats.
🎯5 High-Frequency Exam Points
1
Why does SmoothQuant work — how are outliers migrated to weights?
2
How does AWQ find sensitive channels, and why protect the top 1%?
3
E4M3 vs E5M2 — differences and where each is used?
4
What are W8A8 and W4A16, and what do they buy?
5
Why are activations harder to quantize than weights?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "SmoothQuant/AWQ & FP8"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardLow-Bit INT8/INT4Next CardKnowledge Distillation

🔗 More LLMs Knowledge Cards

Agent & Tool CallingAlignment Tax & Preference DataScaled Dot-Product AttentionAttention Variants MHA/MQA/GQA