perf(flydsl): fuse Kimi-K3 KDA decode + f_b projection - #5
Closed
JohnQinAMD wants to merge 2 commits into
Closed
JohnQinAMD wants to merge 2 commits into
JohnQinAMD wants to merge 2 commits into
Conversation
Signed-off-by: Yanyuan Qin <yanyuan.qin@amd.com>
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
|
This was referenced Jul 29, 2026
Owner
Author
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.
Summary
Two commits: (1) fuse the Kimi-K3 KDA decode path (causal conv + recurrent
update + gated RMSNorm) into one gfx950 kernel; (2) fold the 128x128
f_b_projinto the KDA decode state core (head-local, in-workgroup).
Effect
g1global materialization + a dependencybubble per KDA layer.
Provenance
Banked change #3 (see perf_changelog.md). Independent PR off
main.AI assistance (OpenAI Codex) was used; a human submitter must review every line
before merge.
Made with Cursor