SqueezeLLM vs. GPTQ: 3-bit LLaMA Latency Benchmarks
On an A6000 GPU, SqueezeLLM achieves a 0.08s latency for generating 128 tokens with a 3-bit LLaMA model, matching grouped GPTQ's performance and outperforming non-grouped GPTQ's 0.11s.
The top 3
- SqueezeLLM's Latency Lead: Up to 2.3x Speedup Over FP16 Baseline: SqueezeLLM achieves significant inference speedups for 3-bit LLaMA models, demonstrating up to a 2.3x speedup compared to the FP16 baseline on an A6000 GPU when generating 1024 tokens. This highlights its efficiency in reducing memory bandwidth as the primary bottleneck for generative inference.
- SqueezeLLM's Core: Dense-and-Sparse Quantization Advantage: SqueezeLLM's superior latency stems from its novel 'Dense-and-Sparse decomposition' and 'sensitivity-based non-uniform quantization'. This approach efficiently handles weight outliers by storing sensitive values in a sparse format, allowing the dense part to be quantized with a more compact range, a key differentiator from methods like GPTQ.
- Perplexity Edge: SqueezeLLM's Accuracy at Ultra-Low Bitrates: Beyond speed, SqueezeLLM's 3-bit quantization significantly reduces the perplexity gap from the FP16 baseline by up to 2.1x compared to other state-of-the-art methods like GPTQ, ensuring higher accuracy at the same memory constraints. This is achieved by techniques like extracting only 0.45% of weight values as a sparse component.
Sources
Open the full topic