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, andg = 8ternary(-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).
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:
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 = 1in Table 6), not arithmetic FLOPs. At larger batches (such as16 x 1024tokens) 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.


