Q6_K?

#1
by qenme - opened

Hi AesSedai,

Big fan; do you have plans for a Q6_K release?

Owner
β€’
edited Apr 17

Hi, I don't really do Q6_K with these recipes simply because of how the mixtures stack:

  • Q4_K is Q4_K for the Up and Gate and Q5_K for the Down ffns
  • Q5_K is Q5_K for the Up and Gate and Q6_K for the Down ffns

so a Q6_K theoretically would be:

  • Q6_K is Q6_K for the Up and Gate and Q8_0 for the Down ffns

and with the rest of the model in Q8_0 already, you're only shaving a small amount of size off of the Q8_0 to step the Up and Gate to the Q6_K level. Honestly IMO you'd just run the Q8_0 at that point?

@AesSedai Q6_K will be just enough to fit in RTX 5090. Maybe use Q6_K for Up, Down and Gate would also be a good option?

I'll look into it later today and see where it lands on the chart

Hi, I don't really do Q6_K with these recipes simply because of how the mixtures stack:

  • Q4_K is Q4_K for the Up and Gate and Q5_K for the Down ffns
  • Q5_K is Q5_K for the Up and Gate and Q6_K for the Down ffns

so a Q6_K theoretically would be:

  • Q6_K is Q6_K for the Up and Gate and Q8_0 for the Down ffns

and with the rest of the model in Q8_0 already, you're only shaving a small amount of size off of the Q8_0 to step the Up and Gate to the Q6_K level. Honestly IMO you'd just run the Q8_0 at that point?

Thanks for the insight!

I've uploaded a Q6_K for Up/Gate/Down, it's a little smaller but not my much. I won't do that regularly but this is a pretty small MoE so it doesn't take much storage to do.

I've uploaded a Q6_K for Up/Gate/Down

Huge thanks!!

I've uploaded a Q6_K for Up/Gate/Down, it's a little smaller but not my much. I won't do that regularly but this is a pretty small MoE so it doesn't take much storage to do.

Oh please make the 27B too...I like your Q6_Ks because I run them on a 2x3090 with tons of context. In general your quants appear to be hitting the mark 99% of the time on first shot queries.

Hi @mancub , I don't really quantize the dense models because they don't have the same PPL / KLD benefit as the MoE's do (hence why we call it MoE-optimized!).

I did try it on a dense model before but it just doesn't have the same improvement effect compared to the regular quantization recipes, sorry :(

Thanks for doing this great work anyway!

Been trying several versions of the 35B model hoping to move from the 27B variant for more speed but haven't been convinced. The quality drop has been noticeable.

But this Q6_K model is on a whole other level as the PPL hints at. Compared to the other variants I've tried it excels not only at code but also in discussions on how to tackle various problems and implementations.. Yes, a MoE model requires more hand-holding in the form of plans and documentation, but the kicker is that this model is smart enough to write them itself with only basic prompting. Alternatively, you could have the 27B or another larger model do it for you while you grab a coffee. For anyone who already follows a plan β†’ execute β†’ evaluate workflow or similar, it's zero extra effort for a lot gained in PP/TG performance.

That said, I'm only doing Python stuff and staying below 128K context, so YMMV.

I use VSCode+CC as my main setup, so I ended up using the MoE model (Q4 though) as a lower-tier model (sonet/haiku) which CC now uses for agents (and it's really fast and good at it). The 27B I relegated as opus and that's like the main figuring things out model I guess.

Problem is CC wants 200k+ tokens budget and while I do have around 200k with 27B, it still runs out, so something isn't fully set up yet. But I feel spoiled now being able to run the 27B as the main model, and the 35B as an agentic one, LOL. With speculative tokens my 3x3090s deliver very usable performance in vllm.

I've updated these quants with MTP support.

I've updated these quants with MTP support.

Fire, thanks man.

I just realized I messed up and didn't do the fused gate+up, so the imatrix wasn't right (since my imatrix was based on that). I'm re-quanting these and will have it corrected shortly. Sorry D:

Follow-up, fixed the issue and have the corrects quants (fused + MTP) uploaded now.

Sign up or log in to comment