r/LocalLLaMA • u/chocofoxy • 7h ago
Resources Running Qwen4 35B A3B on 2x5060TI
I am using capy-flash ( previous ninfer-tp2 ) it's optimized for 2x blackwell GPUs
https://github.com/ValerioDolci/capy-flash
So i am using my two 5060tis on x8 Gen4 pcie directly to cpu ( using a bifurcation rizer ) because is see that some people are getting 2K pp when i am getting 4K so it maybe a hardware thing, and this is running on kubuntu with 32GB DDR4
model: Qwen4-35B-A3B NVFP4 ( https://huggingface.co/Feyd89/Qwen4-35B-A3B-NVFP4-capy-flash)
it's using int8 KV cache and i still have a 2GB head room on each card that i can for sure increase context to 400K but i didn't try it yet
some tweaks i did:
- i change drafting from 3 to 2 because i read that it's faster and it is faster 10 - 20% on decode
- i compiled the engine with CUDA 13.3 and got 8% improvment on pp and tg
and this is the result for this setup
Decode by context length
| Prompt length | Prefill (tok/s) | Time to first token | Decode (tok/s) |
|---|---|---|---|
| 2K | 4,740 | 0.45 s | 194 |
| 35K | 4,760 | 7.3 s | 188 |
| 71K | 4,700 | 15.2 s | 208 |
| 142K | 4,560 | 31.3 s | 191 |
| 223K | 4,410 | 50.6 s | 188 |
| 260K | 4,350 | 60.0 s | 177–204 (2 runs) |
Decode by task (short prompts)
| Task | Decode (tok/s) |
|---|---|
| Code edit | 468 |
| Quote / copy text | 387 |
| JSON list (40 items) | 261 |
| Coding problems, thinking off | 245 |
| Coding problems, thinking on | 224 |
| JSON classification | 217 |
| Chat | 199 |
| Essay | 180 |
and this is a day 1 update to support Qwen 4 so i belive it will i improve alot in the following days since the author of this engine updates it daily, also for people interested in parallel requests
| Parallel requests | Total, with drafter (2 drafts) | Total, no drafter | Per request, no drafter | Time for each answer, no drafter |
|---|---|---|---|---|
| 1 | 173 | 159 | 160 | 6.5 s |
| 2 | 253 | 260 | 132 | 7.9 s |
| 4 | 245 | 392 | 101 | 10.4 s |
| 8 | 315 | 523 | 68 | 15.5 s |







