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.
接入模型LayerAttentionBinding、BatchBuilder、State布局/快照和Graph执行生命周期。初始化先选择backend及预留workspace,再规划KV容量;模型通过binding.context(infer_state)显式取得context,State继续拥有存储与恢复。同步所有模型调用、LLM启动参数、离线验证工具和中英文文档,删除旧backend及过渡wrapper。
五步叠加后的Git tree与原已验证提交d649b22d8完全相同,没有额外功能改动。复用该源码树的验证:attention/resource/Graph等2421个独立case最终通过;linear专项122通过;最新KDA与启动专项286通过(各组有重叠)。Qwen3.5-0.8B native/replay MTP各64次、普通replay32次logits比较误差0。
旧native MTP test_mtp_verify_path[1]精确相等失败仍在已知范围,合并前kernel/test对照也可复现,未放宽断言。跨节点PD、完整多模态模型及性能未验收。
由已关闭的 #1700 拆分,本PR为第5/5步。依赖顺序:
当前base为#1720 的分支,Files changed只展示本步增量。请按序合入;前序合入main后,将后续PR的base依次改为main并更新分支。所有步骤保持Draft。
每层已运行仓库固定版本Black/Flake8。仓库CI仅监听base=main,因此第2–5步当前以本地lint和实验记录为准,retarget后再检查CI。实验记录位于/data6/exp_logs/runs。