Skip to content

Calibration-free weight quantization for LLMs at 8/4/3/2/1-bit, with HuggingFace and vLLM integration.

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

Own this skill? Claim it

What it does

  • Covers quantizing full models and single layers to 4, 3, 2, or 1 bits without any calibration dataset
  • Includes configurable group sizes, per-layer mixed precision, and backends such as PyTorch, ATEN, TorchAO, Marlin, and BitBlas
  • Provides native loading and saving through HqqConfig in Transformers, plus quantization="hqq" serving in vLLM
  • Designed for fast quantization workflows and LoRA or PEFT fine-tuning of already-quantized models

Install

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

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

Files

HQQ - Half-Quadratic Quantization

Fast, calibration-free weight quantization supporting 8/4/3/2/1-bit precision with multiple optimized backends.

When to use HQQ

Use HQQ when:

  • Quantizing models without calibration data (no dataset needed)
  • Need fast quantization (minutes vs hours for GPTQ/AWQ)
  • Deploying with vLLM or HuggingFace Transformers
  • Fine-tuning quantized models with LoRA/PEFT
  • Experimenting with extreme quantization (2-bit, 1-bit)

Key advantages:

  • No calibration: Quantize any model instantly without sample data
  • Multiple backends: PyTorch, ATEN, TorchAO, Marlin, BitBlas for optimized inference
  • Flexible precision: 8/4/3/2/1-bit with configurable group sizes
  • Framework integration: Native HuggingFace and vLLM support
  • PEFT compatible: Fine-tune quantized models with LoRA

Use alternatives instead:

  • AWQ: Need calibration-based accuracy, production serving
  • GPTQ: Maximum accuracy with calibration data available
  • bitsandbytes: Simple 8-bit/4-bit without custom backends
  • llama.cpp/GGUF: CPU inference, Apple Silicon deployment

Quick start

Installation

pip install hqq

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 hqq-quantization skill do?

The hqq-quantization skill guides an agent through Half-Quadratic Quantization of LLMs to 4, 3, 2 and 1-bit precision without calibration data. It covers the HQQ configuration, quantized linear layers, and backend choice for optimized inference.

When should I use HQQ instead of GPTQ or AWQ?

Use HQQ when you want to quantize a model without calibration data and need fast quantization, since it runs in minutes rather than hours. The skill suggests GPTQ when maximum accuracy with calibration data is available, and AWQ for calibration-based accuracy in production serving.

How do I install the hqq-quantization skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill hqq-quantization -y in a project. After that, the agent can quantize models with HQQ and deploy them with vLLM or HuggingFace Transformers.

Which skills lead the AI Agents & LLM Apps category?

hqq-quantization sits in the AI Agents & LLM Apps category, where other top skills include microsoft-foundry, azure-ai and the google-agents-cli skills. This skill's focus is model compression, covering calibration-free 2 to 4-bit quantization for LLMs.

More from orchestra-research/ai-research-skills

All 92

Similar to Hqq Quantization

More AI Agents & LLM Apps