已合并
fix(operation): Conv3D adds a new tileCin check item #6594
luyakun_hw创建于 9月21日
fix(operation): Conv3D adds a new tileCin check item #6594
已合并
luyakun_hw创建于 9月21日
luyakun_hw
luyakun_hw
9月21日

1、新增Conv3D约束,tileCinFmap和tileCinWeight需要是cin的因子
2、docs/zh/api/tensor_api/config/pypto-set_conv_tile_shapes.md文档增加约束描述

https://gitcode.com/cann/pypto/issues/3407

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 luyakun_hw 的贡献)
luyakun_hwluyakun_hw
9月21日 创建了 pull request,commit 5b35b310
luyakun_hwluyakun_hw
9月21日 关联了issue:[Bug-Report|缺陷反馈]: Conv3d用例当tileCinFmap/weight不是cin的因子时有精度问题
atomgit-bot
atomgit-bot
9月21日 评论:

变更摘要

本 PR 针对 Conv3D 场景补充了新的切分约束校验:在 CheckTileTiling 流程中,当 attrParam.isConv3D 成立时,新增对 tileCinFmap 与 tileCinWeight 的可整除性检查,要求二者能够整除 cin(以 ConvAlignB(cinWeight, k0) 对齐后的结果为准)。同时按 PR 描述,相关约束说明被补充到 docs/zh/api/tensor_api/config/pypto-set_conv_tile_shapes.md 文档中。

主要改动

  • 新增 Conv3D 分支校验: 在 conv_utils.cpp 的 CheckTileTiling 中增加 if (attrParam.isConv3D) 分支,使该组约束仅在 Conv3D 场景下生效。
  • tileCinFmap 可整除性检查: 调用 CheckDivisible(ConvAlignB(cinWeight, k0), tileCinFmap, "cin", "tileCinFmap"),校验 tileCinFmap 是 cin 的因子。
  • tileCinWeight 可整除性检查: 调用 CheckDivisible(ConvAlignB(cinWeight, k0), tileCinWeight, "cin", "tileCinWeight"),校验 tileCinWeight 是 cin 的因子。
  • 文档同步更新: 按 PR 描述,在 pypto-set_conv_tile_shapes.md 中补充对应的 Conv3D 约束说明。
likedislike
不准确?
atomgit-bot
atomgit-bot
9月21日 评论:

代码审查

✅ 未发现问题

likedislike
不准确?
CANN-robotCANN-robot成员
9月21日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
9月21日 评论:

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
9.2.0 ✅ 陈娇, dai-zhentao (2/2) ✅ 陈娇 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robot
CANN-robot成员
9月21日 评论:

CLA Signature Pass

luyakun_hw, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
9月21日 将xinweiliu,lyz0328,cam_bxh,dai-zhentao,TianXL,lululu40888,shi-dingkun,gguuaanngg,codehjp423,jiangtao_rts,gitcode-chenjiao,hanxiaolong,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,hw_zhangzhiqi,yinjie27_,congqiannan,zhangyuebing,tsungl4,gaoxingwang,zhiweiyuan,caodongdong,make_pto,zhoubotcam,linjiashu,wangbing110,gcw_kUomxQ2l,Andy-lb,WenboCodes设为评审人
CANN-robotCANN-robot成员
9月21日 将TianXL,jiangtao_rts,gitcode-chenjiao,hanxiaolong,gcw_kUomxQ2l,Andy-lb设为审查人
luyakun_hw
luyakun_hw
9月21日 评论:

compile

likedislike
luyakun_hwluyakun_hw
9月21日 预合并成功(commit_id: 246bfe88ffabb2bcd26400b66ae8f7ec5a9e38a4)
CANN-robot
CANN-robot成员
9月21日 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
9月21日 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
9月21日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
9月21日 添加了label:ci-pipeline-passed
lileizheng
lileizheng
9月21日 评论:

/reject

likedislike
conv2d_ci
conv2d_ci
9月21日 评论:
pipeline history
TimeNameResultLink
2026-09-21 20:06:37Start_PipelineMR_21
likedislike
xinweiliu
xinweiliu成员
9月22日 评论:

/approve

likedislike
dai-zhentao
dai-zhentao成员
9月22日 评论:

/lgtm

likedislike
chenjiao
chenjiao成员
9月22日 评论:

/approve

likedislike
CANN-robot
CANN-robot成员
9月22日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
/approve: xinweiliu

likedislike
CANN-robotCANN-robot成员
9月22日 添加了label:lgtmapproved
CANN-robotCANN-robot成员
9月22日 关闭了关联的issue
CANN-robotCANN-robot成员
9月22日 合入了pull request