GPTQ
Category: Generative AI / LLM
A post-training quantization method optimized for GPU inference that uses approximate second-order information to minimize quantization error.
Full Explanation
GPTQ (GPT-Quantization) is a one-shot post-training quantization method designed for compressing large language models to 3-4 bit precision with minimal accuracy loss. It uses approximate second-order (Hessian) information to determine optimal quantized values, processing weights column by column and using the quantization error from each column to adjust subsequent columns. GPTQ is optimized for GPU inference and produces models that run efficiently with CUDA kernels. It typically achieves better quality than naive round-to-nearest quantization at the same bit width. GPTQ models are widely available on Hugging Face and are supported by inference frameworks like AutoGPTQ, vLLM, and text-generation-inference. The method processes a calibration dataset to determine optimal quantization parameters, making it data-dependent. GPTQ was one of the first practical methods for running large LLMs on consumer GPUs and remains popular for GPU-based deployment.
Related Terms
More in Generative AI / LLM
Explore More
- AI Tools Library — Discover AI tools related to GPTQ
- AI Education — Courses to learn about Generative AI / LLM
- AI News — Latest news and updates