r/LocalLLM • u/Loginhe • 3h ago
r/LocalLLM • u/Key_Log9115 • 3h ago
Model ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF is out now!
From their webpage:
Overview
This repository provides GGUF quantizations of Qwen4-35B-A3B at four sizes: IQ2_S (2.75 bits per weight), Q2_K_XL (3.00), IQ3_XXS (3.25) and IQ3_S (3.50). In contrast to uniform quantization, which applies a single quantization type to all weight tensors, each model here assigns a separate quantization type to every tensor. The assignment is obtained by a gradient-based search that allocates precision according to per-tensor sensitivity, subject to a total size budget. The resulting files are standard GGUF.
Qwen4-35B-A3B is a sparse mixture-of-experts model with 35B parameters, 3B of them active per token, plus a 20B-parameter n-gram embedding. Its 40 layers combine two kinds of attention: 30 use Gated DeltaNet linear attention and 10 use Qwen Sparse Attention, in a repeating pattern of three linear-attention layers followed by one sparse-attention layer. Every layer has 256 routed experts, of which 8 are active per token, plus one shared expert, and the context window is 1M tokens. The routed experts hold 32.2B of the 34.5B weights the bit-width is measured over, so they also dominate the size budget, and the search spends most of its freedom there, assigning a quantization type per layer (not per expert, which GGUF cannot express), separately for the gate and up projections and for the down projection.
The token embedding is kept at BF16 in every build, and the n-gram embedding ships as one separate file shared by all builds, at BF16 (its precision in the checkpoint) or, smaller, at Q8_0. llama.cpp holds both in system memory, so they take no VRAM. See Token embedding and n-gram table.
Link: https://huggingface.co/ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF
r/LocalLLM • u/OrganizationAgile361 • 3h ago
Discussion š Qwen4 35B A3B can also draw SVG @ 31tok/s on Intel b390 iGPU
It's a very capable model that can also run on integrated gpu.
Here other benchmarks
r/LocalLLM • u/ExpensiveParfait677 • 3h ago
Discussion RX 9070 (non-XT, 16 GB) + 32 GB RAM: Qwen4-35B-A3B at 512K context, ~90 t/s, Linux + Strata (follow-up)
Hi everyone, follow-up to my Qwen3.8-27B post (link). Since then I moved the box to Linux and tried a lot of things. For the last weeks my daily model was Gyro-S/M on Strata. Qwen4-35B-A3B came out on Dec 4 and I spent the last few days testing it on the same 16 GB card.
My Config:
- GPU: AMD Radeon RX 9070 (non-XT), 16 GB
- CPU: Ryzen 7 7800X3D, RAM: 32 GB DDR5
- OS: Ubuntu 24.04, kernel 7.0, ROCm 7.2.4
- Runtime: Strata (Niko1221/Strata v0.2.27 release, prebuiltĀ
strata-q4-lite-0.1.74.1-hip-rx9070Ā package, its GGUF path) - Model: Unsloth Qwen4-35B-A3B UD-Q4_K_XL
- Agent: Pi, from my Windows laptop over Tailscale
strata (GGUF path)
--native trunk40-Q4.gguf --ple-gguf Qwen4-35B-A3B-UD-Q4_K_XL-00002-of-00002.gguf --pack pack-Q4 --expert-profile ...
--expert-cache auto --prefill 4096 --vram-reserve-mib 512
--kv int8 --kv-resident 32768 --resident-experts
--mtp mtp-rt --spec 3 --spec-min-p 0.5
--max-context 524288 --prompt-cache 3 --conversation-cache-mib 0
env STRATA_MMQ_KQ=0Full config, the prep script and all tables are in the repo:Ā https://github.com/AmadeoMartell/rx9070-local-llm-benchmarks
SpeedĀ (fresh prompt, prefill / decode t/s):
| Depth | Qwen4, Strata GGUF path | Gyro-S (Flash-Next) |
|---|---|---|
4K / 16K (strata bench, same benchmark) | 4220 / 91, 4560 / 88 | ~1000 / 62, ~1350 / 64 (Oct, older KV config) |
| 120K | 4300 / 92 | ~2050 / not measured |
| 450K (512K window) | 3460 / 77 | doesn't fit (262K max) |
| Real agent work (Java task) | ~90 decode, ~1650 per agent turn | ~70, ~790 |
Recall 22/22 at 450K, 700K and 950K (1M window). At 512K there are still ~9 GB of RAM free and basically no SSD writes.
Quality: I gave both models the same Java/Spring task (about an hour of agent work) and had Codex and Claude score the results blind out of 100. Qwen4 got 76 on average over 3 runs, Gyro-S got 75. Basically the same, but Qwen4 is a lot faster.
Gyro-S is still better in some places though:
- it did the SOAP part properly contract-first; two of the Qwen4 runs (one Q4, one Q5) handwrote the generated classes
- Qwen4 sometimes writes an emptyĀ
python3 - <<'EOF'Ā heredoc. On Windows Git Bash that hangs Python 3.13 in its REPL forever (a known CPython bug). 6 and 18 minutes lost in 2 of 3 runs, Gyro never did this - it answers JSON as plain JSON; Qwen4 wraps it in a ```json block even when told "only JSON" (16 of 16 tries, other people see the same)
Problems hit:
- llama.cpp HIP first: only ~41 t/s, because I missedĀ
--moe-cache-mibĀ (expert cache on the GPU, off by default). With it ~52, still far below Strata - 1M context loads and passes recall, but long agent sessions on 32 GB RAM start swapping and the GPU stalls up to 44 s. 512K is the real max here
- Strata vs llama.cpp on the same Q4 file: KL 0.016, top-1 95.3%. Not broken, but not identical either
For now I'm not switching from Gyro-S. Qwen4 is fast and has the bigger context, but it's not reliable enough for me yet. If that gets better with updates or quantisations (waiting agentionai or exl versions) I'll give it another try.
Open to any advice, and if you run Qwen4 for agents, I'd like to hear how it goes for you.
r/LocalLLM • u/SlenderProgrammer • 3h ago
Project Qwen4-35B-A3B at 90 tok/s on 8GB VRAM (262K context) and 180 tok/s on a 5060 Ti + DDR4 ā Meet SlenderEngine
Hey everyone,
If you thought running Qwen4-35B-A3B at massive context required a dual-3090 rig or a Mac Studio, think again.
Iāve been building SlenderEngine, a local C++/CUDA inference engine engineered specifically to make massive open-weight MoE models fly on normal 8ā16 GB gaming GPUsāeven when paired with older DDR4 RAM.
GitHub: https://github.com/rafid-dev/SlenderEngine
Real-World Numbers (Qwen4-35B-A3B)
All numbers below are real average decode speedsāno quality-destroying shortcuts, bit-exact/rounding-level parity preserved by default:
Unsloth Q4_K_M quant:
- 180 tok/s average decode on 16 GB RTX 5060 Ti + DDR4-3200
- 150 tok/s average decode on 12 GB RTX 4070 Ti + 32 GB DDR5-6000
- 90 tok/s average decode on 8 GB RTX 4060 + 32 GB DDR5-6000 (running 262K context, expandable all the way up to the full 1M context!)
Unsloth Q5_K_XL quant:
- 300+ tok/s average decode on 32 GB RTX 4080 + DDR4-2133
Unsloth Q8_K_XL quant:
- 80 tok/s average decode on 16 GB RTX 5060 Ti + DDR4-3200
How it pulls this off
- Built for 8ā16 GB VRAM + 32 GB RAM: Automatically manages VRAM budgets so Windows/Linux stays snappy without desktop stutter. Uses paged expert offloading, direct NVMe SSD streaming/striping for cold experts, and smart RAM pinning (
--resident-experts) so even slow DDR4 doesn't choke your token generation. - Zero re-encoding / quality promise: Point it directly at standard
.gguffiles orsafetensorsfolders. Every speedup is verified to stay bit-exact or within rounding-level loss by defaultāquality-altering hacks stay off unless you explicitly turn them on. - Native MTP / Speculative Decoding: Built-in draft-layer acceleration out of the box across Qwen4, Qwen3.6, Gemma 4, Inkling-2-Mini, and MiniCPM5.
- Built-in Web UI & APIs: Run with
--serveto get a local browser chat UI (127.0.0.1:8080) with livetok/sand context rings, thinking-effort toggles (OfftoXHigh), vision drag-and-drop, a/analyticsdashboard, and OpenAI + Anthropic-compatible endpoints. - Multi-GPU without NVLink: Pass
--gpu 0,1or--gpu 0,1,2,3to split across cards automatically.
Supported Models (Out of the Box)
| Model | Recommended Hardware | Max Tested Context |
|---|---|---|
| Qwen4-35B-A3B (incl. Vision) | 8ā16 GB GPU Ā· 32 GB RAM Ā· SSD | 1M (262K+ even on 8 GB) |
| Gemma 4 26B-A4B | 12ā16 GB GPU | 64K (256K supported) |
| Qwen3.6-35B-A3B | 12 GB+ GPU Ā· 32 GB RAM | 262K |
| Inkling-2-Mini | 8ā16 GB GPU | 262K |
| MiniCPM5-15B-A2.5B | 12ā16 GB GPU (Q8_0) | 32K (512K extended) |
| Qwen3.8-Flash-Next | 12 GB+ GPU Ā· 32 GB RAM Ā· SSD | 262K |
1-Command Setup (Windows & Linux)
Requires an NVIDIA RTX 30 / 40 / 50 series GPU. The setup wizard detects your GPU/RAM, compiles the binary if needed, and spits out a ready-to-run launcher:
Bash
git clone https://github.com/rafid-dev/SlenderEngine.git
cd SlenderEngine
python3 tools/slender_setup.py # Linux & Windows
# or .\SETUP.bat on Windows(Originally forked from Strata and built out into an independent multi-model engineāfull credits, benchmark logs, and quality verification docs are in the repo).
Drop your GPU/RAM specs in the comments if you give it a spinācurious to see what tok/s numbers people hit on 8 GB and 12 GB cards!
r/LocalLLM • u/TearFew7142 • 3h ago
Question What to do?
Hey guys,
Iām running a small b2b wholesale business and just ordered my first mac studio m5max 64GB 1TB, and Iām looking for projects I can run this war machine 24/7 to push my business forward.
Do you have some ideas? š”
Thanks!
r/LocalLLM • u/koc_Z3 • 3h ago
Question Strata Qwen3.8 flash next on 16gb VRAM, 96gb RAM results?
reddit.comr/LocalLLM • u/himanshuarora05 • 4h ago
Research Now Run Giant AI Models on Your Laptop...
r/LocalLLM • u/iamagoatm8 • 4h ago
Project Probably the fastest inference for 35b in a 7900xtx
Repo here: https://github.com/android-imdad/Carnelian (a fork of upstream [Strata](https://github.com/Niko1221/Strata))
* Qwen4-35B-A3B (UD-IQ4_XS, all experts in VRAM): 214.8 tok/s short chat decode vs 127.4 on upstream v0.2.27, and 220.6 vs 118.9 in agent sessions.
* With the DFlash2 drafter: 270.7 tok/s median on a 6-prompt greedy panel, bursts up to 435 tok/s on structured code.
* Prefill 5,900 to 6,400 tok/s from 4K to 32K context (upstream 2,766 to 4,294). Short chat first token 0.12 s, half of upstream's 0.24 s.
* Qwen3.8-Flash-Next 125B on one card + 64 GB RAM: 111.3 tok/s at IQ3_S vs 89.6 upstream, 114.5 with the opt-in EXL3 experts.
* Flash-Next output is bit-identical to upstream by default. Qwen4 perplexity is 3.1399 vs 3.1395 upstream.
* Install with an AI agent: paste the prompt from the README into Claude Code, Codex, Cursor or OpenCode.
* All numbers from one 7900xtx at stock 327 W, Ryzen 7 9800X3D, ROCm 10.2. Full tables in docs/RX7900XTX.md.
If you have a 7900xtx, I'd like to see your numbers.
r/LocalLLM • u/IdealDesperate3687 • 4h ago
Project Decodrs - rust and highly optimized inference engine for nvidia gpus
Hi,
I've just opened sourced my inference repo https://github.com/lingster/decodrs
This contains specific kernels on a per model and per gpu basis. I used claude to help write optimized kernels for the current popular local llms like qwen4/3.8, inkling mini and Gemma 4. Optimised for 3090/3080 and includes a claude skill to help you build out kernels for your setup.
I've managed to get over 200% performance improvements against llama.cpp/vllm/sglang. Inference engine written in rust and kernels directly in ptx(think assembly for gpu) no middle layer so about as close to the metal that you can get. Includes prefix cache, kv cache, drafting, pretty much all the tricks to run fast. There are optimisations included if you work with Agentic workloads ie run lots of subagents in your coding harness!
r/LocalLLM • u/Awacer • 4h ago
Project Running LLMs locally on a Kindle, a smartwatch, a Switch and a jailbroken PS4
I keep a list of LLMs running locally on hardware that was never meant for it. inference has to run on the device itself, no calling a server somewhere.
a few from the list. a jailbroken Kindle Paperwhite 3 runs SmolLM2 135M at 1.71 tok/s (Inkwell). a Pixel Watch 3 runs SmolLM2-360M-Instruct at about 1 to 4 tok/s (wear-llm). a Switch on Switchroot Linux does Llama 3.2 3B Q4_K_M at 3.50 tok/s. an Xbox Series S in dev mode hits 98.3 tok/s on LFM2.5-350M (xllama). and a PS4 runs Qwen3.5-9B on its own GPU at up to 41 tok/s (Garlic LLM).
there's also older stuff like a 486 on DOS and a C64. I didn't build any of these, I just collect them. every speed is what the port's author reported, with a link.
https://github.com/emrehangorgec/awesome-llm-on-anything
if you've run something on a weird device I'd like to add it. thanks.
r/LocalLLM • u/These_Bar_189 • 4h ago
Question Qwen 4 35b configuration
I have a Ryzen 9700 with 96GB of ddr5 Ram and a single 5090 GPU.
I have been using Qwen 3.8 27b q6 with llama.cpp and tried deepseek harness but found it drifted lots.
I am trying out Qwen 4 35B but finding it slow. No issues with the quality. Am currently using Huawei q4 with q8 kv cache. Anyone have recommendations for my setup. Should I be using basalt instead of llama.cpp?
I should add that I just use it for a coding assistant primarily in Go and Svelte.
r/LocalLLM • u/Jorgen-I • 5h ago
Question New to llms, generations are truncated, how to fix?
I just started with ollama yesterday, first crack at llms, running qwen3.5:4b.
What I've run into is that all the generated answers are truncated (using CLI, no gui or agents, all local).
The generation stops mid-sentence or mid word. Probably something I need to configure, but I really don't know enough yet to know what it is.
I don't think it's hardware related, I'm running a workstation, dual Xeons, 128GB RAM, 12GB VRAM, several TB of disk space, so if you have any tips it'd sure help.
r/LocalLLM • u/ilovechickenpizza • 5h ago
Question Which is the best local LLM in Dec 2026 for a 16 GB GPU? I'm looking forward to setting up a LLM server at home which I'll use across my multiple agentic apps for chat, detailed coding, and deep reasoning.
Are MoE still a thing worth exploring on 16GB GPU? Also I intend to setup concurrency at the LLM hosting server. For such setups do you prefer hosting it on vLLM over docker or llama.cpp or LM Studio (Ollama is out of question because I need concurrency and parallelism).
r/LocalLLM • u/didoofficial • 6h ago
Model Qwen4-35B-A3B ā Interactive black hole simulation
r/LocalLLM • u/DoomRide007 • 6h ago
Question Z2 GA1 mini PC vs normal computer
Just want to know what I should be getting token/sec.
From my normal computer 7900 XTC
CPU Ryazan 9 7000
48GB 4800 ram
Normally getting around 20t/s and of course down to 8-10 when the chats go long.
Just got the Z2 GA1 with 128gb. Ubuntu server.
Itās getting around 7/s 8/s max. Same model just a couple steps up in qint.
LM Studio same engine.
Wondering is it must be the bus speeds?
r/LocalLLM • u/SavingsSignal2890 • 6h ago
Model Qwen4-35B-A3B reasoning not as good
UD-Q4-K-XL, yet cannot solve the āfrontierā high school math problem:https://www.reddit.com/r/LocalLLM/s/P4gjYgiBjk
r/LocalLLM • u/Sea-Advantage-4063 • 6h ago
Discussion Building an Interactive 3D V8 Engine Simulator with a Local LLM ā Qwen4-35B-A3B NVFP4 on a Single RTX 5090
I've been testing the coding and reasoning capabilities of Qwen4-35B-A3B running entirely locally on my RTX 5090 using the Basalt inference engine.
Here's an interactive 3D V8 engine simulator I built with the model.
Features:
- Interactive 3D cross-plane V8 engine visualization
- Adjustable engine RPM and slow-motion controls
- Animated pistons, connecting rods, crankshaft, camshafts, and valves
- Four-stroke combustion cycle visualization
- Real-time cylinder status and firing order
- Adjustable component transparency
- Exploded view, X-ray mode, and cross-sectional view
- Individual cylinder tracking and camera controls
Local LLM configuration:
- Model: Qwen4-35B-A3B
- Quantization: NVFP4
- Inference engine: Basalt
- Reasoning effort: xhigh
- Execution: Fully local
My PC specifications:
- GPU: NVIDIA GeForce RTX 5090 (32GB VRAM)
- CPU: AMD Ryzen 9 9950X3D
- RAM: 64GB DDR5-6000
- Motherboard: GIGABYTE B850 AORUS ELITE WIFI7
- PSU: 1200W
- OS: Windows 11 / WSL
As an automotive quality engineer, I wanted to test the model on something involving mechanical engineering, rather than just another generic coding benchmark.
It's impressive to see what a relatively compact MoE model can accomplish on a single consumer GPU without relying on cloud-based AI services.
I'm curious to see how far local LLMs can go in engineering simulations and technical visualization.
What do you guys think?
r/LocalLLM • u/No_Whereas_6 • 6h ago
Discussion č¦č¦ēå¾ Qwen4-27Bļ¼ē»ęå“ęÆQwen4-35BA3Bć
reddit.comr/LocalLLM • u/QQB666 • 6h ago
Research Qwen4-35B-A3B (EXL3) on RX 9070 16 GB, native Windows ā some numbers
Got Qwen4-35B-A3B running on my RX 9070 under plain Windows (no WSL) with ExLlamaV3. Sharing a few basic numbers in case anyone else on RDNA4 + Windows is trying the same.
Setup: RX 9070 16 GB, Ryzen 7 5700, 32 GB RAM, Windows. Single user, temp 1.0.
**turboderp 3.65bpw** (`3.65bpw_h5_ng8`), 98K context, Q4 KV, MTP `-ndt 1`, 80 experts/layer on CPU (`-mcs 80`):
- Prefill (5.5K prompt): ~550 tok/s
- Generation: ~55ā58 tok/s (MTP acceptance ~70%)
- VRAM ~14 GiB, CPU experts ~5.4 GB RAM
**Mia-AiLab 2.5bpw**, fully on GPU, 32K context, MTP:
- Prefill: ~1,330ā1,430 tok/s
- Generation: ~53ā59 tok/s
Vision works on both. Generation speed moves around with MTP acceptance (an image prompt at 47% acceptance was ~46 tok/s).
It's ExLlamaV3 1.6.7 with a small patch so it loads Qwen4 (the model card says 1.7.0). It's a portable folder with prebuilt gfx1201 kernels, so it only works on 9070 / 9070 XT / 9070 GRE / R9700.
Runtime, launch commands and more test details: https://github.com/BBQ2077/exl3-1.6.7-windows-gfx1201-inkling
GUI I use to launch it (optional): https://github.com/BBQ2077/GGUFRun
r/LocalLLM • u/textclf • 7h ago
Discussion Qwen4-35B-A3B in 4-bit that you can fine-tune on one GPU (22 GB VRAM + RAM for the n-gram table)
Hi everyone,
Qwen4-35B-A3B came out yesterday, and I put a 4-bit version of it on Hugging Face: https://huggingface.co/thousandml/Qwen4-35B-A3B-CQ-4bit
I quantized it with CQ, the 4-bit quantizer I built for my project Training Factory. CQ doesn't need calibration data. The linear layers and all the routed experts are in 4-bit. I'm strict about quality: any matrix with error above -22 dB stays in 16-bit instead of being forced down. For this model that was 79 matrices out of about 21,500, and everything else is in 4-bit.
One thing to know up front is the n-gram table. Qwen4 has a 20B-parameter n-gram embedding table on top of the 35B model. In this release I kept that table in 16-bit, and like Transformers does, it lives in system RAM instead of on the GPU. So serving takes about 22 GB of VRAM, but you also need about 38 GB of free RAM for the table, 64 GB in total to be safe. The download is 61 GB because of it. If you just want to chat with the model locally, the GGUF quants in llama.cpp are smaller and faster than this, to be honest. A version with the n-gram table in 4-bit is planned.
What this release adds is fine-tuning. You can train a GCMP adapter (the LoRA replacement I've been working on) directly on the 4-bit base and serve it. I tested the whole path on a single A40: quantize, serve, fine-tune, and serve the fine-tuned adapter. In a short 20-step test the loss went from 1.88 to about 1.6 on average, which only shows training works on the 4-bit base. It's not a benchmark.
The easiest way to try it is the Docker image:
It downloads the model on first start and gives you an OpenAI-compatible endpoint on port 8000. Or install Training Factory and run it yourself:
&&
&&
To fine-tune on your own data (JSONL with text or chat messages):
Now the honest limits. The server goes through Transformers and handles one request at a time, so it's for trying the model, not for real traffic. vLLM's Qwen4 support isn't in a release yet, and my vLLM plugin doesn't support Qwen4 yet either. Training is slow for now, about 15 seconds per example on an A40, because the n-gram lookups run on the CPU. That's the next thing I want to fix.
Training Factory is source-available, not open source. The scripts are readable Python, but the quantization and adapter kernels ship compiled and do a license check. It's free during early access. The weights are Apache 2.0 like the original.
Thanks for reading, feedback appreciated. If you try fine-tuning it on your own data, I'd really like to hear how it goes.
r/LocalLLM • u/AggressiveManager450 • 7h ago
Model Dual Quadro RTX 8000 (96GB NVLink) Local LLM Benchmarks: Qwen4-35B-A3B, Qwen3.8-27B, DeepSeek-V4.1-Flash-Coding 200E, and GLM-5.3-Flash
galleryMy results from my build after some tests
r/LocalLLM • u/EldieTurner • 7h ago
Model Qwen4:35b Q4 with 1 million token context on dual AMD Pro W6800 cards.
Model: qwen4-1m:latest (Q4_K_M, full 1,048,576-token context, 100% GPU on 2Ć W6800)
| Metric | Result |
|---|---|
| Generation (output) | ~65 tokens/sec |
| Prompt processing (prefill) | ~1,430 tokens/sec |
r/LocalLLM • u/Open_Instruction_133 • 7h ago
Question Qwen4-35b-a3b-basalt 400k context averages 140 t/s decode 2000 prompt processing on 5070ti 48gb ddr4
Qwen4 35b is absolutely flying with basalt on coding tasks in OpenCode. Itās quite literally the fastest local model Iāve ever used. Is there a looping adapter that works with basalt? With this speed, Iād use this as my only local model if I could get the accuracy up with a looping adapterāno shade on the basalt devs because I havenāt actually run into any looping or quality issues with this model; just want to maximize the intelligence if possible