fix(mc2): update moe distribute headers for CANN 9.1#21
Closed
pjgao wants to merge 1 commit into
Closed
Conversation
This was referenced Jul 21, 2026
Author
|
复核实际调用链后确认:xLLM 的 MegaMoe 通过外置 vendor 直接调用 aclnnMegaMoe,与本 PR 修改的 DispatchFFNCombine 路径独立且互斥。xLLM #1989 已恢复目标分支固定的 xllm-ops gitlink,因此关闭本 PR。若后续需要解决 CANN 9.1 下 DispatchFFNCombine 的独立兼容问题,将另开 PR,并补充该原算子的编译和数值回归证据。 |
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.
原改动概述
dispatch_ffn_combine的moe_distribute_base.h更新为 CANN 9.1 MC2 接口。原修改原因
最初将 CANN 9.1 全量构建中的 MC2 header 兼容问题与 MegaMoe 接入关联。后续复核确认两者没有运行时调用依赖:MegaMoe 与
DispatchFFNCombine是独立且互斥的算子路径。来源
接口定义来自 ops-transformer
9.1.0分支提交a8e30dae7的moe_distribute_base.h。复核结论
DispatchFFNCombine,不能作为本 PR 的原算子回归证据。DispatchFFNCombine独立构建兼容问题,应另开 PR,并补充原算子编译及数值回归,而不是绑定 MegaMoe 接入。下游关系