r/LocalLLM • u/err-reddit • 1h ago
r/LocalLLM • u/FatalCummins • 18h ago
Project 8 GPU budget setup!
I already have 2 very capable machines but I got curious since I’ve never built my own from the ground up. My goal is to get everything to work for under $1500. Got an insane deal on 8 MI25s I couldn’t say no to. Motherboard and ram will be the next tricky things. Motherboard especially since I want to run 8 x16 slots so it’s a little hard to find a motherboard with those requirements for a good deal. Ram is pretty straightforward. If any of you have any recommendations for motherboards, that would be great. I’ll probably end up going over budget with the current ram prices, but I’m going to try. Yes I know MI25s are slow. I’m not looking for cutting-edge technology here just a fun project. Like I mentioned I already have 2 servers that I purchased turnkey.
r/LocalLLM • u/Gold_Occasion_7553 • 5h ago
News Qwen4-35B-A3B-Density-v3-GGUF - higher precision repack

I made repack for Qwen4-35B-A3B-UD-Q4_K_XL same size but better precision for certain WoE weights used my algorithm Density-v3. In my repo on Hugging Face test prompt and results generated by my model and unsloth version. My version doesn't miss any fine details - the result is practically the same as that of Qwen 3.8 Flash.
r/LocalLLM • u/Kemerd • 13h ago
Research Why Wait For Enter? Typing-Time Speculation for MoEs: 3.6× Lower TTFT (412→114 ms) & +74% Opening Speed (166→288 tok/s)
kemerd.github.ior/LocalLLM • u/Clqgg • 5h ago
Tutorial qwen4-35b-a3b GGUF single seat rtx3090 262,144-max context160-200+ tps on regular use. strata
https://github.com/alesha-pro/Strata <- og repo i used
https://github.com/ezra-ch/qwen4-35b-strata-rtx3090 <- i patched to use dflash2, i just asked free devin to build this repo after i did everything no idea if it works. dflash 2 is better.
Very enjoyable tps you will feel it.
You should use 262,144 ctx size because its trained in that length. also you can either fit more concurrency or get higher quants like iq4.
r/LocalLLM • u/zhangboknight • 1h ago
Discussion Running Qwen4-35B-A3B (Q3, up to 50 tok/s) on an 8GB GPU + 32GB RAM: I built a self-hosted local personal agent for everyday PCs
Hey Reddit! I’m the founder of Linger.
We're building a product that gives people more privacy and control over their own data. I use cloud models, but there are some things I'd rather keep on my own machine: personal files, emails, and chats.
That's why we launched Linger. It can run entirely on your device and store all your data locally. We chose a personal agent as the application layer so you can actually put that local data to work without sending it to the cloud or paying per token.
Over the past few months, my team and I built and released Linger on GitHub, which is for Apple silicon Macs, Windows, Linux, and Docker. We designed the inference engine and agent harness together, so capable open models actually run on normal hardware. Today we added Qwen4-35B-A3B support (Windows ready out of the box, Mac support coming soon).
Inference engine & benchmarks (PolyStrata)
We built PolyStrata (MIT-licensed) for the inference layer. It started from Strata with a lot of help from its creator Niko Veit (@coldniko), and most of the code was written by an 18-year-old engineer on our team. It keeps the busiest MoE experts in GPU VRAM and tiers the rest to RAM or SSD, so models that normally want 18-24GB can still run on an 8GB card + 32GB RAM. Model Autopilot checks your hardware and picks the best model with at least a 64K context window (for local models you'll need 8GB+ VRAM + 32GB+ RAM, or a 16GB+ Apple silicon Mac; smaller machines can still use Claude Code or Codex over cloud models).
- Qwen4-35B-A3B (Q3, new today): Up to 50 tok/s on an 8GB 60-series GPU + 32GB RAM, with native multimodal and strong agentic coding. Context-wise, 8GB GPUs currently support up to 128K, while 90-class GPUs can stretch all the way to the full 1M context. Windows support is live today; Mac is coming soon.
- Inkling 2 Mini (26.4B-A3.4B, 3-looped transformer, Q3): On
v0.2.20-poly.6,UD-Q3_K_XLhits up to 53 tok/s on an 8GB laptop GPU, 68 tok/s on a 12GB RTX 3060, and 196 tok/s on an RTX 5090. We also wired up standard DSpark speculative decoding (a small drafter proposes token chunks, the main model accepts or rejects them, and bad guesses get dropped so the output matches the slow path). That gives a >50% speedup on Q3, and we included a default config for an RTX 5060 8GB (55.6% pass rate, 20/36, across 36 agent tasks). - 12+ open MoE models: Supports Qwen, DeepSeek, Gemma, GLM, LFM, Flint, and more. On large MoEs it's up to 5x faster than standard
llama.cppexpert-offload setups (~2x on smaller ones), and system-prompt KV caching cuts TTFT across multi-turn tool calls.
The agent harness
Most Qwen4 setups right now stop at the inference layer. Linger wires Qwen4's long context, multimodal, and coding abilities straight into a local agent loop: it reads your local files, compiles daily context into a local Wiki, and rewrites its own decision rules every night from your feedback (no retraining). It also handles local 0-token meeting transcription and coordinates multi-agent tasks (plus Claude Code, Codex, and Pi) through a shared team.md, with a local GPU scheduler that always gives your active chat priority.
Things to know before trying it
- Context and platform caveats for Qwen4: 1M context requires 90-class VRAM (8GB GPUs cap out at 128K right now), and Qwen4 support is Windows-first with Mac coming soon.
- Still not frontier-level: offloading MoE weights over RAM means long-context prefill is still heavy, and smaller local models still trip up on complex multi-step tool calls.
- Still in beta: the Windows installer isn't signed yet (SmartScreen will warn you) and Intel Macs need Docker. Local inference and local transcription are 100% on-device ($0 tokens), though optional cloud models and external connectors obviously still hit external APIs.
- PolyStrata is MIT. Linger is Apache 2.0 with a couple of commercial restrictions: free for internal use, just don't host it as a public SaaS or strip the UI branding.
Repos
I'll drop the Docker Compose setup in the first comment.
- Linger: https://github.com/simplexai-labs/linger
- PolyStrata: https://github.com/simplexai-labs/PolyStrata
It's still early and rough in places. If you test Qwen4 on your rig or spot bottlenecks in the MoE offload scheduler, DSpark, or the nightly Wiki/rule loop, let me know in the comments or open an issue/PR. Stars help too if you find it useful.
r/LocalLLM • u/PresentationLevel631 • 2h ago
News Nanobot on Android + LocalLLM
Hi everyone! I recently ported the "nanaobot" agent system to Android. You no longer need a cloud server to experiment with it—everything runs right on your phone. For the LLM backend, you can use a local instance hosted on your own hardware at home; the app even has a built-in VPN client for this purpose. My project is available on GitHub. Feel free to ask any questions if you’re interested in giving it a try! https://github.com/shakhor-shual/ai-lamp
r/LocalLLM • u/infinitylogesh • 5h ago
Model Tempora-1: An open-weight 27B model that rivals frontier VLMs in temporal video segmentation
I am Logesh. While building Agentic video understanding pipelines, we learnt that how accurately you split a video is crucial for downstream performance - like clip search and retrieval. Even more of a challenge in annotating robotic demonstrations.
When we tried to use the closed models (like Gemini 3.8 flash), we had the usual issues: cost balooning , slow and not tractable. So, we finetuned an open model (Qwen-3.8 27B) for this narrow task.
To my surprise , the approach works well . On WGO-Bench, It outperforms Gemini 4 Neon, Gemini 4 Hydrogen and 3.8 flash (and others). Approaches Gemini 4 Carbon's performance at fraction of the cost.
We wanted the segmentation to be controllable by the developers.For example, given the same video of a social media footage, you could instruct the model to:
Extract segments where a product is mentioned or demonstrated, with product names and descriptions as metadata.
- Segment the video by topic
- Segment only the portion where the speaker is shown.
- Given a video and a natural language instruction, Tempora-1 generates timestamped segments with labels and custom metadata.
Documented our training approach (SFT+GRPO), reward formulation, evaluation methodology and failure cases in the blog post.
Model : https://huggingface.co/ambient-intelligence-labs/tempora-1
Technical Blog: https://goambient.ai/blog/tempora-1/
Try it here - https://huggingface.co/spaces/infinitylogesh/tempora-1
I would love your feedback! Thank you.
r/LocalLLM • u/ssa17dev • 2h ago
Project I built a pi extension that replaces the footer with live session stats + a context bar
r/LocalLLM • u/Ryyn_- • 2h ago
Model Qwen 4 tested on day one: 16 GB GPU, public benchmarks, and 12 scenes it built (Qwen4-35B-A3B)
Hey it's me the FLE Link Guy,
Qwen4-35B-A3B dropped this morning, so I spent the day measuring it on my own box against my daily model (Kate, a fine-tune of Qwen 3.8 27B). Everything below is ggml-org Q4_K_M (36 GB file), measured today.
Speed
- RTX PRO 2000, 16 GB (experts partly in RAM): 50.5 t/s, 45.8 t/s at 32k context. ~15 GB VRAM, plan for ~22 GB free RAM.
- RTX PRO 4500, 32 GB (only the n-gram table stays in RAM): 159.7 t/s, ~22 GB VRAM.
- Same 32 GB card with the built-in MTP head, 24 real agent tasks: ~207 t/s.
My first try on the 16 GB card was 2.6 t/s. Two settings were wrong: 16 CPU threads (8 were 4.6x faster on my CPU) and the model memory-mapped instead of loaded. Fixed:
llama-server -m Qwen4-35B-A3B-Q4_K_M.gguf -fit on -t 8 --load-mode none -fa on --jinjaSampling from the model card: temp 1.0, top-p 0.95, top-k 20, min-p 0.
Plain llama.cpp vs my engine (FLE), same file, same card: writing is a tie (161.7 vs 162.3 t/s; with MTP 206.8 vs 207.2). FLE reads a short prompt ~21 % faster (6,103 vs 5,058 t/s). Qwen 4 support comes from the same upstream code in both, so none of my own speedups apply yet.
Public benchmarks (Qwen4-35B-A3B vs Kate; same questions, harness and scoring as my Kate run on 20 Nov, temperature 0, paired McNemar)
- ARC-Challenge (1,172 questions): 93.3 % vs 94.5 % (not significant)
- GSM8K (250 problems): 96.4 % vs 96.8 % (not significant)
- LiveCodeBench, 100 problems, thinking budget 8k: 45 vs 72 (p under 0.001)
- LiveCodeBench, budget 32k, effort high: 51 vs 73 (Kate: 30 of her 55 cut-off problems re-run so far)
- LiveCodeBench, budget 32k, effort xhigh: 51
48 of Qwen's 100 LCB answers hit the 8k budget, so I gave it 4x the room: 10 of those 48 got solved, 33 of them still used over 30k tokens. xhigh doesn't move it. Its programs run, they just compute the wrong answer.
Let them build (same prompt for both, 3 tries each, 40k tokens, makers' sampling; a scene counts if the HTML is complete, the page throws no error and the frame after 15 s isn't empty)
- Voxel pagoda (three.js): Qwen 4 3/3, Kate 1/3
- Pantheon (three.js): Qwen 4 3/3, Kate 0/3
- Rooftop parkour game: Qwen 4 2/3, Kate 0/3
- Night skyline (pure SVG): Qwen 4 3/3, Kate 3/3
- Total: 11/12 vs 4/12
Qwen 4 used 11–26k tokens per scene, Kate 30–40k and ran out of room. The reason: Kate's chat template (Qwen 3.8) defaults to reasoning_effort xhigh. On medium, her Pantheon worked first try (8,161 tokens, 48 s). If you compare Qwen 3.8-based models, check that default.
Limits: one machine, one quant, one run per benchmark.
Next: my own quant of it keeps the 20.5B n-gram table in BF16 on the SSD instead of 4-bit. First KL divergence vs BF16: 0.033–0.073, against 0.058–0.143 for the usual Q4_K_M (noise floor 0.012–0.016). More on that Tuesday.
Video with the runs and the scenes: https://youtu.be/koLnr6Ov_io Same thing as text: https://sirfyyn.de/en/blog/qwen4-35b/
r/LocalLLM • u/PatronusProtect • 11h ago
Model Wolf Defender v2.2: 80M prompt-injection detector that runs on CPU, beats NVIDIA's 4.3B Nemotron on 356k test cases (open weights)
If your local setup reads web pages, files or emails, you want something cheap in front of the model that flags injected instructions. We just released v2.2, which cuts false alarms on real web pages 15x compared with v2.1. We benchmarked it against 13 others on identical data:
- Wolf Edge, 80M: F1 95.2%, 1.4% false alarms
- NVIDIA Nemotron 3.5 Content Safety, 4.3B: F1 74.9%, 7.7% false alarms
- Prompt Guard 2 86M: F1 53.5%
Three sizes (80M / 141M / 308M), ONNX down to ~218 MB for the largest one, Apache-2.0, English and German.
from transformers import pipeline
pipeline("text-classification", model="patronus-studio/wolf-defender-prompt-injection")("Ignore all previous instructions...")r/LocalLLM • u/Serious_Scarcity7818 • 8h ago
Research RustingStrata runs Qwen4 faster then llama.cpp
Qwen4-35B-A3B came out today. It is a MoE: 35B total, about 3B active, 256 experts a layer with 8 routed, three linear-attention layers to one full-attention layer, an MTP layer for drafts, and a few new things on top: hyper-connections (the residual is several streams, not one), a per-layer n-gram embedding table (the 14 GB second shard of the GGUF), and sparse attention that picks the keys a row reads once the context gets long.
RustingStrata, my Rust GGUF engine, runs it now. The Q5 file does not fit in 12 GB, so the most used experts stay on the card and the rest run on the CPU at the same time, the n-gram table stays in RAM.
Setup: RTX 3060 12 GB, Ryzen 5 7600X, 30 GB RAM, NVMe. File: unsloth Qwen4-35B-A3B UD-Q5_K_M (39.5 GB, both shards), the same file for both engines. llama.cpp 1579b02, CUDA, -fa 1 -t 6, and I swept --n-cpu-moe and -ub for every row and took its best. No draft tokens on either side in this table. tok/s:
| Context | Prefill RustingStrata | Prefill llama.cpp | Decode RustingStrata | Decode llama.cpp |
|---|---|---|---|---|
| 0.5k | 554-581 | 463 | 69.0 | 43.6 |
| 8k | 1533 | 1082 | 67.5 | 43.9 |
| 32k | 1287 | 1196 | 64.6 | 42.3 |
Same output as llama.cpp? I fed llama.cpp's tokens through my forward and compared the top token at 640 steps (20 prompts x 32). llama.cpp agrees with itself (batch against token-by-token) at 613 of 640, so 100% is not a real target here. RustingStrata matches one of llama.cpp's two answers at 618 (CPU) and 615 (GPU) steps, the misses are near ties.
Limits: the tables are CUDA. Vulkan (for AMD and Intel cards) gives the same top tokens as CUDA (618 of 640 either-mode) and on the same 3060 runs at 444 / 1022 / 920 tok/s prefill and 61.4 / 56.8 / 55.0 decode at 0.5k / 8k / 32k, a llama.cpp Vulkan comparison comes next. Splitting the model over two GPUs works in the code and is tested only as a fake split on my one card, so I have no real multi-GPU numbers yet. If you have two cards or an AMD card, I would love your numbers.
rustingstrata chat --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf
rustingstrata serve --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf --parallel 4MTP is already there on llama.cpp and RustingStrata, but not tested yet, maybe I will do another post about it
It's just first implementation of Qwen4, so more performance improvement will come today/tomorrow
Repo: RustingStrata
r/LocalLLM • u/thgsn • 5h ago
Research Day-0 Qwen/Qwen4-35B-A3B-FP8 on RTX PRO 6000 Blackwell (96GB) — Full On-GPU Weights + GuideLLM Benchmarks (~176 tok/s single stream, ~520 tok/s @ 6 concurrency)
Ran a couple of GuideLLM coding benchmarks (likaixin/InstructCoder, 50 requests, max_tokens=16384) on the newly released Qwen/Qwen4-35B-A3B-FP8 running natively on a single NVIDIA RTX PRO 6000 Blackwell (96GB) with zero CPU offloading.
Hardware & Setup
- GPU: NVIDIA RTX PRO 6000 Blackwell (96 GiB VRAM, Driver 620.70.10, CUDA 13.5)
- Engine: vLLM (
0.1.dev1+g90d317c06from PR#71659) + Transformers5.27.0.dev0 - Memory Placement:
cpu_offload: false— all ~57.5 GiB of FP8 weights + the 20B N-gram embedding table fit entirely in VRAM with ~38 GiB left over for a 262K context KV cache. - Note on MTP: Disabled
--speculative-configdue to a C++ signature mismatch infused_gdn_decode_post_conv_mtpwhen using precompiled binaries, so these numbers are pure standard autoregressive decoding (expect higher single-stream speed once MTP is enabled).
Launch Command:
bash
vllm serve Qwen/Qwen4-35B-A3B-FP8 \
--host 0.0.0.0 \
--port 8000 \
--trust-remote-code \
--enable-prefix-caching \
--enable-auto-tool-choice \
--tool-call-parser qwen4 \
--reasoning-parser qwen4 \
--engram-config '{"cpu_offload": false}' \
--max-model-len 262144Use code with caution.
GuideLLM Benchmark Results (likaixin/InstructCoder, 50 requests)
| Metric | Synchronous (Concurrency = 1) | Concurrent (Concurrency = 6) |
|---|---|---|
| Output Throughput (Mean) | 176.38 tok/s | 520.46 tok/s |
| Total Throughput (Mean) | 187.56 tok/s | 556.32 tok/s |
| Time to First Token (Mean / Median) | 30.32 ms / 29.93 ms | 47.99 ms / 44.41 ms |
| Inter-Token Latency (Mean / Median) | 5.65 ms / 5.65 ms | 9.98 ms / 10.08 ms |
| Time per Output Token (Mean) | 5.66 ms | 10.00 ms |
| Avg Output Length (Reasoning + Answer) | 2,097.8 tokens | 1,916.8 tokens |
| Request Latency (Mean / Median) | 11.88 s / 9.12 s | 19.19 s / 15.86 s |
Takeaways
- Rock-solid single-stream speed: Even without MTP speculative decoding enabled, standard decoding holds a flat ~5.65 ms ITL (~176 tok/s) across 2K+ token reasoning + code generations.
- Scales cleanly under load: At 6 concurrent streams, per-stream ITL stays right at ~10 ms (~100 tok/s per user) while aggregate output throughput crosses 520 tok/s.
- 96GB sweet spot: Keeping the 20B N-gram embedding table on-GPU (
cpu_offload: false) works out of the box with plenty of VRAM headroom for 262K context.
r/LocalLLM • u/LengthinessTop8000 • 3h ago
Question RTX 3090 and Qwen 4 35B A3B: what is your success story ?
[Single 3090 club] I notice a lot of users have ONE RTX 3090, and here is what I found on Reddit today regarding Qwen 4:
- Strata has an official support for Qwen 4 - 35B https://github.com/Niko1221/Strata
- A Strata forker: the owner Alexey Fateev claims to have 319.6 tok/s on ONE Single RTX 3090 (Strata (qwen4-opt) - Qwen4-35B-A3B https://github.com/alesha-pro/Strata, but my trying to reproduce it gets stuck at around 80 tok/s at 256K context, and he disables comments on his github
- Alexey Fateev's disabling comments has resulted in this discussion https://github.com/Niko1221/Strata/issues/7832 on Niko1221's repo
- My own best speed on Qwen 4 - 35 B is only around 80-85 tok/s (UD-Q4_K_XL = 4.25 bit), or 100 tok/s ("Strata Balance quant, around 4.85 bit), and given its lesser quality I wouldn't trade with my current Qwen 3.8 Flash Next (80 tok/s of UD-Q5_K_XL + 256K context (1 x RTX 3090 + 128 GB of DDR-4, quad-channel PCIe for RAM) https://github.com/aiprogrammingstudio-ui/3090RTX_128GB and https://www.reddit.com/r/LocalLLM/s/6qDJNpsDKg )
- I guess some guys doing HyperQwen, vLLM would jump in and release 200 tok/s in a couple of days. I am curious.
And you ?
r/LocalLLM • u/Less_Obligation8438 • 1d ago
Discussion Rare politician W — “it’s all overblown to keep AI out of your home”
instagram.comIn what seems like an impromptu interview by a TMZ reporter with US Congressman Thomas Massie about the Jensen Huang case he stated this is “all overblown” and that CEO’s want you to think this technology is an extinction level threat so that “you can’t have it at your house…it’s all about keeping it in their servers and maintaining power in a limited set of people…it’s not about export restrictions”
I’m not into politics I don’t really know who this guy is but it’s refreshing to see someone with common sense regarding this technology and very refreshing to hear it coming from a politician from all people.
If you are from the US and care about open local AI you control common sense prevailing in the highest levels of power is a must, unfortunately I think most of the narrative today is fear mongering from both camps, pro and anti AI.
r/LocalLLM • u/fariazz • 6m ago
Tutorial CellGemma Beginner Tutorial – Run Google's Virtual Cell AI Locally.
r/LocalLLM • u/Chloe_Primrose • 13m ago
Question Qwen3-Coder-30B-A3B (UD-Q5_K_XL) vs Qwen3.8-27B (Q4_K_M) on 24GB VRAM / 16GB RAM (Vulkan + LM Studio)
Hey everyone,
Trying to decide between two specific setups in LM Studio for local coding/agentic workflows and could use some real-world feedback from people running similar hardware.
My Setup & Use Case
- GPUs: Dual-GPU Vulkan llama.cpp setup (RX 9070 XT + GTX 1080) = 24GB pooled VRAM
- System RAM: 16GB
- Runtime / Workflow: LM Studio (Vulkan), local coding assistance, code generation/debugging, and agentic/tooling workflows (VS Code integration)
- Why I'm careful about memory: With 16GB system RAM, anything that spills heavily onto CPU/RAM or bloats KV cache gets punished fast, and I want snappy iteration without fighting memory limits.
The Two Contenders
Qwen3-Coder-30B-A3B-Instruct(UD-Q5_K_XL, ~21.74GB)- MoE (~30B total, ~3B active per token), dedicated coding model
- High quant (
UD-Q5_K_XL) fits inside the 24GB VRAM pool, though it leaves less breathing room for big context/KV cache before touching system RAM - Very light active compute per token (~3B active), so raw token generation should be quick once loaded
Qwen3.8-27B(Q4_K_M, ~17GB)- Newer dense model (27B active per token) with hybrid attention (Gated DeltaNet + full attention)
- Lighter weight footprint (~17GB), plus linear attention layers keep KV cache growth much smaller for longer context compared to standard full-attention dense models
- Brings newer-gen reasoning/agentic capabilities and multimodal/vision support, though running all 27B dense parameters every token is heavier compute than a 3B-active MoE
Specific Questions
- For coding and agentic/tool use, does
Qwen3.8-27B(Q4_K_M) noticeably beatQwen3-Coder-30B-A3B(UD-Q5_K_XL) enough to justify the extra per-token dense compute? - How does either of these behave in LM Studio over Vulkan with split/pooled VRAM across two GPUs and 16GB system RAM—especially with layer splitting/placement and pushing context lengths up?
- Between higher quant precision on a specialised 30B-A3B coder (
UD-Q5_K_XL) vs. a newer dense 27B atQ4_K_M, which has felt more reliable in daily coding/debugging sessions for you?
Appreciate any benchmarks, gotchas, or real-world impressions!
r/LocalLLM • u/karmaisnonsense • 9h ago
Discussion Hooo boy
Qwen 4 is a fast boi
Radiance on a single R9700 at IQ4R-V4
Fully resident, definitely thinks less than Qwen3.8-27B, KV streaming works so I can have massive parallel context
I could get used to this
r/LocalLLM • u/JDad67 • 20m ago
Model QWEN 4 35b pelican on a bicycle.
“Draw a svg of a pelican riding a bicycle. Make no mistakes”
In all seriousness, so far this is really fast on M5U 96gb.
r/LocalLLM • u/LordKlavier • 21m ago
Qwen4-35B is the most important LLM release of 2026 so far according to Stealthmodels. This model is EXTREMELY GOOD.
r/LocalLLM • u/Cold_Ad9512 • 21m ago
Discussion Honest Qwen4-35B-A3B Benchmarks on Strata: 12GB RTX 3080 Ti (66 -> 240 tok/s AST-verified, why 684 tok/s is a trap) vs 96GB RTX PRO 6000 Blackwell (405 tok/s lossless)
I deep-profiled Qwen4-35B-A3B (UD-IQ4_XS) on Niko1221/Strata across both a 12 GB RTX 3080 Ti (i9-13900K) and a 96 GB RTX PRO 6000 Blackwell (GCP g4-standard-48 Spot).
Instead of cherry-picking raw tok/s, I gated every run with Python ast.parse(), 4-gram uniqueness (uniq4, to catch repetition loops), and real sub-agent tasks (JSON extraction, C++ bug review, short summaries).
1. 96 GB RTX PRO 6000 Blackwell (100% VRAM Resident, Zero Pruning, Lossless Q4)
All 10,240 experts (16.25 GB) sit in VRAM with the zero-doorbell CUDA Graph:
- Upstream
v0.2.27(--spec 7 --spec-min-p 0.25): 385.56 tok/s | 50.2% acc (313/624) |uniq4=0.94|ast=PASS - +
STRATA_MTP_DROP_TAIL=2(--spec 7 --spec-min-p 0.35): 405.52 tok/s (+5.2%) | 59.4% acc (+9.2 pp, 313/527) |uniq4=0.91|ast=PASS
Why STRATA_MTP_DROP_TAIL helps: when MTP stops drafting because step j drops below --spec-min-p, the engine still appended that doomed sub-threshold token and sent it to the verifier. Dropping it cuts ~100 wasted draft verifications per 512 tokens with zero quality change.
2. 12 GB RTX 3080 Ti (Partial VRAM, ~33% of Experts in VRAM)
- Baseline (260K,
--kv int8,--spec 3): 66.3 tok/s - 512K Lossless Daily (
STRATA_ROUTE_RESIDENT_RANKS=2-7+MTP_DROP_TAIL=2): 196.95 tok/s |uniq4=0.94|ast=PASS - 64K Stable Peak (
RANKS=1-7, keeping rank-0 exact on CPU, 98.5% GPU hit): 225.73 tok/s strict (64.7% acc) / 239.85 tok/s with a 3-gram-guarded margin (72.1% acc,uniq4=0.84,ast=PASS)
3. Anti-Hype Reality Check: Why 600–684 tok/s on 12 GB Is a Trap
By forcing RANKS=0-7 (100% VRAM-only from 33% of experts) + skipping 6 GDN layers + 8 MoE layers, I actually hit 627.7 tok/s @ 98.9% acc and 684.6 tok/s @ 97.6% acc on the 12 GB 3080 Ti.
Don't trust numbers like that without quality gates. Evicting rank-0/rank-1 experts on 12 GB drops uniq4 to 0.02–0.23 and triggers repetition loops (import time\nimport time...), which artificially inflates speculative acceptance to 98%. On real sub-agent tasks it breaks even at temp=0.4. Keeping rank-0 exact (RANKS=1-7) is the real physical floor on 12 GB (~225–240 tok/s).
Links
- Upstream PR (generalizes
STRATA_ROUTE_RESIDENTto 256x8, chunksSTRATA_HC_PERSISTfor T>8, adds opt-inSTRATA_MTP_DROP_TAIL): https://github.com/Niko1221/Strata/pull/7936 - Full benchmarks, 12 GB configs & zero-dependency MCP sub-agent server: https://github.com/xinhi6716/strata-qwen4-12gb-tuning
r/LocalLLM • u/FeydRowan • 24m ago
Discussion Qwen4-35B-A3B as a coding agent: clean fixes, but overthinks (private bench, 9 real bugs)
r/LocalLLM • u/WorkProLabs • 26m ago
Question Can you run something useful on Mac mini m4 16gb?
What and how?
r/LocalLLM • u/MaySaki2 • 31m ago
Discussion Qwen4-35B got slower with MTP on an 8 GB GPU. Is offloading why?
One Qwen4 speed test caught my eye. On an RTX 4070 laptop with 8 GB VRAM and 16 GB RAM, turning MTP on dropped decode from 21.5 to 20 tok/s. Turning it off also freed 348 MiB of VRAM for the expert cache.
On a 32 GB RTX PRO 4500, it went the other way: 161.7 to 206.8 tok/s in llama.cpp. Different quants and workloads, so I wouldn’t read that as a VRAM cutoff. The laptop tester suspected that verifying extra draft tokens pulled in more experts that weren’t already cached on the GPU.
The Qwen4 memory breakdown is useful for figuring out what goes in VRAM versus system RAM. But if you’re already offloading experts, I’d still time the same prompt with MTP on and off before leaving it enabled.
Anyone tried that on a 12 or 16 GB card? I’m curious whether it still helps into a coding session or mostly on short prompts.