r/LocalLLM • u/Snoo_53093 • 23h ago
Discussion current quantization situation
whenever someone post their setup, if people found out that they use a models that q3 or below, their post would likely be filled by sarcasm (usually at q1 or q2 post).
at some point, i also read a post that has a comment said: "the larger the model, the less it is affected by quantization". i get it that the usual conventional-quant is nearly unusable at Q2 or below, but what about other quantization methods? like trellis quantization or hadamard rotation.
lets talk about qfn gyro modelcard by agentionAI for an example, it is use a hadamard rotation and use trellis quantization, need exl3 engine to run them. i usually take author benchmark with a grain of salt, but when i see people posts WHO ACTUALLY run that models, they said its get it job done, even on some hard task.
so is it true that the bigger the model, the less it is affect by quantization? does that mean models with >100b q1 or q2 can beat <30b q4 models? or is there any real evidence that not every <q2 quant is not usable? keep in mind i havent actually tried it by myself, the data i see is from other people post.
4
u/Hildechis 22h ago
The bigger the model, the less affected by quantization. That's true. About trellis and walsh-hadamard, exl3 is for sure a superior quantization method, followed by IQ_K(S). Exl3 at 2.5-4 bits is mindblowingly good, even if you quantize kv to 8,8. Of course there are limits to anything and a 2.7bpw exl3 quant is not the same as the full-precision model.
I wouldn't currently go under 2.5-bit, even with huge models, even with exl3 and IQ_K quants. I have tried it and IME that's the threshold where it becomes more convenient to go to a better quant of a smaller model.
4
u/Xijit 23h ago
I have been learning how to use LLMs for the past two weeks, and all of these names for AI tech jargon make me feel like I am reading l33t speak while having a stroke.
Is this a situation where the brain hurting would stop if I took enough vaccines to develop autism, or is this just part of process of developing AI Psychosis?
1
u/AndrewRoseIT 16h ago
Can't speak to the trellis/exl3 stuff, I haven't tested anything below 4-bit myself. What I did measure on a 14B: Q6 vs F16 was basically a wash on MMLU (0.772 vs 0.770), and on HumanEval q4/q5/q6 came in at 129/131/132 out of 164, which is within noise. So 4-bit and up held up fine for me. For Q3 I'd want to see someone run the same eval on a Q3 and a Q4 of the same model before trusting it either way, just chatting with it doesn't really catch the drop. Also watch the max token cap when comparing, I had a GSM8K run that looked like 76.6% and it was really 95% once answers stopped getting cut off.
1
u/Janky-Code 14h ago
Quantization introduces tiny rounding errors in weights. In a large parameter model, individual rounding errors may have less impact. Rounding errors may also cancel each other.
In mixture-of-expert models, the errors show up in the active experts and shared layers. The "quantization doesn't affect large parameter models as much" rounding math doesn't apply to inactive parameters.
1
u/rocket1420 14m ago
Man I thought I was pretty up to date on the lingo but not sure what half of what you said means.