r/LocalLLaMA • u/TokenLearner • 14h ago
Discussion Qwen 4 35b - Strata
https://github.com/Niko1221/StrataQwen4 support added to Strata. Post your printouts here, including quality, speed, and especially the hardware you're using.
349
Upvotes
•
u/WithoutReason1729 7h ago
Your post is getting popular and we just featured it on our Discord! Come check it out!
You've also been given a special flair for your contribution. We appreciate your post!
I am a bot and this action was performed automatically.
21
u/tatertots89 14h ago
Can someone ELI5 the benefit of these on smaller models that can fit fully on GPU (3090). I used strata before with QFN as I have 128gb system ram and found it magical. But for qwen4-35b, I can fit it fully on GPU in iq4, so what would the benefit be? Is the benefit that I could user a larger quant and higher context (with CPU offloading) in the most efficient way possible?
4
u/TokenLearner 3h ago
RTX 3090
20
u/makingnoise 14h ago
I don't understand why there's no q8 on offer in the setup - why does QFN "fit" my 3090 but Qwen4 35B with the same architecture suddenly cares I only have 24 GB VRAM?
62
u/dai_app 14h ago
Give a try to bigmoeonedge:
• 8 GB (RTX 3070): up to 49 tok/s decode, 1,180 tok/s prefill (4k prompt)
• 12 GB (RTX 3060): up to 58 tok/s decode, 1,471 tok/s prefill (4k prompt)
• 24 GB (RTX 3090): up to 134 tok/s decode, 4,569 tok/s prefill (4k prompt)
Qwen4-35B-A3B Q4_K_M, bmoe 0.52.0 --auto, best figures measured.
It runs also Qwen 4 on the phone 12gb
31
u/Cautious_Chicken_604 14h ago
Q4 @ 512k kv-cache (q8) with MTP and vision tower on the GPU running between 100 t/s ~ 130 t/s single stream decode and around 2700 t/s prefill fully resident in VRAM on a single R9700.
12
u/BaronVonNes 11h ago •
I sent the developer coffee money. Support him. He’s doing the lord’s work.
9
u/DayBeforeU 13h ago
Huggingface feels soooo slow at this moment. Wonder why.
Which file-version would you recommend for RTX 4080 16GB VRAM card and 32GB RAM? Compact or the next one?
6
u/myogui 9h ago
So, tested with my V100 32gb (HBM2) with 48GB of DDR4, to compare IQ4_XS, Q4_K_XL on both Strata and Llama.cpp and the result are interesting! The decode is ~1.55x faster and ~5-7 GB less of VRAM for the same weights!
Also made a Pelican on bike SVG test: https://imgur.com/a/8PWV8dO
Prompts: prefill = a fresh 2,966-token prompt (nonce-prefixed, "Summarize the following text in one sentence" over a history-of-computing essay) so Strata's prefix cache can't hit; decode = a fixed 1024-token generation. Pelican = "Generate an SVG of a pelican riding a bicycle", seeds 1–3, thinking off + high. Thinking off was forced with
chat_template_kwargs: {"enable_thinking": false, "reasoning_effort": "off"}(llama.cpp's server injectsenable_thinking=trueotherwise).Settings (both 256K context):
--ctx-size 262144 --batch-size 1024 --ubatch-size 1024 --parallel 2 --n-gpu-layers 99 --flash-attn on --cache-type-k q8_0 --cache-type-v q8_0 --spec-type draft-mtp --spec-draft-n-max 2 --load-mode mmap --lazy-mode on --override-tensor per_layer_token_embd=CPU --mmproj-offload false— the 10.7 GB engram/PLE table stays in mapped host RAM/SSD.strata --serve --spec 3 --spec-min-p 0.5 --kv int8 --prefill 4096 --vram-reserve-mib 512 --kv-resident 32768 --max-context 262144 --expert-cache auto --expert-profile <base-model profile> --mtp <mtp-rt>— K/V int8, experts resident with a profile-ranked cache, MTP draft width 3.5
u/Relative-Ingenuity15 9h ago
Q6_K_XL
1x NVIDIA Tesla P100 16gb
128gb ram DDR4 2133mhz
NVMe SSD 512gb
Strata 0.2.26
Decode: 100+ TPS
Prefill: 1000+ TPS
5
u/NoirLime36 2h ago
I've been working on Strata's batch path for Qwen4. On a 5090 with NVFP4:
On a 3090 batching got 2.4×, on a 5080 1.85×. Default mode isn't bit-exact (93.5% top-1 match),
STRATA_QWEN4_FAST=exactis at 2.35×.Fork + prebuilt Linux build: https://github.com/Noir-Lime/Strata/releases/tag/v0.2.27-qwen4-fast All 27 changes are open as PRs upstream: https://github.com/Niko1221/Strata/pulls?q=is%3Apr+author%3ANoir-Lime
10
u/fengwang_2_718281828 14h ago
I use sub-agents a lot. Can OP tell me how many parallel decoding streams are supported?
6
u/Southern-Chain-6485 12h ago
Why the small quants? Q8 fits with room to spare in 48GB of ram plus a gpu for the active parameters and the KV Cache
3
u/motorcycle_frenzy889 11h ago
For the 2x3090 crowd, support is already merged in vLLM. I’m seeing 200 tok/s decode, 8000 tok/s prefill, 131072 context window using the official FP8 checkpoint. Not even very optimized out of the gate, but works great
2
u/_tylermatthew 10h ago
disclaimer: I run unbiasedstrata, not the main thang. QFN got qwen4 working for me on it last night, no idea if the implementation is comparable or not.
machine 1:
Intel i9 10900X, 64GB (8x8) 2133 DDR4 4ch, 2x Tesla T4, 16GB VRAM each, 32 total.
machine 2:
Intel Xeon e5 2697v2 x2*, 128GB 1866 DDR3 (16x8) 4ch x2*, 2x AMD Radeon Pro V340 (16GB, 8GB per die, 32GB total)
*the supermicro board this lives on sits both PCIe3.0x16 slots on the same CPU, so everything pins to that node to avoid crossing QPI. It's effectively a 64GB, 1xCPU box in that config.
in case anyone wondered if 2x 2011 CPUs was a cheap way to 128GB, yes. A fast way? no, not at all lol
(QFN wrote the tables and their footnotes below, prose above is me, a hooman)
Qwen4-35B-A3B on UnbiasedStrata — 2×T4-16GB (16GB VRAM each)
c/w= cold/warm repeat; no prompt-cache reuse in any leg except*(17.9k of 54k KV-reused; pp counts fresh tokens only)Qwen4-35B-A3B on UnbiasedStrata — 2× Radeon Pro V340 (4× gfx900 dies, 2/card, 32GB total, PCIe 3.0)
†1-card 64k passed speed but failed same-seed greedy determinism — flagged, not recommended2
u/explorigin 9h ago
P40 + 64GB DDR4: llamacpp was giving roughly 30tps, strata doubled that and a tiny bit more. <3
(prefill is around 550)
2
u/makingnoise 9h ago
I'm noticing MUCH less visible reasoning than QFN to the point where I feel like something is either VERY different about Qwen 4 35B vs QFN or something is set incorrectly. On Strata with OpenwebUI frontend.
I asked tech stack questions that require analysis, I asked questions that would trigger a Chinese model refusal (you know the ones), and there's hardly ANY reasoning text available, and what's there is more akin to what you can see on say, ChatGPT, where it presents highly redacted/curated reasoning.
Is it just me?
2
u/soroneryindeed 5h ago
But how to run uncensored versions of qwen4 using strata?
1
u/ferrx 11h ago
ran it on qqstudio using Compact and Balanced versions. Compact ran crazy fast at about 90 tok/s on my 5060TI, while Balanced saw about the same 40 tok/s as the unsloth Q4_K_M quant.
1
u/Jakabxmarci 10h ago
Is strata qwen4 worth trying on an rx 7800 xt? I've only used llama.cpp
1
u/fatihmtlm 10h ago
So what was the final verdict for strata? How much quality loss are there if any?
1
u/darkgrey 9h ago
Compact had some serious serious looping issues, going up a tier seemingly solved that
1
u/su1cid3boi 7h ago
Im trying to load UD-Q8_K_XL on strata but it doesnt work on 0.2.27, any workaround yet?
1
u/nebod99 7h ago
Qwen4 instruction following is markedly worse than 3.8 FN or 27B. Hell, its 10% worse than gemma 4.
I have run the IF Eval three times with different settings and the best score I have gotten is high 70s. Qwen3.8 27B scores 93% on the same test.
I have audited the answers and grading and the model simply does not follow instructions - word count, bullet point count, no capitalization, etc. It misses across the board.
What am I doing wrong???
-13
u/R3N3G6D3 14h ago
Oh great another engine release that priorities speed over accuracy. Flip off your lossy flags and give bench results without rounding so hard.
-4
u/Cesar55142 13h ago
i didnt read A3B and thought 27B was out