Graph
GPTQ

🧮GPTQ

NEW

A post-training weight quantization method that compresses large language models with minimal accuracy loss.

DESCRIPTION

GPTQ is a practical post-training weight-only quantization technique for LLMs that targets fast INT4/INT8 inference with accuracy close to full precision. It uses layer-wise optimization to minimize quantization error, often with small calibration sets. GPTQ underpins many edge and server deployments where memory and latency are constrained. It complements activation quantization and KV-cache techniques in end-to-end optimization.

ALTERNATIVE DEFINITIONS

arXiv

We present GPTQ, a simple and accurate post-training weight quantization method for large language models.

Concise statement of GPTQ’s purpose: accurate post-training weight quantization.

Source

IST-DASLab

GPTQ is a fast and accurate post-training quantization method for transformers, enabling 4-bit and 8-bit inference with minimal degradation.

Highlights practical 4-bit and 8-bit inference with minimal degradation.

Source

Quantization Post-Training Quantization KV Cache Quantization INT4 INT8 Calibration Set Per-Channel Quantization LLM Inference

COMPETING TERMS

AWQ Quantization SmoothQuant

KNOWLEDGE AREAS

AI Data Science MLOps Infrastructure

TARGET AUDIENCE

AI Engineer MLOps Engineer Data Scientist Data Engineer

EXTERNAL SOURCES

TOP QUESTIONS

What is GPTQ in LLM inference?

GPTQ is a post-training weight-only quantization method that compresses model weights to lower precision like INT4 or INT8.

Category: Definition

Why use GPTQ instead of training-time quantization?

It avoids retraining costs and yields strong accuracy with a small calibration set, speeding deployment.

Category: Benefits

What are common mistakes when applying GPTQ?

Using poor calibration data, ignoring outlier channels, and not validating end-task accuracy after quantization.

Category: Mistakes

How does GPTQ affect latency and memory?

Lower-precision weights reduce memory footprint and bandwidth, improving throughput on GPUs and CPUs.

Category: Performance

How do I evaluate GPTQ quality?

Compare perplexity and task metrics against full precision, and test production prompts and context lengths.

Category: Validation

What are alternatives to GPTQ?

AWQ and SmoothQuant offer competitive approaches; hybrid schemes combine weight and activation quantization.

Category: Alternatives

Does GPTQ support 4-bit inference?

Yes, GPTQ commonly enables 4-bit weight inference with minimal degradation when carefully calibrated.

Category: Capabilities

Can GPTQ be combined with LoRA fine-tuning?

Yes, quantize base weights and apply LoRA adapters, but validate task metrics to avoid compounding errors.

Category: Usage

What hardware benefits most from GPTQ?

Memory-limited GPUs and CPUs benefit from reduced bandwidth and improved cache utilization.

Category: Infrastructure