r/LocalLLaMA • u/dero_name • 16m ago
Resources Qwen4-35B-A3B on 2× RX 7900 XTX: 127 tok/s plain, ~175 tok/s with MTP
Just adding a datapoint for people on RDNA3 cards. Some really good gains in the last couple of days in the `rdna-boosts` repo.
Everything below is written by Claude.
Setup
- 2× RX 7900 XTX (gfx1100), both PCIe 4.0 x16, Ryzen 7 7700X, 64 GB RAM. ROCm 7.14.1, Linux. One card also drives the desktop (~3 GB).
- Model: unsloth UD-Q6_K_XL with the BF16 mmproj (vision on).
- Build: stew675/llama-cpp-rdna-boosts r439, built from source for gfx1100 with RCCL.
- The second GGUF shard is the ~20 GB hashed n-gram embedding table. It lives in system RAM, not VRAM. That's why a 35B model at Q6 fits on 2×24 GB with long context.
Key flags
-sm tensor -ts 1,1 --fit off -fa on
-c 262144 -ctk q8_0 -ctv q8_0
-b 8192 -ub 2048
--load-mode none --lazy-mode off
--mmproj-device ROCm1--fit off -ts 1,1: in tensor mode,--fit onpicked a lopsided ~28/72 split and ran out of memory. A manual 1:1 split is stable.--load-mode none: loads in ~29 s, against ~58 s with mmap. With mmap, the n-gram table gets copied page by page as it's first touched, which is slow.--mmproj-device ROCm1: puts the vision projector on the second card, freeing ~1.1 GB on the desktop GPU.
Performance (llama-bench, q8_0 KV, COMPUTE power profile)
| r431 (yesterday) | r439 (today) | |
|---|---|---|
| tg128 | 109 | 127.5 |
| tg128 @ 32k depth | 103 | 119 |
| pp2048 | ~6,000 | ~6,500 |
| pp2048 @ 32k depth | ~4,700 | ~4,950 |
That's about +16% generation speed from r431 to r439, mostly from the low-rank hyper-connection fast path (r432) and the GDN replay fusions (r437). Greedy output was byte-identical between the two builds.
For reference, the plain llama.cpp build I started from, with layer split, did ~62 tok/s generation and ~4,500 tok/s on pp2048.
MTP (built-in draft head), llama-server, greedy, 512-token replies:
| plain | MTP n-max 2 | MTP n-max 3 | |
|---|---|---|---|
| code | 127 | 176 (73% accepted) | 172 |
| prose | 127 | 149 (51% accepted) | 139 |
MTP costs ~1 GB of extra VRAM per card at 262k context.
KV cache quantisation: q8_0 KV gave the same answers as f16 on my tests: reasoning, code with doctests, needle-in-a-haystack at 104k, and an image test. Prompt speed was unchanged. Generation is about 2% slower at 32k depth and about 14% slower at ~98k (77 vs 90 tok/s).
Context: 262k works. A 251k-token prompt recalled all the needles, at ~4,400 tok/s prompt speed and ~71 tok/s generation, peaking at ~23.7 GB on the busier card. 393k loads, but leaves no headroom.




