Skip to content

ggml-cuda: enable RDNA3.5 MMQ tile override#20

Merged
davide221 merged 2 commits into
luce-dflashfrom
feat/rdna35-mmq-tile-override
Jun 25, 2026
Merged

ggml-cuda: enable RDNA3.5 MMQ tile override#20
davide221 merged 2 commits into
luce-dflashfrom
feat/rdna35-mmq-tile-override

Conversation

@davide221

@davide221 davide221 commented Jun 25, 2026

Copy link
Copy Markdown

Depends on #18.

This is stacked on #18. Until #18 merges, GitHub will show the #18 commit plus
the follow-up commit in this PR; after #18 lands, this should reduce to the
single RDNA3.5 gate change.

This follow-up extends the RDNA MMQ tile override to RDNA3.5 / gfx1151
(Strix Halo). The existing PR deliberately kept gfx1151 on the default tile;
local testing on lucebox2 showed the 48x64 / 4-warp tile is also beneficial
there.

Measured on lucebox2, Qwen3.6-27B Q4_K_M, DFlash draft, --ddtree-budget=22:

workload PR #18 unmodified gfx1151 enabled delta
256-token low-acceptance prompt, 3-run mean excluding warmup 11.53 tok/s 12.00 tok/s +4.1%
64-token higher-acceptance prompt 30.01 tok/s single run 30.27 tok/s 3-run mean ~+0.9%

For the 256-token run, the speculative decode shape stayed identical:
accepted=138/1040, target_forwards=119, accept rate 13.3%, so the gain is
not from different acceptance behavior.

Validation:

  • Built HIP dflash_server on lucebox2 with CMAKE_HIP_ARCHITECTURES=gfx1151.
  • Ran the two smoke benchmarks above.

DeanoC and others added 2 commits June 25, 2026 08:41
DFlash verify batches are small (ne[1] ~= ddtree_budget+1, ~23 at the
default budget=22); the stock 128x128 / 8-warp MMQ tile under-occupies on
consumer RDNA. A 48x64 / 4-warp tile is faster there, output bit-identical.

Qwen3.6-27B Q4_K_M, --ddtree-budget=22:
  gfx1100 (RX 7900 XTX): 56.78 -> 60.18 tok/s (+6.0%)
  gfx1201 (R9700):       54.65 -> 59.37 tok/s (+8.3%)

Gated on RDNA3_0 + RDNA4; gfx1151/RDNA3.5 left on the default (not
benchmarked). Opt out with -DLUCEBOX_RDNA_MMQ_TILE_OVERRIDE=0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@davide221 davide221 merged commit 6fd3d84 into luce-dflash Jun 25, 2026
8 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants