LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

hqq-quantization

Half-Quadratic Quantization for LLMs without calibration data. Use when quantizing models to 4/3/2-bit precision without needing calibration datasets, for fast quantization workflows, or when deploying with vLLM or HuggingFace Transformers.

3,579stars289forksUpdated 2/18/2026
Data Science & ML#inference#quantization#model-compression#memory-efficiency#python#optimization

Security Assessment

Safe(100/100)
Security Score100/100

About hqq-quantization

The hqq-quantization skill implements Half-Quadratic Quantization (HQQ) to optimize large language models (LLMs) for faster inference and reduced memory usage. It solves the challenge of quantizing models to low bit-widths (1-8 bits) without requiring calibration data, making it an ideal solution for fast quantization workflows. This tool is specifically designed to handle models that need quantization without sample data, offering a highly efficient way to compress models for deployment. It provides an alternative to traditional methods like AWQ and GPTQ by allowing users to skip calibration and quantize models quickly and easily.

The key capabilities of hqq-quantization include the support for multiple bit precisions (8/4/3/2/1 bits), a variety of backends for optimized inference (such as PyTorch, TorchAO, BitBlas, and Marlin), and seamless integration with HuggingFace and vLLM frameworks. The skill allows users to experiment with extreme quantization levels, such as 2-bit and 1-bit precision, and even fine-tune the quantized models using LoRA/PEFT. The flexibility of configuring the quantization parameters, such as group size and axis, gives users the control they need for fine-tuning the process. Whether you are deploying models for inference or experimenting with aggressive model compression, hqq-quantization offers a powerful tool for optimizing model performance without sacrificing too much accuracy.

hqq-quantization is suitable for developers working on efficient model deployment and optimization for inference, particularly in scenarios where fast and memory-efficient models are crucial. Researchers and machine learning engineers looking for a quick and easy quantization solution will find this tool particularly useful, especially in environments where calibration data is not available or the overhead of traditional quantization methods is undesirable. It is perfect for those deploying models with vLLM, HuggingFace Transformers, or other high-performance backends that benefit from reduced memory usage and faster inference times.

FAQ

How does hqq-quantization handle models without calibration data?

HQQ allows models to be quantized without any sample data, making it ideal for scenarios where calibration data is unavailable or impractical to gather. This feature is a significant advantage over traditional quantization methods that require calibration datasets.

What frameworks are supported by hqq-quantization?

hqq-quantization supports integration with popular frameworks like HuggingFace Transformers and vLLM. It also provides optimized backends, including PyTorch, TorchAO, BitBlas, and Marlin, for efficient model inference.

Can I fine-tune quantized models with hqq-quantization?

Yes, hqq-quantization is compatible with fine-tuning quantized models using methods like LoRA and PEFT, allowing users to continue training and improving model performance after quantization.

What is the minimum version of PyTorch required?

hqq-quantization requires PyTorch version 2.0.0 or higher.

What are the limitations of hqq-quantization?

hqq-quantization is not designed for scenarios where high calibration-based accuracy is needed. For such cases, tools like AWQ and GPTQ are recommended. Additionally, it may not provide the highest accuracy in extreme quantization scenarios, such as 1-bit or 2-bit precision, when compared to methods that use calibration data.

Install hqq-quantization

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

zechenzhangAGI/AI-research-SKILLs

Related Skills

short-form-video

14

multi-asset-morning-briefing

7,907

content-strategy

2,901

doherty-threshold

2,901