Back to LLMs Mind Map
中文·English
LLMsID: low-bit

Low-Bit INT8/INT4

低比特 INT8/INT4
🎯Core Definition
Low-bit quantization drops weights/activations to 8-bit or 4-bit integers. Storage goes from 2 bytes (FP16) to 1 byte (INT8) to 0.5 byte (INT4) per weight — INT4 weights cut weight memory by 75% (FP16 70B needs 140GB, INT4 only ~35GB). Each tensor is aligned with a scale ss and zero-point zz: xq=round(x/s)+zx_q = \text{round}(x/s) + z; 4-bit typically uses group-wise quantization (e.g., one shared scale per 128 weights) to avoid small-scale channels being swallowed by a wide range.
💡Use Cases
memory-constrained deployment (7B-70B on consumer GPUs and edge devices), inference bandwidth optimization, KV cache quantization, and offline one-shot conversion pipelines.
Key Problems Solved
bigger models mean costlier memory and bandwidth; INT4 removes 75% of weight memory with no added latency, and calibration-set choice plus group-wise quantization keep accuracy loss manageable — the calibration set is the key to precision, since distribution mismatch is the main killer at low bits.
🎯5 High-Frequency Exam Points
1
What are the memory/bandwidth savings of INT8/INT4 vs FP16?
2
Why does INT4 save 75% memory — walk through the math?
3
What is group-wise quantization and why does it help at low bits?
4
How do you choose the calibration set, and why is it accuracy-critical?
5
What are common accuracy-loss sources at low bits and how to mitigate them?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Low-Bit INT8/INT4"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardQuantization PTQ/QATNext CardSmoothQuant/AWQ & FP8

🔗 More LLMs Knowledge Cards

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