AI GLOSSARY · LOCAL AND OPEN MODELS

AWQ quantization

Markdown version

Definition

AWQ, or Activation-aware Weight Quantization, is a method for shrinking a language model's weights to low-bit numbers, usually 4-bit, by protecting the small share of weights that matter most, found by looking at activation statistics.

Also called: AWQ, Activation-aware Weight Quantization, activation aware weight quantization, AWQ model, AWQ quantized model.

In plain language

AWQ is a way to make a large language model smaller so it fits on a modest graphics card or laptop. A model is mostly a huge table of numbers called weights. Storing each one with fewer digits saves memory, but rounding hurts quality. AWQ spots the small group of weights that matter most, judged by how strongly they affect the model's working values, and scales those channels up before rounding, in the paper's description. Think of packing a suitcase and keeping the fragile items in padding. The limit is that the result is still an approximation of the original model, so quality can drop on your task. Test it before you rely on it.

Technical definition

AWQ is a weight-only, low-bit post-training quantization method. The paper (arXiv 2306.00978, submitted June 2023) observes that not all weights are equally important and that protecting a small fraction of salient weights can greatly reduce quantization error. It selects those channels from activation statistics, not from the weight values, then scales them up to reduce error, which avoids mixed-precision storage that is hard to run efficiently on hardware. The authors state that it needs no backpropagation or reconstruction. The llm-awq README describes low-bit (INT3/4) weight quantization and a W4A16 kernel, meaning 4-bit weights and 16-bit activations. Hugging Face Transformers can load models quantized with the llm-awq and autoawq libraries, and identifies them by quant_method awq in the model's config.json.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    local-model-sizing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Works out whether an open-weight language model will run on a given GPU, Mac or PC, with a script that estimates memory use.
    Why it exercises the concept
    The reason to quantize is to make a model fit. This skill is the fit check; the guide below describes comparing quantization levels.
  2. Guide · Illustrative, not executed

    Self-Hosting an AI Agent: What You Take On

    What you see
    What you own when an AI agent runs on your machine, including model memory, network exposure, file access and vetting skills.
    Why it exercises the concept
    It lists a more compact quantization as the step when a model runs slowly or fails for memory reasons. AWQ is one way to get one.
  3. Skill by Skill Almanac · Illustrative, not executed

    llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Builds and validates an eval dataset for any LLM feature, with a checker for duplicates and missing grades.
    Why it exercises the concept
    A quantized model approximates the original, so run the same fixed test set on both versions and compare. The skill builds the test set; it does not quantize anything.

How it shows up when you use agents

You meet AWQ as a suffix on a downloadable model name, such as a repository ending in AWQ on Hugging Face. It marks a model whose weights were already quantized with this method, so it needs less memory than the full-precision original. If you run a self-hosted LLM behind a coding agent, a quantized build is often what makes the model fit on your graphics card or Mac. Check the model's config.json for the quantization method, which Hugging Face says shows as awq.

Two practical points follow. First, AWQ files are loaded by runtimes that support them, such as Transformers with the autoawq or llm-awq libraries. A different format, such as GGUF, is a separate route, so match the model file to your runtime. Second, check the runtime and library versions: the Hugging Face page warns that installing AutoAWQ can downgrade Transformers, so a quick environment check saves time.

What breaks when AWQ is misunderstood: people treat a quantized model as identical to the original. It is an approximation, and quality on your task can differ. A safer habit is to size the model first with the local model sizing skill, then run your own fixed test set on the quantized build and the original before you rely on it. See quantization for the general idea and GPTQ for another method.

Common confusions

  • AWQ versus GPTQ. AWQ chooses what to protect from activation statistics, and its authors state that it needs no backpropagation or reconstruction. See GPTQ for a related post-training method.
  • AWQ versus GGUF. AWQ is a method for choosing and rounding weights. GGUF is a file format associated with llama.cpp. They answer different questions. See GGUF.
  • Weight-only versus full quantization. AWQ quantizes weights, and the llm-awq README describes 4-bit weights with 16-bit activations.
  • Myth: smaller means the same. A quantized model is a compressed approximation of the original. Test it on your own task.

Terms that mention AWQ quantization

1 terms mention this one

More in Local and open models

Next steps

  1. Self-Hosting an AI Agent: What You Take On The long-form guide.
  2. local-model-sizing A skill that exercises it.
  3. Quantization Related term.
  4. Self-hosted LLM Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (4)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : First version.
  • : Verifier pass: applied verifier corrections to unsupported or inferred claims.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.