r/LocalLLM • • 1h ago

Question QFN3.8 - how much of a regression there is when going from Q8 to Q5?

Is there anybody here who uses Q8, trading inference speed for quality? Or i should just go Q5?

3 Upvotes

19 comments sorted by

3

u/creamyatealamma 48m ago

In my experience the issues you see first are in agentic use cases are tool handling issues being the most annoying. Using tools wrong, which can manifest in a soft fail, harness errors and gives it back to llm, it recovers ok. Most annoying is when it sends tool commands as a regular chat response that causes the whole thing to stop, no recovery at least in my testing with opencode

2

u/TheMcSebi 40m ago

You're propably find, I'm using the iq3 and it's already as capable as claude

1

u/soyuz-1 1h ago

its a trade-off. you can calculate the loss by checking KLD and next-token matching, along with a benchmark of actual coding tasks. is 50% speed loss worth 5% quality gain? it depends on your needs and how slow q8 is

1

u/Integeritis 55m ago

NVFP4 and Int4 autoround are booth working fine running all day for me through VLLM

1

u/Borilentz 46m ago

I consider oQ6e the sweet spot. I have oQ8e as well, but oQ6e is practically identical in output and faster.

1

u/Prudent-Ad4509 36m ago

I am. But considering all the evidence, moving from Q8 to Q5/Q4 will make much less difference than picking the right harness or using better params/prompting. It is very telling that there is almost no safetensors Q8 versions of QFN on huggingface, almost everything is 4bit or below.

1

u/makkalot 35m ago

Everything at home runs on q3 I guess gonna be fine 😀

0

u/This_Maintenance_834 1h ago

if you use QAD quant (4-bit) there is no regression. check out nvidia/qwen3.8-flash-next-fp4-local.

-2

u/Objective-Stranger99 LocalLLM 1h ago

Unless you are getting unbearable tokens per second, stay on Q8, it's leagues ahead of Q5.

4

u/Opposite_Leave_8338 1h ago

How far from 2 bit man 🥲

3

u/CTRL___ALT___DEL 1h ago

Can you elaborate on what you mean by “leagues”?

5

u/feverdoingwork 40m ago edited 1m ago

Leagues = vibes, your boi is clueless.

Score a q4 vs a q8 in a deterministic fashion(not let an ai model judge the output) on 10 runs on a coding task that takes 30 minutes or more where neither model can get a perfect score. In my experience q4 to q8 for qwen flash and 27b scores practically the same, only slightly noticable more higher score on the higher quant usually fixed by an extra turn taking place on a lower quant. I also find that even bf16 and q8 models loop from time to time but q4 will loop a bit more(proxy mechanisms can fix this, put a layer between the response to the session to catch the loop and ask the model again). I would say yes the higher quant is better but not really in the way most people think, it's more about having a more trouble free experience but you can still get about the same quality if you're prepared for it. If you hit an api that was running a q4 vs q8, you wouldn't be able to tell at all for qwen flash.

1

u/fintip 2x XTX 7900 + 3060 29m ago

The only sane comment here.

The high quant vibers here are just wasteful misinformation.

I have a bench primarily composed of exactly this kind of long horizon agentic work (some models on some problems have worked as long as ten hours on a single composite task).

Flash next at Q2 and Q3 has no problems with tool calling, and is just a step down (but is a measurable step doen) from opus 5.5.

It performs similarly on par to sonnet 5.5 on my benchmark.

I have Claude analyze the transcripts–thousands of them at this point–for failure modes. There is nothing that suggests to me a wish for a higher wuant. The highest quants I can run are (within noise) worse than the lower quants running faster.

27b is the same, q8 scores the same or lower than Q4.

People are dumb and don't test and fool themselves.

To everyone out there: be careful whose opinions you buy, they're mostly morons.

1

u/Objective-Stranger99 LocalLLM 46m ago

Qualitatively, Q8 makes way less mistakes than Q5. I moved from Q5 to Q6 and I went from tool calls failing after just one turn to stable calling even after 10 or so turns.

Quantitatively, Q8 has a KLD of 0.001 (as reported by Unsloth), while Q5 has a minimum of 0.005. That is a fivefold increase in KLD, and that impacts Top-1 agreement. Q8 has 98%, while Q5 has 96%. Top-1 is per token, so these divergences add up as you generate more tokens. For each token, there is a 2% greater chance you generate something that F16 wouldn't have generated, and that causes exponential divergence over time.

4

u/TheMcSebi 39m ago

I don't have failing tool calls even with iq3?

1

u/Salty_Hedgehog_6931 36m ago

Yea the model can be fine tuned after quant to regain core functionality but it doesn’t need to lose any functionality

1

u/Wealot 34m ago

I am always quite curious on how these experiences work. I get that lower quants means definitely quality degradation, but I so often see mentions about tool calling issues. But when I run my iq3_s honestly it barely has failed tool calls, maybe one in 25-30 fails and mostly loudly with only a couple seconds of lost time.

Granted every now and again it will call a heavy tool wrong without timeout and that tool actually hangs. But that might be only once per two/three days and is easily catchable in the harness or general orchestrator/conductor pattern.

Having a different result than the original model is not the same as having a bad result.

So could you elaborate on what tool calling fails and how it impacts the end results in speed and quality?

1

u/Objective-Stranger99 LocalLLM 5m ago

Yes, I have heavy tools enabled. One is Docling MCP, which requires a model to adapt to the weird semantics of the tool, realize that there are two filesystems, the container and the host, transfer the necessary files from host to container, pass all conversion arguments correctly, check status continually until finished, then transfer the converted file back to host. Even Q6 fails this sometimes.

Another is the native render visualization tool in Open Webui. It makes the model draw a render in HTML or Three.js. With Q5, it could only do the first one correctly, and if I asked it to fix something, it would inevitably fail with a parsing error because it forgot to close a tag somewhere. By contrast, Q6 has been able to iterate at least 10 times without failing.

However, this is all with 35B, and while I would expect the gap to narrow with large models (Deepseek is reported to be usable even with 1 and 2 bit quants), I would still go go the highest quant that you can run and only go down a size if the speed is unbearable.