refusal rate
Subscribe

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.

[ fig. 01 — comparison ]48×5
[ fig. 01 — comparison ]16×5

Short answer

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.

AWQ paper
Lin et al., MLSys 2024 best paper
GPTQ paper
Frantar et al., ICLR 2023
Marlin INT4 speedup
~4x vs FP16, up to batch 16–32
AutoAWQ status
Archived May 2025, moved to llm-compressor

Key takeaways

  1. 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.
  2. In vLLM and SGLang both formats run through Marlin INT4 kernels, so the kernel path decides speed more than the algorithm does.
  3. 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.
  4. FP8 W8A8 needs compute capability 8.9 or newer (Ada, Hopper); on Ampere and older, INT4 W4A16 or INT8 W8A8 is the practical choice.
  5. 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 hardwareFirst choiceWhen memory is tightAvoid
Hopper (H100, H200), Ada (L40S, RTX 4090)FP8 W8A8AWQ or GPTQ INT4 via MarlinGGUF in vLLM
Datacenter Blackwell (compute capability 10.0)FP8, or NVFP4/MXFP4 for maximum compressionNVFP4Older INT4 paths without checking kernels
Ampere (A100, A10, RTX 3090)AWQ or GPTQ INT4 via MarlinSameFP8 W8A8 (no native FP8 compute)
Turing (T4, RTX 20xx)AWQ or GPTQ INT4, or INT8 W8A8SameFP8
Volta (V100)GPTQGPTQAWQ (unsupported in vLLM)
AMD InstinctFP8Check SGLang awq or AMD QuarkMarlin formats (CUDA only)
Mac, CPU, single userGGUF with llama.cppSmaller GGUF quantvLLM

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.

[ fig. 01 — How AWQ and GPTQ decide what to protect. Sources: AWQ and GPTQ papers, vLLM and SGLang docs ]
AWQ scales about 1% of salient channels chosen from activations before rounding; GPTQ quantizes column by column and pushes each rounding error onto the remaining weights; both produce the same W4A16 checkpoint served by Marlin kernels.

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:

SourceClaimBaseline
GPTQ paper~3.25x on A100, ~4.5x on A6000FP16
AWQ paper (TinyChat)More than 3x on desktop and mobile GPUsHugging Face FP16
Marlin kernelClose to ideal ~4x, holding up to batch 16–32FP16
Red Hat, vLLMW4A16: 2.4x single-stream; W8A8: 1.8x in multi-request servingBF16

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.

Where 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.

FormatvLLMSGLangTGI
AWQTuring to Hopper, Intel GPU, x86 CPU; not Volta or AMDawq / awq_marlin; awq also on AMDMaintenance mode
GPTQVolta to Hopper, Intel GPU, x86 CPU; not AMDgptq_marlinMaintenance mode
FP8 W8A8Ada, Hopper, AMDOffline and online (--quantization fp8)Maintenance mode
GGUFExperimental plugingguf on NVIDIAMaintenance mode
NVFP4 / MXFP4Via LLM Compressor or ModelOptmodelopt_fp4, mxfp4Maintenance 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:

bash
vllm serve <org>/<model>-AWQ --max-model-len 32768

For 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.

Sources (10)
  1. AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration, Lin et al., arXiv 2306.00978
  2. GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers, Frantar et al., arXiv 2210.17323
  3. vLLM docs: Quantization, supported hardware table
  4. LLM Compressor docs: algorithms, schemes and GPU requirements
  5. SGLang docs: Quantization
  6. Marlin: FP16xINT4 kernel, IST-DASLab (arXiv 2408.11743)
  7. We ran over half a million evaluations on quantized LLMs, Red Hat Developer (Oct 17, 2024)
  8. vLLM docs: GGUF
  9. AutoAWQ repository (archived)
  10. A detailed comparison between GPTQ, AWQ, EXL2, q4_K_M, q4_K_S, and load_in_4bit, oobabooga blog

Keep reading

[ fig. 02 — explainer ]18×8

What do GGUF quantization names like Q4_K_M mean?

Oct 30, 2026 · Explainer

GGUF quantization names are llama.cpp presets. In Q4_K_M, Q4 is the base bit width, K means the k-quant block format, and M is the medium tensor mix, where a few sensitive tensors keep more bits. Q4_K_M averages about 4.9 bits per weight versus 16 for F16, and in the original k-quants data it raised perplexity on a 7B model by about 0.9%.

Read
[ fig. 03 — comparison ]18×8

vLLM vs SGLang: which inference server should you run?

Nov 2, 2026 · Comparison

vLLM and SGLang are the two main open-source servers for running open-weight LLMs for many users at once. On unique prompts they benchmark within a few percent of each other. SGLang pulls ahead when requests share long prefixes, as in agents, RAG and multi-turn chat, thanks to RadixAttention. vLLM has the broader model, quantization and hardware-plugin coverage, and is the safer default when your traffic has no dominant shared prefix.

Read
[ fig. 04 — guide ]18×8

How do you set up a self-hosted LLM server for a whole dev team?

Nov 2, 2026 · Guide

To self-host a coding LLM for a team, run vLLM or SGLang on a GPU server and put an OpenAI-compatible gateway such as LiteLLM in front of it for per-developer keys, rate limits and spend logs. Size the box by KV cache, not model weights: every concurrent developer needs cache for their full context. Never expose the inference server directly, because vLLM's API key covers only part of its routes.

Read