LLM.int8()
Method · 2022
Definition
“Large language models have been widely adopted but require significant GPU memory for inference.”
From the defining paper: LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale (Tim Dettmers, Mike Lewis, Younes Belkada, et al., NeurIPS 2022).
Lineage
Parent: Quantization-aware training
Children: SmoothQuant
Incoming edges (1)
adapts · memory efficiency
From Quantization-aware training · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “Large language models have been widely adopted but require significant GPU memory for inference” Source: LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- Mechanism
- “which cut the memory needed for inference by half while retaining full precision performance” Source: LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- Trade-off
- No trade-off quoted.
Outgoing edges (3)
improves · memory efficiency
To GPTQ · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “which limits the usability of such models” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- Mechanism
- “reducing the bitwidth down to 3 or 4 bits per weight, with negligible accuracy degradation relative to the uncompressed baseline” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- Trade-off
- No trade-off quoted.
improves · 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.
improves · inference speed
To SmoothQuant · 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.