llama.cpp settings for Qwen4 35B-A3B on 16GB VRAM hit 47 t/s and 1050 t/s prefill
JermMX5 · reddit · 2026-12-06
A Reddit user shares a working llama.cpp setup for Qwen4-35B-A3B on an RTX 5080 (16GB VRAM) + 32GB DDR4, with a full startup script and tuning notes.
- Expert split: 34 of 40 experts on CPU via -ncmoe 34, 6 on GPU; all on CPU allows 262K context but risks swap.
- Biggest win: -b 2048 -ub 2048 boosts prompt processing from 400 t/s to 1050 t/s, crucial for pasting 50K-token docs.
- KV cache: --cache-type-k/v q80 needed with the larger compute buffer; author observed no obvious quality loss, though no formal benchmark.
- Extras: --moe-cache-mib 2048 gives 47 vs 43 t/s; Q4KXL quant with Q8 engrams streamed from NVMe; 47 t/s generation, dropping to 27 t/s at 187K context.
A directly reusable config template for 16GB VRAM local deployments.
More from Infra
- Extropic founder vows: 'Everyone dismissing thermodynamic computing will pay a heavy price' — beffjezos · 2026-12-06
- MiniMax Details Forge V2.0: The 10,000-Accelerator Agentic RL System Behind M4 — MiniMax_AI · 2026-12-06
- NeurIPS Speculative Decoding Tutorial Goes Viral: 126K Views, Tracing EAGLE-3 to DFlash Evolution — Madisonkanna · 2026-12-06
- ASML, Airbus, BMW, Mistral AI and others team up on European chips and AI, targeting €150B a year — MarioKrenn6240 · 2026-12-06
- Qwen4-35B-A3B benchmarked on 1x H200: vLLM 32% faster, MTP with 2 speculative tokens wins — woosuk_k · 2026-12-06
- China Telecom trains Xing-4.1 on Ascend 910C SuperPoD, runs 60k+ domestic chip cluster — pstAsiatech · 2026-12-06