SmoothQuant
Method · 2022
Definition
“Large language models (LLMs) show excellent performance but are compute- and memory-intensive.”
From the defining paper: SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models (Guangxuan Xiao, Ji Lin, Mickael Seznec, et al., ICML 2023).
Lineage
Parent: LLM.int8()
Children: KIVI
Incoming edges (2)
adapts · accuracy
From Quantization-aware training · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “However, existing methods cannot maintain accuracy and hardware efficiency at the same time” Source: SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Mechanism
- “SmoothQuant smooths the activation outliers by offline migrating the quantization difficulty from activations to weights with a mathematically equivalent transformation” Source: SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Trade-off
- No trade-off quoted.
improves · inference speed
From LLM.int8() · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “However, existing methods cannot maintain accuracy and hardware efficiency at the same time” Source: SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Mechanism
- “SmoothQuant smooths the activation outliers by offline migrating the quantization difficulty from activations to weights with a mathematically equivalent transformation” Source: SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Trade-off
- No trade-off quoted.
Outgoing edges (2)
adapts · memory efficiency
To KIVI · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “becomes the new bottleneck in speed and memory usage” Source: KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache
- Mechanism
- “we developed a tuning-free 2bit KV cache quantization algorithm named KIVI” Source: KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache
- Trade-off
- No trade-off quoted.
compares · accuracy
To AWQ · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “However, the astronomical model size and the limited hardware resource pose significant deployment challenges” Source: AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
- Mechanism
- “Protecting only 1% salient weights can greatly reduce quantization error” Source: AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
- Trade-off
- No trade-off quoted.