SmoothQuant's Near-Lossless 8-bit Quantization Gains
SmoothQuant is a training-free post-training quantization technique enabling 8-bit weight and activation (W8A8) quantization for LLMs like OPT-175B and BLOOM-176B. It achieves up to 1.56x speedup and 2x memory reduction with negligible accuracy loss, allowing a 530B LLM to be served within a single node.
The top 3
- SmoothQuant's Core Innovation: Migrating Outliers: SmoothQuant achieves near-lossless 8-bit quantization by mathematically migrating the 'quantization difficulty' from problematic activation outliers to the more uniformly distributed weights, a training-free process that smooths activations for efficient low-bit compression.
- Peak Performance Gains: Speed & Memory Records: SmoothQuant achieves up to 1.56x inference speedup and 2x memory reduction compared to FP16, enabling large models like the 530B parameter MT-NLG to be served on a single node (8 A100 GPUs) with negligible accuracy loss.
- Top LLMs Achieving Near-Lossless 8-bit Quantization: SmoothQuant has demonstrated near-lossless 8-bit weight and activation (W8A8) quantization across a wide range of major LLMs, including OPT-175B, BLOOM-176B, GLM-130B, MT-NLG 530B, LLaMA 1/2/3 families, Falcon, Mistral, and Mixtral models.
Sources
Open the full topic