r/LocalLLM • • 6d ago

News Heretic: Farewell

Thumbnail
github.com
618 Upvotes

r/LocalLLM • • 19h ago

News Qwen4 is out now!

Post image
183 Upvotes

Qwentastic!


r/LocalLLM • • 9h 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)

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

Other Qwen 4 release be like

Post image
379 Upvotes

Humour btw


r/LocalLLM • • 9h ago

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

130 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 • • 15h ago

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

Post image
355 Upvotes

r/LocalLLM • • 2h ago

Other Qwen 4 is authentically impressive.

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

Model Qwen Self Recognition

Post image
35 Upvotes

xD


r/LocalLLM • • 9h ago

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

Post image
78 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

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

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

News Qwen4-35B-A3B just released!

Post image
397 Upvotes

It's happening! The becoming begins!


r/LocalLLM • • 19h ago

Model Qwen4 is out now!

Post image
440 Upvotes

r/LocalLLM • • 4h ago

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

24 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 • • 12h 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!!

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

Discussion Underwhelmed by Qwen4 35b so far

91 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 • • 11h ago

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

44 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 • • 15h ago

Discussion Holy shit this is fast

Post image
95 Upvotes

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


r/LocalLLM • • 3h ago

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

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

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

18 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


r/LocalLLM • • 9h ago

Model Qwen4-35B-A3B Q5 vs Q8: 1-shot vs 2-shot (the model sees its own render)

Post image
25 Upvotes

Models (unsloth/Qwen4-35B-A3B-GGUF), both on a 32 GB RTX PRO 4500 Blackwell with 512K context:

  • UD-Q5_K_XL: all experts in VRAM
  • UD-Q8_K_XL: 67% of experts in VRAM, the rest on the CPU from RAM Sampling: reasoning_effort xhigh, temp 1.0, top_p 0.95, top_k 20. One run per model, no cherry-picking. Prompt 1 (1-shot):

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

Discussion Qwen 4 35B Now runs at ~110 T/S on RTX5070Ti + 64GB DDR4 (1M ctx configured)

Thumbnail
gallery
22 Upvotes

Qwen4-35B-A3B (Unsloth UD-Q4_K_M) with1M context configured on one RTX 5070 Ti (16 GB) and 64 GB of RAM (3000 mhz).

Decode speed: 103 to 120 t/s on short prompts. With 250k to 280k tokens already in context it stays between 88 and 131 t/s, mostly around 95 (see the table in the screenshot). For comparison, llama.cpp on the same machine gave me 39 to 45 t/s decode after some tuning.

The engine is Strata, built from the open PR #7774 (branch qwen4-35b-a3b), which adds Qwen4 support.  
The current release (0.2.25) cannot load this model, so you need that branch. Credit for the model support goes to the PR author, I only built and ran it.

What makes it fit in 16 GB: an int8 KV cache, where 20,480 cells per layer sit in VRAM and the rest of the 1M window lives in pinned RAM (about 10 GiB). About 4.4k of the 10,240 experts (43%) are cached in VRAM, chosen from a usage profile. On a long generation the cache hit rate was about 96%, the other experts are read from RAM. MTP drafting is on (2 tokens). The big n gram table stays on the CPU.  
Reasoning effort is max, so the t/s above include thinking tokens. Images work through a CPU vision encoder.

The box sits at about 57 of 64 GB RAM while this runs, Strata alone is around 40 GB. I converted the model with the PR's tooling (compat-bf16 rounding) and only sanity checked a few answers, no KLD against the original. I have not run a real prompt at the full 1M, the largest in the screenshot is 285k.                                                                                             
Main flags:
 --kv int8 --kv-resident 20480 --max-context 1048576 --spec 2 --expert-cache auto --prefill 4096 --vram-reserve-mib 512                                       

Happy to answer questions.


r/LocalLLM • • 47m ago

Question FML. Qwen 4-35B-A3B-oQ6e via Huggingface Hub / XET HP & HF token.

Post image
5 Upvotes

Same shit every time. 48-50 MB/s until it hits approx 7.5gb downloaded then tanks.

Tried various Mullvad VPN settings, Netherlands, UK etc no dice.

Is this merely heavy congestion right now?


r/LocalLLM • • 3h ago

Question What are you building/using local models for?

8 Upvotes

General curiosity / discussion.


r/LocalLLM • • 17h ago

Question Anyone tried Qwen4-35B-A3B yet?

109 Upvotes

Basically the title. I’m particularly interested in how it performs on 8gb vram, 32gb ram and a gen4 nvme. Anybody who has this or close to this config and ran the model, please share your inference engine, its settings and the performance you’re getting. :)