Skills for Real Engineers. Straight from my .agents directory.
awq-quantization
Agent skill fromOrchestra-Research/AI-Research-SKILLs
Activation-aware weight quantization for 4-bit LLM compression with 3x speedup and minimal accuracy loss. Use when deploying large models (7B-70B) on limited GPU memory, when you need faster inference than GPTQ with better accuracy preservation, or for instruction-tuned and multimodal models. MLSys 2024 Best Paper Award winner.
How to install awq-quantization
npx skills add Orchestra-Research/AI-Research-SKILLs# or add only this skill to Claude Code: copy the folder
10-optimization/awq/
# into
~/.claude/skills/awq/ (all projects)
.claude/skills/awq/ (one project)
1# AWQ (Activation-aware Weight Quantization)234-bit quantization that preserves salient weights based on activation patterns, achieving 3x speedup with minimal accuracy loss.45## When to use AWQ67**Use AWQ when:**8- Need 4-bit quantization with <5% accuracy loss9- Deploying instruction-tuned or chat models (AWQ generalizes better)10- Want ~2.5-3x inference speedup over FP1611- Using vLLM for production serving12- Have Ampere+ GPUs (A100, H100, RTX 40xx) for Marlin kernel support1314**Use GPTQ instead when:**15- Need maximum ecosystem compatibility (more tools support GPTQ)16- Working with ExLlamaV2 backend specifically17- Have older GPUs without Marlin support1819**Use bitsandbytes instead when:**20- Need zero calibration overhead (quantize on-the-fly)21- Want to fine-tune with QLoRA22- Prefer simpler integration2324## Quick start2526### Installation2728```bash29# Default (Triton kernels)30pip install autoawq3132# With optimized CUDA kernels + Flash Attention33pip install autoawq[kernels]3435# Intel CPU/XPU optimization36pip install autoawq[cpu]37```3839**Requirements**: Python 3.8+, CUDA 11.8+, Compute Capability 7.5+4041### Load pre-quantized model4243```python44from awq import AutoAWQForCausalLM45from transformers import AutoTokenizer4647model_name = "TheBloke/Mistral-7B-Instruct-v0.2-AWQ"4849model = AutoAWQForCausalLM.from_quantized(50 model_name,51 fuse_layers=True # Enable fused attention for speed52)53tokenizer = AutoTokenizer.from_pretrained(model_name)5455# Generate56…
Excerpt shown under the repository's MIT license.
More skills in AI-Research-SKILLs
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
