r/LocalLLM • u/RealEddoursul • Sep 30 '26
Project Qwen 3.8 Flash Next - doubled Strata throughput on 3090+5070 Ti, IQ3_S 2466 pp/167 tps, UD-Q4_K_XL 2341 pp / 126 tps (yes, really)
My journey:
- 6 tps on UD-Q4_K_XL - hm, this is not right. Claude, find better llama.cpp parameters.
- 21 tps - that's better, let's see IQ3_XXS
- 27 tps - nice, but still not my tempo.
- 51 tps on IQ3_XXS - Niko1221 shares Strata on Reddit. Great! But wait. If there are software gains, there may be more. Let's go.
After a week of profiling and benchmarking with Opus 5.5 I doubled Strata throughput and reached x5 from llama.cpp on UD-Q4_K_XL (added this quant support).
See the COMPARISON TABLES with all the numbers including agreement with llama.cpp.
The code is available https://github.com/eddoursul/Strata/tree/custom
This a result of my personal experiments, not a software release. The license has not changed, still MIT.
I opened a pull request, Niko1221 is free to merge or not merge any patch.
UPDATE: The fork uses json configurations to run https://github.com/eddoursul/Strata/blob/custom/examples/README.md
UPDATE 2026-10-12: The upstream rebuilt the commit tree to remove Claude attribution from commit messages, I updated the fork to re-synchronize.
18
u/sophosympatheia Sep 30 '26
It's nice to see people contributing to Strata. I was skeptical of it at first, but I'm using it now and it's making Qwen3.8-Flash-Next actually usable on my hardware. Amazing.
I hope this gets rolled into the main repo. It looks promising.
2
u/kimhaneol Sep 30 '26
I gotta try this. So you've made UD-Q4_K_XL work on Strata, right?
2
u/Current-Row-159 Sep 30 '26
the 6 to 21 t/s jump from fixing llama.cpp params before changing anything is the part that stayed with me, that baseline was wrong and a lot of numbers in this thread are being measured against it. i'm not on strata and it's a different engine, so no direct comparison, but as a reference point i'm running qwen3.8-27b int8-prefill on ninfer 2026.09.27 on a single 4090 24gb: 145 t/s decode on a 2367 token prompt with dflash2 k=7, 239 t/s on the second call once the prefix cache is warm, 4300 t/s prefill. dflash2 costs 1.7gb more vram than mtp. the 24+16 question from the comments never got answered, does any of this carry over when you drop to a single 24gb card?
2
u/drrck82 Oct 01 '26
I have 2x3090 and was quite skeptical about this working well after running Flash Next in vLLM. This engine is nothing short of amazing. Do you have any prebuilt benchmark suites? I'd love to add in some standardized results for my setup.
37
u/KnownAd4832 Sep 30 '26
Amazing work (Niko here)! I’ll try to support it as soon as I can
5
u/Prestigious-Act-1577 Sep 30 '26
Can I ask how much of your and Strata's optimizations are CUDA specific? Would these improvements port to amd 9000 series too? I know Strata already has amd support, the numbers while good, aren't what it should be. My AI said its 10% cuda 90% other.
5
u/Zarloc Sep 30 '26 edited Sep 30 '26
System: TR2950x + 96GB DDR4 quad-channel@2400, 2x3090 16x/16x@Gen3 (No P2P or NVLink)
Model: Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S
Strata upstream(d6708a4) 2 GPUs: 860/85 t/s
Strata upstream(d6708a4) 1 GPU: 1300/70 t/s
This fork(61521be) 2 GPUs: 2500/120 t/s
Full sweep:
4
u/VerticalPackage Sep 30 '26 edited Sep 30 '26
PCIe x4 on the RTX3090? That's nuts! I imagine that means it is connected to the chipset and not the CPU.
Have you tried the performance by streaming from SSD? I can only allocate 70GB of DDR5 for running Flash Next.
Edit - I had Sol check out your repo, and it agrees that this is very much correct, the RTX3090 only needs to run on PCIe x4 through the chipset, the x16 to CPU needs to be on the secondary GPU due to how the workload is split. And also that the PLE table is on the nvme, so no need for more than 70GB DDR5.
I'm totally trying this with my RTX3090+RTX3080ti.
1
u/Ok-Solution-7889 Sep 30 '26
Going from 6 tps to 167 tps is a pretty crazy jump, the profiling and benchmarking work behind this is probably more interesting than the final number itself
1
u/brakeline Sep 30 '26
Just tried it myself.
Tried 2x 3060 (pcie3 x16 and x4) and with 1 3060 @ 16x
Your fork gave me marginally lower than mainline in both
1
u/PlusBus1234 Oct 01 '26
Hey im testing this on similar hardware (5070ti + a5000) + 96gb ddr5 , im getting 90 t/s on UD-Q4 ! its amazing, on llamacpp this quant i get ~28 t/s, i used your .json config.
I wanted to ask if you are using the 3090 as main gpu? i get a crash if i try with the 5070ti as main, the modern card imo should be faster in compute but i can't set it as main or it will crash on startup. I wonder if i can get any closer to your 126 tps.
3
u/meganoob1337 Sep 30 '26
there is no dockerized version of this right?
3
u/Comfortable_Ebb7015 Sep 30 '26
Wtf what? That's amazing! I just can't keep up, things move too fast!
3
u/wisepal_app Sep 30 '26
i have 16 gb vram + 96 gb dd5 ram. will it work with my system? did you try it with qwen 3.8 27b? do your fork use draft model like strata?
3
u/Sexyvette07 Sep 30 '26
On my 5090 + 64gb RAM system im getting 95 tok/s on xhigh and 150 tok/s on low thinking with IQ3_S and its coding is excellent. Im very impressed.
2
u/bring_back_the_v10s Sep 30 '26
How's IQ3 for coding tasks? Is it smart enough?
2
u/BlueSky4200 Oct 03 '26
Disclaimer: Formatted by AI:
Congrats, this is seriously impressive work. I tried your
custombranch on a different box and it holds up.Setup: 2× RTX 3090 (card 0 on CPU lanes x16, card 1 on chipset x4), i5-12600K (no AVX-512), 96 GB DDR5-5600, Windows 11. GSQ-RCO IQ3_S, int8 KV, 230 W limit. Same benchmark script for every variant (decode = mean over 6 tasks, prefill = 12.6K-token prompt).
One thing worth knowing for people with two identical cards: put the helper on the fast link.
--main-gpu 1 --second-gpu 0(x4 card computes, x16 card holds experts) gave 115 t/s. The other way round gave only 62.5 t/s, slower than a single card. Same lesson as your own setup, where the main 3090 sits on x4 and the helper has the fast link.One heads-up on quality. Your parity numbers are all greedy, and greedy wouldn't show this. With sampling (temp 0.6, top_p 0.95, top_k 20) and long thinking, I hit runaway repetition on a "write an expression parser" task. The thinking either ended in thousands of
0000…or in ever-growing "Potential issue: … and unary and unary and…" lists, until it hit a 48K budget.This is not your fork: upstream 0.1.34 does exactly the same on the same task and seed, and disabling prompt lookup didn't help either.
The fix is
presence_penalty: 1.5(Qwen recommends it against repetition on quantized models anyway):The one remaining fail is a genuine Python bug in the generated code (a missing
nonlocal). Small samples, so take it as a strong hint rather than proof. Still, if anyone sees endless thinking with this model under sampling, try the penalty first.Thanks for sharing this and for the detailed COMPARISON.md, it made reproducing everything easy.
3
u/vacon04 Sep 30 '26
93 commits, holy crap, I mean, the numbers are very impressive, but boy merging into mainline Strata like this may be a bit of a problem.
1
u/Yugikisp 10d ago
I'm doing 80 to 90 tok/s on my 10 GB 3080 and system ram, so I believe you.
1
u/SaltGrilledSalmon Sep 30 '26
Kinda off topic but in my dual rtx 2070 super (8gb each, one on pcie x16 slot and the other on x4) only one GPU is being used (the slower one apparently) Has anyone faced this on dual GPU setups? I can't increase context above 32k or it'll crash when launching, while the other GPU isn't even used...
1
u/eightone-81 Sep 30 '26
When flash next helps to improve flash next inference engine ;-)
1
u/sod0 Sep 30 '26
How much kv context does this get you on a 5090?
1
u/SplitAny7190 Sep 30 '26
guess UD-Q4_K_XL should be superior to IQ3_XSS? i got only one gpu (4090) and 128GB ram, i will see if i can run this. right now using Strata and it works great after i calibrated for my pc.
1
u/Yakapo88 Sep 30 '26
Saving for later.
1
u/kakopappa2 Oct 01 '26
I have a 32gb ram and 12g 3060 GPU. Running coder-iq1_m generates about 38 tokens per second.
also got the codex (gpt-6.1) to run a security audit and it didn’t find any spyware or crypto mining or hidden scripts.
Super happy to get 3.8 Next running on poor GPU
Great product good luck.
1
u/killzone44 Oct 01 '26
I just used claude to setup Strava on my 3090, it's the best running local model I've had so far! Not sure if I'm ready to offload work from claude to it, but maybe
1
u/blast1987 Oct 01 '26
Is it possible to use it on mixed gpu setup? I have rx 7800 xt + rtx 3060 and 64 gb ram.
1
u/VerticalPackage Oct 01 '26 edited Oct 01 '26
I have to give you my praises. I was disappointed in my RTX3090 performance with Flash Next. I'd get like 1000 tok/s pp and 45 tok/s decode.
I didn't want to buy a second RTX3090 because then I'd need to buy also a new motherboard that supports x8/x8 through CPU. I had a RTX3080TI in my gaming rig, so I gave your fork a shot. I managed to run UD-Q4_K_XL @ 256k context: 2500 tok/s pp + 95 tok/s decode
That's 2x the speed I got with my single RTX3090, but only by adding a $400 GPU to the mix!
It's going faster than Qwen 3.8 27B :D
1
u/Chekhovs_Shotgun Oct 01 '26
Tried this on my machine (single RTX 3060 12 GB + 64 GB RAM CPU Ryzen 9 7900), IQ3_S. The claims hold up there too, cant test the 2 gpu combo tho as i dont have one.
Writing answers: 30 → 53 tok/s on a short coding prompt, 51 → 76 tok/s on an edit that returns a file, compared with the older Strata build I was running. That's about 1.3–1.7x, roughly your "3090 alone" numbers.
Prompt reading was a bit slower than upstream 0.1.27 on my card (605 vs 676 tok/s), probably the 12 GB.
I use it as the backend for a multi-role agent setup (classifier, coder and critic sharing one long context), so I added three things and opened a PR in case they're useful:
https://github.com/eddoursul/Strata/pull/1
POST /v1/choose: picks among single-token options in one forward pass (no generation), handy for routers and classifiers (system 1 style think of jev).
Requests without tools get the raw text back instead of extracted tool calls.
Extra prompt-cache checkpoints where agent prompts diverge. A 6K-token context asked a new question goes from ~10 s to ~0.5 s, and my agent benchmark went 412 s → 369 s.
Each commit stands alone, so take whatever fits. Thanks for sharing the fork!
1
u/MasterNomie Oct 02 '26
Impressive work!
Can you explain how does your fork achieve the speedup? I am beginner with extra curiosity.
1
u/No_Bag9614 Oct 02 '26
In the Strata interface, how do I upload a folder from a website?
1
u/MasterNomie Oct 02 '26
I am observing severe performance degradation in my testing. Can somebody/OP explain why?
Hardware - 5090, 96 GB RAM, Intel i14700k CPU
Model - Swift-1.5-GSQ-RCO IQ3_XXS
Initially I started with `custom` branch benchmark. It showed decode perf tanked by approx 20%. This was a shocker because the perf should have been in other direction. Spent lot of time cleaning up and rebuilding but the results were the same.
Next I created new branch from from fork cutoff point, commit d6708a4aae15b4860000d54c8af9e84d684bce09. Rebuilt the engine and benchmarked again. The perf improved to approximate current upstream and lot better than this fork. This tells me that custom branch is not suitable for my setup.
Is custom branch supposed to be used only for dual GPU?
All metrics follow. Custom branch percentages are compared to cut-off commit.
1
u/Verithos Oct 03 '26
Is there a Q6 to go off of? I'm wanting one higher than q4 to test to see how it feels compared to the q3 or q4 variants
1
u/AcanthisittaFluid529 Oct 03 '26
Wow! I just joined the Strata club! This Qwen 3.8 was my daily driver https://huggingface.co/cdiamond/Qwen3.8-27B-iMatrix-NVFP4-MTP-GGUF, a ~17GB GGUF running on my Windows 11 Pro laptop, 5090, 24GB VRAM, 64GB RAM at Q8_0 cache, 96k context - was getting about 60 t/s average - which was great for me. Too soon for me to make a final call, but I am simply blown away by the speed of this thing - it's hitting nearly 96 t/s unoptimized, "out of box" with Strat's AMAZING auto-installer. Have not tried OP's optimizations. AND, it's a 125b source model - not 27b.
1
u/gross_overthinker Oct 04 '26
I wanted to ask, how much ram do you have in this setup?
1
u/EnvironmentalAct416 Oct 04 '26
I have 24gb vram and 192gb system ram. Shall I go for Q3 or Q4 for best bang for the buck for intelligence and speed?
1
u/MarcusAurelius68 Oct 05 '26
Anyone running this fork on the R9700? I have 2 of them (so 64GB VRAM) in a x570 system with 64GB of RAM and have been using the Atomic Code Q4 GGUF with llama.cpp. 31 t/s. Seems like this could be a lot faster at the same quant?
1
u/randylush Oct 21 '26
I have a 5090 on one server and a 3090 on another. Do you think it would be worth combining the two with a setup like this?
1
u/RWOverdijk Sep 30 '26
Something like this always makes me wonder if it could benefit larger memory systems like a Mac with 128GB as well. 60fps is great but, I mean, 167 is betterer