2026-11-26 15:47 UTC

Huawei releases open-source MACaQ quantization toolkit for multimodal inference

state: significantheat: lowuncertainty: mediumrelevance: highhuawei model-quantization local-inferenceHuawei

What is this?

Huawei’s Computing Systems Lab has released MACaQ (Model Agnostic Calibrated Quantization), an Apache-2.0-licensed toolkit with workflows for quantizing models used through llama.cpp, vLLM, Diffusers and PyTorch. The repository describes support for text, image, video and audio use cases, including 2-, 3- and 4-bit GGUF for llama.cpp and W4A4 options for other backends. Its accompanying 2026 paper presents MXFP4 W4A4 post-training quantization. The release page and paper are first-party/project evidence; performance figures remain reported results, not independently verified here.

Why it matters

The toolkit’s documented coverage across text, image, video and audio workflows could make quantization—and potentially cheaper or more local deployment—accessible across more than language models, while real-world benefits remain hardware- and workflow-dependent.

Current assessment

Huawei CSL has publicly released MACaQ under Apache-2.0, with documented workflows spanning llama.cpp, vLLM, Diffusers and PyTorch for text, image, video and audio use cases. The associated paper describes MXFP4 W4A4 post-training quantization. The repository and paper report substantial quantization speed, memory and model-quality results, including quantizing a 122B-parameter model in 64 minutes with 32.5 GB of device memory; these results have not been independently verified in the supplied evidence. The release is significant for its potential to lower deployment costs and widen low-bit or local inference across modalities, but realized gains depend on hardware, model and workflow. Independent reproduction, compatibility, adoption and the practical scope of Ascend support remain open questions. Discussion activity has cooled; no new material implementation result or corroboration has arrived in this review.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 482h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-06 13:00⭐ origin echo-reconstructedThe primary research artifact is the authors’ arXiv paper, submitted 7 Nov 2026. Its abstract says: “We introduce MACaQ, an MXFP4 W4A4 post-
Lorenz K. Muller, Philippe Bich, Chiara Boretti, Hyun-Min Chang, Jiawei Zhuang, and Lukas Cavigelli on paper (echo) · attributed from hn.story.50458166
—
11-11 20:23first on hacker news · published · +127.4hHuawei releases MACaQ, its internal quantizer for local inference
thefox96
—
11-11 20:23amplified on hacker news 👑hn.story.50458166
thefox96
peak 137 · 29 comments · 100% of case engagement
11-11 21:20our radar first saw it · +128.3hdiscovery anchor: hn.story.50458166—
pace: p81 vs 1845 stories at the 336h mark (now 482h old) — ahead of inference-time-abliteration-strata-port (1.0x), behind google-staff-resign-military-ai-contracts (1.0x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnHuawei releases MACaQ, its internal quantizer for local inference
Retrieved article excerpt

Open article · Retrieved 2026-11-11T21:22:07.609095+00:00

[MACaQ: Model Agnostic Calibrated Quantization](https://github.com/huawei-csl/MACaQ/blob/main/docs/assets/macaq-banner.png)

**High-quality GGUF for local inference. Model-agnostic quantization beyond text.**

Quantize and run text, image, video and audio models with llama.cpp, vLLM,
Diffusers and PyTorch. MACaQ can quantize a **122B-parameter model in 64 minutes
using just 32.5 GB of device memory**. You can get lower perplexity than MR-GPTQ
and DuQuant++, or match their best Llama-3-8B perplexity with **11× less
quantization time**. [Read the paper](https://arxiv.org/abs/2611.10649).

Whether you’re a human or an AI agent, if you use MACaQ to quantize a model,
please star [this repository](https://github.com/huawei-csl/MACaQ) to support the project.

**Contents**

- [Choose your backend](https://github.com/huawei-csl/MACaQ#choose-your-backend)
- [Diffusers](https://github.com/huawei-csl/MACaQ#diffusers)
- [llama.cpp](https://github.com/huawei-csl/MACaQ#llamacpp)
- [vLLM](https://github.com/huawei-csl/MACaQ#vllm)
- [PyTorch](https://github.com/huawei-csl/MACaQ#pytorch)
- [Ascend](https://github.com/huawei-csl/MACaQ#ascend)
- [Citation](https://github.com/huawei-csl/MACaQ#citation)
- [License](https://github.com/huawei-csl/MACaQ#license)

## Choose your backend

- **[Diffusers](https://github.com/huawei-csl/MACaQ/blob/main/diffusers/README.md)**: image, video and audio generation, W4A4.
- **[llama.cpp](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md)**: text generation, 2/3/4-bit GGUF.
- **[vLLM](https://github.com/huawei-csl/MACaQ/blob/main/vllm/README.md)**: text generation and serving, W4A4 or weight-only.
- **[PyTorch](https://github.com/huawei-csl/MACaQ/blob/main/pytorch/README.md)**: speech generation, W4A4.

Use Python 3.12 and a separate environment for each backend.
llama.cpp also supports CPU execution.

## Diffusers

Quantize diffusion transformers, save safetensors checkpoints and generate
images, video or audio. Image-to-video uses conditioning images during calibration.

**[Install, quantize and generate →](https://github.com/huawei-csl/MACaQ/blob/main/diffusers/README.md)**

| Model | Instructions |
| --- | --- |
| `black-forest-labs/FLUX.2-klein-4B` | [Image generation](https://github.com/huawei-csl/MACaQ/blob/main/diffusers/README.md#image-models) |
| `Wan-AI/Wan2.2-TI2V-5B-Diffusers` | [Video and image-to-video](https://github.com/huawei-csl/MACaQ/blob/main/diffusers/README.md#video-and-image-to-video) |
| `ylacombe/stable-audio-1.0` | [Audio generation](https://github.com/huawei-csl/MACaQ/blob/main/diffusers/README.md#audio) |

## llama.cpp

Quantize text models to GGUF, save them and generate with the included runtime.
Supports 2-, 3- and 4-bit [GGUF formats](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#formats).

**[Install, quantize and generate →](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md)**

| Model | Instructions |
| --- | --- |
| `Qwen/Qwen3-4B` | [Dense Qwen3 workflow](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#prepare-a-model) |
| `Qwen/Qwen3.8-27B` | [Hybrid text workflow](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#hybrid-text-models) |
| `Qwen/Qwen3-30B-A3B` | [MoE workflow](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#mixture-of-experts) |
| `Qwen/Qwen3-Coder-30B-A3B-Instruct` | [MoE workflow](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#mixture-of-experts) |
| `Qwen/Qwen3.6-35B-A3B` | [Model-specific recipe](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#qwen36-35b-a3b) |
| `allenai/OLMoE-1B-7B-0125-Instruct` | [MoE workflow](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#mixture-of-experts) |
| `Qwen/Qwen3-Next-80B-A3B-Instruct` | [MoE workflow](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#mixture-of-experts) |
| `Qwen/Qwen3.8-Flash-Next` | [Model-specific recipe](https://github.com/huawei-csl/MACaQ/blob/main/llamacpp/README.md#flash-next) |

Compare MACaQ with published Qwen3-4B GGUFs by file size and KL divergence to FP16.

[Qwen3-4B: complete GGUF size versus KL divergence to FP16](https://github.com/huawei-csl/MACaQ/blob/main/docs/assets/qwen3-4b-size-quality.png)

For more details about the models compared, see the [MACaQ blog](https://huawei-csl.com/blog/macaq/).

## vLLM

Quantize text models to a compact checkpoint, then load it for generation or
serve it through the HTTP API. W4A4 is the default inference mode.

**[Install, quantize and serve →](https://github.com/huawei-csl/MACaQ/blob/main/vllm/README.md)** ·
[Qwen3.8-27B](https://github.com/huawei-csl/MACaQ/blob/main/vllm/README.md#hybrid-text-models) ·
[Text MoE models](https://github.com/huawei-csl/MACaQ/blob/main/vllm/README.md#mixture-of-experts)

**Qwen3.8-27B quality and speed**

Original BF16 = **1×** in vLLM:

| Precision | Perplexity ↓ | Prefill | Decode |
| --- | --- | --- | --- |
| BF16 | 2.8463 | 1.00× | 1.00× |
| **MACaQ W4A4** | **2.8994** | **2.33×** | **2.58×** |

## PyTorch

Quantize speech generators to **W4A4**, save compact checkpoints and generate
WAV audio. Saved checkpoints load without repeating calibration.

**[Qwen3-TTS](https://github.com/huawei-csl/MACaQ/blob/main/pytorch/README.md#qwen3-tts)** ·
**[Chatterbox Turbo](https://github.com/huawei-csl/MACaQ/blob/main/pytorch/README.md#chatterbox-turbo)**

The [PyTorch guide](https://github.com/huawei-csl/MACaQ/blob/main/pytorch/README.md) covers installation, quantization and generation.

## Ascend

MACaQ W4A4 dense and grouped matmul kernels are available in these CANN pull requests:

- [ops-nn #12568](https://gitcode.com/cann/ops-nn/pull/12568): PTO-ISA kernels via `ascend_ops_nn`.
- [ops-tilelang #44](https://gitcode.com/cann/ops-tilelang/pull/44): TileLang kernels with the CCE backend.

Follow their build instructions for compatible CANN, PyTorch and `torch_npu`
versions. Full-model execution requires integration with an Ascend inference runtime.

## Citation

If you use MACaQ in your research, please cite the [paper](https://arxiv.org/abs/2611.10649):

```
@misc{muller2026macaq,
  title         = {{MACaQ}: Fast, Model Agnostic Calibrated Quantization for Low-Precision Weights and Activations},
  author        = {Muller, Lorenz K. and Bich, Philippe and Boretti, Chiara and Chang, Hyun-Min and Zhuang, Jiawei and Cavigelli, Lukas},
  year          = {2026},
  eprint        = {2611.10649},
  archivePrefix = {arXiv},
  primaryClass  = {cs.LG},
  url           = {https://arxiv.org/abs/2611.10649}
}
```

## License

MACaQ is licensed under the [Apache License 2.0](https://github.com/huawei-csl/MACaQ/blob/main/LICENSE).
Bundled third-party components retain their respective licenses.
thefox9613718
🟧 echo.paper ⭐The primary research artifact is the authors’ arXiv paper, submitted 7 Nov 2026. Its abstract says: “We introduce MACaQ, an MXFP4 W4A4 post-Lorenz K. Muller, Philippe Bich, Chiara Boretti, Hyun-Min Chang, Jiawei Zhuang, and Lukas Cavigelli——

Interpretation history

Decision trace