已合并
整改安装重名头文件:权威 TLA / attention/common / mc2/common / math 侧保留;改次要副本 #10499
chenyifan创建于 5 天前
整改安装重名头文件:权威 TLA / attention/common / mc2/common / math 侧保留;改次要副本 #10499
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 chenyifan 的贡献)5 天前 关联了issue:[Requirement|需求建议]: 仓内重名头文件过多需要整改
atomgit-bot
5 天前 评论:
5 天前 评论:
🤖 正在生成合并请求摘要,请稍候…


5 天前 添加了label:cann-cla/yes
CANN-robot
5 天前 评论:
5 天前 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| attention | ✅ cc-z, gaoxiang618 (2/2) | ✅ cc-z, gaoxiang618 (2/1) |
| gmm | ✅ kknan, chen-linxin4, cc-z (3/2) | ✅ kknan, chen-linxin4, cc-z (3/1) |
| mc2 | ✅ wang-minbo, yangzeheng (2/2) | ✅ yangzeheng, wang-minbo (2/1) |
| moe | ✅ chen-linxin4, 宋恺, cpy_123456, cc-z (4/2) | ✅ chen-linxin4, 宋恺, cpy_123456, cc-z (4/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
mutex_lock, thanks for your pull request. All authors of the commits have signed the CLA. 👍


此处折叠了93条消息 查看更多
张海杰
4 天前 评论:
4 天前 评论:
/approve


4 天前 添加了label:api-check-failed
4 天前 删除了label:ci-pipeline-running
4 天前 添加了label:ci-pipeline-passed
4 天前 合入了pull request
描述
按安装重名头文件规范,完成 PR-3:其余算子 / 3rd 碰撞 / 3.7 类消歧(控变更文件数 < 200),消除安装包内跨算子同名头冲突。
方法:低风险只改次要副本——权威树
mc2/3rd/template_linear_algebra、attention/common、mc2/common等保留原名;次要侧加算子/组件前缀(kda_/msa_/gmm_/mrs_v2_/agm_v2_/apace_/wq_/mararn_等)。同步更新#include、\file、include guard。无业务逻辑变更。禁止软链接。安装分类规则(节选,本批相关)
本批实际:3.9 + 3.7 消歧 + 同名不同实现亦改名;权威/公共树保留原名。
范围与结果
common.h/moe_common.h/moe_v2_common.h外的成对/跨组件/TLA 次要副本pr3_remap_batch1.tsv+pr3_remap_batch2.tsv)+ nd2nz 去重 + masked_select 改名dispatch_policy.hpp/tile_copy.hpp等同组件备案,本批不改命名约定
kda_*/msa_*mrs_v2_*agm_v2_*gmm_*/apace_*/wq_*mararn_*CATLASS_KDA_*)CATLASS_DEVICE等原名(不随文件前缀改)其它处置
masked_select_v3.hmoe_token_permute_masked_select_v3.h(算子特化,消歧 basename)batch_mat_mul_nd2nz.hmat_mul_v3副本,改为 includebatch_mat_mul_v3侧(内容相同)sparse_flash_mlametadata*_kernel_metadata.h;arch22 →*_arch22_metadata.h本分支变更统计
关联的Issue
https://gitcode.com/cann/ops-transformer/issues/4356
测试
文档更新
类型标签