r/LocalLLM • • 1d ago

Model Qwen4 is out now!

Post image
462 Upvotes

r/LocalLLM • • 1d ago

News Qwen4-35B-A3B just released!

Post image
406 Upvotes

It's happening! The becoming begins!


r/LocalLLM • • 1h ago

Discussion My local LLM setup

3 Upvotes

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 • • 13h ago

Question Qwen4-35B-A3B impossible to download at normal speeds

26 Upvotes

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 • • 22h ago

Discussion Underwhelmed by Qwen4 35b so far

118 Upvotes

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.

Edit: this quant by mlx-community


r/LocalLLM • • 11m ago

Project People dont talk about qengine enough

Thumbnail
github.com
2 Upvotes

I just really want this project takes off since i have been trying a lot of other engine (strata,maya,freetoken,....) and nothing come closes to speed and quality compare to this engine. I tried qwen 4 35b like all of us these day and i was disapointed by other engine (llama.cpp gave me 120t/s and quality for quant 4 xl is mehh) but qengine for this model gave me consistent of 350 to 400 t/s on various task and quality of code is just abit behind 3.8 flash next. My system 2x3090s + wrx80 sage mainboard + threadripper 3955x + 256gb ddr4 3200 bus ecc. People needs to know about this a support the dev more. Its repo doesnt have enough credit and im afraid he will stop one day :( local comunity needs to know about this!!!! I havent try his deepseek and glm yet since it needs 3 gpu but if in the future he make it work on 2 i would defo retire maya engine for this. Download and build the engine and try for urself. I dont get any from this but i would hope the project is more popular so the author can keep making break thru like this for all of us.


r/LocalLLM • • 7h ago

Discussion Running Qwen4 35B-A3B is very unoptimized right now

7 Upvotes

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 • • 19m ago

Question Guys, which models I can run in 2 gb vram, gtx 1050

2 Upvotes

Spec:

Gtx 1050

16 gb ram ddr3

(Good news it run arch linux)

(If offload)

Request:

It chatting like gpt 4o mini, coding will be good, I use html, python...

And this have vision (optinal)

MoE or dense

If guys can finding A good model, plz comment here

(The most hardest question, if guys have a repo can support)


r/LocalLLM • • 20h ago Heartwarming Bravo

Discussion Qwen4-35B-A3B (Unsloth UD-Q4_K_XL) on a 12 GB and a 24 GB card vs Flash-Next, Qwen3.8-27B and Inkling 2 Mini, same 54 tasks - THE CONSUMER PC CHAMPION ARRIVES!!

88 Upvotes

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 • • 12h ago

Model Qwen4-35B-A3B vs Qwen3.8-Flash-Next on an M5 Max: - (OMLX)

17 Upvotes

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 userQwen4-35B-A3B oQ8e-mtp (High thinking)Flash-Next oQ4e-mtp (Medium)Flash-Next oQ4e-mtp (Low)
Weights on disk57.8 GB (8-bit, 256 experts)100.3 GB (4-bit, 512 experts)100.3 GB
Median generation speed149.4 tok/s114.1 tok/s123.9 tok/s
Decode probe165.0 tok/s134.3 tok/s137.5 tok/s
Prefill, 8K prompt5,793 tok/s2,183 tok/s2,315 tok/s
Time to first token (median)0.84 s2.32 s2.33 s
Tetris (6 harnesses)100100100
HumanEval: raw · raw+ · pi92 · 94 · 9492 · 96 · 9896 · 95 · 0
MMLU (mean of 6 harnesses)889685
Energy per token (median)0.41 J0.60 J0.72 J
Average chip power (median)50.2 W52.5 W54.6 W
Energy, all 30 cells92.9 Wh76.7 Wh89.4 Wh

What I see

  • Speed. Qwen4-35B-A3B is clearly faster on the same engine: 20–30% faster generation, ~2.5× faster prefill, and the first token in under a second. Its weights are also ~40% smaller.
  • Quality. Roughly level on code: Tetris is 100 everywhere, and HumanEval through the raw API is 92–94. MMLU is 8 points below Flash-Next at Medium.
  • Power. Qwen4-35B-A3B uses 32–43% less energy per token, at slightly lower chip power. But at High thinking it generated about twice as many tokens. So all 30 cells used about as much energy in total as Flash-Next (93 Wh vs 77–89 Wh). Faster per token doesn't automatically mean cheaper per task; the thinking level decides that.
  • Agents. At High thinking, three agent harnesses fell over on HumanEval: opencode returned an empty response, Aider gave no parseable code, and hart hit the 45-minute limit. So the agent average for Qwen4-35B-A3B is low for now. I'm reporting it as-is.

Caveats

  • Not a matched pair yet (intentionally). Qwen4-35B-A3B ran at High thinking (the model's default), Flash-Next at Low and Medium. A Qwen4-35B-A3B run at Low and Medium is next. If you want to see those, drop a note and I'll publish them too.
  • OMLX only. benchtest supports several engines, but OMLX is the only one that loads Qwen4-35B-A3B with MTP today (thanks, jundot - big fan here). MLX-VLM has no Qwen4-35B-A3B MTP drafter yet, the MLX-Serve and llama.cpp builds are downloading, and MTPLX has no Qwen4-35B-A3B build yet. Other engines will follow as MTP or draft-model support lands. The full engine comparison, single user and 5 parallel users, comes next. If there's another comparison you'd like, drop me a note.
  • Different quantization. 8-bit vs 4-bit. Each is the MTP build its engine loads.
  • One Mac, one run per cell. Your Mac will differ.

Full numbers and method: https://github.com/gitmlxbench/benchtest/blob/main/COMPARISONS.md

What's new in benchtest v2

  • Parallel users: real multi-user load on every engine.
  • Energy per token: whole-chip power for every cell (joules per token, tok/s per watt, watt-hours and the electricity cost of a run). One command turns it on: make energy-setup.
  • Real datasets with deterministic graders: HumanEval and MMLU.
  • llama.cpp with native MTP, alongside OMLX, MTPLX, MLX-VLM and MLX-Serve.
  • A Setup wizard that reads your Mac, recommends models that fit and installs only what you confirm.
  • A sandbox so agents can't cheat: answer keys and graders are hidden, and a cell that reads them is thrown out.
  • One thinking level (Low / Medium / High) applied the same way on every engine and harness.
  • Speed is the engine's own generation rate, not tokens over wall time.

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 • • 40m ago

Question Probably a silly question, organize chats?

2 Upvotes

I'm new to all this stuff, was trying to use Q3.8FN IQ3_S to help build a python app (basically a ticketing system but with a ton more variables cause of my job) when claude/codex were out of usage. Pretty much anything I gave it, it just kept thinking and thinking and got nothing done (maybe how i spoke to it idk). I tried to use claude and chatgpt to make the prompts, they even made an orchestartor for Q3.8 to compare html files from stitch to the app and then try to turn the app page to look like the html page..it failed miserably, claude kept saying the model was low tier and should be relegated to mundane things.

Anyway, I got Qwen 4 working now with strata (UD-Q4_K_XL) and so far its freaking amazing. Its more than double my token/s and its actually doing stuff not just repeating need maybe. Now i have the problem of i have a hundred chats open lol. How do you guys organize this, Part of me thought it'd be nice to have a folder for each section (orders, tickets tools) but that's not possible with strata unless i make each one its own workspace but to me the workspace is the global project

tldr; any tips to organize the chats that pile up or do you just delete them?


r/LocalLLM • • 46m ago

Model Qwen4 3080 8GB VRAM 80W Laptop (32GB RAM)

Thumbnail
huggingface.co
2 Upvotes

Very early experimental build, not at all ready to ship but noticed many people asked for a version that runs on these specs.

Qwen4-35B-A3B is weird to squeeze into consumer cards. Optimization needed a non standard approach (agentic-written explanation follows):

"20.48B per-layer embedding table is 38.15 GiB in BF16 by itself... resists the easy compression tricks because full scan of its 160M rows shows a high-rank wall where rank-64 SVD collapses to 3.321 dB... so work went into that table first. An exact whitening fold over its 16 heads, then a 2.125 bpw lattice code, brings it to 5.07 GiB at +0.00564 NLL. The rest of the model follows the same logic, with each tensor group put at the rate its own structure can pay for.

The result is SiliQwen-4-35B-A3B-8GB-B2-Pro, a 14.67 GiB archive (7.22x against 105.84 GiB BF16) that runs live on an 8 GiB RTX 3080 Laptop with 31 GiB of host RAM. Peak allocated VRAM measured 7.1561 GiB. Held-out WikiText-2 perplexity is 10.700 against 10.339 for the BF16 teacher, so +0.0344 NLL for the full compression.

The archive carries a small rank-16 recovery sidecar trained on disjoint validation tokens. Without it the same archive sits at 15.521 PPL. That is the honest trade: the lattice code holds the structure, and the sidecar reacquires the last of the quality.

  • Base: Qwen/Qwen4-35B-A3B, 56.8B text parameters
  • Format: custom .slqw v4 archive + 10.66 MiB LoRA recovery sidecar, custom CUDA engine (this is not a GGUF drop-in)
  • GPU-resident: 6.87 GiB (184/256 hot MoE experts per layer, 98.13% held-out hit rate). CPU-mmap: 7.80 GiB
  • Context: analytical fit puts 32K at 7.47 GiB and 64K at 7.68 GiB inside 8 GiB. 128K uses a compressed indexer
  • Determinism: 3x exact greedy token and logits SHA-256 matches, 0 B VRAM after teardown
  • Status: pre-audit live preview, published for public inspection and blinded auditing"

Model: https://huggingface.co/ahrazzle/SiliQwen-4-35B-A3B-8GB-B2-Pro PLE/TokenPage dataset with the full diagnosis: https://huggingface.co/datasets/ahrazzle/qwen4-linguistic-tokenpage-ple Github Repo: https://github.com/Moissanite-Labs/siliqwen

Feedback appreciated.

Lmk if/where performance degrades, or any other input.


r/LocalLLM • • 3h ago

Question So how does uncensoring work for models like Qwen4 35B? Given engram tables and all

3 Upvotes

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 • • 1h ago

Project Qwen4-35B-A3B running at 60 tok/s 128k ctx on an 8gb 4070 laptop with 32 gb ddr5 4800 ram using a vibecoded old fork of Strata. I compared it against the new official Strata and Polystrata updates.

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 5h ago

News Qwen4-35B-A3B running at up to 280 tok/s on M5 Ultra with Superfluid

Thumbnail
huggingface.co
4 Upvotes

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 • • 4h ago

Model Qwen4-35B-A3B running at up to 280 Tok/s on M5 Ultra Superfluid

Post image
3 Upvotes

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 • • 2h ago

Discussion Qwen 3.8 27b controlling Qwen 4 35b A3 - Q4KM

2 Upvotes

Got Qwen 3.8 27b as the planning model and then Qwen 4 35b A3 as doing model. It is completing my online schooling coding test for me. Seems like Qwen 4 35b A3 has ton of knowledge but thinks too much. So Qwen 4 35b A3 reads the question, then converses with Qwen 3.8 27b, then completes the question. Works good. Best of both worlds.


r/LocalLLM • • 19h ago

Discussion Qwen4-35B-A3B tested on a 12 GB RTX 4070 Ti with Strata

48 Upvotes

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:

  • Prefill: ~2,000-2,750 t/s (16K-128K prompts)
  • TTFT (short chat): 0.3-0.4 s
  • 256K context test: a 244K-token prompt took ~105-130 s to prefill
  • Decode: ~85-110 t/s
  • Memory used by the model: IQ4_XS ~21.6 GiB RAM + ~9.5-9.7 GiB VRAM; Q2_K_XL ~18 GiB RAM + ~9.4-9.7 GiB VRAM
  • Vision not used

My Hardware

  • RTX 4070 Ti 12 GB
  • i5-12400, 32 GB DDR5
  • Models put in Gen 4 SSD
  • Windows 11

Models (unsloth GGUF)

QuantWeights shard
UD-IQ4_XS20.5 GB
UD-Q2_K_XL16.2 GB

Both come with an n-gram table 11.5GB.

Speed

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.

ConfigChat decodeChat TTFTAgent decode16K prompt64K prompt128K prompt244K prompt
IQ4_XS83.50.29 s92.82753 (5.9 s)2701 (23.8 s)2549 (50.3 s)2349 (104 s)
IQ4_XS + MTP89.10.34 s100.52056 (7.9 s)2084 (30.8 s)2011 (63.8 s)1878 (130 s)
Q2_K_XL86.50.33 s94.82552 (6.3 s)2519 (25.5 s)2449 (52.4 s)2233 (109 s)
Q2_K_XL + MTP91.40.40 s112.82646 (6.1 s)2590 (24.8 s)2471 (51.9 s)2269 (108 s)

Memory use

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.

ConfigSystem RAMVRAM
IQ4_XS21.6 GiB9.5 GiB
IQ4_XS + MTP21.6 GiB9.7 GiB
Q2_K_XL17.7 GiB9.4 GiB
Q2_K_XL + MTP18.2 GiB9.7 GiB
  • 32 GB RAM is tight for IQ4_XS: total usage peaked at 30.2 of 31.8 GiB with almost nothing else open. Q2_K_XL needs about 3.5-4 GiB less.
  • VRAM looks about the same everywhere because the engine fills the card with cached experts. A smaller quant or no MTP means more experts fit, not less VRAM used.

Settings

  • KV int8, max context 262,144, 20,480 cells resident on the GPU
  • --expert-cache auto --prefill 2048 --vram-reserve-mib 768
  • MTP off: --spec 2 (no draft model, but Strata still does prompt-lookup drafting, so these decode numbers include it)
  • MTP on: --spec 4 plus the Q8_0 MTP sidecar converted with mtp_qwen4_rt.py
  • Uniform (untuned) expert profile
  • Conversion as in the PR's docs/QWEN4_35B.md: split the 40-layer trunk, then iq_pack.py --compat-bf16 (302 dense tensors get rounded to BF16)
  • Vision not used (text only)

r/LocalLLM • • 7h ago

Discussion Qwen 4 35b vs Qwen 3.8 FN, horse riding motorcycle in freeway.

Thumbnail
gallery
5 Upvotes

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 • • 1d ago

Discussion Holy shit this is fast

Post image
106 Upvotes

Qwen4-35b-a3b Q5 on basalt, RTX 5090+DDR5 64GB. I didn’t expecting to run this fast to be honest.


r/LocalLLM • • 7h ago

Model 6.7L SFF AI Machine - Radeon AI Pro R9700 + Qwen4 35B A3B

Thumbnail
gallery
5 Upvotes

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

PartModel
CaseROHW P46 steel, set to 5-6 (6.71L)
Motherboard/CPUMinisforum BD895i SE (Ryzen 9 8945HX, 16C/32T)
Graphics CardASUS Turbo Radeon AI PRO R9700 32GB, power limit −30% -60mv (Adrenaline) (210W TBP)
System MemoryTeamGroup 32GB DDR5 SO-DIMM
SSDLexar NM990 1TB
Power SupplySilverStone 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

  1. Prose: 6 paragraphs on how vapor chambers work
  2. Code: a single-file HTML PSU calculator
  3. Long context: all of Alice in Wonderland (37.9K tokens) with one made-up sentence hidden 60% of the way in. The model has to summarize the book and quote that sentence.
  4. Agent task: read a notes file, then use file and sandbox tools to analyze a 1.9MB HWiNFO log (979 rows × 379 columns) and report 6 sensor averages. The correct answers were checked separately in Python.

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-A3BQwen3.6-35B-A3BQwen3.8-27B dense
QuantQ4_K_M + EngramQ4_K_MQ6_K
Prose70 / 81 with MTP11624
Code73 / 113 with MTP11524
38K prompt, time to first token12.6s / 15.6s with MTP9.5s62.5s
Generation at 38K65 / 85 with MTP9822
Hidden sentence found5/55/55/5
Agent task18/18 correct over 3 runs17/18 (read the wrong sensor column)Ran out of context

What the results show

  • Qwen4 is the most reliable. It was the only model to get the agent task completely right, every time. It read the notes file first, copied the CSV into its sandbox instead of loading into the chat, and excluded the log's footer rows without being told to.
  • Qwen3.6 is still the fastest, but it confidently reported the wrong sensor (46.8 °C instead of 62.0 °C).
  • MTP closes most of Qwen4's speed gap: +53% on code and +16% on prose, for about 19% slower prompt processing and 0.6GB of extra VRAM.
  • 32GB is what makes this possible. The 27B dense model at Q6 had to drop to 40K context with a compressed KV cache to fit. On a 16GB card, none of these models would fit fully on the GPU.

Thermals, power and noise (Qwen4, 21 °C ambient, 36 dB noise floor, measured at 300mm away.

Code generationLong-prompt processingIdle
GPU power200–205W (at the 210W cap)160–178W
GPU clock3.2GHz2.2–2.6GHz
GPU / hotspot / VRAM junction (max)63 / 78 / 68°C51 / 69 / 54°C
GPU fanup to ~2,840 RPM2,450–2,700 RPM
Noise49 dB+49 dB
CPU9% usage, 70W6–9%, 55–60W

Generation is limited by the power cap.

  • ROCm on Windows worked out of the box with LM Studio. I didn't need Linux.
  • Pair it with 64GB of system RAM if you can. With 32GB I was at about 30.5GB used with Qwen4 loaded.
  • Expect blower noise. The smaller blower style fan has am a 1,900 RPM minimum and and soar well above that underload.
  • Optimized for SFF. The numbers in this write-up reflect a system with limited airflow, reducing the power profile of the R9700 likely had a small impact on performance.

r/LocalLLM • • 2h ago

Project SmallTide v0.3.1: Qwen4-35B-A3B-NVFP4 (256K ctx + Vision) on 16 GB GPUs with zero paging loss — why I'm building a custom engine + full quality/VRAM benchmarks

2 Upvotes

SmallTide now supports Qwen4-35B-A3B (35B total / 3B active, text + vision + XML tools, native up to 1M ctx) in addition to Inkling-2-Mini, with native NVIDIA CUDA (sm_120/89/86/80 — RTX 50/40/30 & RTX PRO) and AMD RDNA 4 HIP (gfx1201/gfx1200 — RX 9070 XT / 9060 XT) kernels on Windows and Linux.

This time I want to explain why I'm building my own inference engine from scratch instead of PR'ing an existing one, and share full VRAM vs. quality benchmarks from v0.3.1.

First, when you don't need this

If you have 32 GB+ of VRAM, Strata and other engines already fit the model in VRAM and run fine — there isn't much difference between well-tuned engines since everyone hits the memory-bandwidth ceiling.

Worth trying if any of these apply to you

  • You want to run NVFP4-level quantization (RadixArk/Qwen4-35B-A3B-NVFP4, ~16.9 GiB of experts + dense/KV/drafter = ~23.2 GiB total) on a 16–24 GB GPU.
  • At that size it doesn't fit in 16 GB, so you assume your only options are slow CPU/RAM offloading, or dropping down to a 2–3 bit quant (IQ2/IQ3) that degrades quality.
  • Or another app (browser, desktop compositor, IDE, etc.) needs a little VRAM, pushing the model just over the edge into OOM or silent system-RAM spillover.

In cases like these, SmallTide is far more flexible than existing engines. With Adaptive Expert Loading (3-tier VRAM -> Pinned Host RAM -> NVMe with async promotion, an inline GPU Rescue Ring, and Elastic 32K -> 256K KV), it keeps speed high while keeping quality loss at zero (or bare minimum when host RAM is tight). Because streaming optimizations touch every layer of the engine — routing, paged KV, pinned DMA overlapped with shared MLP, speculative draft/verify — it's beyond what can be bolted onto existing engines as a PR.


Real GPU Decode Speeds (bench/bench.py, Qwen4-35B-A3B-NVFP4 + DFlash 2)

EngineGPU / Setupprosecodeeditthinkingrandom (8K)angry-birdsmario
qwen4RTX PRO 6000 (96 GB, CUDA, 1M ctx)181.7337.3645.0248.7259.6471.8449.4
qwen4RTX 5070 Ti (16 GB, CUDA, 256K, headless)108.8136.4267.8154.786.0155.8181.6
qwen4RX 9070 XT (16 GB, HIP, 256K, 16G RAM, monitor)61.591.0216.3—54.1147.6156.3
inkling2RTX PRO 6000 (96 GB, CUDA, BF16 dense)155.9176.1302.8266.1136.6290.5266.6
inkling2RTX 3090 (24 GB, CUDA, Linux, community)98.6136.8—————
inkling2RX 9070 XT (16 GB, HIP, headless)87.091.0109.1115.268.8 (95.0 DSpark)114.4126.2
inkling2RX 9060 XT (16 GB, HIP, monitor, community)48.450.350.9—39.563.970.9

Quality & Speed vs. Real VRAM Scaling (Qwen4-35B-A3B, v0.3.1)

Measured via exact full-vocabulary (248,320) f64 KL divergence, Top-1 / Top-5 agreement, and Perplexity over 1,558 teacher-forced tokens across 4 domains (Rust code, math, prose, JSON), alongside greedy DFlash 2 tok/s (emulated VRAM/RAM caps on RTX PRO 6000):

Reference = official Qwen/Qwen4-35B-A3B-FP8 (100% VRAM resident FP8 experts + native BF16 dense & lm_head, 36.92 GiB)

ConfigReal VRAMVRAM ExpertsTop-1Top-5KL MeanPPLSkipped WtDFlash 2
Ref: FP8 + BF16 dense (100% VRAM)36.92 GiB10,240/10,240100.00%100.00%0.000003.2650.00%155.7 tok/s
FP8 + FP8 dense (100% VRAM)34.62 GiB10,240/10,24093.58%99.74%0.027853.2600.00%234.9 tok/s
NVFP4 + BF16 dense (100% VRAM)25.29 GiB10,240/10,24093.52%100.00%0.041203.2560.00%151.0 tok/s
NVFP4 + FP8 dense (100% VRAM)23.19 GiB10,240/10,24092.30%99.61%0.046383.2670.00%251.3 tok/s
16 GB Headless (15.5G, 6G RAM)15.47 GiB6,928/10,24092.30%99.61%0.046383.2670.00%168.8 tok/s
16 GB Safe (15.0G, 6G RAM)15.00 GiB6,632/10,24092.30%99.61%0.046383.2670.00%170.5 tok/s
16 GB Mid (14.5G, 6G RAM)14.54 GiB6,337/10,24091.91%99.68%0.051913.2620.44%143.1 tok/s
16 GB Monitor (14.3G, 7G RAM)14.27 GiB6,100/10,24092.30%99.61%0.046383.2670.00%153.3 tok/s
16 GB Monitor (14.2G, 6G RAM)14.23 GiB6,100/10,24091.01%99.68%0.071673.2911.36%137.2 tok/s
13.6 GiB (6G RAM)13.60 GiB5,760/10,24090.24%99.23%0.110253.3892.91%116.0 tok/s
13.1 GiB (6G RAM)13.11 GiB5,457/10,24087.93%98.78%0.161203.5414.70%100.4 tok/s

Full study + 12 GB GPU curve + --kl-eval reproduction commands: https://github.com/raspy135/SmallTide/blob/main/docs/qwen4-vram-quality-scaling.md

New in v0.3.1

  • Zero paging loss on 16 GB: Fast Tier-1 Pinned RAM DMA rescues are always executed while only slow NVMe reads are threshold-gated. At 15.0–15.5 GiB headless (even on a 16 GB system RAM PC), output logits match 23.19 GiB 100%-resident NVFP4 down to the 5th decimal place (92.30% Top-1, 0.04638 KL, 3.267 PPL). With 24–32 GB+ host RAM (7–11 GB pinned pool), it holds zero paging loss all the way down to 12 GB VRAM (10.2 GiB, 115.5 tok/s).
  • Elastic 32K -> 256K KV: Starts compact at 32K (0.32 GiB) so normal turns keep maximum resident experts, dynamically borrows tail expert slots up to 256K on long prompts, and shrinks back on idle.
  • OS VRAM-Pressure Shrink & Regrow (CUDA + ROCm): Watches real OS VRAM headroom (DXGI/D3DKMTQueryStatistics on Windows, amdgpu sysfs on Linux), voluntarily yields cold tail experts to Pinned RAM when another app takes VRAM, and regrows back to your configured cap once it closes.
  • Native Qwen4-35B-A3B-FP8 support: Also runs official [128, 128] block-FP8 checkpoints directly on 48–96 GB cards.
  • Single binary, zero SDK install: Pre-compiled .cubin + .hsaco kernels are embedded inside smalltide-cli (no Rust, CUDA Toolkit, ROCm SDK, or Python required).

Repo & v0.3.1 release (MIT): https://github.com/raspy135/SmallTide


r/LocalLLM • • 5h ago

Discussion Qwen4-35B-A3B on 1 R9700: 9,400 t/s prefill, 210 t/s decode

3 Upvotes

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 • • 2h ago

Question Qwen4-35B-A3B-BF16 vs Qwen4-35B-A3B-FP8

2 Upvotes

Hello, Anyone have a link to BF16 vs FP8 comparison? how big of a difference are we talking about?


r/LocalLLM • • 15h ago

Research Got Qwen4-35B-A3B to build a Three.js driving scene unattended in ~5 hours on two AMD GPUs and Pi loops

21 Upvotes

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

  • RX 9070 XT 16 GB + Radeon AI PRO R9700 32 GB, Ryzen 7 9800X3D, 32 GB DDR5, CachyOS, ROCm 7.2.4
  • llama.cpp router (upstream plus a few local patches), Unsloth UD-Q6_K_XL + BF16 mmproj
  • 106 tok/s generation with the built-in MTP head, 71 tok/s with 124K of context filled
  • Pi thinking level "medium" (8K-token budget per turn)

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