Repository navigation
[DeepSeek-V4.1] Router GEMM 16384x384x5120: tuned row to hipBLASLt solution 438907 (traceability) - #6
Draft
amd-pedghazi wants to merge 1 commit into
Draft
amd-pedghazi wants to merge 1 commit into
amd-pedghazi wants to merge 1 commit into
Conversation
…tion 438907 One row of aiter/configs/model_configs/dsv41_bf16_tuned_gemm.csv: libtype torch (solidx 0) -> hipblaslt, solidx 438907, the best of 2,084 hipBLASLt solutions for this shape (OPUS). us = its hot median, tflops and bw from us; field format as the gfx950 hipblaslt rows of kimik3_bf16_tuned_gemm.csv (empty kernelName).
amd-pedghazi
force-pushed
the
p21/item-1402-hipblaslt
branch
from
November 25, 2026 09:00
01839ab to
98b18f2
Compare
amd-pedghazi
force-pushed
the
p21/cand3-base
branch
from
November 25, 2026 09:00
a902767 to
92d22c4
Compare
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 inside the fork for traceability of a tested DeepSeek-V4.1-Flash build (MI355X, ROCm 7.2.4). Not for upstream.
What
One row of
aiter/configs/model_configs/dsv41_bf16_tuned_gemm.csv, the prefill MoE router GEMMx[16384, 5120] x W[384, 5120]^T in BF16: libtype
torch(solidx 0) ->hipblaslt, solidx438907.usfield is its hot median (57.67);tflopsandbware computed from it as in the torch row.hipblasltrows ofkimik3_bf16_tuned_gemm.csv, with an emptykernelName.285579b6tuned_gemm.pysends libtypehipblaslttohipb_gemm, which callshipb_mm(inp, weights.t(), solidx, ...)with the row's solidx.This replaces the router kernel of ROCm#7931, which was slower in the same check.
Measured (one MI355X, 50 warm-up calls, 300 timed runs, medians, µs)
The output is correct by the PR test's rule (fp32 reference rounded to BF16, rtol = atol = 1e-2, 0 failing elements).
In the serving case it is 7.4 % faster than torch. In the cold case it is 17 % slower.
Estimated serving effect: about 0.2 % of TTFT. This is an estimate from the per-call saving, not a measured gain. A one-GPU check of the built image confirmed that the dispatch reaches 438907, the output is correct, and the four cases above hold.
Branches
The base branch holds the files of an earlier tested build (
47a98e79) byte for byte; the md5 lists are in the commit message of the base.