r/LocalLLM • u/One-Insurance-9084 • 7h ago
Other Qwen 4 release be like
Humour btw
r/LocalLLM • u/EvolvingDior • 8h ago
r/LocalLLM • u/iamrinku16 • 2h ago
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
Setup
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 routing6.5 GiB VRAM (elastic KV trims slots as ctx grows) / 11.1 GiB RAM / 4.9 GiB NVMe SSDNumbers (53 requests)
215,108 tokens (5.84M cached prompt tokens reused)501.7K new tokens @ 3,002 tok/s avg (4,436 tok/s peak on 144K fill)177.0K generated tokens @ 79.0 tok/s avg (102.3 tok/s peak, 72.1 tok/s at 215K ctx)--spec 8): 78.7% acceptance (88.3K / 112.1K) | GPU cache hit rate: 72.7%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 • u/DomiMili • 11h ago
It's happening! The becoming begins!
r/LocalLLM • u/tokenwizard2 • 2h ago
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 • u/Ill_Pie1811 • 2h ago
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
•
u/Minute_Concept719
•
5h 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/Stooovie • 6h 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/j0an_k • 8h 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/pp026 • 10h ago
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. :)
r/LocalLLM • u/SaltyFish7499 • 4h 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/Subject-Till-6450 • 1h ago
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 • u/Kemerd • 6h ago
r/LocalLLM • u/sdfprwggv • 2h 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/batmanButthole • 3h ago
It‘s exciting. Every day, there’s a new release for my device. The coolest kids on the block get tons of views. They’re doing things right. CyanogenMod then, Qwen today. They get love because they make new stuff keep working on old devices. The community is trusting and trustworthy. People just download and run things asap, and there’s no virus for 99% of things.
I wonder if the similar cultures would bring similar outcomes. Custom ROMs are gone, and so is CyanogenMod. We have manufacturer specific Android flavors now. We are all predicting there will be winners and losers of the LLM game. Will AMD release their own nemotron? What do you think about these similarities?
r/LocalLLM • u/Practical_Hat_3024 • 4h ago
comment bellow on what are the best ways to run qwen4 , if possible, link your setup
r/LocalLLM • u/PersonalStorage • 7h ago
Qwen just shipped Qwen4-35B-A3B (35B MoE, 3B active, 1M context). I quantized it to NVFP4 and packed it into a single file for the Basalt engine. It boots and serves.
Model card: kaushikvira/Qwen4-35B-A3B-nvfp4-basalt
Use the qwen4-35b branch of jesdga95/basalt**, commit** 4dbca9ce or later.
Do not run this pack on an older Basalt build (including 53aa09a6, which the README previously named). Those builds corrupt the KV cache under back-to-back different-length requests: the model degrades into !!!!… / repetition loops at temp=0, and long-context retrieval silently breaks (needle scored 4–5/12).
qwen4-35b@4dbca9ce fixes it with two correctness fixes:
src/kernels/cuda/gqa_attn.cu — windowed GQA attention had causal = 0 hard-coded (non-causal); it now honours the real causal mask.src/decode/verify/record*.cpp — the verify read used a fixed-size FusedGrArgs fa[kFusedGrMaxT]; now sized to the window, fixing a stack overrun that corrupted memory when the spec window was wider than the tile.Result on the fixed build: needle 36/36 across 3 consecutive back-to-back runs (was 4–5/12), quality 4/4.
git clone https://github.com/jesdga95/basalt && cd basalt
git checkout 4dbca9ce # or: git checkout qwen4-35b
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBASALT_MODELS=qwen4exp
cmake --build build -j # -> bin/basaltRequires CUDA 13.1 and an NVIDIA Blackwell GPU (sm_120).
bin/basalt serve Qwen4-35B-A3B-NVFP4.basalt \
--config config.json \
--api-key "$(cat key)" \
--alias qwen4-35b-a3b --kv int8 --max-context 524288 \
--resident-experts --vision --vram-reserve-mib 800
# or just: bin/basalt serve --config config.json.basalt file (42.24 GiB, sha 9819a1ce…) — text + vision + MTP drafter, NVFP4Speed is a first baseline, not tuned. The branch also adds 2048-wide kernels for this exact shape and an optional --drafter dflash2 block drafter (we kept the MTP spec: 8); more optimization will land on the model card. Feedback welcome.
r/LocalLLM • u/2BucChuck • 1h ago
I’ve been running qwen flash next a while and happy with it ; just switched to 4 last night and while it’s great I’ve seen some unusual hallucinations and failed tool calling formats. Anyone else ? If not can you share setups / params in use ?
It’s randomly called a tool not relevant to the step , called me Jim (not my name) and picked up some errant conversation snippets from somewhere but also that last bit could be my harness.
All that said it is fast and seems pretty good
r/LocalLLM • u/FatalCummins • 11h ago
I already have 2 very capable machines but I got curious since I’ve never built my own from the ground up. My goal is to get everything to work for under $1500. Got an insane deal on 8 MI25s I couldn’t say no to. Motherboard and ram will be the next tricky things. Motherboard especially since I want to run 8 x16 slots so it’s a little hard to find a motherboard with those requirements for a good deal. Ram is pretty straightforward. If any of you have any recommendations for motherboards, that would be great. I’ll probably end up going over budget with the current ram prices, but I’m going to try. Yes I know MI25s are slow. I’m not looking for cutting-edge technology here just a fun project. Like I mentioned I already have 2 servers that I purchased turnkey.
r/LocalLLM • u/PatronusProtect • 4h ago
If your local setup reads web pages, files or emails, you want something cheap in front of the model that flags injected instructions. We just released v2.2, which cuts false alarms on real web pages 15x compared with v2.1. We benchmarked it against 13 others on identical data:
Three sizes (80M / 141M / 308M), ONNX down to ~218 MB for the largest one, Apache-2.0, English and German.
from transformers import pipeline
pipeline("text-classification", model="patronus-studio/wolf-defender-prompt-injection")("Ignore all previous instructions...")r/LocalLLM • u/MaySaki2 • 7h ago
I went through Qwen4’s launch numbers to see what I’d actually swap out on a 24 GB card. The repo coding scores look good, but the model I most want to compare it with, Qwen3.6-35B, is missing from the chart.
Qwen4 vs. Qwen3.8-27B - Qwen4 scored 61.8 vs. 42.2 on DeepSWE v1.1 and 51.7 vs. 42.3 on NL2Repo. The 27B still leads on GPQA Diamond and gives you more VRAM headroom at Q4.
Qwen4 vs. Qwen3.8-Flash-Next - Qwen4 leads on both repo benchmarks with about a third of the total parameters. Flash-Next still leads on Terminal Bench 4.1 and wins 27.1 vs. 16.1 on FrontierCode-AA 2.0. I’d try Qwen4 for repo edits first.
Qwen4 vs. Qwen3.6-35B-A3B - Qwen4 is a bigger download, though the estimated raw KV cache is about the same at a given context length. For anyone already running 3.6 on a 3090, this is the upgrade comparison I’d like to see.
Has anyone tried both 35Bs on the same repo bug and the same 24 GB card? I’m curious how long each took to get the tests passing, and how much you had to steer it or clean up the patch.
r/LocalLLM • u/Serious_Scarcity7818 • 1h ago
Qwen4-35B-A3B came out today. It is a MoE: 35B total, about 3B active, 256 experts a layer with 8 routed, three linear-attention layers to one full-attention layer, an MTP layer for drafts, and a few new things on top: hyper-connections (the residual is several streams, not one), a per-layer n-gram embedding table (the 14 GB second shard of the GGUF), and sparse attention that picks the keys a row reads once the context gets long.
RustingStrata, my Rust GGUF engine, runs it now. The Q5 file does not fit in 12 GB, so the most used experts stay on the card and the rest run on the CPU at the same time, the n-gram table stays in RAM.
Setup: RTX 3060 12 GB, Ryzen 5 7600X, 30 GB RAM, NVMe. File: unsloth Qwen4-35B-A3B UD-Q5_K_M (39.5 GB, both shards), the same file for both engines. llama.cpp 1579b02, CUDA, -fa 1 -t 6, and I swept --n-cpu-moe and -ub for every row and took its best. No draft tokens on either side in this table. tok/s:
| Context | Prefill RustingStrata | Prefill llama.cpp | Decode RustingStrata | Decode llama.cpp |
|---|---|---|---|---|
| 0.5k | 554-581 | 463 | 69.0 | 43.6 |
| 8k | 1533 | 1082 | 67.5 | 43.9 |
| 32k | 1287 | 1196 | 64.6 | 42.3 |
Same output as llama.cpp? I fed llama.cpp's tokens through my forward and compared the top token at 640 steps (20 prompts x 32). llama.cpp agrees with itself (batch against token-by-token) at 613 of 640, so 100% is not a real target here. RustingStrata matches one of llama.cpp's two answers at 618 (CPU) and 615 (GPU) steps, the misses are near ties.
Limits: the tables are CUDA. Vulkan (for AMD and Intel cards) gives the same top tokens as CUDA (618 of 640 either-mode) and on the same 3060 runs at 444 / 1022 / 920 tok/s prefill and 61.4 / 56.8 / 55.0 decode at 0.5k / 8k / 32k, a llama.cpp Vulkan comparison comes next. Splitting the model over two GPUs works in the code and is tested only as a fake split on my one card, so I have no real multi-GPU numbers yet. If you have two cards or an AMD card, I would love your numbers.
rustingstrata chat --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf
rustingstrata serve --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf --parallel 4MTP is already there on llama.cpp and RustingStrata, but not tested yet, maybe I will do another post about it
It's just first implementation of Qwen4, so more performance improvement will come today/tomorrow
Repo: RustingStrata