Repository navigation
Bench results on RX 7900 XTX (gfx1100): v17 vs upstream, Qwen3.8-27B and Glimmer 30B #393
Replies: 2 comments 1 reply
|
Thank you for the feedback @David2024patton ! I appreciate it I'm glad you're finding the patch set useful. There's a lot of features to explore so feel free to look around and ask questions. On the topic of ROCm vs Vulkan, one of the observations I've experienced is that as context size grows, that the repo's changes generally improve in their gains over Vulkan. ie. at the start, they're fairly close, but by 60K+, then repo is generally well ahead on most models. On a side note, I moved your post from Issues to Discussions, since it seemed to be more of a positive feedback report, than an actual Issue. |
|
Follow-up: the per-block teardown is done. I rebuilt the patch set cumulatively from the pinned base (919794500) on the 7900 XTX (gfx1100), benching every state on two models with the same method as before (server timings, warmup plus 3 runs, full offload, FA on): Qwen3.8-27B (my UD-Q2_K_XL build, MTP off/on) and Muse-Glimmer-30B Q4_K_M (DFlash off/on). Validation first: the cumulative-all build reproduces the container's numbers within 0.5% on all four decode legs, and the golden check passes on the base and full states, so the chain measures what the release ships. The honest headline is that the middle of the set does not bisect: the states after blocks 0006 through 0010 do not build on their own (0006 references a member that arrives in 0009 and a define/accessor from 0010, and the post-0010 state does not link until 0011). Measured as one step, post-0005 to post-0011 carries nearly everything: Qwen generation +34.4% (MTP off) and +17.3% (MTP on); Glimmer +9.0% (DFlash off) and +36.3% (DFlash on). Block 0012 is the clear second contributor (+1.6 to +3.3% generation across legs, +3.9% Qwen MTP-on prefill). Blocks 0000-0005 individually and 0013-0016 and 0300 are all within noise (about ±1%). Peak VRAM was flat across every state. One census note: in my Qwen file (866 tensors), block 0007's named VDR types cover 42.76% of tensor bytes (Q8_0 30.62%, Q4_K 12.14%; zero Q5_K and zero Q6_K, and the majority type IQ2_S at 54.61% is outside 0007's named types). So 0007 alone cannot explain the Qwen gain; the bundle's fusion and graph work must be carrying much of it here. Quality leg, since fast-but-different is the standing worry with patch sets: perplexity on a fixed hash-pinned corpus is identical to three decimals on both models (Glimmer 3.2127 base vs 3.2116 full; Qwen 3.3796 vs 3.3795), mean KL divergence from llama-perplexity is 0.000838 (Glimmer) and 0.002004 (Qwen), and greedy token agreement is 95.6% and 99.4%. The patch set changes speed, not what the models say. One build note that may matter to others on RDNA 3: the host ROCm 7.1 toolchain cannot compile the upper half of the set (clang 20 instruction-selection crash at the post-0010 state). The chain here was built inside the ROCm 10.1 dev container, and the resulting tree hash matches release.json exactly. Full method and run-level data are in my notes; happy to share raw outputs if useful. Next on my side: your patches at production shape (131K context, 4 slots, mmproj, jinja) against my current Vulkan production build, and the depth comparison you mentioned at 60K+. |
Uh oh!
There was an error while loading. Please reload this page.
Hi - independent bench of the v17 release (
v17-919794500-r353, prebuiltserver-rocm-10.1image) on a desktop RX 7900 XTX, since the published results are on RDNA 4. Full notes are in the README of my fork: https://github.com/David2024patton/llama-cpp-rdna-boosts - the tested code state is pinned there on thebench/v17-as-testedbranch if you want to reproduce.Rig
ghcr.io/stew675/llama-cpp-rdna-boosts:server-rocm-10.1(digestsha256:404e02dd...efde1)Method. The image ships only
llama-server, so both builds were measured by server timings: prefill from a 512-token prompt, generation of 128 tokens, one warmup of each kind then 3 measured runs (mean ± population sd), full offload (-ngl 99), flash attention on, default f16 KV cache, same GGUF file on both builds. Comparison build: stock upstream llama.cpp mainline build 12648 (HIP).Qwen3.8-27B - file
Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf(2.7 bpw), context 4,096,--spec-type draft-mtp:Glimmer 30B - custom 30B (39 sliding-window + 13 NoPE global layers), file
Muse-Glimmer-30B-KQuant-17GB-Q4_K_M.gguf, context 8,192,--spec-type draft-dflash:Draft acceptance was identical between builds on both models (Qwen 0.705; Glimmer 0.96907), so the gains read as kernel speed, not better drafting. Both
draft-mtpanddraft-dflashworked on gfx1100 with no changes.Thanks for the patch set. Happy to run a specific config on this card if it would help.
All reactions