GPTQ
A 70-billion-parameter model stored at 16 bits per weight needs roughly 140 GB of memory before it generates a single token. GPTQ is one of the methods that shrinks that number after training is finished, so the model fits on hardware you can actually rent.
How it worksGPTQ is a post-training quantization method: it takes an already-trained model and rewrites its weights to 4 or 3 bits, one layer at a time, with no retraining. Within a layer it quantizes weights in sequence and adjusts those not yet processed to compensate for the error just introduced, using curvature information estimated from a few hundred sample text sequences as calibration. That compensation step is why it holds accuracy at 4 bits where plain rounding visibly degrades output.
What it costs and what it buys- Memory drops about fourfold against fp16, which is what lets a 70B model serve from a single 48 GB card.
- Decoding gets faster, because generation is bound by reading weights out of memory rather than by arithmetic. Only the weights are quantized; activations stay at full precision.
- Quantizing is a one-off job measured in minutes to hours on a GPU, and the result is a reusable checkpoint.
- Accuracy loss is small but real, and it concentrates in the hardest cases — long reasoning chains degrade before casual chat does.
In practice you meet GPTQ as a ready-made artefact rather than a procedure: thousands of GPTQ checkpoints sit on Hugging Face, loadable through Transformers or served by vLLM, usually published alongside an AWQ build of the same model so you can pick whichever survives your own evaluation better.
GPTQ is a post-training quantization method that compresses a trained model's weights to 4 or 3 bits layer by layer, using a small calibration set to adjust the remaining weights for the error each step introduces. No retraining is needed. It cuts memory roughly fourfold and speeds up memory-bound decoding, letting large models fit on a single GPU, at a small but measurable accuracy cost that shows up first on hard reasoning.
Think about packing a huge library into a small flat. You cannot keep every book at full size, so you shrink them — smaller print, thinner paper — and hope nothing important becomes unreadable. GPTQ does that to a language model. A trained model stores billions of numbers at high precision, which makes it too big for ordinary hardware. GPTQ rewrites those numbers in a coarser form, and cleverly nudges the ones it has not shrunk yet to make up for what the rounding lost. The result is a model about a quarter of the size that answers almost as well, and now runs on a single graphics card.