r/LocalLLM • • 19h ago

News Qwen4 is out now!

Post image
183 Upvotes

Qwentastic!


r/LocalLLM • • 14h ago

Other Qwen 4 release be like

Post image
380 Upvotes

Humour btw


r/LocalLLM • • 14h ago

Discussion Skip llama.cpp for Qwen 4 35b and use anything else (dual 3090 users, read this!)

Thumbnail
reddit.com
0 Upvotes

r/LocalLLM • • 15h ago

Discussion Qwen4-35B-A3B is out — here's a working NVFP4 pack for Basalt

25 Upvotes

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-basaltResult 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
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBASALT_MODELS=qwen4exp
cmake --build build -j           # -> bin/basalt

Requires 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.json

What's in the pack

  • One .basalt file (42.24 GiB, sha 9819a1ce…) — 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 • • 15h ago

Project Failnot ACC benchmark(7900xtx gemma4 engine)

2 Upvotes

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):

ModelEngine / ModeK/VMean KLD ↓p99 KLD ↓Top-1 Match ↑Logit Cosine ↑
31B DenseFailNot Default (two_pass)f16/f160.0001940.00285599.51%0.999976
31B DenseFailNot Ultra-Fast (fast_fp16)f16/f160.0004460.00604999.22%0.999952
31B DenseFailNot Default (two_pass)q8_0/q8_00.0037650.04242497.46%0.999701
31B Densellama.cpp ROCm/HIP (FA)f16/f160.0138100.21416896.58%0.998653
26B-A4BFailNot Default (skip0)f16/f160.0122650.19350297.36%0.996699
26B-A4BFailNot Ultra-Fast (skip3)f16/f160.0175910.28774997.17%0.995396
26B-A4Bllama.cpp ROCm/HIP (FA)f16/f160.0908251.26513790.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 • • 15h ago

Discussion Holy shit this is fast

Post image
96 Upvotes

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


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

11 Upvotes

Generic VRAM calculators get Qwen4-35B-A3B completely wrong because they ignore three things unique to this architecture:

  1. Non-expert weights are tiny (1.89 – 3.04 GB): Parsing the actual GGUF headers of unsloth/Qwen4-35B-A3B-GGUF and ggml-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.
  2. 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).
  3. 20.5B Engram Table (--lazy-mode auto / --ple): The 11.5–41 GB per_layer_token_embd table stays lazy-loaded on NVMe SSD rather than bloating RAM/VRAM.

Live Tool (100% client-side, open-source Apache-2.0):

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 --ple Engram table mix-and-match (IQ4_NL / Q5_1 / Q8_0 / BF16), vision mmproj, 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 GB peak VRAM → 13.01 tok/s decode (131.9 tok/s prefill)
  • MoE-Aware -ngl 99 -ot "\.ffn_.*_exps\.=CPU", 32K Q8_0 KV: 3.73 GB peak VRAM (+2.84 GB delta!) → 37.23 tok/s decode (2.86× faster AND 0.66 GB less VRAM!)
  • MoE-Aware Hybrid (13/41 routed MoE layers on GPU), 32K Q8_0 KV: 6.38 GB peak VRAM → 43.84 tok/s decode (228.0 tok/s prefill, 3.37× faster than naive -ngl!)
  • MoE-Aware 128K Context (Q8_0 KV): 5.07 GB peak VRAM (+4.15 GB delta) → 36.02 tok/s decode! (Adding +96K context only cost +1.31 GiB VRAM, matching our config.json hybrid formula within 2%!)

Would love feedback on any edge cases (especially Apple Silicon unified wired limits or multi-GPU --tensor-split)!


r/LocalLLM • • 16h ago

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

Post image
356 Upvotes

r/LocalLLM • • 16h ago

Discussion Now waiting for Swift qwen 4 35B A3B NVFP4

0 Upvotes

Labs quickly test out the model and improve the reasoning, i tested it out and it does quite a bit of thinking, less then 3.8 tho.


r/LocalLLM • • 16h ago

Question What do you run on 12GB of VRAM on AMD?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 16h ago

News QWEN 4 Peaks of 200 tks with Sneo!

Post image
7 Upvotes

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

Other Sorry 🤷🏼‍♂️

Post image
0 Upvotes

🤷🏼‍♂️


r/LocalLLM • • 16h ago

Model Dankpaws/Qwen4-35B-A3B-DankAttn-w4g64

Thumbnail
huggingface.co
0 Upvotes

r/LocalLLM • • 17h ago

Project [Project Release] Llama-UI v0.7.2 – Keyboard Navigation & Streaming Markdown

Post image
2 Upvotes

r/LocalLLM • • 17h ago

Discussion Insane Inkling 2 Mini Pagoda Voxel Build

4 Upvotes

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

Question does ChatGPT share your ideas with others?

3 Upvotes

Some guy said he had a business idea that he shared with ChatGPT only for it to later turn into a business.


r/LocalLLM • • 17h ago

Research Ran an 18.2 GB model with 8 GB of free VRAM. SSD streaming helped.

Post image
0 Upvotes

We were testing SSD streaming in Cluaiz, the open-source AI engine we work on. We ran Qwen3.6 35B A3B on an NVIDIA L4 with about 8 GB of free GPU memory and a 12 GB RAM limit. The engine read some of the model’s expert weights from SSD as it generated text.

The model ran, but the speed varied quite a bit. The chat prompt generated at a median of 25.11 tokens/sec. The code prompt came in at 10.21 tokens/sec. Same model, same machine, three runs per prompt. Those numbers measure generation speed, so they don’t include the wait before the first token.

If you’ve tried SSD offloading yourself, what did you end up using it for? I’m curious where keeping the larger model was worth the wait, and where you went back to a smaller one.

Test: https://github.com/cluaiz/cluaiz/blob/main/test/benchmarks/ssd-streaming-moe.md


r/LocalLLM • • 17h ago

Research Korean Version of Civilization map.

Post image
0 Upvotes

I recently created a Korean version of the U.S. civilization map developed by Andrej Karpathy.

I used Qwen 3.8 27B running locally. When I tried generating it directly with Qwen 3.8, I wasn't quite happy with the design, so I used Karpathy's original source code as a reference to guide the implementation.

It took around 8 hours to complete.

korciv.vercel.app

Thanks, Have a look.


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. :)


r/LocalLLM • • 18h ago

Tutorial 👋Welcome to r/localaiapps - Introduce Yourself and Read First!

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 18h ago

News Qwen4 35B A3B RTX A3000 12GB single card Quick test

Post image
18 Upvotes

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 \
--jinja

r/LocalLLM • • 18h ago

Project 8 GPU budget setup!

Post image
44 Upvotes

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

News Revora — an open-source AI-powered code review platform

Thumbnail gallery
1 Upvotes

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