GPTQ quantized 175-billion-parameter language models down to 3 or 4 bits per weight in roughly four hours on a single 80GB A100, shrinking OPT-175B from 326 GB in FP16 to 63 GB so it fits and runs on one GPU. Developed by Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh (IST Austria, ETH Zurich, and NeuralMagic), the one-shot post-training method prevented the catastrophic accuracy collapse of naive round-to-nearest (RTN) quantization at 3 bits and cut per-token generation latency by 3.24x on A100 and 4.53x on A6000 GPUs.

  • Single-A100 quantization in hours: Using just 128 random 2,048-token segments from C4, GPTQ quantized OPT-175B in 4.2 hours and BLOOM-176B in 3.8 hours, versus weeks if extrapolating ZeroQuant-LKD’s 3-hour runtime on 1.3B models.
  • Negligible 4-bit loss, stable 3-bit compression: On OPT-175B WikiText2 perplexity (8.34 FP16), 4-bit GPTQ hit 8.37 (vs RTN 10.54, worse than a 13B FP16 model) and 3-bit GPTQ hit 8.68 while 3-bit RTN collapsed to 7,300.
  • 2-bit and ternary viability with grouping: Adding group-size 128 (~2.2 bits/weight) kept 2-bit OPT-175B at 9.58 WikiText2 perplexity; g = 32 (~2.6 bits) reached 8.94, and g = 8 ternary (-1, 0, +1) hit 9.20.
  • 3.24x to 4.53x decoding speedups: With custom 3-bit matrix-vector kernels that dequantize weights on the fly, batch-1 token latency fell from 230 ms (5x A100) to 71 ms (1x A100), and from 589 ms (8x A6000) to 130 ms (2x A6000).
OPT-175B WikiText2 perplexity and single-token latency after compression
WikiText2 perplexity relative to 8.34 FP16 (lower is better; 3-bit RTN collapses at 7,300)Perplexity
FP16 Baseline
8.34
4-bit GPTQ
8.37
3-bit GPTQ
8.68
4-bit RTN
10.54
NVIDIA A100 (80GB): 3.24x faster
Drops from 5 GPUs (230 ms/tok) in FP16 to 1 GPU (71 ms/tok) in 3-bit, leaving ~9 GB for a 2,048-token KV cache.
NVIDIA A6000 (48GB): 4.53x faster
Drops from 8 GPUs (589 ms/tok) in FP16 to 2 GPUs (130 ms/tok) in 3-bit due to larger relative bandwidth savings.

Batch-size 1 generation latency over 128-token sequences and WikiText2 perplexity. Source: Frantar et al. (2023), Tables 3, 5, and 6.

How GPTQ scales second-order compensation to 175B weights

Naive RTN rounds each weight independently, ignoring how correlated weights inside a linear layer interact on real inputs. Optimal Brain Quantization (OBQ) solves layer-wise squared error ||WX - W_hat X||^2 by quantizing one weight at a time in greedy error order and adjusting all remaining unquantized weights using the inverse Hessian H^(-1) = (2 X X^T)^(-1). That works well on 25M-parameter vision models in roughly an hour, but its O(d_row * d_col^3) runtime makes it unusable at billion-parameter scale.

GPTQ unlocks a 1,000x+ speedup over OBQ through three modifications that keep second-order accuracy intact:

Three algorithmic fixes that scale OBQ to 175B parameters
1. Fixed column order

Quantizing all rows in the same column order lets every row share one H^-1 (which depends only on inputs X), cutting complexity to O(max{d_row d_col^2, d_col^3}).

2. Lazy batch updates

Rounding column i never depends on later columns, so GPTQ buffers updates across B = 128 columns before one global matrix update, avoiding GPU memory-bandwidth stalls.

3. Cholesky H^-1

Repeated rank-1 matrix updates turn H^-1 indefinite on billion-scale layers; precomputing its Cholesky factor with 1% diagonal dampening prevents weight blowups.

Algorithmic design and sequential Transformer-block calibration. Source: Frantar et al. (2023), Section 4 and Algorithm 1.

To fit quantization itself onto one 80GB GPU, GPTQ loads one Transformer block (6 layers) at a time, accumulates Hessians, quantizes weights, and re-runs the quantized block to feed updated activations to the next block. That sequential propagation prevents layer-wise drift from compounding.

Key findings across model scale and zero-shot tasks

Two empirical patterns stand out across the full OPT and BLOOM families. First, larger models quantize more gracefully: at 3 bits, OPT-1.3B rises from 14.63 to 20.97 PPL (+6.34), whereas OPT-175B rises just +0.34 (8.34 to 8.68). On zero-shot LAMBADA, 3-bit GPTQ preserves 76.19% accuracy on OPT-175B (actually slightly above FP16’s 75.59%), while 3-bit RTN scores 0.00%. On BLOOM-176B, 3-bit GPTQ scores 65.10% vs FP16 67.40% and RTN 0.17%.

Second, fine-grained grouping (g = 128, adding ~0.15 bits per weight for group scales and zero-points) pushes 3-bit OPT-175B perplexity down from 8.68 to 8.45, and unlocks usable 2-bit compression. Unlike AWQ, which protects salient weight channels via activation scaling to avoid Hessian inversions, GPTQ minimizes layer output error directly through Cholesky-decomposed Hessians.

Caveats and builder takeaway

GPTQ’s headline numbers come with clear operational boundaries:

  • Memory-bound speedup only: The custom kernel reduces HBM weight reads during low-batch decoding (batch = 1 in Table 6), not arithmetic FLOPs. At larger batches (such as 16 x 1024 tokens) where layers become compute-bound, you must decompress weights before GEMM (taking under 1.5 ms on A100 vs 76 ms for an OPT-175B FC2 matmul), trading kernel speedup for GPU count savings.
  • Weights only, not activations or KV cache: Embeddings, output heads, activations, and the KV cache stay in FP16; long-context or high-concurrency serving still needs KV compression like KIVI and memory management like PagedAttention.
  • Layer anomalies exist: OPT-66B degraded far more than OPT-30B or OPT-175B (3-bit PPL 14.16 vs 10.27 on 30B), which the authors traced to dead units in early layers. Also, C4 perplexity numbers are not strictly zero-shot because calibration segments came from C4.

For engineers serving large models at low batch sizes on constrained VRAM, 4-bit GPTQ (and 3-bit with g128 grouping) remains a fast, training-free baseline, provided you benchmark throughput at your actual production batch size and sequence length.