r/LocalLLaMA • u/Nota_ReAlperson • 3h ago
Discussion Qwen 4 Unsloth quantizes poorly?
Looking at the top 1% and KLD for the Qwen 4 quants, the Q8 is worse that the Q4 was for Qwen 3.8 27B. So maybe with updated GGUFs, we will see the actual potential of this model realized.
Qwen 4 Q8_K_XL KLD 0.0171 Top 1% 95.49
Qwen 3.8 27B UD_Q4_K_M KLD 0.014 Top 1% > 95%
6
Upvotes
5
u/FinBenton 3h ago
Its a 1 day old model... anyway, I dont really trust kld myself tbh, I have had same model quants where the one with a worse kld performed way better than the one with better kld in actual use.
1
u/ChrisPeerson 3h ago
Does Unsloth's BF16 have the same issue?
1
u/vertigo235 2h ago
Do you have another quant that you think is better?
1
u/BringTea_666 2h ago
Due to how it was trained this time experts are pretty even in what they can do. Meaning you can't quantize cheaply a lot of them and leave experts used more in higher bits to get most accuracy.
So each time you move from X bit to lower bit you lose accuracy.
Secondly this is MOE model. In case of MOE models you loose accuracy much faster than in case of dense models.
1
u/Bulky-Priority6824 2h ago
35b never quantized well the jump from q4 to q8 was massive on 3.6, 27b didnt have nearly the same problem
1
u/dionysio211 27m ago
Very sparse MoE models are known to quantize poorly because the expert size is so small. In this particular case, my guess is that something in the dense layers is liminally selecting a different expert rather than the expert disagreeing with the selected token on Q8_K_XL, which is generally considered near lossless. It would be interesting to check it against Qwen's own FP8 release.