awq-quantization

Quantize large language models to 4-bit weights using AWQ.

3|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/ihatesea69/HieuNghi-AI-Skills --skill awq-quantization-ihatesea69
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: awq-quantization
Source: https://github.com/ihatesea69/HieuNghi-AI-Skills/tree/main/airesearch_skills/10-optimization/awq
Command: npx skills add https://github.com/ihatesea69/HieuNghi-AI-Skills --skill awq-quantization-ihatesea69

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires autoawq, transformers, torch, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of deploying large language models (LLMs) on hardware with limited GPU memory by compressing them using Activation-aware Weight Quantization (AWQ).

Core Features & Use Cases

  • 4-bit Quantization: Reduces model size significantly with minimal accuracy loss (<5%).
  • Faster Inference: Achieves up to 3x speedup compared to FP16 models.
  • Use Case: Deploying a 70B parameter LLM on a single A100 GPU for real-time chat applications, enabling faster responses and reduced infrastructure costs.

Quick Start

Use the awq-quantization skill to quantize the 'mistralai/Mistral-7B-Instruct-v0.2' model to 4-bit using the default GEMM kernel.

Frequently Asked Questions about awq-quantization

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

FAQPage Schema
How do I quantize large language models to 4-bit for faster inference?

You can quantize large language models to 4-bit using the Activation-aware Weight Quantization (AWQ) algorithm, which reduces memory footprint and achieves up to 3x inference speedup compared to FP16.

What is Activation-aware Weight Quantization and how does it compress LLMs?

Activation-aware Weight Quantization (AWQ) is an algorithm that compresses LLMs to 4-bit by preserving significant weights, resulting in minimal accuracy loss under 5% while accelerating inference speed.

Can I deploy a 70B parameter LLM on a single A100 GPU using AWQ?

Yes, 4-bit AWQ quantization significantly reduces GPU memory requirements, enabling the deployment of a 70B parameter LLM on a single A100 GPU for real-time chat applications.

Which kernel backends can I use for 4-bit LLM inference optimization?

For 4-bit LLM inference optimization, you can select from various kernel backends including GEMM, GEMV, Marlin, and ExLlama to match different hardware and performance profiles.

What dependencies do I need to run AWQ quantization on my models?

To run AWQ quantization, you need the autoawq, transformers, and torch dependencies installed in your environment to execute the 4-bit weight compression scripts.