Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
MACaQ, short for Model Agnostic Calibrated Quantization, is a quantization toolkit from Huawei's computing systems lab that targets high-quality GGUF files for local inference and extends the same approach beyond text to image, video and audio models. The README describes four backends, each with its own setup guide and a separate Python 3.12 environment: Diffusers for image, video and audio generation at W4A4, llama.cpp for 2-, 3- and 4-bit GGUF text models, vLLM for text generation and serving at W4A4 or weight-only, and PyTorch for speech generators such as Qwen3-TTS and Chatterbox Turbo. The llama.cpp path lists recipes for dense, hybrid and mixture-of-experts Qwen models and for OLMoE. A companion method called MACaQ-R refines the weight codes of an existing quantized GGUF while keeping its native formats and block scales, so the result loads in a standard llama.cpp install; the README shows a Qwen3.6-35B-A3B Q4_K_XL file of the same 22.36 GB size with a KL divergence to FP16 of 0.013367 against 0.015731 for the Unsloth UD-Q4_K_XL file. For vLLM, the README's Qwen3.8-27B table lists perplexity of 2.8994 for MACaQ W4A4 against 2.8463 for BF16, with 2.33x prefill and 2.58x decode speed relative to BF16. The authors also state that a 122B-parameter model can be quantized in 64 minutes using 32.5 GB of device memory, and link an arXiv paper and a Hugging Face collection of models. A short Ascend section points to W4A4 matmul kernels submitted as pull requests to CANN repositories and notes that full-model execution needs integration with an Ascend inference runtime. The code is released under Apache-2.0; GitHub lists C++, C and Python as the repository's main languages.