Qwen4-35B-A3B on 2x RTX 5060 Ti: 8x128K parallel at 147 tok/s, 3x faster than llama.cpp
do_u_think_im_spooky · reddit · 2026-12-05
- Setup: Author served Qwen4-35B-A3B on two 16GB RTX 5060 Ti cards (PCIe 3.0 x8, 150W each) with 108GB RAM, comparing capy-flash v0.17 (which added support a day after release) against llama.cpp.
- Core finding: capy keeps all routed experts on GPU (split by expert-ID parity, 8.65GiB per card) with KV in pinned host RAM; llama.cpp at 128K context pushes expert layers to system RAM, dropping from 99 to 54 tok/s.
- Results (8 slots, 128K each, 1M bf16 KV): 147 tok/s single request (vs 46-54 on llama.cpp), 271 tok/s total at 8 busy slots, 2,990 tok/s prompt reading at 118K, and 4x60K prompts in 80s vs 7.4 min.
- 1M context works: 5/5 hidden-fact recall at 498K and 1.04M tokens with 16-bit KV, though prefill slows to 670 tok/s (25 min to first token for full-length prompts).
- Key flags: don't use --profile 35b-a3b for multi-request (conflicts with --no-prefix-reuse); --decode-share 1 prevents other slots dropping to 6 tok/s; --draft-tokens 2 beats the default 3 (234→271 tok/s); --kv-ram-cache-blocks 32768 cut 4x60K from 102s to 80s; max concurrency is 8.
- Quality: an in-house suite (8 tool calls, 70 MMLU-Pro, 20 hard coding problems) showed no regression vs Qwen3.8 27B. KV in RAM costs only 3-5% decode. Guide, launcher and results are open-sourced in the club-5060ti repo (214 stars).
Related event: Dual RTX 5060 Ti Runs Qwen4-35B-A3B at Nearly 3x llama.cpp Speed(3 posts)→
More from Infra
- 91% of yubot users' model calls go through private models, claims full-stack encryption — markjeffrey · 2026-12-06
- Local 32GB dual RTX 5060 Ti benchmark round done: Qwen 3.8 27B wins SWE-bench but takes 132 hours — Careful-Report6526 · 2026-12-06
- China's CXMT to invest $135M for 20% stake in ASR's custom edge AI chip unit — pstAsiatech · 2026-12-06
- MiniMax shares soar 42% after M4 model debuts with Huawei Ascend chip support — pstAsiatech · 2026-12-06
- Open-source inference engine Flyx impresses: ~50MB binary, 256K context, 365 tok/s on one GPU — Old-Sherbert-4495 · 2026-12-06
- Open-source ZeroHook claims up to 34% FPS boost by blocking overlay DLLs and vendor bloat — Promptmethus · 2026-12-06