Merged
fix(operation): Bound FillPad padding to tile columns #6513
bynshardAdd on Sep 20
fix(operation): Bound FillPad padding to tile columns #6513
Merged
bynshardAdd on Sep 20
bynshard
bynshardCollaborators
Sep 20

FillPad 对共享 UB 缓冲区中的列分块处理错误,导致有效数据被清零,并可能越过目标缓冲区边界。
concat 结果的形状为 [16,128],vector tile 配置为 [16,80],因此 FillPad 被拆分为前 80 列和后 48 列两个分块。两个分块保留父缓冲区的物理行步长 128。原 TFillPad 封装直接使用 layout 中的静态宽度 128 构造 PTO Tile。底层 TFILLPAD_EXPAND 会将输入有效列之外的区域补到该静态宽度,而不是限制在当前分块的 80/48 列范围内。

Related Issue:
https://gitcode.com/cann/pypto/issues/3387

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for bynshard's contribution.)
bynshardbynshardCollaborators
Sep 20 Created pull request, commit 35ba29ea
bynshardbynshardCollaborators
Sep 20 Associated issue: [Bug-Report|缺陷反馈]: fillpad layout不一致导致精度问题
CANN-robotCANN-robotCollaborators
Sep 20 Added label: cann-cla/yes
bynshard
bynshardCollaborators
Sep 20 Comments:

compile

likedislike
bynshardbynshardCollaborators
Sep 20 Pre merge succeeded (commit_id: 8fd0505e5a23e75634e6709b1d0b3fb407906e05)
CANN-robot
CANN-robotCollaborators
Sep 20 Comments:

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/codegen ✅ 尹杰, 林嘉树 (2/2) ✅ 尹杰 (1/1)
framework/src/interface/tileop/vector ✅ 尹杰, 林嘉树 (2/2) ✅ 尹杰 (1/1)
repo-cann/pypto ✅ 尹杰, 林嘉树 (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-robotCollaborators
Sep 20 Comments:

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
Sep 20 Set xinweiliu,cam_bxh,dai-zhentao,lululu40888,shi-dingkun,gguuaanngg,codehjp423,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,hw_zhangzhiqi,yinjie27_,congqiannan,zhangyuebing,tsungl4,gaoxingwang,zhiweiyuan,caodongdong,make_pto,zhoubotcam,linjiashu,wangbing110,WenboCodes as approver
CANN-robotCANN-robotCollaborators
Sep 20 Set xinweiliu,cam_bxh,dai-zhentao,lululu40888,shi-dingkun,gguuaanngg,codehjp423,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,hw_zhangzhiqi,yinjie27_,congqiannan,zhangyuebing,tsungl4,gaoxingwang,zhiweiyuan,caodongdong,make_pto,zhoubotcam,linjiashu,wangbing110,WenboCodes as approver
CANN-robot
CANN-robotCollaborators
Sep 20 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Sep 20 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 20 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 20 Added label: ci-pipeline-passed
linjiashu
linjiashuCollaborators
Sep 20 Comments:

/lgtm

likedislike
Jie Yin
Jie YinCollaborators
Sep 20 Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
Sep 20 Added label: lgtmapproved
CANN-robotCANN-robotCollaborators
Sep 20 Merged pull request