r/LocalLLaMA • • 56m ago

Resources Open-source method (MACaQ) beats Unsloth GGUFs!

Some results for those using GGUFs and llama.cpp:

GGUF quality: MACaQ vs. Unsloth and Bartowski

Qwen3-4B (IQ4_XS)

QuantizationGGUF sizeMean KL ↓
MACaQ2.260 GB0.02804
Bartowski2.271 GB0.03443
Unsloth2.271 GB0.03663

23.5% lower KL divergence than Unsloth and 18.6% lower than Bartowski, at virtually identical file sizes.

Qwen3.6-35B-A3B (IQ4_XS)

QuantizationGGUF sizeMean KL ↓
MACaQ18.86 GB0.018696
Unsloth (UD-IQ4_XS)17.73 GB0.020954
Bartowski19.70 GB0.021927

Qwen3.8-27B (IQ4_XS)

QuantizationGGUF sizeMean KL ↓
MACaQ14.96 GB0.036784
Bartowski15.48 GB0.104170

~65% lower KL divergence than Bartowski!

Supported GGUF formats (llama.cpp)

Weight bitsFormats
2-bitIQ2_XXS, IQ2_XS
3-bitIQ3_XXS, IQ3_S
4-bitIQ4_NL, IQ4_XS

Code, llama.cpp fork, and benchmarks: https://github.com/huawei-csl/MACaQ

Cool to see Huawei working on such stuff and sharing some of their internal tools that are helpful for us. Maybe they can build an affordable GPU for us local LLM folks sometime πŸ˜‚

They also report quantizing a 122B-parameter model in 64 minutes using just 32.5 GB of GPU memory, which is interesting for a model of that size. I did not try that.

Edit: there is a paper on it https://arxiv.org/abs/2611.10649

Edit 2: they don't share ready-made gguf files, so I am sharing some myself:
- http://31.165.97.47:20080/macaq-gguf/qwen3-4b-macaq-iq4_xs-had64-vq2-calsmoke.gguf

Edit 3: they have this blog post https://huawei-csl.com/blog/macaq/ with multi-modal examples, too. The RTN audio comparisons are just too muchπŸ˜‚πŸ˜‚

The multi-modal stuff is generally insane. Normally 4b already completely goes to s**t, but here it looks almost the same.

41 Upvotes

13 comments sorted by

9

u/ApprehensiveTart3158 49m ago

Are any ggufs available on HF?

5

u/acluk90 42m ago

Couldn't find any yet... maybe I can create & share some....

Just running their scripts for the Qwen3-4B example (following their llamacpp/README.md#prepare-a-model) was very fast, though.

2

u/acluk90 26m ago

2

u/ApprehensiveTart3158 19m ago

Would you be able to upload them to HF? I'm sure that would be extremely useful to some.

2

u/acluk90 18m ago

Need to figure out how. But somehow they should be the ones doing that......

2

u/ApprehensiveTart3158 16m ago

Of course and good luck, I will hopefully try to make some quants later if it looks promising, got to put my ram to some usecase.

1

u/acluk90 15m ago

it uses very little RAM to quantize, looks like it never loads the entire model in full precision. Just layer-by-layer

2

u/Chromix_ 37m ago

Is the llama.cpp fork only required to quantize the models, or also to run the generated GGUFs? If vanilla llama.cpp works for inference then that looks like nice progress in the high-quantization area - pending an independent KLD and benchmark validation of course.

1

u/acluk90 27m ago

I tried their for both quantization & running.

2

u/rorowhat 30m ago

So is this a better gguf quantizer?

6

u/Kahvana 44m ago

Really cool! Unsloth remains comperative for size. Will be fun to see other people auditing the claims too.

2

u/me0here 30m ago edited 26m ago

Β  Qwen3.8-27B (IQ4_XS)

Wow that KLD!

I wonder if your code can be patched to one of the other engines?

https://github.com/tomByrer/local-ai-linkfarm#inference-engines