AWQ vs GPTQ for vLLM and SGLang: how each picks what to protect, cited accuracy and speed numbers, where FP8 and GGUF fit, and what to pick per GPU generation.
AWQ vs GPTQ is mostly a tie once you serve on a GPU with vLLM or SGLang. Both produce 4-bit weight checkpoints that run on the same Marlin kernels, and accuracy differences are small. Pick by hardware instead: FP8 on Ada, Hopper and newer when it fits in memory, AWQ or GPTQ INT4 when it doesn't, GPTQ on Volta, and GGUF only for llama.cpp, Macs and CPUs.
- Lin et al., MLSys 2024 best paper
- Frantar et al., ICLR 2023
- ~4x vs FP16, up to batch 16–32
- Archived May 2025, moved to llm-compressor
Key takeaways
- AWQ protects the ~1% of weight channels that activations say matter most; GPTQ rounds column by column and uses second-order information to compensate the error.
- In vLLM and SGLang both formats run through Marlin INT4 kernels, so the kernel path decides speed more than the algorithm does.
- Red Hat's 500,000+ evaluations found INT4 weight-only models kept over 99% of baseline scores, and FP8 W8A8 recovered full accuracy, on Llama 3.1 8B to 405B.
- FP8 W8A8 needs compute capability 8.9 or newer (Ada, Hopper); on Ampere and older, INT4 W4A16 or INT8 W8A8 is the practical choice.
- GGUF is experimental in vLLM. Use it with llama.cpp, not as a production GPU serving format.
What is the short answer?
The short answer to AWQ vs GPTQ is that, on a modern NVIDIA GPU behind vLLM or SGLang, the choice matters less than your hardware and whether you can afford 8 bits instead of 4. Both are post-training, weight-only 4-bit methods (W4A16: INT4 weights, 16-bit activations). Both load into the same Marlin kernels. Pick the format family by GPU first, then pick whichever AWQ or GPTQ checkpoint of your model is well maintained.
| Your hardware | First choice | When memory is tight | Avoid |
|---|---|---|---|
| Hopper (H100, H200), Ada (L40S, RTX 4090) | FP8 W8A8 | AWQ or GPTQ INT4 via Marlin | GGUF in vLLM |
| Datacenter Blackwell (compute capability 10.0) | FP8, or NVFP4/MXFP4 for maximum compression | NVFP4 | Older INT4 paths without checking kernels |
| Ampere (A100, A10, RTX 3090) | AWQ or GPTQ INT4 via Marlin | Same | FP8 W8A8 (no native FP8 compute) |
| Turing (T4, RTX 20xx) | AWQ or GPTQ INT4, or INT8 W8A8 | Same | FP8 |
| Volta (V100) | GPTQ | GPTQ | AWQ (unsupported in vLLM) |
| AMD Instinct | FP8 | Check SGLang awq or AMD Quark | Marlin formats (CUDA only) |
| Mac, CPU, single user | GGUF with llama.cpp | Smaller GGUF quant | vLLM |
The table follows the vLLM supported-hardware matrix, the GPU requirements in the LLM Compressor docs and the SGLang quantization page. If you are not sure which serving engine you need in the first place, start with vLLM vs SGLang.
How do AWQ and GPTQ quantize differently?
AWQ and GPTQ both round weights to 4 bits, but they disagree on what to protect from rounding error.
GPTQ (Frantar et al., ICLR 2023) is a one-shot method based on approximate second-order information. It feeds a small calibration set through each layer, quantizes the weight matrix one column at a time, and after each step adjusts the columns it hasn’t quantized yet so they absorb the error. The paper quantized 175-billion-parameter GPT models in about four GPU hours, at 3 or 4 bits, with negligible accuracy loss.
AWQ (Lin et al., MLSys 2024 best paper) starts from the observation that weights are not equally important: protecting about 1% of salient weights greatly reduces quantization error. It picks those channels from activation statistics, not from the weights themselves. Instead of keeping them in higher precision, which is slow on hardware, it scales them up by an equivalent transform and then rounds everything normally. Because AWQ doesn’t backpropagate or reconstruct weights, the authors argue it overfits the calibration set less, which matters if your calibration text is generic and your workload is code.
In practice, the tooling has consolidated. AutoAWQ was archived on May 11, 2025 and its work was adopted into vLLM’s LLM Compressor, which now runs GPTQ, AWQ, SmoothQuant, AutoRound and round-to-nearest from one library. Its own guidance reads like a short version of this page: GPTQ for “high-accuracy 4- or 8-bit weights”, AWQ to “preserve accuracy on important weights”.
AWQ vs GPTQ: how do they compare on accuracy and speed?
On accuracy, published comparisons put AWQ and GPTQ within noise of each other at 4 bits, with AWQ slightly ahead at equal group size.
- Perplexity. The oobabooga comparison on Llama-2-13B (RTX 3090) measured wikitext perplexity of 4.3252 for AWQ at group size 32 against 4.3381 for GPTQ at group size 32, and 4.3476 against 4.3579 at group size 128. AWQ used more VRAM in that test: 10,567 MB against 8,701 MB at group 32 (oobabooga blog).
- Downstream tasks. Red Hat’s study of over half a million evaluations on Llama 3.1 8B, 70B and 405B in vLLM found INT4 weight-only (W4A16) models kept over 99% of the OpenLLM v1 average and 98.9% on HumanEval and HumanEval+. INT8 W8A8 kept over 99%, and FP8 W8A8 recovered full accuracy. Note that study built its checkpoints with GPTQ, SmoothQuant and round-to-nearest; it did not test AWQ.
On speed, the papers’ numbers are against unoptimized FP16 baselines, and both are now superseded by shared kernels:
| Source | Claim | Baseline |
|---|---|---|
| GPTQ paper | ~3.25x on A100, ~4.5x on A6000 | FP16 |
| AWQ paper (TinyChat) | More than 3x on desktop and mobile GPUs | Hugging Face FP16 |
| Marlin kernel | Close to ideal ~4x, holding up to batch 16–32 | FP16 |
| Red Hat, vLLM | W4A16: 2.4x single-stream; W8A8: 1.8x in multi-request serving | BF16 |
Marlin (IST-DASLab) is the reason the algorithm stops mattering at serving time: it is an FP16xINT4 matmul kernel for compute capability 8.0 and up, written by part of the GPTQ team, and vLLM and SGLang route both AWQ (awq_marlin) and GPTQ (gptq_marlin) checkpoints through it. SGLang has removed plain gptq on NVIDIA and AMD altogether in favor of gptq_marlin.
The practical reading of the Red Hat numbers: INT4 helps most when you serve one request at a time and are bound by memory bandwidth. Under heavy concurrency, 8-bit weight-and-activation formats win because they also speed up the compute-bound part.
We build CandorNo GPU? Use a hosted model
Uncensored AI, right in your browser.
Candor runs open models with refusals removed, so it answers the questions other assistants deflect. New accounts get free credits, no card needed.
Try Candor freeWhere do GGUF, FP8 and other formats fit?
GGUF is the llama.cpp format, FP8 is the high-fidelity GPU format, and newer 4-bit floating-point formats belong to Blackwell.
GGUF. vLLM’s own docs say GGUF support is “highly experimental and under-optimized” and has moved to an out-of-tree plugin (vLLM GGUF docs). It is the right format for llama.cpp, Ollama, Macs and CPUs, and the wrong one for a multi-user GPU server. The k-quant naming (Q4_K_M and friends) is covered in GGUF quantization explained, and the file-format question in GGUF vs safetensors.
FP8 W8A8. FP8 halves memory against BF16 rather than quartering it, but it quantizes activations too and keeps quality essentially intact. It needs compute capability 8.9 or newer, meaning Ada and Hopper (LLM Compressor docs). If a model fits in FP8 on your cards, it is the safer choice for code generation than INT4.
INT8 W8A8. The middle option for Turing and Ampere servers, recommended by Red Hat for throughput-oriented serving on A100-class and older GPUs.
NVFP4 and MXFP4. LLM Compressor lists both as Blackwell formats (compute capability 10.0) for maximum compression. Weight-only variants run on Turing and newer.
EXL2/EXL3. Fast for single-user ExLlama setups, but not a vLLM or SGLang format.
Which formats do vLLM, SGLang and TGI support?
vLLM and SGLang both serve AWQ, GPTQ, FP8 and GGUF; TGI is no longer a target to plan around.
| Format | vLLM | SGLang | TGI |
|---|---|---|---|
| AWQ | Turing to Hopper, Intel GPU, x86 CPU; not Volta or AMD | awq / awq_marlin; awq also on AMD | Maintenance mode |
| GPTQ | Volta to Hopper, Intel GPU, x86 CPU; not AMD | gptq_marlin | Maintenance mode |
| FP8 W8A8 | Ada, Hopper, AMD | Offline and online (--quantization fp8) | Maintenance mode |
| GGUF | Experimental plugin | gguf on NVIDIA | Maintenance mode |
| NVFP4 / MXFP4 | Via LLM Compressor or ModelOpt | modelopt_fp4, mxfp4 | Maintenance mode |
Two operational notes from the docs. SGLang reads the quantization method from the checkpoint’s config, so don’t pass --quantization for a pre-quantized model. And Hugging Face archived TGI on March 21, 2026, with the README pointing users to vLLM and SGLang. Serving a pre-quantized checkpoint in vLLM needs no extra flag:
vllm serve <org>/<model>-AWQ --max-model-len 32768For sizing a shared box around these formats, see self-hosting an LLM for a dev team.
What do developers report in practice?
Developer reports agree that the kernel and the vLLM version decide which of the two is faster, and that the ranking has flipped over time.
- Early AWQ advantage. In the 2023 GitHub issue that asked TGI to add AWQ, one contributor benchmarked Llama 2 7B Chat on an RTX 3060 12 GB without ExLlama kernels: AWQ decoded at about 62 tok/s against about 25 tok/s for GPTQ at batch size 1, and about 851 against 538 tok/s at batch 32. Another commenter found AWQ output slightly worse than GPTQ but about 60% faster (TGI issue #781). Maintainers pushed back that GPTQ with ExLlama kernels was the fair comparison.
- Then GPTQ with Marlin. By mid-2024 a Hacker News commenter wrote that GPTQ with Marlin kernels, repacked on the fly in vLLM, was “much faster” than AWQ in their tests, while stressing it was a sample of one (HN).
- FP8 weights on Ampere. Another HN commenter running Llama 3.1 405B noted that the A100 lacks native FP8, but FP8 weights still run through vLLM’s GPTQ-Marlin FP8 path, and that 4-bit GPTQ or AWQ made 405B workable on 4x H100 or A100 (HN).
- Consumer Blackwell today. In June 2026 a developer shared a vLLM command serving an AWQ 4-bit Gemma 4 26B MoE on a single RTX 5090 at about 350 tokens/s, with an FP8 KV cache, prefix caching and chunked prefill enabled (HN).
- GGUF is the slow path on GPUs. A commenter advising someone moving from Ollama to vLLM said GGUF is slower than AWQ for 4-bit and recommended FP8 for best quality on Ada, citing their own Devstral FP8 setup on two older A6000s at about 35–40 tokens/s generation with Marlin kernels (HN).
These are individual reports with different models, versions and settings. Treat them as directional, and benchmark your own model with vllm bench serve before committing.
FAQ
Is AWQ better than GPTQ?
Slightly, on accuracy at equal group size in most published comparisons, and AWQ is less sensitive to the calibration set. On speed in vLLM or SGLang they are close because both use Marlin kernels. On Volta GPUs only GPTQ works.
Is AWQ or GPTQ faster in vLLM?
It depends on the vLLM release and GPU. Both run through Marlin INT4 kernels on Ampere and newer, and community benchmarks have favored each at different times. Test both checkpoints of your model on your hardware.
Should I use FP8 or AWQ?
Use FP8 if your GPU is Ada, Hopper or newer and the model fits in memory at 8 bits. Red Hat measured full accuracy recovery for FP8 W8A8. Use AWQ or GPTQ INT4 when it doesn’t fit, or on Ampere and older.
Can vLLM run GGUF models?
Yes, through an out-of-tree plugin, but vLLM calls GGUF support highly experimental and under-optimized. For GPU serving, use an AWQ, GPTQ or FP8 checkpoint of the same model.
Is AutoAWQ still maintained?
No. AutoAWQ was archived in May 2025. New AWQ and GPTQ checkpoints are made with vLLM’s LLM Compressor; for GPTQ, GPTQModel is also supported in vLLM.
We build CandorSkip the setup
Want an uncensored model without hosting one?
Candor (candorai.dev) is an uncensored AI chat app that runs in your browser: it answers the questions mainstream assistants dodge, on health, money, law and work, without the lecture. New accounts get free credits, no card needed.
Facts from candorai.dev, checked Nov 10, 2026. Candor never changes how we rank or review models. Disclosure.
Sources (10)
- AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration, Lin et al., arXiv 2306.00978
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers, Frantar et al., arXiv 2210.17323
- vLLM docs: Quantization, supported hardware table
- LLM Compressor docs: algorithms, schemes and GPU requirements
- SGLang docs: Quantization
- Marlin: FP16xINT4 kernel, IST-DASLab (arXiv 2408.11743)
- We ran over half a million evaluations on quantized LLMs, Red Hat Developer (Oct 17, 2024)
- vLLM docs: GGUF
- AutoAWQ repository (archived)
- A detailed comparison between GPTQ, AWQ, EXL2, q4_K_M, q4_K_S, and load_in_4bit, oobabooga blog
Written by Refusal Rate editors from papers, model cards, official docs and pricing pages. Anything we ran ourselves is labeled as our own test, with the hardware and settings. Our method.