Repository navigation
perf(hip): Ripple DFlash2 drafter projections on the m32 WMMA twin (transposed at load, default-on) - #360
Draft
AzeezIsh wants to merge 4 commits into
Draft
perf(hip): Ripple DFlash2 drafter projections on the m32 WMMA twin (transposed at load, default-on)#360AzeezIsh wants to merge 4 commits into
AzeezIsh wants to merge 4 commits into
Conversation
…LAS_DFLASH_NVFP4_T) The Ripple DFlash2 drafter's projections run w4a16_gemv_batch16 on the native [N, K/2] layout, which is dot2-issue-bound near 50 GB/s on gfx1151. With ATLAS_DFLASH_NVFP4_T=1 the seven per-layer twins are transposed in place at load (native copies freed, no extra resident bytes) and run on w4a16_gemm_t_m128_f16a / its m32 twin: 15-38% faster per GEMM in kbench (DevLab 43394490022). Opt-in pending the e2e A/B. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Two DevLab A/B rounds (43402973925/43402978892, 43410283439/43410279144): DFlash2 steady decode 5.9 vs 5.6 and 6.0 vs 5.5 tok/s, greedy probes byte-identical. ATLAS_DFLASH_NVFP4_T=0 keeps the native batch16 GEMV. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
|
Same-day main control, framework f286 (e851e96): 77.29 / 80.87, identical to f263, so Ripple ST-995 on main is reproducible to the item. This branch (f284) scores 77.09 / 80.68. The whole difference is one item: live_irrelevance 93.18 vs 94.32 (1 of 88). Every other category is identical. The drafter changes which tokens are proposed. The verify-block width then changes, and with it the verify GEMM shapes, so one borderline item flips. By the ≥-baseline rule this is below, so this PR stays a draft on hold for a maintainer call. Speed is 4/4 rounds positive (+5–9% steady DFlash2), with byte-identical greedy probes, and the score is −1 item of 995. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft. Not for merge yet. It waits on the same-day main ST-995 control (framework f286, running).
What
On gfx1151 the DFlash2 drafter's seven per-layer NVFP4 projections are transposed at load. They then run through the #354/#359 m32 WMMA verify twin instead of
w4a16_gemv_batch16. The native copies are freed, so memory is flat.ATLAS_DFLASH_NVFP4_T=0restores the native GEMV. The drafter only proposes tokens, and verification is exact.Evidence (DevLab Strix runner, Ripple-65B + DFlash2, C1 steady decode)
NVFP4 transposed WMMA layers true.🤖 Generated with Claude Code