Pull Request has been successfully merged by CANN-robot.
(Thank you for hongyiliu111's contribution.)变更摘要
该 PR 修复了 ConvBackwardInput(卷积反向输入)tiling 校验逻辑,改动集中在 framework/src/interface/operation/convbp_operation_impl.cpp。核心内容包括两处:一是修正 BpCheckL0TileTiling 中 kAlignL1 的计算方式,移除多余的 kh * kw 因子;二是在 BpCheckTileTiling 中新增对 tileKL1 的整除性校验,要求其能被 Cout0 * Hk * Wk 整除,并为此补充 kh、kw 的取值逻辑(含对 1D/3D 场景维度索引 indexH 的处理)。
主要改动
- 修正
kAlignL1计算:在BpCheckL0TileTiling中将kAlignL1由ConvAlignB(tileKL1, k0) * kh * kw改为ConvAlignB(tileKL1, k0),去掉了多余的kh * kw乘因子,使对齐后的 L1 tile 尺寸计算更准确。 - 新增
tileKL1整除性校验:在BpCheckTileTiling中增加CHECK,要求tileKL1 % (k0 * kh * kw) == 0,即tileKL1必须能被Cout0 * Hk * Wk(k0 * kh * kw)整除,否则以ExternalError::INVALID_VAL报错。 - 补充
kh/kw取值逻辑:为支撑上述校验,将indexW、win的声明下移,并新增对 1D/3D 卷积区分处理的indexH及kh、kw计算(1D 卷积时kh取 1,否则从weightTensor形状按维度索引读取)。


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 |
|---|---|---|
| framework/src/interface/operation | ✅ shi-dingkun, xinweiliu (2/2) | ✅ shi-dingkun (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
hongyiliu111, thanks for your pull request. All authors of the commits have signed the CLA. 👍


/compile


| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


/reject


| Time | Name | Result | Link |
|---|---|---|---|
| 2026-09-03 11:16:24 | Trigger_RDV | ✅ SUCCESS | HAVA#92035 |


| Time | Name | Result | Link |
|---|---|---|---|
| 2026-09-03 11:19:10 | RDV_Result | ❌ FAILURE | HAVA#92035 |


/lgtm


/approve


fix(interface): Fix ConvBackwardInput tileKL1 tiling validation
Changes: