MACaQ
huawei-csl
Model-agnostic calibrated quantization for GGUF, vLLM, Diffusers and PyTorch, from a Huawei research lab.
What is MACaQ?
The research code behind an arXiv paper on fast, model-agnostic calibrated quantization. It quantizes text models to 2-, 3- and 4-bit GGUF for llama.cpp, text models to W4A4 or weight-only checkpoints for vLLM, and image, video, audio and speech models to W4A4, and ships MACaQ-R, a refinement step that improves an existing GGUF while keeping standard llama.cpp compatibility. The project reports quantizing a 122B-parameter model in 64 minutes on 32.5 GB of device memory.
| Fact | Value |
|---|---|
| Maintainer | huawei-csl |
| GitHub stars | 403 (as of 2026-12-02) |
| Forks | 25 |
| License | Apache-2.0 |
| License type | OSI-open |
| Category | Local inference and "what runs on my machine" |
| Status | Rising |
| Edition | 2026-12 |
| Last verified | 2026-12-02 |
MACaQ in depth
Quantization decides whether a model fits on your machine and how much quality it loses doing so, and the GGUF world is full of competing recipes. MACaQ, which stands for Model Agnostic Calibrated Quantization, comes from Huawei's computing systems lab (huawei-csl) and accompanies an arXiv paper of the same name. Its pitch is a single method that works across text, image, video, audio and speech models instead of one tool per modality.
In practice the repository is split by backend: llama.cpp for 2-, 3- and 4-bit GGUF text models, vLLM for W4A4 or weight-only checkpoints, Diffusers for FLUX.2-klein, Wan2.2 and Stable Audio, and PyTorch for Qwen3-TTS and Chatterbox Turbo. A separate step, MACaQ-R, refines an already quantized GGUF while keeping its native formats and block scales, so the result runs on a standard llama.cpp installation; a MACaQ-R GGUF of Qwen3.6-35B-A3B is on Hugging Face. The README reports a KL divergence to FP16 of 0.013367 against 0.015731 for Unsloth's UD-Q4_K_XL at the same 22.36 GB.
The audience is researchers and advanced users who build their own checkpoints and want a calibrated method with published size-versus-quality comparisons, including those who work on Ascend hardware, for which the project links kernel pull requests. Ordinary users of local models are better served by the finished GGUF downloads than by running the quantizer themselves.
The caveats are those of a research repository. There are no releases, a single contributor (23 commits, the last on 17 November, two weeks before this check), and the README asks for a separate Python 3.12 environment per backend. The headline figures, a 122B model quantized in 64 minutes and 11x less quantization time than a comparison method, are the authors' own, and an open issue asks for the evaluations to be verified on Papers with Code. Open pull requests for Windows and kernel-tail bugs show early rough edges, and the Qwen4-27B models the README highlights are only announced.
The verdict: MACaQ is a credible, paper-backed quantization toolkit with an unusually wide scope and a practical add-on in MACaQ-R. Use it if you quantize models yourself and can read research code. Wait if you want a maintained, packaged tool, or if you need the claims reproduced independently before relying on them.
Pros & Cons
Pros
- Backed by an arXiv paper, a Hugging Face model collection and a MACaQ-R GGUF for Qwen3.6-35B-A3B that runs on stock llama.cpp
- Unusually broad scope for a quantizer: GGUF text models, vLLM, diffusion image/video/audio and speech models in one repository, plus Ascend kernels submitted as CANN pull requests
- Comparisons are stated as measurable quantities (KL divergence to FP16 at equal file size, perplexity against MR-GPTQ and DuQuant++), so claims can be checked
Cons
- Research repository from a lab, not a packaged tool: no releases, a single contributor (23 commits, last on 2026-11-17), and the README asks you to use a separate Python 3.12 environment per backend
- The headline numbers (122B in 64 minutes, 11x less quantization time, KL 0.013367 vs 0.015731 for Unsloth UD-Q4_K_XL) are the authors' own results; an open issue asks to verify evals on Papers with Code
- Early gaps visible in the tracker: community pull requests for Windows and kernel-tail bugs are open, and the headline Qwen4-27B models are only announced as coming soon
License
Apache-2.0 (OSI-open)
Bundled third-party components keep their own licenses, per the README.
When it is interesting
Researchers and power users who build their own GGUF or W4A4 checkpoints and want a calibrated quantizer with published quality-versus-size comparisons.
When it is too early
If you want a one-click tool or a maintained release; for plain downloads, take an existing quantized GGUF instead.
This repo featured in the 2026-12 edition of the Open-Source AI Radar.
oMLX
jundot
macOS-native LLM inference server for Apple Silicon with continuous batching and SSD-tiered caching.
TurboFieldfare
drumih
Streams a 26B-parameter MoE model's experts from SSD to run Gemma 4 on an 8 GB Apple Silicon Mac.
apfel
Arthur-Ficial
Expose the on-device Apple Intelligence model on macOS 26 as a zero-setup OpenAI-compatible local API.