Quantization's Speed-Accuracy Frontier: Top Gains
Dense-and-sparse quantization techniques, like SqueezeLLM's 3-bit approach, have pushed inference speed-ups for large language models (LLMs) by over 4x while maintaining competitive accuracy. This significantly reduces memory footprint and latency, making large models deployable on edge devices.
The top 3
- SqueezeLLM's Record 3-bit LLaMA Speedup & Accuracy: SqueezeLLM achieves up to 2.3x inference speedup on A6000 GPUs for LLaMA models with 3-bit quantization, while reducing the perplexity gap from FP16 by up to 2.1x through its dense-and-sparse quantization and sensitivity-based non-uniform approach. SqueezeLLM
- GPTQ Enables 3-4 Bit Quantization for Massive LLMs: GPTQ, a one-shot weight quantization method, can quantize GPT models with 175 billion parameters to 3 or 4 bits in approximately four GPU hours, achieving negligible accuracy degradation and enabling single-GPU inference. It delivers speedups of around 3.25x on NVIDIA A100 and 4.5x on A6000 GPUs over FP16.
- 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.
Sources
Open the full topic