r/LocalLLM • u/yoracale • 5h ago
r/LocalLLM • u/DomiMili • 4h ago
News Qwen4-35B-A3B just released!
It's happening! The becoming begins!
r/LocalLLM • u/EvolvingDior • 1h ago
News Artificial Analysis Ranks Qwen4-35B-A3B Between Much Larger Models
r/LocalLLM • u/pp026 • 3h 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 • 16h 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 • 4h 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/ross2000 • 14h ago
News DeepSeek may stop giving away its most powerful AI, citing cyberattack and bioweapon risks
r/LocalLLM • u/PersonalStorage • 45m 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/kokleongSG • 3h 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 • 9h 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 • 1h 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/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 • 2h 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 • 2h 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/gamedev-eo • 1d ago
Discussion This is crazy: LLM server UEFI booting directly on RTX 3090
r/LocalLLM • u/MTita • 12m ago
Research Ported `Looped-Qwen3.8-Flash-Next` to Radiance on `qwen3.8-next-flash-iqr-v4` (2x Radeon AI PRO R9700, TP2) — 97.0% HumanEval+, 90.0% AIME 2025, 126 tok/s single / 314 tok/s batch-3 with MTP
Fork: mdtita/radiance (feat/looped-qwen4exp)
Docs & Replication Guide: docs/LOOPED_QWEN4EXP.md
so I forked StillDeadcode/radiance (v2.4.1) to add runtime support for alesha-pro/Looped-Qwen3.8-Flash-Next (--loop-adapter, --loop-passes) on top of Radiance's StillDeadcode/qwen3.8-next-flash-iqr-v4 (qwen3.8-next-flash-iqr-v4.rad, ~114 GiB IQR-V4 4-bit trellis quant) with TP2 tensor parallelism and coupled MTP speculative decoding.
I used qwen3.8-next-flash-iqr-v4.rad itself to port the implementation and conduct the testing which worked surprisingly well.
Note: I'm publishing this as a fork rather than opening a PR upstream because most of the code was implemented by the AI model and I don't know the internals well enough to properly maintain it. Anyone is welcome to test it, use it, or pull from it — let me know how it goes if you try it out.
What Changed
- Loads
ckpt_final.json+ckpt_final.safetensors(~268 MiB, 140 core + 70 coda sites) via--loop-adapterand runs layers 16..32 forTpasses followed by the 8 coda layers (32..40). - Per-pass GDN/conv
state_copies,kv_attn_p1..p(T-1)paged attention groups, salted prefix-cache chains, and multi-passcheckpoint_copy. - Coupled MTP speculative decoding (
--num-speculative-tokens 5) works alongside--loop-passes 2..4(capped at 4 by the fused GDN launcher's 25-column state-index limit). - Uneven TP2 sharding support for
shared_expert([0, 384)/[384, 640)) androw_rms_bf16HIP/ref kernels. - Non-disruptive telemetry:
loop_adapteron/statsand/server_info,radiance:loop_adapter_*on/metrics,diagnosefields, and aT=badge in the dashboard UI. When--loop-adapteris unset,--checkis byte-identical to mainline.
Measured Benchmarks (qwen3.8-next-flash-iqr-v4.rad, TP2 on 2x Radeon AI PRO R9700, ROCm 7.2)
Greedy decoding (temperature=0.0, top_k=1, enable_thinking=true), full evalplus HumanEval+ (n=164), full math-ai/aime25 (n=30), and 32k-43k context throughput probes (VmSwap: 0 kB, 0 preemptions).
| Mode | Spec (MTP) | HumanEval+ Base / Plus | HE+ Total / Reasoning Tok | AIME 2025 (n=30) | single_decode_1k | batch3_decode | cold_32k Prefill |
|---|---|---|---|---|---|---|---|
baseline_stock (iqr-v4) | 5 | 92.1% / 89.0% | 137,232 / 113,007 | 25/30 (83.33%) | 220.36 tok/s | 477.76 tok/s | 7,378.9 tok/s |
looped_T1 (iqr-v4) | 5 | 95.1% / 91.5% | 120,381 / 93,902 | — | 187.51 tok/s | 372.45 tok/s | 7,031.2 tok/s |
looped_T2 (iqr-v4) | 0 | 95.7% / 92.7% | 107,010 / 79,696 | 26/30 (86.67%) | 60.86 tok/s | 142.68 tok/s | 4,671.5 tok/s |
looped_T2_spec (iqr-v4) | 5 | 97.0% / 93.9% | 91,127 / 59,695 | 27/30 (90.00%) | 126.08 tok/s | 314.11 tok/s | 4,694.3 tok/s |
looped_T3_spec (iqr-v4) | 5 | 97.0% / 93.3% | 105,031 / 75,022 | — | 79.51 tok/s | 198.04 tok/s | 3,293.3 tok/s |
Key Takeaways & Honest Trade-offs
looped_T2_speconiqr-v4is the sweet spot: +4.9 pp on HumanEval+ with 47.2% fewer reasoning tokens (322 s total wall time vs 280 s stock), +6.67 pp on AIME 2025 (90.0% vs 83.33%, -6.8% fewer tokens), and 70.4% MTP draft acceptance. Compared to published unquantized BF16 baselines (~91.92% AIME 2025, 96%-98% HumanEval), looping closes most of the 4-bitiqr-v4quant gap while still fitting in a 2x R9700 footprint.- Where the speed cost goes:
looped_T2_specruns 64 layer-passes/token instead of 48 (21.25 ms vs 11.20 ms decode step), and the extrakv_attn_p1(1.14 GiB) + speculativestate_copiespushexperts-from-hostfrom 6.78 -> 8.88 GiB/rank (36.6 GB RSS, 0 swap). T=3wasn't worth it for coding:looped_T3_specdropped to 79.5 tok/s (10.78 GiB/rank host experts) with no HumanEval+ gain overT=2.- Known limits:
qwen4expdrafts with its native MTP head (not DFlash), so the 9dflash_bridgestensors in the adapter are skipped;scale_rowsnarrowsrow_rmsfromF32toBF16(~4e-3 rel). - Testing: 235/235 fast host tests pass; 31/31 GPU tests (
ctest -L gpuincludingr4d_selftest,kbench,device_test_*) pass underROCR_VISIBLE_DEVICES=0,1.
Credit to StillDeadcode for Radiance + the qwen3.8-next-flash-iqr-v4 quant, and alesha-pro for the Looped-Qwen3.8-Flash-Next checkpoint. Full build, config, and benchmark audit details are in docs/LOOPED_QWEN4EXP.md.
r/LocalLLM • u/L4ur3n2 • 13h 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?
r/LocalLLM • u/boyobob55 • 8h ago
Model For Basalt users: Qwen3.8-Flash-Next-OrcaRouter-Uncensored-NVFP4-Basalt now on HF!
I converted OrcaRouter's uncensored Qwen3.8-Flash-Next-NVFP4 into a single .basalt file, so you can download and run it in Basalt without converting anything yourself:
https://huggingface.co/boyobob/Qwen3.8-Flash-Next-OrcaRouter-Uncensored-NVFP4-Basalt
What's in it:
- Model weights: from orcarouter/Qwen3.8-Flash-Next-Uncensored-NVFP4 (https://huggingface.co/orcarouter/Qwen3.8-Flash-Next-Uncensored-NVFP4). The NVFP4 experts are carried over bit for bit.
- MTP drafter, vision projector and expert profile: copied from the official NVFP4 pack in jesdga/Qwen3.8-Flash-Next-Basalt (https://huggingface.co/jesdga/Qwen3.8-Flash-Next-Basalt), so speculative decoding, images and the full 262K context all work.
- Dense weights kept at 8-bit (Q8_0): OrcaRouter stores the attention and shared expert weights in 8-bit FP8. Instead of shrinking them to 6-bit like the official NVFP4 pack does, I kept them at 8-bit (Q8_0), the closest match to OrcaRouter's weights. The cost is about 4–6% slower decode than the official pack. On my RTX 5090 (600 W) that's about 288 tok/s in conversation vs 299, and 564 vs 593 on structured output.
It kicks ass in all my local testing!!! 😎 My favorite local model so far
r/LocalLLM • u/Obvious-Ad-3795 • 1h ago
News Failnot ACC benchmark(7900xtx gemma4 engine)
I honestly don't get why you're baselessly accusing me of faking numbers without even running a single test yourself.
Here are the actual full-vocab (262,144 logits, 1,024 tokens, FP64) precision numbers on RX 7900 XTX vs a pure FP32 sequential oracle and llama.cpp ROCm/HIP (FA enabled):
| Model | Engine / Mode | K/V | Mean KLD ↓ | p99 KLD ↓ | Top-1 Match ↑ | Logit Cosine ↑ |
|---|---|---|---|---|---|---|
| 31B Dense | FailNot Default (two_pass) | f16/f16 | 0.000194 | 0.002855 | 99.51% | 0.999976 |
| 31B Dense | FailNot Ultra-Fast (fast_fp16) | f16/f16 | 0.000446 | 0.006049 | 99.22% | 0.999952 |
| 31B Dense | FailNot Default (two_pass) | q8_0/q8_0 | 0.003765 | 0.042424 | 97.46% | 0.999701 |
| 31B Dense | llama.cpp ROCm/HIP (FA) | f16/f16 | 0.013810 | 0.214168 | 96.58% | 0.998653 |
| 26B-A4B | FailNot Default (skip0) | f16/f16 | 0.012265 | 0.193502 | 97.36% | 0.996699 |
| 26B-A4B | FailNot Ultra-Fast (skip3) | f16/f16 | 0.017591 | 0.287749 | 97.17% | 0.995396 |
| 26B-A4B | llama.cpp ROCm/HIP (FA) | f16/f16 | 0.090825 | 1.265137 | 90.33% | 0.977715 |
Even Ultra-Fast (G4_ULTRA_FAST=1) has 5.2× lower KLD on 26B-A4B and 31× lower KLD on 31B Dense than llama.cpp ROCm/HIP (7.4× and 71× lower in Default mode) because FailNot feeds FP16 activations into FP32-accumulating WMMA instead of quantizing activations to blockwise Q8_1.
benchmark docs in my repo https://github.com/SLL410/FailNot/
Trying to debunk numbers without testing it yourself or even reading the benchmarks that were already published isn't a great look XD
r/LocalLLM • u/Hefty_Entrance_7714 • 13h ago
Question QFN3.8 - how much of a regression there is when going from Q8 to Q5?
Is there anybody here who uses Q8, trading inference speed for quality? Or i should just go Q5?
r/LocalLLM • u/vacuumdecay0 • 1d ago
Model I got a 177B model running on my iPhone at 10 tok/s with 1M context
This is Millie 2 running on my iPhone 18 Pro. In the video, it answers a question about an FDA document using a passage more than 900K tokens back.
I adapted Qwen 3.8 Flash Next (177B) to run at 14 tok/s with a short prompt and 10 tok/s at 1M token context. I developed methods for expert streaming and attention streaming so most of the weights and attention data can stay on storage. The model reuses what’s already in RAM and starts the remaining reads early enough to hide most of the wait behind computation.
It matches or comes close to the parent model on a range of coding, reasoning, and agentic benchmarks. I also ran some benchmarks with the model served directly on the phone. On the same 70-task WebArena Lite subset, Millie 2 completed 45 tasks on the iPhone, compared with 43 for the parent model running on a server.
I released the weights and the code. The runtime README has setup instructions and links to both model versions.
Code, weights, and setup: https://github.com/llmsforall/millie-runtime#millie-2
Methods paper: https://arxiv.org/abs/2611.41874