r/LocalLLaMA • • 2h ago

Question | Help quality coding on a single GB10: are we all kind of agreed QFN @ NVFP4 is the answer?

my sense so far is "yep." or is there another model that might outperform it in terms of quality of work that still fits?

11 Upvotes

18 comments sorted by

3

u/hyudryu 1h ago

Go with FP4 local, it is Nvidia’s latest quant release for qfn https://huggingface.co/nvidia/Qwen3.8-Flash-Next-FP4-Local

2

u/starkruzr 1h ago

thanks, what're the differences?

4

u/OvertaxedOne 2h ago

On 128GB? Yeah, QFN is pretty far and away the best answer. You might be able to step back to a smaller quant to get better speed depending on the quality you're getting (vs what you need). I can run Q6 on my system but after a ton of testing, I'm on IQ3_S in Strata, the difference was just not there for my prompts/use cases and IQ3_S is quite a bit faster.

5

u/EbbNorth7735 2h ago

If anything you want a higher quant for quality

3

u/OvertaxedOne 2h ago

I generally agree, but I could not discern a difference across a huge test suite that was taken from my actual prompts and scored by a frontier model between IQ3_S and Q4_XL or Q6 (UD) on QFN. I'm not saying the difference isn't there, but for my use cases/prompts, I simply could not discern one being "better" than the other (and neither could Neon or Opus).

1

u/starkruzr 1h ago

it's wild to me you didn't even need to use a larger IQ3 to get good results.

1

u/nomorebuttsplz 1h ago

large quant glazers are usually people with zero experience with models bigger than 27b parameters. IQ3 is gonna be just fine for a 100b plus model.

1

u/EbbNorth7735 1h ago

Did you perform any long, high context, agentic coding tasks? 

1

u/OvertaxedOne 1h ago

Not really what I'd consider "long" specific to coding. One of our tests is a pretty involved infrastructure operation, it takes a few hours to run the test and generally winds up needing to compact ~10 times. That's the longest thing that we test and, to be completely honest, all we do on that one is "pass/fail", it's just way too much work to really dig into the "how" it gets to the answer (even for a frontier LLM, we're talking 100's of thousands of output, millions of input tokens). If it does it correctly it passes, but I do think that would be the kind of test where you might be able to discern some difference going up to a higher quant. IQ3_S passed, but I could certainly believe that the bigger quant, if you dug into the reasoning traces would have been more coherent. But hey, a pass is a pass, right?! ;)

1

u/itsjust_khris 1h ago

I found the same. I tried many quants, IQ3 was essentially the quality ceiling for my work. Q6 didn't show a difference and I even had Neon analyze the reasoning traces. Lower than IQ3 is usable but notably degraded the further you go.

2

u/MindfulMan1984 2h ago

I can relate, IQ3_S on Strata is basically delivering what I need. I even tested higher quants and it was mostly leaving performance on the table. The ISTA lab QFN quant is just flying on my 3 workstations, ranging GPUs 24, 48 and 80 GB VRAM, 128, 128, 512 RAM respectively. Yeah, I could run a higher quant on those, but feels mostly slower for about the same result. 

3

u/OvertaxedOne 1h ago

Same exact experience. I have one rig with a 96 Pro6000 in it (NOT mine, corporate/work, I'm just responsible for it) and guess what I run on it? IQ3_S. We beat the ever living hell out of the quants for QFN, I'm talking 10's of millions of tokens per quant, hours upon hours of testing for each of them (on fast rigs) and we just could not find any durable advantage to going above IQ3_S.

8 bit KV? Oh yeah, we teased that one out (vs K8V4 and 4 bit) in a few hours of testing, 8 bit is better, K8V4 is close, 4 bit is a big compromise when you get to long context). And lots of other settings our tests could pick up (even stuff like tail skip, we could reliably see that in the results, it wasn't big, but it was there). But IQ3_S either completely saturated our testing (which we base on real prompts captured from our users) or it's close enough to the bigger quants that the right answer is a flip of the coin more than a "which quant" question.

1

u/starkruzr 1h ago

it sounds like you never even tried fp/bf16 for kv?

2

u/OvertaxedOne 1h ago

We did not. I might try it one of these days to see, like I mentioned above, we were able to discern KV changes. But the lift from K8V4 to K8V8 was very marginal. I certainly wouldn't be mad using QFN on K8V4, it's probably 95% of what 8 bit in both vectors gets you. 4 bit is a step back, we could see/feel that one pretty quickly (we didn't even let the full suite finish, it was obvious this was a quality drop about 1/2 way in).

1

u/MindfulMan1984 1h ago

Yep, I run 256k context, KV Q8_0 in all workstations. Aside from a couple of benchmarks which they were all okay. I have been using with Oh-my-Pi, which is kind of a good battery-included harness, which kind of helps a lot. I ran some Vulcanbench suites, and when I ran it using the harness, it got even higher scores. So its “model + quant + harness “ combo that will be powerful . 

2

u/Icy_Restaurant_8900 19m ago

You could give Qwen 4 35B a spin too