| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(pre-commit): 全仓代码规范整改——mc2 Co-authored-by: gitcode_lijd<lijiandong20@huawei.com> # message auto-generated for no-merge-commit merge: !11457 merge ci into master fix(pre-commit): 全仓代码规范整改——mc2 Created-by: gitcode_lijd Commit-by: gitcode_lijd Merged-by: cann-robot Description: 关联Issue https://gitcode.com/cann/ops-transformer/issues/5939(全仓代码规范整改总跟踪) ## 描述 全仓代码规范整改系列——mc2 目录。基于仓库 pre-commit 门禁对存量代码做一次性规范收敛: - clang-format 按 .clang-format 统一格式(列宽 120、指针左对齐 T* p、引用对齐 T& r 等) - 行尾空白、文件末尾换行修复 - 规模:1380 个文件,+22820/-22840 行,纯格式化改动语义等价,无逻辑变更 > 注:本 PR 早期版本曾包含 mc2 算子 kernel cpp 入口注释行补充(仓镜像替换链路验证),该内容已不在当前分支,当前为纯格式化整改。 ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/5939(全仓整改总跟踪) ## 测试 - pre-commit 全部钩子本地通过 - CI 流水线(compile/UT)验证 See merge request: cann/ops-transformer!11457 | 1 个月前 | |
fix(pre-commit): 全仓代码规范整改——mc2 Co-authored-by: gitcode_lijd<lijiandong20@huawei.com> # message auto-generated for no-merge-commit merge: !11457 merge ci into master fix(pre-commit): 全仓代码规范整改——mc2 Created-by: gitcode_lijd Commit-by: gitcode_lijd Merged-by: cann-robot Description: 关联Issue https://gitcode.com/cann/ops-transformer/issues/5939(全仓代码规范整改总跟踪) ## 描述 全仓代码规范整改系列——mc2 目录。基于仓库 pre-commit 门禁对存量代码做一次性规范收敛: - clang-format 按 .clang-format 统一格式(列宽 120、指针左对齐 T* p、引用对齐 T& r 等) - 行尾空白、文件末尾换行修复 - 规模:1380 个文件,+22820/-22840 行,纯格式化改动语义等价,无逻辑变更 > 注:本 PR 早期版本曾包含 mc2 算子 kernel cpp 入口注释行补充(仓镜像替换链路验证),该内容已不在当前分支,当前为纯格式化整改。 ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/5939(全仓整改总跟踪) ## 测试 - pre-commit 全部钩子本地通过 - CI 流水线(compile/UT)验证 See merge request: cann/ops-transformer!11457 | 1 个月前 | |
MC2 A2/A3 错误码首报与失败传播整改 Co-authored-by: 张子渊<zhangziyuan9@h-partners.com> # message auto-generated for no-merge-commit merge: !15178 merge excelLogFix into master MC2 A2/A3 错误码首报与失败传播整改 Created-by: SuperYuan Commit-by: 张子渊 Merged-by: cann-robot Description: 整改 MC2 A2/A3 的错误码首报、参数诊断和失败传播。保留 MC2 公共路径中的用户输入校验及必要的安全失败返回。保留已登记的注册和下层依赖边界。 排除 AlltoAllAllGatherBatchMatMul、BatchMatMulReduceScatterAlltoAll、RMS 全变体、GroupedMatMulAllReduce 和 A5/A6 专属实现。两项新增排除的算子已撤回专属改动及独占的双通信组校验。 本次回退后两个算子的 910B host 构建通过。当前提交 CI 已触发。 关联 [#7037](https://gitcode.com/cann/ops-transformer/issues/7037)。 按本轮范围收窄,HCCL 库加载、拓扑与 rank 查询、缓冲查询和图融合探测恢复既有上报行为。A2/A3 host UT 各 1137 项通过,受影响 API 产品库构建通过。 See merge request: cann/ops-transformer!15178 | 18 天前 | |
MoeDistributeDispatch 和 MoeDistributeCombine 的 A5 RoCE 性能优化 Co-authored-by: zzg_code<zengzhiguo1@huawei.com> # message auto-generated for no-merge-commit merge: !16789 merge updata_roce-731fc767-rebase into master MoeDistributeDispatch 和 MoeDistributeCombine 的 A5 RoCE 性能优化 Created-by: zzg_code Commit-by: zzg_code Merged-by: cann-robot Description: ## 描述 面向 Ascend 950DT 多机 MoE 推理,优化 comm_alg="hierarchy" 下的 Dispatch 和 Combine。通信仍采用域内 UB Memory 和域间 RoCE。 - **Dispatch** 按 UB 域组织路由统计和发送,使用位图记录路由。对接收、域内分发及本地窗口拷贝增加预取和多缓冲。 - **Combine** 调整域内 Scatter、Gather 和域间回传流水,使用多缓冲处理已就绪的数据。覆盖预聚合和按路由回传两种模式。 - **主机侧** 同步 assistInfoForCombine 布局、CCL 窗口和 UB 容量校验,并更新 Barrier 与 RoCE tiling 的 UT。 ### 优化效果 按域存放辅助信息,减少每个 rank 重复预留尾部空间。例如在 8 rank、每个 UB 域 4 rank、maxBS=16、A=256 的 UT 配置中,assistInfoForCombine 的最小长度从 836 降到 816 个 int32。多缓冲把后续批次的搬运与当前批次的处理重叠。时延收益以同配置设备对比结果为准。 ## 关联的Issue [Issue #8570](https://gitcode.com/cann/ops-transformer/issues/8570) ## 测试 - Rebase 前提交 a5215c93c 的 [CI #18272](https://gitcode.com/cann/ops-transformer/actions/runs/81d889708ebe41bf9bb3ffe3e4feb006) 已通过编译和 UT。 - 本次 rebase 后已通过全 PR 范围的 pre-commit 和 git diff --check。 ## 文档更新 同步中英文 Dispatch/Combine API 的产品、参数和通信窗口约束。A5 的 MoeDistributeBuffer low_latency 接口收到 comm_alg="hierarchy" 会报错。RoCE 分发和合并请分别调用 torch_npu.npu_moe_distribute_dispatch_v2 和 torch_npu.npu_moe_distribute_combine_v2。 ## 类型标签 - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [x] ⚡ 性能优化 - [ ] ♻️ 重构 - [x] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [x] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!16789 | 3 天前 | |
MoeDistributeDispatch 和 MoeDistributeCombine 的 A5 RoCE 性能优化 Co-authored-by: zzg_code<zengzhiguo1@huawei.com> # message auto-generated for no-merge-commit merge: !16789 merge updata_roce-731fc767-rebase into master MoeDistributeDispatch 和 MoeDistributeCombine 的 A5 RoCE 性能优化 Created-by: zzg_code Commit-by: zzg_code Merged-by: cann-robot Description: ## 描述 面向 Ascend 950DT 多机 MoE 推理,优化 comm_alg="hierarchy" 下的 Dispatch 和 Combine。通信仍采用域内 UB Memory 和域间 RoCE。 - **Dispatch** 按 UB 域组织路由统计和发送,使用位图记录路由。对接收、域内分发及本地窗口拷贝增加预取和多缓冲。 - **Combine** 调整域内 Scatter、Gather 和域间回传流水,使用多缓冲处理已就绪的数据。覆盖预聚合和按路由回传两种模式。 - **主机侧** 同步 assistInfoForCombine 布局、CCL 窗口和 UB 容量校验,并更新 Barrier 与 RoCE tiling 的 UT。 ### 优化效果 按域存放辅助信息,减少每个 rank 重复预留尾部空间。例如在 8 rank、每个 UB 域 4 rank、maxBS=16、A=256 的 UT 配置中,assistInfoForCombine 的最小长度从 836 降到 816 个 int32。多缓冲把后续批次的搬运与当前批次的处理重叠。时延收益以同配置设备对比结果为准。 ## 关联的Issue [Issue #8570](https://gitcode.com/cann/ops-transformer/issues/8570) ## 测试 - Rebase 前提交 a5215c93c 的 [CI #18272](https://gitcode.com/cann/ops-transformer/actions/runs/81d889708ebe41bf9bb3ffe3e4feb006) 已通过编译和 UT。 - 本次 rebase 后已通过全 PR 范围的 pre-commit 和 git diff --check。 ## 文档更新 同步中英文 Dispatch/Combine API 的产品、参数和通信窗口约束。A5 的 MoeDistributeBuffer low_latency 接口收到 comm_alg="hierarchy" 会报错。RoCE 分发和合并请分别调用 torch_npu.npu_moe_distribute_dispatch_v2 和 torch_npu.npu_moe_distribute_combine_v2。 ## 类型标签 - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [x] ⚡ 性能优化 - [ ] ♻️ 重构 - [x] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [x] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!16789 | 3 天前 | |
perf(moe_ep): optimize shared Jetty pipelines and register OOM ranges Co-authored-by: Yuyu-Li<liyuyu6@huawei.com> Co-authored-by: tgwsakiko_<linwei69@huawei.com> # message auto-generated for no-merge-commit merge: !15951 merge single_jetty_fix into master perf(moe_ep): optimize shared Jetty pipelines and register OOM ranges Created-by: Yuyu-Li Commit-by: Yuyu-Li;tgwsakiko_ Merged-by: cann-robot Description: ## 描述 优化单jetty多对端流水以及注册OOM ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/5359 ## 测试 二级冒烟,线下测试 ## 文档更新 NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [x] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!15951 | 9 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 | ||
| 18 天前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 9 天前 |