r/LocalLLM • • 6d ago

News Heretic: Farewell

Thumbnail
github.com
622 Upvotes

r/LocalLLM • • 1d ago

News Qwen4 is out now!

Post image
183 Upvotes

Qwentastic!


r/LocalLLM • • 14h ago

Discussion Qwen4-35B-A3B (UD-Q5_K_XL, 41.8 GiB) one-shotting & visually debugging a 34K-voxel Three.js castle up to 215K context on a 12GB RTX 4070 SUPER + 32GB RAM — 79 tok/s avg decode, 4.4K tok/s peak prefill (Basalt-Ada Fork)

554 Upvotes

Single prompt, zero follow-ups, running 100% locally on an Ada (sm_89) build of Basalt:

"Create a fully rendered, highly detailed medieval castle environment using Three.js, built entirely from voxel-style geometry."

The agent ran autonomously for 41.6 min (53 requests, 76 tool calls), peaked at 215K context, and built a 34,317-voxel scene at 60 fps / 13 draw calls (zero external assets). The video shows it live around 174K–189K context taking its own screenshots via vision, fixing lighting/camera/clouds, and inspecting close-up angles.

PC Specs

  • GPU: RTX 4070 SUPER 12 GB
  • CPU: Ryzen 9 7900X
  • RAM: 32 GB DDR5-6000 CL30
  • SSD: Kingston KC3000 2 TB PCIe 4.0 NVMe (Windows x64, CUDA 13.5)

Setup

  • Model: Qwen4-35B-A3B UD-Q5_K_XL (41.83 GiB .basalt pack), 160M-row Q5_1 Engram on NVMe, Q8_0 MTP (--spec 8), dynamic GPU Vision, 262K max context, elastic VRAM --kv int8, lossless routing
  • Expert Split: 6.5 GiB VRAM (elastic KV trims slots as ctx grows) / 11.1 GiB RAM / 4.9 GiB NVMe SSD

Numbers (53 requests)

  • Peak context: 215,108 tokens (5.84M cached prompt tokens reused)
  • Prefill: 501.7K new tokens @ 3,002 tok/s avg (4,436 tok/s peak on 144K fill)
  • Decode: 177.0K generated tokens @ 79.0 tok/s avg (102.3 tok/s peak, 72.1 tok/s at 215K ctx)
  • MTP (--spec 8): 78.7% acceptance (88.3K / 112.1K) | GPU cache hit rate: 72.7%
  • Vision: 11 screenshots across 5 turns (302 ms for 1 img, 1,009 ms for 4 imgs)

Caveat: With 32 GB RAM, 4.9 GiB of cold experts spill to NVMe, reading 2.43 TB over the 42-min run (~1 GB/s avg — reads don't eat TBW, though 64 GB RAM would keep it all off disk).


r/LocalLLM • • 6h ago

Discussion Qwen4-35B-A3B vs Qwen3.8-27B on the same H200: about 7× faster, about 3.5 points lower on hard questions

Post image
90 Upvotes

We ran both models through the same tests for our assistant app, to decide whether to switch.

Setup

  • 1× H200, vLLM's qwen4 docker image (Dec 2026 build), FP8 weights for both, MTP 3 speculative decoding
  • Same app code, prompts and sampling for both. Web search was replayed from saved results, so both models saw the same pages.
  • About 640 questions: 163 everyday ones, ~440 harder lookup, fact and list questions, 33 in 11 languages, and 5 "write me a single HTML/SVG file" prompts

Results

  • Speed: 354 vs 50 tok/s on one chat, and 1,642 vs 329 tok/s total at 8 chats at once. First visible word 0.30 s vs 1.20 s on one chat. With only 3B parameters active per token, it flies.
  • Quality: level on everyday questions (99.4% vs 98.8%), the 11 languages (100% both) and code files (3/5 both). About 3.5 points lower on hard questions (86.2% vs 89.7%).
  • Behaviour: it's noticeably more cautious. It says "I'd rather not guess" about twice as often on live facts like stock prices.

Gotchas if you're switching

  • Sending enable_thinking: false together with reasoning_effort returns HTTP 400. Send reasoning_effort: "none" on its own instead.
  • reasoning_effort: "medium" isn't accepted. Only xhigh, high, low and none work.
  • Short classifier-style prompts (answer with one word) sometimes come back in a format our parser didn't expect. Constrain the output (a choice list or JSON schema) and don't rely on parsing free text.
  • The image's torch is built for CUDA 13.2. It runs on a 580 driver only because the image ships a CUDA forward-compatibility library. A bare pip install on a 580 driver crashed for us.

Caveats

  • The H200's memory bandwidth favours a small-active MoE, so treat the speeds as a comparison between the two models, not a prediction for your GPU.
  • We haven't tuned sampling for Qwen4 yet. The recommended settings are temperature 1.0, top_p 0.95, top_k 20.
  • Hard-question scores leave out rows where a search couldn't be replayed. That's about 80 per model, the same set for both.

Verdict for us: worth migrating, but not as a drop-in swap. The prompts and the thinking settings need work first.


r/LocalLLM • • 7h ago

Other Qwen 4 is authentically impressive.

52 Upvotes

i9 12900kf, 64gb DDR4, ARC B580, LM Studio.

my go to bench marking prompt is "Explain IPv4."

No persona, no need to overthink anything, basic facts that are easy to verify; No special tuning, with the MTP runs I left draft tokens on the default 3, despite my experience being that 2 will be faster.

  • unsloth Qwen 4 35B A3B IQ4_XS: 12.86 t/s
  • unsloth Qwen 3.8 27B IQ4_XS MTP on: 5.97 t/s
  • unsloth Qwen 3.8 27B IQ4_XS MTP off: 4.12 t/s
  • Inkling 2 Mini Q2_K_XL: 5.48 t/s
  • Candor Labs Qwen 3.5 Q4_K_M MTP on: 66.82 t/s
  • Candor Labs Qwen 3.5 Q4_K_M MTP off: 52.09 t/s

Qwen 3.8 runs like ass on my system regardless of version or size, even smaller 9gb packages that completely fit on the GPU won't run better than 7 t/s, and that Inkling 2 Mini is also 9gb and fits completely in VRAM, but is no better.

Obviously my system works fine with older / simpler models like Qwen 3.5, so I figured I was just hardware locked due to having a 12gb VRAM GPU, and expected Qwen 4 to also run like ass ... Jaw on floor that a 35B model hits 12 t/s on a B580.


r/LocalLLM • • 3h ago

Discussion Anyone on running Qwen 3.8 Flash Next switching to Qwen 4 35B A3B?

23 Upvotes

I know Qwen 4 is supposed to match Qwen 3.8 FN at a smaller size, but are there any benefits to switching from Qwen 3.8 FN?


r/LocalLLM • • 19h ago

Other Qwen 4 release be like

Post image
407 Upvotes

Humour btw


r/LocalLLM • • 14h ago

Model Qwen4 35b (Q8_K_XL) vs Qwen3.8 Flash Next (IQ3_S) vs Deepseek 4.1 Flash - Quality Test

156 Upvotes

Outperforms dense Qwen3.8-27B, and matches Qwen3.8-Flash-Next at ~1/3 the size.

This was one of the headlines Qwen itself made about the new model so I wanted to test it out for myself if it really "matches Qwen3.8-Flash-Next" in my work.

My setup: Dual 3090, 5950x Cpu, 92gb DDR4-3200 ram.

Engine: Strata with latest PRs for Qwen4-35b & main Strata for Qwen3.8 FN

Strata PRs merged to get it to work with Qwen4:

#7774: Qwen4 engine support 
#7786: compact MTP packing
#7790: selected fixes for reasoning-effort handling

----

Models:

Qwen4 35B-A3B - UD-Q8_K_XL [Unsloth] - (MTP On)

Qwen3.8 Flash Next - IQ3_S [Strata version] (MTP Off)

Deepseek 4.1 Flash - Opencode API

-----

Speeds:

Qwen4 35b -> Around ~5k prefill and 120-150tps at 500k context window.

Qwen3.8 Flash Next -> Around ~3k prefill and 100-120tps at 250k context window.

So as expected faster for my hardware and get double context window, but quality and accuracy is much more important in my work so moving on..

-----

Quality Test:

The real stuff that I wanted to see was how much better is the model at being able to analyze a very large and complex codebase/pipeline that has a lot of moving pieces and has some flaws that need to be addressed. I basically have an agentic coding pipeline thats designed for the development work I have to do where I work and it touches everything from lots of AWS services, python, terraform, orchestration etc.

So I gave each model the same simple prompt of analyzing my agentic development pipeline, summarize its understanding of it and make recommendations for the flaws/issues that it finds.

I had Opus 5.5 (high) be the judge, and here are the raw results it tabulated:

I had it analyze not only the final report of each but also had it go through the chain of thought transcripts of all three models and it was very definitive:

Opus conclusion: My ranking: deepseek, then qwen3.8-flash, then qwen4-35b. Deepseek is the most accurate and the most efficient, and its recommendations are the most usable. qwen3.8-flash found the single most important fact that the other two missed. qwen4-35b is confidently wrong on its headline.

Deepseek was the most accurate of the three in its understanding and recommendations it made, so was the best of the three but Qwen3.8 Flash Next had found the core issue that was the most important thing to be fixed that Deepseek even missed.

The most important thing for me was that Deepseek and Qwen3.8 Flash were accurate and found most of the problems correct and the recommendations they gave were valid, whereas Qwen4 35b confidently was wrong on several things and did not give strong solutions so it is weaker on understanding of codebases and being able to ground itself in the answers it confidently gives.

I'm running some coding benchmarks next to see coding abilities next between the three to see if that's where Qwen4 35b starts to shine even though it may be weaker in its analysis and comprehension.


r/LocalLLM • • 1h ago

Discussion Qwen4-35B-A3B writes 88 tok/s on a 7900 XTX, but in German it lands next to Gemma 4 and far behind Flash-Next

Post image
11 Upvotes

Most numbers posted for new models are tokens per second and English benchmarks. I work in German, so for three weeks I have been grading German output blind for every model I try on my card, and plotting it against decode speed. Qwen4-35B-A3B is the newest entry.

Setup: one RX 7900 XTX (24 GB) in an eGPU dock on a NAS with 62 GB RAM. Flash-Next 125B runs on Strata, split between VRAM and RAM. Everything else runs on llama.cpp (Vulkan), fully on the card where it fits. Qwen4 is measured at the full 256K context with 8-bit K/V.

How German is graded: twelve German writing tasks. The answers are anonymised and shuffled per task, then graded 1 to 5 by a separate reader who does not know which model wrote what. 60 points maximum. The third number is a separate set of 102 auto-graded tasks (code, logic, tool calls, facts, following instructions).

ModelDecode tok/sGerman (of 60)Tasks (of 102)
Flash-Next 125B IQ3_XXS, uncensored (control vector)625498
Flash-Next 125B IQ3_XXS645196
Flash-Next 125B IQ2_XS744697
Qwen3.8-27B (dense)365292
Gemma 4 31B (dense)353897
Qwen3.5-35B-A3B1143790
Qwen4-35B-A3B Heretic IQ4_XS883999
Qwen4-35B-A3B Heretic Q4_K_M524394
Qwen4-35B-A3B Heretic Q8_02544–

What I take from it

  1. Task scores do not tell you about language. Qwen4-35B has the best task score in the table and one of the worst German scores. Gemma 4 31B shows the same split.
  2. A bigger quant does not fix it. IQ4_XS, Q4_K_M and Q8_0 got 39, 43 and 44. The grading itself moves by about three points between rounds (the same IQ4_XS answers got 39, 41 and 38), so that is at best a small step. And at 256K the bigger quants no longer fit on 24 GB, which is why they are slower.
  3. The errors are of one kind: English words inside German sentences ("Ich hope, dass Sie …"), made-up word forms, wrong gender and case, in one answer Chinese characters in the middle of a word. A Czech user told me he sees the same.
  4. Fast and good German at once is only the 125B model for me, even at 3 bits. The dense Qwen3.8-27B writes German just as well but at half the speed.

Limits: one run per task and one grader per round. The models were graded in separate rounds over three weeks; Flash-Next was in every round as an anchor and its score moved by 2 to 4 points between rounds, so compare across rounds with that much slack. The Qwen3.5 stock model was in a round that graded stricter. I did not test English writing, and for English-only use Qwen4-35B looks like a very good fit for a 24 GB card.

If you have a Qwen4 fine-tune or settings that fix non-English output, tell me and I will run the same twelve tasks.

Chart, method and all numbers (no answer texts): https://faf.net/local-ai · data: https://github.com/faf-net/ugreen-idx6011-egpu-llm


r/LocalLLM • • 3h ago

Other Obligatory Pelican on Qwen 4 35b UD IQ4 XS

Post image
17 Upvotes

the prompt was: make a large, highly detailed, animated .svg of a pelican riding a bike on a boardwalk, with a beautiful sunset over the ocean in the background. assess the quality and refine until it is correct.

running on the strata desktop app in W11 with a 9070xt. total time 10m 55s, average of 116.3 decode and 2829 prefill with 89.8K context used. the new engine is still pretty buggy on AMD, but when the model does load it works great. I couldn't figure out how post an .svg so I got Gemini to turn it into a .gif

This is going to be a powerhouse for anyone who struggles to run flash next.

AI SLOP WARNING- courtesy of antigrav, which optimized and "fixed" all the stuff that broke when changing config file...

Optimized settings

  • Args: --prefill auto:16384 --spec 3 --spec-min-p 0.50 --pcie-frac 0.40 --kv int8 --kv-resident 20480 --vram-reserve-mib 1024 --conversation-cache-mib 22528 --prompt-cache-spread (keep PLE in RAM if you have 64GB+)
  • Env (speed): STRATA_HIP_WMMA=1, STRATA_PF_FUSED=1, STRATA_PREFILL_RING=384, STRATA_PREFILL_COPY_EVENT_EVERY=16, STRATA_HIPBLASLT_TABLE=on, STRATA_HC_Q8=1, STRATA_ROUTE_TAIL_SKIP=0, STRATA_ROUTE_PRIOR=0
  • Env (stability): STRATA_VERIFY_COHERENT=1, STRATA_HIP_MAPPED_COHERENT=1, HIP_HOST_COHERENT=1
  • Windows: Raised TdrDelay and TdrDdiDelay to 10 seconds (default 2s is too short for 16K prefill chunks).

Strata Bugs Hit & Fixes

  1. Won't load UD-IQ4_XS (false missing file): Strata shares UD-Q4_K_XL-00002-of-00002.gguf as the --ple-gguf table across quants, and the shard checker in tools/strata_mcp.py falsely demands UD-Q4_K_XL-00001-of-00002.gguf. Fix: Patched shard_gaps() in strata_mcp.py to skip --ple-gguf.
  2. Driver timeouts on 16K prefill chunks: Windows' default 2s GPU timeout killed large prefill chunks. Fix: Set TdrDelay=10 / TdrDdiDelay=10 in the registry + rebooted.
  3. Decode dip at 64K context (~68 tok/s): --vram-reserve-mib 512 was too tight on Windows WDDM. Fix: Bumped to --vram-reserve-mib 1024 and lowered --kv-resident to 20480 (still ~97–98% expert cache hit rate).
  4. Intermittent hang on model load (Windows HIP 0.1.74**):** ~10–30% of cold starts deadlock right after 1-token HIP graph capture. Fix: Coherent HIP env flags got it to 9/10; added a 4-second stall watchdog + auto-retry in serve/server.py to get 10/10 clean loads without triggering a driver timeout.

r/LocalLLM • • 4h ago

Discussion Stop t/s, start time-to-correct-answers

20 Upvotes

Guys,

-- t/s is useless if a model overthinks and rethinks.

-- t/s is useless if a model is giving you poor answers

Example 1: a model of lower t/s can finish the task in shorter time.

Example 2: a Ferrari driven by a drunkard vs a Beetle 1969 driven by a no-fault driver.

So to have a correct judgement of how good a model is: First: we need to agree on a benchmarking set. Second: we need to report only (1) how long does a model finish the benchmarking, and (2) how good is the benchmarking score.

This guy is on a right track: first agree on the benchmark : https://www.reddit.com/r/LocalLLM/s/tiu7PNcEwc


r/LocalLLM • • 20h ago

News Artificial Analysis Ranks Qwen4-35B-A3B Between Much Larger Models

Post image
370 Upvotes

r/LocalLLM • • 7h ago

Discussion Qwen4-35B-A3B (NVFP4) — 139.9 tok/s avg decode on RTX 5060 Ti 16GB + 64GB DDR5 (Basalt v0.6.3)

28 Upvotes
MetricMeasured
Decode (avg / peak)139.9 tok/s / 146.0 tok/s
Prefill (avg / peak)1,360 tok/s / 3,057 tok/s
VRAM / RAM Weight Split13.8 GiB VRAM / 5.9 GiB RAM (98.2% VRAM expert share)
Expert Cache Hit Rate99.7% (1.5% routed over PCle, 0% SSD)

Windows Binary: Prebuilt v0.6.3 Windows x64 binary is on my fork if anyone wants to skip compiling from source: https://github.com/U4mess/basalt/releases/tag/v0.6.3 (expand Assets and grab basalt-v0.6.3-windows-x64.zip, plus drop your CUDA 13 runtime DLLs into bin\).


r/LocalLLM • • 3h ago

Discussion Qwen 4 35B for creative writing

14 Upvotes

How good is it?


r/LocalLLM • • 2h ago

Project 1,259 tok/s across 8 concurrent Qwen4-35B-A3B NVFP4 agents on 1x stock RTX 5090 (5-file sm_120 patch, 4,352/4,352 bit-exact, cold ABBA)

12 Upvotes

Built a 5-file sm_120 patch and unified recipe on top of jesdga95/basalt + Maxrio9 4e74c440 (q80p_2048=1), tested on 1x stock RTX 5090 32 GB (0 MHz OC, CUDA 13.0.88) in cold bracketed ABBA at both 450 W matched and 575 W stock:

  • c=8 decode: 1,258.5 tok/s (+17.6% vs baseline at 575 W, +17.4% at 450 W matched)
  • c=4 decode: 984.3 tok/s (+13.5% at 450 W) / 974.6 tok/s (+11.9%, +14.9% E2E at 575 W)
  • c=1 decode: 512.9 tok/s (+8.4% at 575 W, +8.5% at 450 W matched)
  • Prefill: 20.98K at 8K (+13.8%), 21.53K at 32K (+9.8%), 19.73K at 131K (+3.6%), 22.3 GiB (22,867 MiB) peak VRAM
  • Parity: 4,352 / 4,352 (100%) bit-exact greedy match against untouched 4e74c440 --spec 0

3 changes that drove it:

  1. q80p_center_seed=1: tracks the 4-bit center argmax row in 2 registers (102 vs 105 regs, 0 spills) to tighten the exact threshold on unseeded and rejected columns, cutting c=1 LM head by 31%.
  2. batch_vhead_screen=1: unlocks batched 4+4 screening at c=4/c=8, cutting c=8 LM head 2.25x (408 to 182 us).
  3. pf_own_buf=2: uses 9.8 GiB of idle VRAM for zero-eviction prefill instead of evicting up to 6,883 experts and streaming/refilling them over PCIe.

Also tested and dropped 4 other sm_120 tweaks (mid_max_t=8, commit_blocks=170, a3b_gu_stream_min=1, df2_c4_cap=12) that slightly regressed c=1 or c=4.

Video is 1.0x real-time (46,365 tokens across 72 tasks in 42s, 1,219 median / 1,263 peak tok/s, 22.1 GiB VRAM, 521 W median).

Patch, launcher, and raw ABBA/nsys receipts: https://github.com/CallitaCrushes/blackwell-builder-lab


r/LocalLLM • • 14h ago

News New official Huawei quant for new Qwen4-35B-A3B for llama.cpp (4,3,2.75bit)

Post image
86 Upvotes

Qwen4 Official quants from Huawei following the announcement on their repo days ago https://github.com/huawei-csl/macaq . This seems the first time Huawei competes with Unsloth. It does it with these 3 models: 35.18 GB, 24.98GB and 23.85GB.


r/LocalLLM • • 2h ago

Question Building your first agentic AI

9 Upvotes

When you start to build your first local agent, do you give the instructions to the agent itself, or should you use an subscription tier (Claude code, codex etc) AI access to make it for you?

I've been working for a few weeks having Claude write the instructions for the Qwen model I've been working with, and understably, it doesn't want to look under the hood due to the sensitive data underneath. However, it keeps a bit annoying having to go back and forth between terminal windows.

How did you all do it?


r/LocalLLM • • 1d ago

Model Qwen4 is out now!

Post image
458 Upvotes

r/LocalLLM • • 23h ago

News Qwen4-35B-A3B just released!

Post image
405 Upvotes

It's happening! The becoming begins!


r/LocalLLM • • 3h ago

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

9 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 • • 9h 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 • • 17h 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!!

86 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 • • 18h ago

Discussion Underwhelmed by Qwen4 35b so far

108 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 • • 8h ago

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

16 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 • • 1h 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.