Size differences

#1
by Austriani - opened

Hey, llmfan46, I want to tell you that there is some kind of error - Q3_K_M weights 26.1GB, while Q4_K_M only 21.2GB. Is it some kind of error? Or names just mixed up? I would like you to fix this up if possible.

Wow, you uncensored Harmonia! The original version was plagued with constant refusals, so this is such a pleasant surprise. Thanks a ton!!!

Oof, those sizes are wild... like they have nothing to do with what you'd expect a 31B to weigh at each quant.

Are you using er... a slightly different layout from mainline?

That extra size is just enough to blow past my 3090's VRAM at max context, and performance goes straight in the toilet, heh

The reason is mentioned in the model card, here:

"For the K-quants below, selected Gemma 4 attention and FFN tensors are kept at higher precision where useful.

These GGUFs preserve key Gemma 4 attention projection tensors at higher precision.

Q6_K, Q5_K_M, Q5_K_S, Q4_K_M, Q4_K_S Q3_K_LandQ3_K_Mkeep the main attention projection tensors asQ8_0`:
    attn_q
    attn_k
    attn_v
    attn_output

This helps preserve Gemma 4’s attention path at higher precision, especially for lower-bit quants, while avoiding large file-size increases from unnecessarily up-quantizing the largest MoE expert tensors."

I will redo them now sith standard sizes.

OMG, did you just redo the quants? Thanks so much!

That said, if you think it's best to keep those key Gemma 4 attention projection tensors at higher precision, I'm all for it. I can just shorten my context.

People quantize their expectations. While size is what really matters, people will avoid going to q3_k_xl for example, even when it gives better results than q4_K_S.

OMG, did you just redo the quants? Thanks so much!

That said, if you think it's best to keep those key Gemma 4 attention projection tensors at higher precision, I'm all for it. I can just shorten my context.

Yeah? But I just redid them because you said that performance was greatly decreased.

Is this "I want it smaller but I want it larger"?

Sign up or log in to comment