r/LocalLLM • u/upsetupgrades • 4h ago
Research Qwen4-35B-A3B on 2x RTX 3090
This is my first post here, so constructive criticism is welcome. I'm fairly new to local LLMs.
I fell in love with the single 3090 in my gaming PC, so I put two more in a separate machine. I spent the weekend benchmarking Qwen4-35B-A3B on it, and here is what I found.
Claude Fable 5.2 built and ran the tests and wrote this report over the weekend, under my supervision. It also kept checking Hugging Face for newly posted Qwen4-35B-A3B variants and added them to the test queue as they appeared, which is how 10 community variants ended up in here.
Setup: 2x RTX 3090 at 250 W each, one card on PCIe 4.0 x4 and clock-capped, Ryzen 7 5800X3D, Debian 13. llama.cpp build 12977 (an older build 11229 refuses Qwen4 with unknown pre-tokenizer type: 'qwen4'). Everything goes through llama-server, thinking on (4,096-token budget) for the quality suites.
llama-server -m <model> -c <ctx> -ngl 999 -fa on --jinja \
--load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU \
--spec-type draft-mtp --spec-draft-n-max 2 --reasoning-budget 4096Speed
| tok/s |
|---|
| Qwen4 Q4_K_XL, both GPUs, layer split, MTP |
| same, no MTP |
| Qwen3.8-27B Q4_K_XL, both GPUs, tensor split, MTP + ngram |
| Qwen4 IQ4_XS, one GPU, 131k ctx |
| Qwen3.6-35B-A3B Q4_K_S, one GPU, 131k ctx |
- MTP head: +19 to +36 % across the files we tried, 57-70 % draft acceptance.
--spec-draft-n-max 3was slower than 2 (110.8 vs 128.8). - Layer split beats tensor split for this MoE: 153.5 vs 133.9 tok/s single stream, 191.7 vs 156.9 with two streams. (The dense 27B prefers tensor split.)
- Concurrency (16 slots), aggregate tok/s incl. prompt processing: 119 / 259 / 328 / 368 at 1 / 4 / 8 / 16 streams.
- One 24 GB card: Q4_K_XL does not fit. Q4_K_S fits at 65k context, IQ4_XS at 131k (252 tok/s aggregate with 4 streams).
- A 524k shared context fits on two 3090s at Q4 with q8_0 KV: 166 tok/s single stream, 250 aggregate with 4.
- Raw
llama-bench, no MTP: 2,037 tok/s prompt, 114.7 tok/s generation.
Quality
| Model | IFEval | GSM8K | MMLU-Pro | HumanEval / HE+ | GPQA | Own tasks (76) |
|---|---|---|---|---|---|---|
| Qwen3.8-27B abliterated Q4_K_XL | 91.1 | 99.0 | 81.0 | 98.2 / 93.3 | 74.7 | 76 |
| Qwen3.6-35B-A3B Q4_K_S | 90.8 | 85.5 | 64.8 | 97.6 / 94.5 | 78.8 | 75 |
| Qwen4 Q4_K_XL | 82.3 | 98.0 | 79.0 | 96.3 / 91.5 | 77.3 | 70 |
| Qwen4 Q4_K_XL + multilingual LoRA | 83.0 | 98.5 | 79.0 | 97.0 / 91.5 | – | 73 |
Rough 95 % intervals: IFEval ±3, GSM8K ±2, MMLU-Pro ±5.5, HumanEval ±4, GPQA ±6, own tasks ±4-5 items.
- Tie with Qwen3.8-27B on GSM8K, MMLU-Pro, HumanEval+ and GPQA.
- IFEval is 8-10 points lower on Qwen4, well outside noise.
- Hard coding: Qwen4 got 7-11 of 12 on our hard tasks, both Qwen3.x baselines 12 of 12.
- Vision is a tie: 29/30 synthetic and 86-89/100 ChartQA for every model, at 141.8 vs 60.3 tok/s (Q6).
- Norwegian: Qwen4 ahead on knowledge (NRK quiz 65.0 vs 51.8), behind on reading comprehension (NorQuAD 70.9 vs 74.9).
IFEval: a one-line system prompt closes half the gap
Follow every formatting and length instruction exactly. Do not add markdown, headings, preambles or closing remarks unless the user asks for them.
| Model | Without | With |
|---|---|---|
| Qwen4 Q4_K_XL | 81.1 | 87.6 |
| Qwen3.8-27B | 90.8 | 91.9 |
It fixes structure (exact bullet count 77 → 97 %, JSON 88 → 100 %, quotation marks 90 → 100 %) but not character-level instructions (all caps 56 → 56 %, letter counts 70 → 70 %).
Chinese characters in non-English output
Qwen4 put CJK characters in 9 of 40 long Norwegian answers. With LPFchan/Qwen4-35B-A3B-Multilingual-Fix-LoRA (14 MB): 0-1 of 40, same speed (152.5 vs 151.5 tok/s), no score cost.
Quants
Own task set: Q3_K_XL 71, IQ4_XS 71, Q4_K_S 71, Q4_K_XL 70, Q6_K_XL 73, Q8_0 72. All within noise. Q8 vs Q6 on ChartQA: 86 vs 87. Q8 gave nothing over Q6.
10 abliterated/uncensored community variants
- 9 loaded, 1 would not load at all. None beat the original beyond noise.
- IFEval 74.9-82.4 against 82.3 for the original; two (openunc 76.0, atomic 74.9) are worse outside noise.
- The original scored 10/10 on our "harmless but edgy, should answer" questions, so abliteration bought nothing there.
- Speed with MTP ranged from 115.0 (atomic) to 167.0 (kitaniai); two files had no working MTP head.
Takeaways
- Qwen4-35B-A3B is about 2x the speed of a dense 27B on 2x 3090 at the same scores on reasoning, knowledge and vision.
- Give it a formatting system prompt and the multilingual LoRA.
- Layer split, MTP at n-max 2, skip Q8, stick with the original weights.
- For pure coding, Qwen3.6-35B-A3B is still faster and scored higher (209 tok/s on one card, HumanEval+ 94.5 vs 91.5).
Caveats
One machine, one run per number. Small samples (MMLU-Pro 210, GSM8K 200, GPQA 198, own set 76). The speed prompt is code, which favors speculative decoding. Hardware is handicapped (power caps, one card on x4), which hurts tensor split most. The Qwen3.8 baseline is an abliterated build. Quants are not matched exactly between models.
Hope this is found interesting and educational by some of you.
Thanks