Integer Scale: A Free Lunch for Faster Fine-grained Quantization of LLMs
Qingyuan Li, Ran Meng, Yiduo Li, Bo Zhang, Yifan Lu, Yerui Sun, Lin Ma, Yuchen Xie
TL;DR
Integer Scale addresses the bottleneck of fast fine-grained LLM quantization by replacing per-group float scales with integer scales controlled by an adaptive amplifier. The method, designed as a plug-in for existing post-training quantization pipelines, eliminates most costly data-type conversions and leverages kernel fusion to deliver substantial end-to-end speedups while preserving accuracy. It enables efficient quantization of challenging models such as Mixtral-8x7B and LLaMA-3, achieving notable speedups (up to around 2.3x over FP16 baselines) with minimal degradation. Overall, Integer Scale offers a practical, out-of-the-box improvement that expands the viable space of fast, low-bit-width quantization for real-world LLM deployment.
Abstract
We introduce Integer Scale, a novel post-training quantization scheme for large language models that effectively resolves the inference bottleneck in current fine-grained quantization approaches while maintaining similar accuracies. Integer Scale is a free lunch as it requires no extra calibration or fine-tuning which will otherwise incur additional costs. It can be used plug-and-play for most fine-grained quantization methods. Its integration results in at most 1.85x end-to-end speed boost over the original counterpart with comparable accuracy. Additionally, due to the orchestration of the proposed Integer Scale and fine-grained quantization, we resolved the quantization difficulty for Mixtral-8x7B and LLaMA-3 models with negligible performance degradation, and it comes with an end-to-end speed boost of 2.13x, and 2.31x compared with their FP16 versions respectively.
