r/LocalLLM • u/PadhaLikhaMajdur • 1d ago
Discussion Inkling 2 Mini (UD-Q4_K_XL, 16.4 GiB) on RX 7800 XT 16 GB (Windows): PolyStrata HIP vs llama.cpp Vulkan
Benchmarked Inkling-2-Mini-UD-Q4_K_XL (26.07B MoE, inkling2_loop, 16.41 GiB) on a 16 GB AMD Radeon RX 7800 XT (gfx1101) under Windows
11 (32 GB system RAM) to compare llama.cpp Vulkan (b12810) against PolyStrata HIP (strata-poly).
Since the 16.41 GiB file slightly exceeds 15.4 GiB free VRAM, both setups offload a portion of the MoE weights to system RAM.
llama-bench Vulkan (ca123ba76 / b12810)
Flags: -ngl 99 -fa 1 -ctk q8_0 -ctv q8_0
| -ncmoe (CPU MoE layers) | pp512 (tok/s) | pp2048 (tok/s) | tg128 (tok/s) | Notes |
|---|---|---|---|---|
| 5 | 739.31 | 166.09 | 38.33 | VRAM spillover at pp2048 |
| 6 (sweet spot) | - | 721.80 | 35.54 | Fits cleanly in |
| 7 | - | 697.67 | 24.76 | More CPU MoE overhead |
| 8 | - | 668.53 | 23.32 | More CPU MoE overhead |
PolyStrata HIP (strata-poly, --kv q8_0, --conversation-cache-mib 6144)
• VRAM residency: 2493 / 3072 experts in VRAM (evictions=0)
• Prefill: 880 tok/s
• Generation: ~60 tok/s
Takeaway
On a 16 GB RDNA3 card where the model barely overflows VRAM:
• PolyStrata HIP is ~22% faster on prefill (880 vs 721.8 tok/s) and **~69% faster on generation** (~60 vs 35.54 tok/s).
• The difference comes down to per-expert caching vs per-layer offload: PolyStrata keeps the hot 81% of individual experts in VRAM,
whereas llama.cpp -ncmoe 6 forces 6/24 entire MoE layers onto the CPU for every token.
• Watch out for -ncmoe 5 on 16 GB cards: pp512 looks fine (739 tok/s), but pp2048 spills into shared memory (166 tok/s).
1
u/sentakuhm91 1d ago
I'm going to test on my Rx 9070xt and 32 gb ram
1
u/Mordimer86 1d ago
One problem with this model is that it tends to crawl after longer running, with more filled context. Goes from 50-70 to 20-30 t/s. At least with RustingStrata.
1
u/ireallydontcare00 1d ago
I get almost same result on my RX 6700 XT
https://github.com/0FL01/RedStrata - im make optimization for RDNA2
1
u/Geekomcomputer 1d ago
Nice update — this is a much cleaner comparison than most of the tok/s numbers floating around, because you kept the model file and context fixed, and the new numbers change the story quite a bit.
A few observations on what the updated numbers are actually saying:
If you do the longer-context sweep, the most useful numbers to share would be pp/decode at each context size with the same flags, plus one short generation sample from each backend at the same settings. That would tell the next 7800 XT owner exactly where each backend wins.
1
u/R3N3G6D3 1d ago
These results are pretty bad, those engines blow.