已关闭
[Bug-Report|缺陷反馈]: 【2026 HCCL通信库创新大赛-粤港澳赛区】【Triple水木】ReduceScatter OmniPipe 结束日志误用 AllGather 模板前缀 #439
dubai712创建于 7月24日关闭于 23 天前
Leewis
7月25日 评论:
7月25日 评论:
感谢对于社区的关注与反馈,当前反馈的问题已收到,欢迎提交pr解决该问题;提交pr前需要签署CLA协议;提交pr后需要线上编译;详情请参见 https://gitcode.com/cann/hccl/wiki/2026 HCCL通信库创新大赛 Issue%2F2026 HCCL通信库创新大赛.md


23 天前 将 muzhiyu6 设为负责人
23 天前 移除了负责人 dubai712
黄建波
23 天前 评论:
23 天前 评论:
@dubai712 您好,该问题已合入,PR链接: https://gitcode.com/cann/hccl/pull/2627


23 天前 issue状态由 进行中 改变为 已完成
23 天前 关闭了 issue
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
InsTempReduceScatterOmniPipeNHR::KernelRun()的开始日志使用正确的 ReduceScatter 模板前缀,但函数成功结束时错误地使用了 AllGather 模板名:HCCL_INFO("[InsTempReduceScatterOmniPipeNHR] GenExtIns start"); // ...执行 ReduceScatter NHR 流程... HCCL_INFO("[InsTempAllGatherOmniPipeNHR] Run End"); return HcclResult::HCCL_SUCCESS;问题位置:
src/ops/reduce_scatter/template/aicpu/ins_temp_reduce_scatter_omnipipe_nhr.cc:66:36-37、:732c87cc1937bab23b8574ef24017c03572d3340e2(2026-07-09)当前类、
KernelRun()函数限定名、开始日志和后续DoLocalCopy日志均明确属于InsTempReduceScatterOmniPipeNHR。InsTempAllGatherOmniPipeNHR在该文件中仅出现一次,可确认结束日志是跨算子 copy-paste 残留。该错误会使 ReduceScatter 成功结束事件被归入 AllGather,造成 ReduceScatter 日志链条缺少结束标记,并在 AllGather 日志中产生虚假记录。
Environment / 环境信息 (Mandatory / 必填)
cann/hcclcompetition/campus-20262c87cc1937bab23b8574ef24017c03572d3340e2Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
src/ops/reduce_scatter/template/aicpu/ins_temp_reduce_scatter_omnipipe_nhr.cc。InsTempReduceScatterOmniPipeNHR::KernelRun()。InsTempReduceScatterOmniPipeNHR。InsTempAllGatherOmniPipeNHR。rg -n 'InsTemp(AllGather|ReduceScatter)OmniPipeNHR' \ src/ops/reduce_scatter/template/aicpu/ins_temp_reduce_scatter_omnipipe_nhr.ccDescribe the expected behavior / 预期结果 (Mandatory / 必填)
结束日志应使用当前 ReduceScatter 模板类名:
HCCL_INFO("[InsTempReduceScatterOmniPipeNHR] Run End");修复后,该 ReduceScatter 文件中不应再出现
InsTempAllGatherOmniPipeNHR,通信流程和返回值保持不变。Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
当前日志:
预期日志:
本问题为日志算子归属错误,不涉及 UI,无需截图或运行日志。
Special notes for this issue/备注 (Optional / 选填)
Issue 类别
问题修复(非功能问题:日志不规范,建议 1 分)
参赛信息
cann/hccl