r/LocalLLM • • 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.

1 Upvotes

11 comments sorted by

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.

2

u/Late-Replacement-481 22h ago

Depends on the model you start with, qwen 3.8 just happens to deal better with kv cache quantization than other models.

2

u/vogelvogelvogelvogel 20h ago

very large models can be usable with q2 and excel smaller with q4, q8, there have been numerous reports of a glm 5.3 (if i remember correctly) at q2 exceling 27b 3.8 at q8 etc

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?

3

u/zenmatrix83 22h ago

it just takes time, loosely speaking quantization can be thought of as compression, not really the same but in the end your putting a bigger model in les vram. The down side is the quality drops because your using math to mess with the weights in a way you don't need the full set

2

u/ApprehensiveFan1516 21h ago

AI jargon is largely just stuff that existed all along but now has a fancy new name slapped over the top of it.

One easy example of this off the top of my head: Model Context Protocol server == just an API. I hear people say that's not what the standard is supposed to be reduced to, but essentially that's exactly what it is.

Whole lot of this going on. I was a bit confused by it all at first and I've been writing code since the stone age.

Just ask an LLM to explain it to you. It gets easier over time.

2

u/Xijit 19h ago

Seems like there is a feeding frenzy of people who shouldn't be naming things, naming things because AI lets them do things that are way above their pay grade, then they get to name something because AI enabled them to do it first.

1

u/Janky-Code 14h ago

Jargon can be precise. People sometimes use ai jargon because they don't understand the underlying mathematics. The same people also have the illusion of explanatory depth where they believe they understand the math; they'd fail a pop quiz on dot product and orthogonality.

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.