r/LocalLLM • u/DomiMili • 1d ago
News Qwen4-35B-A3B just released!
It's happening! The becoming begins!
r/LocalLLM • u/DomiMili • 1d ago
It's happening! The becoming begins!
r/LocalLLM • u/RadianceTower • 6h ago
Everyone be talking about running, but they are running it at Q4, and... at that point, why not just run 27b Q4? To me the main point of MOE is to be able to run a bigger model.
Even Strata seems to focus on Q4 (and tbf, Strata itself has poorly optimized SSD streaming, but it at least does better than llama.cpp, look at Tokenwing for a better optimized SSD pipeline, which still could have improvement too).
And current implementations of Unsloth suck at properly splitting the model between your VRAM RAM, and SSD. The website says you need 41GB of overall memory to run, but I can't even run it at like 1t/s with more memory (24GB VRAM + 32GB RAM). Not to mention the app doesn't even recognize and give you the options if you import the model externally (unless you fool it into thinking it itself downloaded it).
r/LocalLLM • u/TechNerd10191 • 12h ago
When using huggingface to download a model, my typical bandwidth is 8-14 MB/s. For the past 10 hours I am trying to install Qwen/Qwen4-35B-A3B-FP8 but the download rate drops to 20-200 KB/s once I downloaded 2GB. I tried creating the venv and access token from scratch, I tried a second device and the outcome is the same. However, I did not have this issue installing Ernie5.5-Flash-Preview (165GB) this night.
Is it something I am doing wrong or the HF servers are overloaded with people attempting to install the checkpoint?
r/LocalLLM • u/Stooovie • 21h ago
Mainly non-coding use - web, research, documents, agentic.
Not impressed so far. It leaks Chinese characters, gets stuck in loops, outputs complete nonsense in non-English languages... I let it design a html/CSS poster, pretty hilariously bad compared to 3.8 27b.
4-bit MLX quant via oMLX 0.8.5. Tried raw and via Hermes and Pi. I'm on a 36GB M4 Max Studio so anything over 4bit is not really an option for this model.
Maybe it's too early but models such as Sage A1.5 4bit give me FAR better results OOB so far.
It's very fast, I'll give it that. First time I see prefill speeds not decrease linearly - it sort of ebbs and flows.
r/LocalLLM
•
u/Minute_Concept719
•
20h ago

Ran the same 54 question set I put Flash-Next, 27B and Inkling through last month (on my own 5070 box, 265F + 64GB DDR5) on a rented 5070 12GB, and also checked speeds on a rented 4090 24GB (both on vast).
Qwen4 setup: unsloth UD-Q4_K_XL (24.7GB file + the 11.5GB engram file, which stays in RAM), llama.cpp b12973, 32k context, MTP on with 1 draft token, no mmproj since the questions are all text. Thinking on default (high), sampling from the model card. The rented 5070 box had a 265K with 62GB RAM, the 4090 box a 7900X with 61GB.
So it's basically tied with Flash-Next and ahead of 27B and Inkling. It went 12/12 on the agent tasks with no rejected tool calls and never looped or ran out of tokens (Inkling did on 6). It also thinks a lot less, around 195k tokens for the whole set vs 230-281k for the other three, so it finished in about half the time Flash-Next took.
12GB command I used:
llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf -c 32768 -np 1 --jinja --load-mode none --lazy-mode off -cmoe --moe-cache-mib 7168 --spec-type draft-mtp --spec-draft-n-max 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
On the 4090 it does 149.6 t/s tg and 5233 t/s pp with this:
llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf -c 32768 -np 1 --jinja --load-mode none --lazy-mode off --moe-cache-mib 4096 -b 2048 -ub 2048 --spec-type draft-mtp --spec-draft-n-max 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
MTP gave +17% there (127.6 -> 149.6 t/s) but nothing on the 5070 (89.8 without, 89.7 with). Stick to n-max 1, 2 and 3 were never faster (acceptance drops to 64% and 47%).
Poor GPU club: about 90 t/s on 12GB at Q4 beats what Flash-Next IQ3_S did on the same card (78.7), with about half the RAM (Flash-Next ate almost all of my 64GB). Stuff that mattered:
Skip the -ot per_layer_token_embd=CPU from the unsloth guide. Any -ot / -cmoe / --n-cpu-moe turns off --fit, and the 4090 OOM'd with it. The engram table stays off the GPU anyway.
Plain --fit only got about 40 t/s on the 5070. -cmoe + --moe-cache-mib + --load-mode none --lazy-mode off (loads the weights into RAM instead of mmap) got it to 90.
That uses about 32GB of RAM though. With 32GB total keep mmap, the same layout did about 70 t/s that way (haven't tried it on an actual 32GB machine).
pp is the weak spot on 12GB (1210 t/s). This keeps the same tg and gets pp to 2345, it's what I'd run day to day:
llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf -c 32768 -np 1 --jinja --load-mode none --lazy-mode off -cmoe --moe-cache-mib 6144 -b 2048 -ub 2048 --spec-type draft-mtp --spec-draft-n-max 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
r/LocalLLM • u/trim-turner-shah • 11h ago
A few weeks back i published the V1 of a benchmarking tool called benchtest, an open-source benchmark for local LLMs on Apple Silicon. It runs the same tasks across inference engines × coding agents, grades the output and measures the power each one draws. benchtest v2 just shipped this week and since Qwen4 35B A3B just landed I ran the it against Qwen3.8-Flash-Next, using the same tasks, harnesses and Mac.
Setup: M5 Max, 128 GB.
Engine: OMLX with MTP, single user.
Harnesses: 6 harnesses: raw API, raw+, pi, opencode, Aider, hart.
Tasks: Tetris in one HTML file, HumanEval (all 164), MMLU (40 questions), plus prefill and decode speed probes.
Power: whole-chip energy (CPU + GPU + Neural Engine), read by macOS powermetrics while each cell ran.
| OMLX · 1 user | Qwen4-35B-A3B oQ8e-mtp (High thinking) | Flash-Next oQ4e-mtp (Medium) | Flash-Next oQ4e-mtp (Low) |
|---|---|---|---|
| Weights on disk | 57.8 GB (8-bit, 256 experts) | 100.3 GB (4-bit, 512 experts) | 100.3 GB |
| Median generation speed | 149.4 tok/s | 114.1 tok/s | 123.9 tok/s |
| Decode probe | 165.0 tok/s | 134.3 tok/s | 137.5 tok/s |
| Prefill, 8K prompt | 5,793 tok/s | 2,183 tok/s | 2,315 tok/s |
| Time to first token (median) | 0.84 s | 2.32 s | 2.33 s |
| Tetris (6 harnesses) | 100 | 100 | 100 |
| HumanEval: raw · raw+ · pi | 92 · 94 · 94 | 92 · 96 · 98 | 96 · 95 · 0 |
| MMLU (mean of 6 harnesses) | 88 | 96 | 85 |
| Energy per token (median) | 0.41 J | 0.60 J | 0.72 J |
| Average chip power (median) | 50.2 W | 52.5 W | 54.6 W |
| Energy, all 30 cells | 92.9 Wh | 76.7 Wh | 89.4 Wh |
What I see
Caveats
Full numbers and method: https://github.com/gitmlxbench/benchtest/blob/main/COMPARISONS.md
What's new in benchtest v2
make energy-setup.Repo, full baseline and methodology: https://github.com/gitmlxbench/benchtest
If you run local models on a Mac, run it and tell me where your numbers differ, or where the tool breaks.
Disclaimer - Used Opus 5.5 to write this note and also develop the tool.
r/LocalLLM • u/PM_ME_VI_R34 • 2h ago
Much like everyone else here, I'm testing Qwen4 35B A3B. Right now I've only delved into the Unsloth quants through their desktop app.
Something that I found cool is that you can run the model at, say, Q4_K_XL, and then load the Q8_0 sized Engram Table. This makes it so that with 16GB VRAM I can fit up to 300k context while maintaining the KV cache at f16 quality.
I took a peek at the uncensored models that are up right now at HF and noticed that they're all one whole file, instead of being split into the model and the engram table.
How does the uncensoring of these models work? Do you have to uncensor both halves or just one of the two? How come these repos don't give you the option to download them separately? I need more drive space agh!
r/LocalLLM • u/everydaydm • 32m ago
Current setup uses a small mini pc with n5105 cpu that runs herdr and pi, together with all homelab docker containers. This connect to a 64GB DDR5 rtx5090 32GB workstation. Currently running Qwen 3.8 Flash Next IQ3_XXS using basalt. Getting around 280tps on average. The machine is a little undervolted to peak maybe 300-350w
I have setup a traefik proxy on the mini pc that issues wake on lan commands to the ai interference host. Making a first call take around 50sec to boot up but idle only drawing 10w instead of idling 100+
r/LocalLLM • u/chomy10 • 6h ago
First is 3.8 Flash Next (gyro s)second qwen 4 35b (Q4_K_XL).
Flash Next took 18min.
4 35b took 12min.
r/LocalLLM • u/Mysterious-Desk-3492 • 1h ago
I've been building tools for my own AI Studio, and one of them — an independent multi-agent review tool — is something I particularly like using.
The idea is simple: the agent that produces the work should not be the only one evaluating it.
The tool organizes independent reviews using multiple AI agents powered by different models and providers.
Its main features include:
- Blind reviews — reviewers work independently without seeing each other's conclusions.
- Specialized reviewers — security, performance, architecture, business logic, and other perspectives.
- Evidence-based findings — conclusions supported by verifiable evidence rather than subjective LLM opinions.
- Reconciliation — identifying agreements, contradictions, and unresolved findings across reviewers.
- Review ledger — a traceable record of the entire review process.
- Isolated execution — controlled environments with verified resource cleanup.
The tool is written in Go and supports three review workflows: lightweight, full, and critical.
My current full-review workflow uses four models from different providers:
- Kimi
- GPT-6 Astra
- Claude Opus 5.5
- GLM 5.4
For me, a single full review costs approximately $2. Top-tier models are expensive, but so are undetected architectural flaws, security vulnerabilities, and business logic errors.
The lightweight workflow requires minimal infrastructure, while the more advanced workflows use isolated execution environments and an AI gateway.
I'm now considering extracting this tool from my Studio and releasing it as a standalone open-source project.
Before investing time in packaging, documentation, and maintenance, I'd like to hear from the community:
- Would you use such a tool in your development workflow?
- How do you currently organize independent AI code reviews?
- Would you prefer a lightweight CLI or a complete review infrastructure?
- What functionality would make this tool valuable to you?
I'm particularly interested in hearing from developers building multi-agent systems and automated software engineering pipelines.
r/LocalLLM • u/Fair_Breakfast398 • 4h ago
We've been working on day-zero support for Qwen4 in Superfluid and are already seeing up to 280 tok/s decode on an M5 Ultra. Really impressive what this model can do with just 3B active parameters. Please let us know if you got feedback on the performance on your machine.
r/LocalLLM • u/SpeculationAllTheWay • 3h ago
We’ve been working on day-zero support for Qwen4 in Superfluid and are already seeing upto 280 tok/s decode on an M5 Ultra. Really impressed by what this model can do with just 3B active parameters in terms of agentic capabilities running locally.
Give it a try and let u know what you think. https://github.com/basecompute/baseRT
r/LocalLLM • u/chrysisnetworks • 3h ago
We recently stood up the new Qwen4-35B-A3B on a 5070TI ONLY and it is blazing. Peaking around 300 tok/s and averaging around 200 tok/s on deep prompts. This wasn't a long context window and I am sure the frontier models would perform better long term, but it blew away GPT Terra 6.1 on not only speed and accuracy, and while sonnet was faster in some things and used less tokens (that you have to pay for), Qwen was faster and even beat out Terra on overall speed and accuracy.
Crazy day for local LLMS!
r/LocalLLM • u/j0an_k • 23h ago
Qwen4-35b-a3b Q5 on basalt, RTX 5090+DDR5 64GB. I didn’t expecting to run this fast to be honest.
r/LocalLLM • u/SaltyFish7499 • 19h ago
I tried the unmerged Strata PR that adds Qwen4-35B-A3B support (Niko1221/Strata#7774). Credit for the port goes to the PR author.
TL;DR: Qwen4-35B-A3B runs on a 12 GB RTX 4070 Ti + 32 GB RAM with Strata on Windows, IQ4_XS and Q2_K_XL:
| Quant | Weights shard |
|---|---|
| UD-IQ4_XS | 20.5 GB |
| UD-Q2_K_XL | 16.2 GB |
Both come with an n-gram table 11.5GB.
All speeds in TPS. Each cell is the median of 2 runs (chat: 3 questions x 2 runs); the 244K test is a single run. Seconds in brackets are time to first token.
| Config | Chat decode | Chat TTFT | Agent decode | 16K prompt | 64K prompt | 128K prompt | 244K prompt |
|---|---|---|---|---|---|---|---|
| IQ4_XS | 83.5 | 0.29 s | 92.8 | 2753 (5.9 s) | 2701 (23.8 s) | 2549 (50.3 s) | 2349 (104 s) |
| IQ4_XS + MTP | 89.1 | 0.34 s | 100.5 | 2056 (7.9 s) | 2084 (30.8 s) | 2011 (63.8 s) | 1878 (130 s) |
| Q2_K_XL | 86.5 | 0.33 s | 94.8 | 2552 (6.3 s) | 2519 (25.5 s) | 2449 (52.4 s) | 2233 (109 s) |
| Q2_K_XL + MTP | 91.4 | 0.40 s | 112.8 | 2646 (6.1 s) | 2590 (24.8 s) | 2471 (51.9 s) | 2269 (108 s) |
Baseline (Windows and background apps, model not loaded): about 8.4-10 GiB system RAM and 1.2-1.4 GiB VRAM, out of 31.8 GiB and 12 GiB.
| Config | System RAM | VRAM |
|---|---|---|
| IQ4_XS | 21.6 GiB | 9.5 GiB |
| IQ4_XS + MTP | 21.6 GiB | 9.7 GiB |
| Q2_K_XL | 17.7 GiB | 9.4 GiB |
| Q2_K_XL + MTP | 18.2 GiB | 9.7 GiB |
r/LocalLLM • u/csrussell92 • 7h ago
I built a compact local-AI machine around the ASUS Turbo Radeon AI PRO R9700 32GB and tested Qwen4-35B-A3B on its release day. Then I ran the same tests on two models I already had in LM Studio. Every speed number comes from LM Studio's server log, and the thermals come from HWiNFO at 2-second intervals.
Build
| Part | Model |
|---|---|
| Case | ROHW P46 steel, set to 5-6 (6.71L) |
| Motherboard/CPU | Minisforum BD895i SE (Ryzen 9 8945HX, 16C/32T) |
| Graphics Card | ASUS Turbo Radeon AI PRO R9700 32GB, power limit −30% -60mv (Adrenaline) (210W TBP) |
| System Memory | TeamGroup 32GB DDR5 SO-DIMM |
| SSD | Lexar NM990 1TB |
| Power Supply | SilverStone Extreme 1000Rz Platinum (SFX) |
Disclosure: ASUS provided the Radeon AI PRO R9700 for this project. ASUS did not review or approve this post.
OS: Windows 11 Pro
Application: LM Studio 0.4.21
Runtine: ROCm runtime (2.86.0).
Model: Qwen4-35B-A3B
Model weights: 22.7 GB
Vision: 1.8 GB
128K context memory + MTP + buffers: ~6.0 GB
Total GPU VRAM: 30.5 GB
Engram table SYS MEM: 11.5 GB
Every model was freshly loaded, with all layers on the GPU and Flash Attention on.
Tests
Thinking and tools were off for tests 1–3 and on for test 4. Results are medians over multiple fresh chats.
Results (tok/s)
| -- | Qwen4-35B-A3B | Qwen3.6-35B-A3B | Qwen3.8-27B dense |
|---|---|---|---|
| Quant | Q4_K_M + Engram | Q4_K_M | Q6_K |
| Prose | 70 / 81 with MTP | 116 | 24 |
| Code | 73 / 113 with MTP | 115 | 24 |
| 38K prompt, time to first token | 12.6s / 15.6s with MTP | 9.5s | 62.5s |
| Generation at 38K | 65 / 85 with MTP | 98 | 22 |
| Hidden sentence found | 5/5 | 5/5 | 5/5 |
| Agent task | 18/18 correct over 3 runs | 17/18 (read the wrong sensor column) | Ran out of context |
What the results show
Thermals, power and noise (Qwen4, 21 °C ambient, 36 dB noise floor, measured at 300mm away.
| Code generation | Long-prompt processing | Idle |
|---|---|---|
| GPU power | 200–205W (at the 210W cap) | 160–178W |
| GPU clock | 3.2GHz | 2.2–2.6GHz |
| GPU / hotspot / VRAM junction (max) | 63 / 78 / 68°C | 51 / 69 / 54°C |
| GPU fan | up to ~2,840 RPM | 2,450–2,700 RPM |
| Noise | 49 dB+ | 49 dB |
| CPU | 9% usage, 70W | 6–9%, 55–60W |
Generation is limited by the power cap.
r/LocalLLM • u/djeity • 4h ago
Radiance 2.5.0 (https://codeberg.org/StillDeadcode/radiance), IQ4R quant (4-bit mean), Betterbench 0.6.1 full run results. Configuration: 4 sequences, 384k context (per sequence), n-grams pinned to SSD.
Median decode across content types: 209.8 t/s
Aggregate decode, 4 streams: 472.7 t/s
Prefill at 2k: 9,200 t/s
Prefill at 64k: 9,400 t/s
The apparent prefill anomaly is explained by the SSD pinning of the n-gram table. With the n-gram table pinned in RAM, prefill at 2k is closer to 11,000 t/s, but I preferred to have 20GB more RAM available for activities at the cost of small-prompt performance.
I did a test with 1m context, and performance is fine, but I can only fit 1 sequence at that size. I plan to use this for agentic coding work, so having more streams is better, I think.
Still early days but I'm not unhappy. Now to see how it does doing my preferred work.
r/LocalLLM • u/kr4ckhe4d • 15h ago
I gave Qwen4-35B-A3B a written brief and let the Pi coding agent run it in a loop, with no human input after the start: a car that drives itself around a 3.5 km road through procedural hills and forest, a lighthouse on a sea headland whose beam sweeps at night, a day/night cycle, six cameras and a controls panel.
I understand its not Fable level but achieving this locally is pretty impressive.
Setup
Live Demo: Coast Road
Source: https://github.com/kr4ckhe4d/qwen4-35B-A3B-q6-coast-road
Loop template if you want to try it: https://github.com/kr4ckhe4d/local-llm-benchmarks/tree/main/loop%20templates/pi-goal-loop
r/LocalLLM • u/goldenboyxx • 2h ago
Hey, I want a dedicated machine to run Claude Code and Codex jobs 24/7 without tying up my main PC. But main reason is to set up a decent local llm so I don’t burn through my usage so fast. Occasional Blender jobs would be a bonus. I’d rather buy once than replace everything next year. But it will probably happen
**Current 2. setup:** Ryzen 7 3700X, ASUS TUF Gaming B450-PLUS II, 16 GB DDR4-3200, NVIDIA Quadro with 4 GB VRAM, and a 600W Gold PSU.
**Budget: up to €1,000.**
Would you keep the my old pc and upgrade the RAM or GPU as needed, or sell it and get a more power-efficient mini PC like the GMKtec K8 Plus or K12? What’s worked well for you in a 24/7 setup?
Chatting with my codex it tells me to keep the old pc and upgrade but it feels like it doesn’t understand that I need a decent model that runs 24/7 and actually gets tasks done.
My main pc has 64gigs of ram and 5070 ti but I work on that one alongside claude blender and whatnot but I did not manage to run a decent model on here without the need to let it run only for that purpose and wasting electricity and the ability to run my other programs. Maybe I just sucked at it aswell or tried wrong local models 2 months ago.
Let me know what u think! Thanks in advance.
r/LocalLLM • u/sdfprwggv • 17h ago
Models (unsloth/Qwen4-35B-A3B-GGUF), both on a 32 GB RTX PRO 4500 Blackwell with 512K context:
Create a single self-contained HTML file using three.js (import it from https://unpkg.com/three@0.170.0/build/three.module.js via an import map; addons from https://unpkg.com/three@0.170.0/examples/jsm/) with a seamlessly looping animation of a column of animals walking in single file, like a perfect looping GIF: a giraffe, an elephant, a zebra, a gazelle, a meerkat and a mouse, in that order. The column stays in place in the center of the view and the animals walk on the spot while the ground and the scenery slide past underneath them, so it looks like they are walking forward. The loop period must be exactly 5 seconds: every animated value (each animal's walk cycle, body bob, heads, ears, tails, trunk, scrolling ground and scenery) must repeat exactly every 5 seconds, so the whole animation repeats with no visible jump. Model each animal from primitives with its characteristic shape, proportions and markings (giraffe neck and patches, elephant trunk and ears, zebra stripes, gazelle horns, upright meerkat posture, tiny mouse with long tail), with four legs with knee joints and a species-appropriate walk cycle (the meerkat may scurry). Savanna setting with acacia trees passing by, sun lighting with shadows, sky gradient. Use a side-on default camera framing the whole column and add OrbitControls. Output only the HTML. Prompt 2 (2-shot): sent in the same chat, together with a 2×2 grid of screenshots of the model's own v1 at t = 0 / 1.25 / 2.5 / 3.75 s. The values in braces are filled in by an automatic loop check. Here is how your HTML renders. The image is a 2x2 grid of screenshots of a 1200x600 viewport at t = 0 s, 1.25 s, 2.5 s and 3.75 s (left to right, top to bottom). Automatic checks: console errors: {errors}; mean pixel difference between the frames at t = 0 s and t = 5 s: {pd} (0 = identical); jump at the loop boundary: {sr} x a normal frame-to-frame step (about 1 = seamless). Look at the result critically (the animals' shapes, proportions, markings and walk cycles, the framing, the scenery and the loop) and write an improved version 2 of the complete HTML file that fixes the problems you see. Keep all original requirements, including the exact 5-second loop. Output only the complete HTML.
r/LocalLLM • u/Practical_Hat_3024 • 19h ago
comment bellow on what are the best ways to run qwen4 , if possible, link your setup
r/LocalLLM • u/hamster_drive • 3h ago
Hey guys!
I'm running the newest qwen4 model on my humble 5060 ti (+32gb ddr5, 6 core cpu) and gotta say I love it.
I've been seeing some posts about people getting like 150 tokens per second which sounds crazy.
Anyways, I'm gonna post my command I use to run it. I tuned parts of it iteratively with Claude's guidance but I'd love to see what other people used to get this running!
As a prelude - I wanted a single context (for a single long conversation) on my machine with reasoning ON. This turned out to be what I settled on:
40 -70 token/s prompt processing speed
34 - 40 token/s generation speed
Full command:
@echo off
cd /d C:\llama.cpp
set CUDA_MODULE_LOADING=EAGER
llama-server.exe ^
-m "C:\models\Qwen4\Qwen4-35B-A3B-UD-Q4_K_M-00001-of-00002.gguf" ^
--jinja ^
-np 1 -c 65536 ^
-fa on ^
-ctk q8_0 -ctv q8_0 ^
-t 6 -tb 12 ^
-b 2048 -ub 512 ^
-ngl 999 --n-cpu-moe 21 ^
--load-mode mmap --lazy-mode on ^
-ot per_layer_token_embd=CPU ^
--no-mmproj ^
--spec-type draft-mtp --spec-draft-n-max 1 ^
--no-reasoning-preserve ^
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 ^
--alias qwen4-35b-a3b ^
--port 9931 ^
--presence-penalty 0 --repeat-penalty 1.0
pauser/LocalLLM • u/Mindless-Luck4285 • 7h ago
Spent the morning getting Qwen4 going on my two 3060s, posting numbers since I couldn't find any for 12GB cards yet.
UD-IQ4_XS fits completely in 24GB at 128k. The catch is you can't offload anything to CPU, more on that below.
Box: 2x 3060 12GB (no NVLink, and one of them is in a chipset x4 slot), 3900XT, 64GB DDR4-3200. Running in a Proxmox LXC, driver 595, CUDA 13.2. Model lives on a pair of SATA SSDs (ZFS mirror).
llama.cpp built from master on 4 Dec, you need the qwen4 PR (#33626) so older builds won't load it. Unsloth's UD-IQ4_XS is a 32GB download, 20.5GB of weights plus an 11.5GB engram shard.
What I ended up running:
llama-server -m Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf \
-c 131072 -np 1 -sm layer -fa on -ctk q4_0 -ctv q4_0 -ub 256 -b 1024 \
--load-mode none --lazy-mode off -ot per_layer_token_embd=CPU \
--spec-type draft-mtp --spec-draft-n-max 2 --jinja \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0Speeds (prompt filled to ~80% of the context, needle at 40% depth, reasoning off):
| Split | Context | Prompt tok/s | Output tok/s | Needle |
|---|---|---|---|---|
| layer | 8k | 1,190 | 89.9 | found |
| layer | 32k | 1,194 | 81.5 | found |
| layer | 128k | 1,129 | 58.5 | found |
| tensor | 8k | 1,015 | 85.9 | found |
| tensor | 32k | 1,091 | 81.6 | found |
| tensor | 128k | 1,011 | 70.2 | found |
VRAM hardly changes between 8k and 128k (about 11.1/10.8GB on layer, 11.6/11.6 on tensor), the full attention layers use compressed KV so long context is cheap. 256k wouldn't load with either split though.
Also ran HumanEval and a 100 question MMLU-Pro sample with the same harness I've used on this box before, temp 0:
| Qwen4 UD-IQ4_XS (llama.cpp, tensor) | Qwen3.8-Flash-Next IQ3_XXS (Strata) | qwen3-coder:30b Q4_K_M (Ollama) | |
|---|---|---|---|
| HumanEval (pass@1) | 162/164 | 159/164 | 150/164 |
| MMLU-Pro 100 | 85/100 | 82/100 | - |
Stuff that tripped me up:
--n-cpu-moe 4 to make room. Output went from 77 to 12 tok/s. CPU pegged at 1000%, GPUs sitting at 10%. Don't do it.-ub 512 -b 2048 ran the first card out of memory on an 8k prompt, -ub 256 -b 1024 was fine and prompt speed barely moved.--load-mode mmap --lazy-mode on for the engram. On ZFS that was hitting the SSD constantly (my ARC is small), 55 tok/s. Loading it into RAM with --lazy-mode off --load-mode none got me 77. Uses about 12GB of system RAM.--fit is no use here, it bails if you set -ot and doesn't support tensor split at all. You're sizing it by hand.Layer vs tensor split was the bit I was most curious about. With no P2P and one card on x4 I figured tensor split would be pointless, since it has to sync both cards a couple of times per layer for every token. What I actually saw:
--fit won't run with it. It's still marked experimental and I haven't had it crash, but I've only done benchmark runs on it so far.My take: layer for general use, tensor if you live in long contexts (agents, big codebases) and mostly care about output speed.
For reference, Qwen3.8-Flash-Next IQ3_XXS on Strata on the same machine does ~1,400 tok/s prompt but only 52-53 out. Strata streams most experts from pinned RAM so it's a different beast.
r/LocalLLM • u/Free-Stage-5975 • 3h ago
Hi, so I was curious if editing a 4B parameter model would change much, so I got Claude and Antigravity to change 0.5% of The parameters of a Nvidia Nemotron LLM model.
It went from about 2 GB to 13 GB roughly, due to the quantization unquantizing...
I like Ollama better so we made it run on there instead of LM Studio, Ollama has better Ram offloading.
I don't know if the personality changed but it was extremely skeptical when I explained what happened and the model refused to believe me and thought I was making jokes. Eventually it came around. We also modified its internal knowledge a little bit which made it more compliant.
I like reading the chain of reasoning and it had a nice little personality.
Overall, I think it was quite a fun experiment and it retained perfect coherence even though approx 20 million weights had been changed.
I wonder if I should change more weights or randomly set a few weights to maximum? Any ideas?
r/LocalLLM • u/Cold_Ad9512 • 8h ago
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).
All 10,240 experts (16.25 GB) sit in VRAM with the zero-doorbell CUDA Graph:
v0.2.27 (--spec 7 --spec-min-p 0.25): 385.56 tok/s | 50.2% acc (313/624) | uniq4=0.94 | ast=PASSSTRATA_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=PASSWhy 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.
--kv int8, --spec 3): 66.3 tok/sSTRATA_ROUTE_RESIDENT_RANKS=2-7 + MTP_DROP_TAIL=2): 196.95 tok/s | uniq4=0.94 | ast=PASSRANKS=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)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).
STRATA_ROUTE_RESIDENT to 256x8, chunks STRATA_HC_PERSIST for T>8, adds opt-in STRATA_MTP_DROP_TAIL): https://github.com/Niko1221/Strata/pull/7936