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


黄建波
18 天前 评论:
18 天前 评论:
@dubai712 您好,该问题已合入,PR链接: https://gitcode.com/cann/hccl/pull/2627


18 天前 issue状态由 进行中 改变为 已完成
18 天前 关闭了 issue
18 天前 将 muzhiyu6 设为负责人
18 天前 移除了负责人 dubai712
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
InsV2AllReduceSequence2DieExecutor::RoundUp()在除数为 0 时返回原始被除数并记录 WARNING,但日志前缀错误地使用了另一个模板类InsTempAllReduceMesh1DTwoShot:u64 InsV2AllReduceSequence2DieExecutor<...>::RoundUp( const u64 dividend, const u64 divisor) const { if (divisor == 0) { HCCL_WARNING("[InsTempAllReduceMesh1DTwoShot][RoundUp] divisor is 0."); return dividend; } return (dividend + divisor - 1) / divisor; }问题位置:
src/ops/all_reduce/executor/ins_v2_allreduce_sequence2die_executor.cc:143-1502c87cc1937bab23b8574ef24017c03572d3340e2(2026-07-09)函数限定名明确属于
InsV2AllReduceSequence2DieExecutor,同文件的CalcRes、Orchestrate等日志也使用该 executor 前缀。InsTempAllReduceMesh1DTwoShot在此文件中仅出现于这一条警告,可确认是从其他实现复制后未更新的日志前缀。一旦边界条件触发,日志会把 Sequence2Die executor 的切片计算问题归到 Mesh1DTwoShot 模板,误导故障定位。
Environment / 环境信息 (Mandatory / 必填)
cann/hcclcompetition/campus-20262c87cc1937bab23b8574ef24017c03572d3340e2Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
src/ops/all_reduce/executor/ins_v2_allreduce_sequence2die_executor.cc。InsV2AllReduceSequence2DieExecutor::RoundUp()。divisor == 0分支中的HCCL_WARNING。InsTempAllReduceMesh1DTwoShot前缀。rg -n -C 6 'InsTempAllReduceMesh1DTwoShot' \ src/ops/all_reduce/executor/ins_v2_allreduce_sequence2die_executor.ccDescribe the expected behavior / 预期结果 (Mandatory / 必填)
警告应使用当前 executor 和函数名称:
HCCL_WARNING("[InsV2AllReduceSequence2DieExecutor][RoundUp] divisor is 0.");修复只替换日志前缀,不改变除数为零时的既有返回策略。
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
当前日志:
预期日志:
本问题为日志模块归属错误,不涉及 UI,无需截图或运行日志。
Special notes for this issue/备注 (Optional / 选填)
Issue 类别
问题修复(非功能问题:日志不规范,建议 1 分)
参赛信息
cann/hccl