r/LocalLLaMA • • Jun 13 '26

[deleted by user]

[removed]

586 Upvotes

152 comments sorted by

View all comments

Show parent comment

2

u/FullOf_Bad_Ideas Jun 13 '26

Maybe, but probably not this weekend.

I'm working now on improving my custom Nex N2 Pro quants by measuring per-tensor quantization impact that Nex N2 Pro has, since when I re-used measurements from Qwen it worked but I suspect it was not as optimal. You can see it in the KLD/PPL numbers I have on my model cards for Qwen and Nex-N2-Pro - my Qwen custom quants overperform more than my Nex custom quants. I want to figure it out to have open source code for the whole quantization pipeline. Then, if Rio will be interesting, I'll quant it in a similar manner to Nex N2 Pro. And if Minimax M3 will be supported by exllamav3, I'll try to run this methodology on it too.

1

u/Such_Advantage_6949 Jun 13 '26

Actually i tried to do something similar but end up, it still perform worse than just take your quant. I am using your 3.7 version. I will try to quant this then . I think just a 3.5 bpw version is enough to tell if it is better than nex n2 pro

1

u/FullOf_Bad_Ideas Jun 13 '26

What was your approach like? Did you quant the BF16 model to your desired bpw level? Have you measured KLD and PPL for it or did it feel worse?

If you end up quanting it, please let me know how you like Rio 397B and please upload your quant if possible, this could save me time when making my own quants later as I could skip one baseline size.

Heads up: If you make 3.5bpw Rio 397B quant with exllamav3 quantize tool it will work and should give you a good feel for the model, but it allocates higher bitrates to front of the model and lower in the back, while Qwen 3.5 397B tends to be more sensitive in the back.

1

u/Such_Advantage_6949 Jun 13 '26

I did something like measure the kld impact from each of the layer from different mix of your quant and choose the one with least impact to arrive at a target size. It was all done by codex, the result is not better than your provided quant or very slightly better. Thought i could also be that i was using 3 4 5 bpw quant and targeting like 3.8 which is very close to 4. For now my plan is just to get a feel if it is better than nex. Nex n2 is decent but it does end abruptive mid work once in a while. Will let u know how it compare to nex n2

2

u/FullOf_Bad_Ideas Jun 13 '26 edited Jun 13 '26

You can use those scripts to make custom quants if you want 3.8bpw specifically - https://github.com/adamo1139/qwen397b-exl3

It's nothing sophisticated as it was quickly vibe coded with DS V4 Pro, but this approach works well for me. The trick is to apply superlinear penalty as layers that are hard to quant benefit MORE from being assigned to higher bitrates.

I made 3.7bpw since sometimes the script overshoots and I didn't want to end up with 3.9bpw

2

u/Such_Advantage_6949 Jun 13 '26

thank for sharing. always enjoy your quant, i am running one 3.5bpw, will let u know how it goes comparing to nex n2 pro

2

u/Such_Advantage_6949 Jun 14 '26

From initial testing i think it is at least on pair with nex n2 from what i tested, and the thinking is more concise. It doesnt enter loop at all yet. I got loop with nex n2 pro before

1

u/FullOf_Bad_Ideas Jun 14 '26

Sweet

1

u/Such_Advantage_6949 Jun 14 '26

I think the thinking pattern is, for sure, an upgrade over nex n2. It doesnt have the kind of repetitive thinking that will make the model fall into loop. But with new latent thinking training, once in a while it will send thinking out loud as assistant message, so that is something different to other model

2

u/FullOf_Bad_Ideas Jun 14 '26

Rio is a merge of Nex and Qwen. Nex has minor template difference - https://huggingface.co/nex-agi/Nex-N2-Pro/discussions/7

Merge probably breaks it and that's why it can send thinking into assistant message.