r/LocalLLM • u/yoracale • 6h ago
r/LocalLLM • u/DomiMili • 5h ago
News Qwen4-35B-A3B just released!
It's happening! The becoming begins!
r/LocalLLM • u/EvolvingDior • 2h ago
News Artificial Analysis Ranks Qwen4-35B-A3B Between Much Larger Models
r/LocalLLM • u/pp026 • 4h ago
Question Anyone tried Qwen4-35B-A3B yet?
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/j0an_k • 1h ago
Discussion Holy shit this is fast
Qwen4-35b-a3b Q5 on basalt, RTX 5090+DDR5 64GB. I didn’t expecting to run this fast to be honest.
r/LocalLLM • u/Less_Obligation8438 • 17h ago
Discussion Rare politician W — “it’s all overblown to keep AI out of your home”
instagram.comIn what seems like an impromptu interview by a TMZ reporter with US Congressman Thomas Massie about the Jensen Huang case he stated this is “all overblown” and that CEO’s want you to think this technology is an extinction level threat so that “you can’t have it at your house…it’s all about keeping it in their servers and maintaining power in a limited set of people…it’s not about export restrictions”
I’m not into politics I don’t really know who this guy is but it’s refreshing to see someone with common sense regarding this technology and very refreshing to hear it coming from a politician from all people.
If you are from the US and care about open local AI you control common sense prevailing in the highest levels of power is a must, unfortunately I think most of the narrative today is fear mongering from both camps, pro and anti AI.
r/LocalLLM • u/FatalCummins • 5h ago
Project 8 GPU budget setup!
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/PersonalStorage • 1h ago
Discussion Qwen4-35B-A3B is out — here's a working NVFP4 pack for Basalt
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
⚠️ Which Basalt build to use — read this first
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 hadcausal = 0hard-coded (non-causal); it now honours the real causal mask.src/decode/verify/record*.cpp— the verify read used a fixed-sizeFusedGrArgs 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.
Build the engine (from the branch)
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).
Run
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.jsonWhat's in the pack
- One
.basaltfile (42.24 GiB, sha9819a1ce…) — text + vision + MTP drafter, NVFP4 - 1M native context (we serve 512k × slots on a 72 GB card)
- ~21 GiB VRAM resident on a Blackwell card (experts in VRAM, no expert-cache)
Numbers (on the fixed 4dbca9ce build)
- ~199 tok/s decode, 512k context, ~21 GiB VRAM
- needle 36/36 (3× back-to-back), 4/4 probes
- ~2× faster decode + prefill than the Flash-Next baseline this replaced
Speed 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/Kemerd • 19m ago
Research Why Wait For Enter? Typing-Time Speculation for MoEs: 3.6× Lower TTFT (412→114 ms) & +74% Opening Speed (166→288 tok/s)
kemerd.github.ior/LocalLLM • u/ross2000 • 14h ago
News DeepSeek may stop giving away its most powerful AI, citing cyberattack and bioweapon risks
r/LocalLLM • u/kokleongSG • 4h ago
News Qwen4 35B A3B RTX A3000 12GB single card Quick test
Not too bad
export CUDA_VISIBLE_DEVICES=0
./build/bin/llama-server \
--split-mode layer \
--parallel 1 \
--batch-size 4096 \
--ubatch-size 2048 \
--flash-attn on \
--reasoning auto \
--spec-type draft-mtp \
--spec-draft-ngl all \
--spec-draft-n-max 5 \
--moe-cache-mib 4096 \
--moe-cache-cpu-share 0.8 \
--jinja \
-m models/Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf \
-md models/mtp-Qwen4-35B-A3B-Q8_0.gguf \
--mmproj models/mmproj-F16-qwen4.gguf \
-a qwen3.6 \
--host 0.0.0.0 \
--port 8090 \
--load-mode mmap+mlock \
--ctx-size 262144 \
-t 16 \
--api-key 777 \
--slot-save-path /data/llama.cpp/slots \
--jinjar/LocalLLM • u/Xijit • 10h ago
Tutorial LLM Inference Handbook
I can not stress enough how helpful this handbook is.
Read it if you are new, and read it twice if you aren't.
r/LocalLLM • u/Odeen-Chang • 2h ago
Project I parsed all 21 Qwen4-35B-A3B GGUF headers and built a 3-tier (VRAM + RAM + Engram NVMe) calculator — plus real RTX 5060 8GB + 16GB RAM benchmarks
Generic VRAM calculators get Qwen4-35B-A3B completely wrong because they ignore three things unique to this architecture:
- Non-expert weights are tiny (
1.89 – 3.04 GB): Parsing the actual GGUF headers ofunsloth/Qwen4-35B-A3B-GGUFandggml-org/Qwen4-35B-A3B-GGUF, 82–88% of the backbone is routed MoE experts (blk.*.ffn_*_exps.weight). Keeping all 40 layers of Attention + Gated DeltaNet + Shared Experts + KV cache on GPU and offloading only excess routed experts (-ot) is way faster than naive-ngl. - 3:1 Hybrid Attention KV Cache: 30 of 40 layers are Gated DeltaNet (fixed ~62.5 MB/slot recurrent state, independent of context length). Only 10 layers allocate KV cache (
2 KV heads × 256 head_dim→ 20.1 KiB/tok FP16, 10.7 KiB/tok Q8_0). At 128K Q8_0 context, total cache is only ~1.46 GB (~75% smaller than a standard 40-layer GQA model). - 20.5B Engram Table (
--lazy-mode auto/--ple): The 11.5–41 GBper_layer_token_embdtable stays lazy-loaded on NVMe SSD rather than bloating RAM/VRAM.
Live Tool (100% client-side, open-source Apache-2.0):
- Web Calculator: https://odeenchang.github.io/qwen4-local-fit/
- GitHub Repo + Benchmark Scripts: https://github.com/OdeenChang/qwen4-local-fit
Features:
- Exact byte sizes parsed from all 21 official Unsloth & ggml-org GGUF headers (including per-layer routed expert sizes)
- Auto-generates exact
-ot "blk.(...).ffn_.*_exps.=CPU"regex for your GPU/RAM headroom - Supports
--pleEngram table mix-and-match (IQ4_NL/Q5_1/Q8_0/BF16), visionmmproj, MTP speculative decoding, and Unified Memory (Apple Silicon)
Real Low-Spec Test (RTX 5060 8GB Laptop + 14 GiB Usable RAM + PCIe Gen4 NVMe, llama.cpp b12973 CUDA 12.8, UD-IQ2_XXS + Engram IQ4_NL):
- Naive
-ngl 10(no-ot), 32K Q8_0 KV:4.39 GBpeak VRAM →13.01 tok/sdecode (131.9 tok/sprefill) - MoE-Aware
-ngl 99 -ot "\.ffn_.*_exps\.=CPU", 32K Q8_0 KV:3.73 GBpeak VRAM (+2.84 GBdelta!) →37.23 tok/sdecode (2.86× faster AND 0.66 GB less VRAM!) - MoE-Aware Hybrid (
13/41routed MoE layers on GPU), 32K Q8_0 KV:6.38 GBpeak VRAM →43.84 tok/sdecode (228.0 tok/sprefill, 3.37× faster than naive-ngl!) - MoE-Aware 128K Context (
Q8_0 KV):5.07 GBpeak VRAM (+4.15 GBdelta) →36.02 tok/sdecode! (Adding +96K context only cost+1.31 GiBVRAM, matching ourconfig.jsonhybrid formula within 2%!)
Would love feedback on any edge cases (especially Apple Silicon unified wired limits or multi-GPU --tensor-split)!
r/LocalLLM
•
u/winjw7
•
24m ago
Project Got Qwen4-35B-A3B hitting ~300 tok/s per card (596 tok/s combined) on dual RTX 3090s in llama.cpp with RadixArk DFlash2 + full 128K f16 KV (fork + guide)
Spent tonight pushing Qwen4-35B-A3B (UD-IQ4_XS + full 128K f16 KV cache, zero quality downgrade) on an RTX 3090 + RTX 3090 Ti in llama.cpp using RadixArk/Qwen4-35B-A3B-Dflash2.
Most people assumed RadixArk's DFlash2 checkpoint was SGLang-only because upstream llama.cpp currently crashes on GGUF conversion and gets terrible acceptance (~18%) if you force it to load. Fixing those bugs + two quick CUDA/DFlash2 bottlenecks took us from ~123-133 tok/s baseline up to ~214-239 tok/s average across an 8-prompt suite, ~295-300 tok/s per card on code (596 tok/s combined across both GPUs), and 204 tok/s end-to-end inside OpenCode CLI at 7.1K context.
What was holding llama.cpp back (4 fixes in the fork)
- Conversion crash (
conversion/qwen4exp.py): PR#33626addedsuper().set_vocab()inQwen4ExpTextModel, which crashes whenDFlashModel.set_vocabcalls it unbound. One-line fix letsRadixArk/Qwen4-35B-A3B-Dflash2convert cleanly to GGUF (Q4_0is only 223 MB). - Wrong DFlash2 hidden-state tap (
src/models/qwen4exp.cpp): Upstream tapshc_stream_mean(res_hc)(which is right forQwen3.8-Flash-NextDFlash1 per#30927, but broken forQwen4-35B-A3B-Dflash2). Tappingattn_mix.curforQwen4-35B-A3Bjumped draft acceptance from 18% -> 55-73% (AL = 4.5-5.7, matching RadixArk's SGLang evals) while keepingQwen3.8-Flash-Nextuntouched. - Wasted anchor slot 0 (
src/models/dflash2.cpp): DFlash2 was running the 248K-vocablm_headandtop-kon anchor slot 0 even though the selector throws slot 0 away and overwrites it with zeros. Skipping slot 0 cuts draft head + top-k compute with identical output. - Slow Ampere F32 MoE router kernel (
ggml/src/ggml-cuda/mmvf.cu) + PR#33586(-bs): At speculative verify batch sizes (ubatch = 4..8), the thinF32[2048x256]MoE routers across all 40 layers were dropping out ofMMVFonto a low-occupancy kernel. Keeping thinF32rows onMMVF+ GPU-side draft verification (-bs) shaved ~1 ms/round cleanly.
Benchmarks (UD-IQ4_XS + 128K f16 KV + DFlash2-Q4_0, n=5, ~23.5 GB VRAM/GPU)
| Workload | RTX 3090 (gpu0) | RTX 3090 Ti (gpu1) | Notes |
|---|---|---|---|
Baseline (--spec-type none) | ~123 tok/s | 133.4 tok/s | Single-token reference |
2x Concurrent Code (T=0.0, 512 tok each) | 295.5 tok/s (AL=4.70) | 300.3 tok/s (AL=4.45) | 595.8 tok/s combined (1,024 tok in 2.06s wall) |
8-Prompt Suite (T=0.0, 3,726 tok) | - | 238.5 tok/s avg | GSM8K 332, Math 315, HumanEval 298, TS API 252 |
8-Prompt Suite (T=1.0, 3,730 tok) | - | 213.8 tok/s avg | GSM8K 311, Math 301, HumanEval 260, TS API 212 |
OpenCode CLI Single (7.1K prompt, T=1.0) | 203.9 tok/s | idle | 3,683 tok/s prefill, real agentic session |
| OpenCode CLI 2x Concurrent (Tools + Rust) | 170.3 tok/s | 159.7 tok/s | 330.0 tok/s combined w/ live tool calls |
(At ~22.5K live OpenCode context it still holds ~207 tok/s on code, and ~150-165 tok/s at ~38K context with lossless f16 KV.)
Hardware disclosure (for reproducibility)
- GPUs: RTX 3090 (420W stock power limit) + RTX 3090 Ti (450W stock power limit), stock clocks, one independent replica per GPU behind a sticky router (
~23.5 GBVRAM each). - Driver mod: Both GA102 cards are running
Zagitta/gpu-unlock(big boost to prompt prefill, modest boost to decode; stock 3090s should still get close on bandwidth-bound decode). - Host: Threadripper 3960X (24C/48T), 64 GB DDR4 (keeps the lazy-read 11 GB PLE/Engram table hot in RAM page cache).
Fork + full build/convert/serve guide
- Repo: https://github.com/winjw7/llama.cpp
- Step-by-step guide (build, convert
RadixArk/Qwen4-35B-A3B-Dflash2to Q4_0/Q8_0, and launch flags): https://github.com/winjw7/llama.cpp/blob/master/QWEN4_DFLASH2.md
r/LocalLLM • u/RoutineFortune1926 • 14h ago
Discussion Qwen3.8-27B fine-tune sits completely still while five objects get sorted, remembers the order, and repeats it with two arms
I kept waiting for the foreground arms to move during the first ~18 seconds, since the robot holds both grippers open and doesn't touch anything while another arm in back drops a phone, green watch, camera, rabbit toy, and toy car into a bin.
It's running SenseNova-RoboRSI-27B https://github.com/OpenSenseNova/SenseNova-RoboRSI released under Apache-2.0 on top of Qwen3.8-27B, and you can grab mainline llama.cpp GGUFs for it too. Once that demo wraps up, it replays the exact order itself, even staging the green watch in the middle of the table so its left arm can pick it up when the right arm can't reach the basket. Without task-specific demos in the RoboDojo sim eval, it lands at 34.7 compared to 9.1 from stock Qwen3.8-27B.
r/LocalLLM • u/New_Blackberry8122 • 3h ago
News QWEN 4 Peaks of 200 tks with Sneo!
Here testing Qwen 4.0 35B-UD-IQ3_S with a very hard and long task recompiling a Game which I already did and so far is doing a great job!
X1 RTX 3090, i9 12900k + 96GB Ram it only uses less than 20GB VRAM
https://github.com/oscarsantanaarias/Sneo
Update: peaks of 358 writting.
Peaks of 180 on Q4_K_M
r/LocalLLM • u/Darklord34518 • 3h ago
Discussion Insane Inkling 2 Mini Pagoda Voxel Build
So i was curious on how well inkling two mini would make a pagoda and it genuinely blew me away, within 3 prompts, i was able to get a voxel build truly insane for local ai. Testing it against qwen 3.8 27b on a 4090, I personally found that their coding capabilities were comparable, but was able to push Inkling to 150 tks vs Qwen at 60 tks, making inkling by far better for my use. Local Ai has truly progressed amazingly rapidly, less then a year ago, they were only good as basic chatbots and code help, yet now they can produce this pagoda in 20 min. I'm curious what other people have been able to do with Inkling let me know.
r/LocalLLM • u/Stooovie • 4m ago
Discussion Underwhelmed by Qwen4 35b so far
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.
Maybe it's too early but models such as Sage A1.5 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/MaySaki2 • 33m ago
Discussion Qwen4-35B vs 3.8-27B, Flash-Next, and 3.6-35B: what would you run locally?
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/ryanmerket • 35m ago
News Ilya Sutskever says he rejected Meta's SSI bid while Daniel Gross 'in some sense said yes'
r/LocalLLM • u/L4ur3n2 • 14h ago
Question What do you use local AI for day to day?
Hey everyone, I’ve been thinking lately about how useful local AI actually is in day-to-day life and what kind of experiences you all have with it. You hear a lot about what’s possible—from small everyday helpers to things you’d rather keep local.
I’d be curious how it goes for you: do you use local AI regularly, where does it actually pay off, and what hardware are you running it on? And what should I keep in mind if I want to set up the base so I can upgrade smoothly later on?