GPTQ, AWQ and GGUF in One Line Each
GPTQ, AWQ and GGUF in one line each, and which one is a file format, explained simply for your AI interview.
In short
GPTQ and AWQ are methods that shrink a model's weights, usually to 4 bits: GPTQ corrects rounding errors layer by layer, and AWQ protects the most important weights first. GGUF is a file format that packs the weights, config and tokenizer into one file.
8 min readAdvancedOccasional · estimateFacts checked 27 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
GPTQ and AWQ are methods that shrink a model's weights, usually to 4 bits. GPTQ corrects rounding errors one layer at a time, using a small sample of text. AWQ protects the most important weights first, using data about how the model's inputs behave. GGUF is a file format, which packs the weights, config and tokenizer into one file.
I start with the difference that trips people up. A language model keeps its knowledge in weights, which are huge lists of numbers. Quantization stores those numbers in fewer bits, so the model takes less memory. GPTQ and AWQ are two methods for doing that. GGUF is different: it is a file format that packs the weights, the config and the tokenizer into one file.
GPTQ works one layer at a time. It uses a small calibration dataset, which is a sample of text, to correct the rounding errors each layer picks up. AWQ takes another route. It finds the few weights that matter most, using data about how the model's inputs behave, and scales them so they lose less when rounded. Its paper says that protecting only about 1% of the most important weights can greatly reduce the error.
I'll show the saving with a real case. An insurance claims team wants a drafting assistant on adjusters' laptops. Hugging Face's guide says an 8B model needs about 16GB for its weights in bf16, and about 4 to 5GB at 4 bits. Fewer bits cost some accuracy, so the team scores the model on its own claim letters before anyone relies on it.
GGUF has one caveat. In Transformers, most GGUF models unpack to full precision as they load, so they use as much memory as an unquantized model. The format's strength is the single file, which keeps everything a model needs together and loads quickly.
What are GPTQ, AWQ and GGUF, in plain words?
A language model keeps what it learned in weights: huge lists of numbers. Each one is usually stored in 16 bits (bf16 is the common 16-bit format), so a model with billions of them needs a lot of memory. Quantization stores those numbers in fewer bits, so the model takes less room.
Think of a clerk who writes amounts to the nearest rupee instead of to the paisa. The ledger gets much smaller, and the totals stay close. Quantization makes the same trade: fewer bits, and a little less accuracy. Here is how that looks for a real model.
Key words
- Weights
- The numbers a model learns. Their count and size decide how much memory it needs.
- Bit
- The smallest unit of storage. More bits per number means more precision and more memory.
- Calibration dataset
- A small sample of text a method runs through the model to correct its rounding errors.
- GGUF file
- One file that holds a model's weights, config (its settings) and tokenizer together.
- Tokenizer
- The part that turns text into the numbers the model reads.
What is each one, in one line?
GPTQ and AWQ are two methods. GGUF is a file format. Here they are side by side.
- GPTQ
A method
Rounds weights to 3 or 4 bits, one layer at a time, and corrects the rounding errors with a small calibration dataset.
- AWQ
A method
Rounds weights to 4 bits, after it protects the few weights that matter most by scaling them.
- GGUF
A file format
One file that holds the weights, config and tokenizer together, built for quick loading and saving.
The GPTQ paper, published at ICLR 2023, defines its method like this. Hugging Face defines GGUF like this.
“a new one-shot weight quantization method based on approximate second-order information”
GPTQ paper, ICLR 2023
“a binary format that is optimized for quick loading and saving of models”
Hugging Face Hub docs, GGUF
Two methods shrink the weights, one format packs them
Full-size model
usually stored at 16 bits (bf16)
Shrink the weights
GPTQ
fixes rounding layer by layer
AWQ
protects the key weights first
Pack into one file
GGUF file
weights, config and tokenizer
Smaller model
less memory, a little less accuracy
One GGUF file
same weights, one file to copy
- 1Full weights go in, and GPTQ rounds them layer by layer.
- 2AWQ finds the weights that matter most and scales them.
- 3The same weights are packed into one GGUF file.
- 4GPTQ's result has weights at 3 or 4 bits.
- 5AWQ's result has weights at 4 bits, with the key ones protected.
- 6The GGUF file holds the same weights, config and tokenizer as one unit.
A method decides how the numbers are rounded. A file format decides how they are packed and stored.
What does it save in a real case?
An insurance claims team wants a drafting assistant on adjusters' laptops, so the model has to be small. They test an 8B model and work through these steps.
- 1
Start at full size
Hugging Face's guide says an 8B model needs about 16GB for its weights in bf16.
- 2
Shrink to 4 bits
At 4 bits, the same guide puts the same model at about 4 to 5GB for its weights.
- 3
Score it on your own data
Fewer bits cost some accuracy, so the team scores the model on its own claim letters before anyone relies on it.
- 4
Pick the file
Ask for the GGUF file only if the team runs it in a tool that reads GGUF. In Transformers, most GGUF models lose the memory saving as they load.
Tip
In Hugging Face's Transformers library, the Python tool that loads models, most GGUF models unpack to full precision, so the memory saving is lost there.
What does the interviewer want to hear?
A strong answer covers
- GPTQ and AWQ are methods; GGUF is a file format.
- GPTQ corrects rounding errors layer by layer, using a calibration dataset.
- AWQ protects the most important weights, scaling them with activation data.
- The saving for an 8B model: about 16GB in bf16, about 4 to 5GB at 4 bits.
- Fewer bits cost some accuracy, so you measure it on your own task.
- Most GGUF models loaded in Transformers unpack, so the saving is lost there.
Common traps
Trap"GGUF is a quantization method, like GPTQ."
BetterIt's a file format. The weights inside may be quantized, but the file is the container.
Trap"AWQ is just GPTQ with a new name."
BetterThey differ in how they pick and protect weights. GPTQ corrects rounding layer by layer; AWQ scales the important weights.
Trap"Four bits is as good as the original."
BetterFewer bits cost some accuracy. Test the model on your own task before you ship it.
Can you spot the mix-up?
Spot the mix-up
A team's design doc has four lines. Which one is wrong?
Quick check
Which one is a file format, not a way to shrink weights?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
Last updated on 27 November 2026
Choosing a model format for an app that runs on your own machines?
I design and build AI products and agents, including the system behind them. Book a short call and tell me where the model has to run and how much memory it can use.