What problem does it solve?
This Skill solves the slow, dataset-dependent quantization problem by enabling fast calibration-free weight quantization for LLMs, so you can reduce memory and improve inference efficiency without running expensive calibration passes.
Core Features & Use Cases
- Calibration-free HQQ quantization: Quantize models directly to 8/4/3/2/1-bit precision without needing calibration data.
- Configurable quantization behavior: Control precision, group size, axis, symmetric/asymmetric options, and per-layer mixed precision.
- Production-focused deployment paths: Use optimized inference backends (e.g., Marlin, TorchAO, BitBlas, ATEN) and integrate with HuggingFace Transformers and vLLM.
Use case example: When you need to deploy a large LLM on limited GPU memory, quantize a Llama model to 4-bit using HQQ, choose an optimized backend for your hardware, and serve it with vLLM for faster, lower-cost generation.
Quick Start
Use the hqq-quantization skill to quantize a model to 4-bit with a single instruction: pip install hqq, then load the model with an HqqConfig(nbits=4, group_size=64) and generate text to verify quality.