Repository navigation
Conversation
This was referenced Nov 12, 2026
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.
将53个共享、GDN/KDA、ReplaySSM及dense/MLA底层kernel迁到common/attention/backends,修改调用方import。尚未切换调用契约的高层decode wrapper保留到第5步,避免中间版本破坏旧运行时。
验证:53个迁移文件除import外计算AST与upstream/main9640f76df一致;H200 KDA求解、MTP布局、原GDN、GQA/int8测试104项通过。
由已关闭的 #1700 拆分,本PR为第2/5步。依赖顺序:
当前base为#1717 的分支,Files changed只展示本步增量。请按序合入;前序合入main后,将后续PR的base依次改为main并更新分支。所有步骤保持Draft。
每层已运行仓库固定版本Black/Flake8。仓库CI仅监听base=main,因此第2–5步当前以本地lint和实验记录为准,retarget后再检查CI。实验记录位于/data6/exp_logs/runs。