Skip to content

Activation-aware 4-bit weight quantization that cuts memory about 2.5-4x and speeds inference over FP16.

CCM score
61 of 100
skills.sh installs
1.2K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers quantizing and loading 4-bit AWQ models, with GEMM, GEMV, Marlin, and ExLlamaV2 kernel backends selectable by config
  • Includes a comparison table against GPTQ and bitsandbytes, plus memory, speed, and perplexity benchmarks on RTX 4090 and other models
  • Provides fused-module and multi-GPU loading, custom calibration data, and vLLM serving, with a note that AutoAWQ is deprecated
  • Designed for deploying 7B to 70B instruction-tuned or multimodal models on limited GPU memory

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill awq-quantization -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AWQ (Activation-aware Weight Quantization)

4-bit quantization that preserves salient weights based on activation patterns, achieving 3x speedup with minimal accuracy loss.

When to use AWQ

Use AWQ when:

  • Need 4-bit quantization with <5% accuracy loss
  • Deploying instruction-tuned or chat models (AWQ generalizes better)
  • Want ~2.5-3x inference speedup over FP16
  • Using vLLM for production serving
  • Have Ampere+ GPUs (A100, H100, RTX 40xx) for Marlin kernel support

Use GPTQ instead when:

  • Need maximum ecosystem compatibility (more tools support GPTQ)
  • Working with ExLlamaV2 backend specifically
  • Have older GPUs without Marlin support

Use bitsandbytes instead when:

  • Need zero calibration overhead (quantize on-the-fly)
  • Want to fine-tune with QLoRA
  • Prefer simpler integration

Quick start

Installation

# Default (Triton kernels)
pip install autoawq

# With optimized CUDA kernels + Flash Attention
pip install autoawq[kernels]

# Intel CPU/XPU optimization
pip install autoawq[cpu]

Requirements: Python 3.8+, CUDA 11.8+, Compute Capability 7.5+

Load pre-quantized model

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI Agents & LLM Apps, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the awq-quantization skill do?

The awq-quantization skill provides activation-aware weight quantization for compressing LLMs to 4 bits. It protects salient weights chosen from activation patterns, aiming for about 3x speedup with minimal accuracy loss.

When should I use AWQ instead of GPTQ or bitsandbytes?

Use AWQ when you need 4-bit quantization with under 5% accuracy loss, faster inference than GPTQ, or production serving with vLLM on Ampere or newer GPUs. The skill itself names GPTQ for ecosystem compatibility and bitsandbytes when you need zero calibration overhead or QLoRA fine-tuning.

How do I install the awq-quantization skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill awq-quantization -y in your project. Once installed, the agent can guide you through quantizing models like Mistral or Llama 2 with AutoAWQ.

What do I need to run AWQ quantization?

You need Python 3.8+, CUDA 11.8+ and a GPU with Compute Capability 7.5+, plus the autoawq, transformers and torch packages. Quantizing a 7B model takes about 10 to 15 minutes, and a 70B model about an hour.

More from orchestra-research/ai-research-skills

All 92

Similar to Awq Quantization

More AI Agents & LLM Apps