Qwen4-35B-A3B benchmarked on 2x RTX 3090: vLLM hits 193 tok/s, exllamav3 fits 1M context
qu1dow · reddit · 2026-12-06
The author benchmarked Qwen4-35B-A3B on 2x RTX 3090 (300W, PCIe 4.0 x8/x8, no NVLink) using a real 100-turn coding-agent session replayed from 2k to 250k tokens, with vision on, 8-bit KV, 4 concurrent slots, and MTP enabled.
Results
- vLLM (FP8, TP=2): fastest and nearly flat across depth — 113 tok/s without MTP, 193 tok/s with probabilistic 3-token MTP; prefill 6.6k tok/s. Downsides: 105s cold boot, TP=2 duplicates the 19GiB n-gram table per worker (42GiB RAM), and 4096x4096 images OOM the encoder once MTP + 262k KV are loaded (cap at 2048x2048).
- exllamav3/TabbyAPI (EXL3 5.13bpw, layer split): the only setup fitting the native 1M context in 40.1GiB VRAM; a real 1,045,984-token prompt with an image still decoded at 102 tok/s. Surprisingly, layer split beat NCCL tensor parallel (4600 pp vs 3300 pp), and autosplitreserve pushed prefill to 7000 tok/s.
- llama.cpp (UD-Q8KXL): decode decays with depth (137 tok/s at 2k → 58 at 249k); needs --lazy-mode off + --load-mode dio to avoid disk reads of the 20.3GiB embedding table, plus specific draft-KV flags for the built-in MTP head. Tensor split is faster single-stream but OOMs under 4 parallel slots.
Takeaway: vLLM for agent throughput, exllamav3 for 1M context and lower VRAM, llama.cpp for compatibility at a long-context cost.
More from coding & agent
- CVPR 2026 submissions expected to hit ~34,000, more than doubling as coding agents take over — ronnieclark__ · 2026-12-06
- DeepSeek's open-source agent harness DSH ships 737 commits in a week with v0.2.3-alpha.4 — teortaxesTex · 2026-12-06
- Jane Street's open-source socratic-tutor skill makes AI grill you instead of answering — mariofilhoml · 2026-12-06
- Relay adds AI agents that can run your YouTube channel, controlled from your phone — alifcoder · 2026-12-06
- AI Agent Playbook: a Chief-of-Staff Bot Running a Team and Wrapped-Style Account Videos — iamfakhrealam · 2026-12-06
- Run a bot team, not one bot: Chief of Staff agent + dashboard for account growth — iamfakhrealam · 2026-12-06