SqueezeLLM's Latency Advantage Over GPTQ

For LLaMA models, SqueezeLLM delivers up to 4x faster inference latency compared to GPTQ, a leading quantization method, while also achieving superior accuracy.

The top 3

  1. 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.
  2. Dense-and-Sparse Quantization: The Core Advantage: SqueezeLLM's latency advantage stems from its 'Dense-and-Sparse Quantization' method, which splits weight matrices into a heavily quantized dense component and a sparse, full-precision part for sensitive outlier values, thereby enabling efficient low-bit inference.
  3. Balancing Latency and Accuracy in Ultra-Low Bit Quantization: SqueezeLLM not only achieves competitive inference latency but also significantly reduces the perplexity gap from the FP16 baseline by up to 2.1x compared to other state-of-the-art methods like GPTQ, especially for 3-bit LLaMA models, offering a superior accuracy-latency trade-off.

Sources

Open the full topic