awq-quantization

Compress large language models into 4-bit weights with activation-aware quantization.

Updated May 4, 2026
One-click install
npx skills add https://github.com/Supporter09/Face_Anti_Spoofing_Biometric --skill awq-quantization-supporter09
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: awq-quantization
Source: https://github.com/Supporter09/Face_Anti_Spoofing_Biometric/tree/main/.claude/skills/awq
Command: npx skills add https://github.com/Supporter09/Face_Anti_Spoofing_Biometric --skill awq-quantization-supporter09

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you shrink large language models to 4-bit precision while keeping accuracy high and inference fast, so you can deploy bigger models on limited GPU memory.

Core Features & Use Cases

  • Quantizes instruction-tuned, chat, and multimodal models with activation-aware scaling.
  • Supports practical deployment paths such as Hugging Face loading, vLLM serving, and fused kernel backends for faster inference.
  • Includes advanced usage and troubleshooting guidance for calibration, kernel selection, memory limits, and backend compatibility. A team can use it to convert a 7B model for production serving or benchmark a model before release.

Quick Start

Use the awq skill to quantize a target model and then choose the best backend and calibration settings for your deployment goal.

Frequently Asked Questions about awq-quantization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compress a large language model to 4-bit for limited GPU memory?

You can compress an LLM to 4-bit using activation-aware quantization, which preserves salient weights to maintain accuracy. This allows deploying larger models on limited GPU memory while keeping inference fast.

Does AWQ quantization work with vLLM for production serving?

Yes, AWQ quantization works with vLLM for production serving. It supports fused kernel backends like Marlin and ExLlamaV2 to accelerate inference when serving quantized models.

Can I quantize multimodal and chat models using 4-bit weights?

Yes, you can quantize instruction-tuned, chat, and multimodal models into 4-bit weights. The process applies activation-aware scaling to minimize accuracy loss across various model architectures.

What is the best way to preserve accuracy during LLM compression?

Activation-aware quantization preserves accuracy during LLM compression by identifying and protecting salient weights. This ensures minimal loss when shrinking models to 4-bit precision.

Do I need CUDA GPUs to run AutoAWQ and torch-compatible model compression?

Yes, you need torch-compatible CUDA GPUs to run AutoAWQ for model compression. This hardware is required to support the GEMM and GEMV operations during the 4-bit quantization process.

Why does my quantized model lose accuracy during calibration?

Accuracy loss during calibration can occur if backend compatibility or kernel selection is misconfigured. Adjusting calibration settings and selecting appropriate fused kernels like Marlin helps resolve this.