Merged
refactor(pass): Hide enable_slice from Python side #6516
zhaosenqiuAdd on Sep 20
refactor(pass): Hide enable_slice from Python side #6516
Merged
zhaosenqiuAdd on Sep 20
zhaosenqiu
zhaosenqiuCollaborators
Sep 20

refactor(pass): Hide enable_slice from Python side

enable_slice is a debug-only switch for the 9.2.0 commercial release
and must not be visible or configurable from outside.

Changes:

  • Hide enable_slice from Python side and config files
  • Remove enable_slice usage from tests and examples

Related Issues: #3390

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for zhaosenqiu's contribution.)
zhaosenqiuzhaosenqiuCollaborators
Sep 20 Created pull request, commit ebf4b755
zhaosenqiuzhaosenqiuCollaborators
Sep 20 Associated issue: [Task|任务跟踪]: 商分中Pass侧enable_slice开关不对外可见
CANN-robotCANN-robotCollaborators
Sep 20 Added label: stat/needs-squash
CANN-robotCANN-robotCollaborators
Sep 20 Added label: cann-cla/yes
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
conftest.py ✅ 尹杰, tsungl4 (2/2) ✅ 尹杰 (1/1)
docs ✅ 尹杰, tsungl4 (2/2) ✅ 尹杰 (1/1)
examples ✅ 尹杰, tsungl4 (2/2) ✅ 尹杰 (1/1)
framework/src/interface/configs ✅ tsungl4, 尹杰 (2/2) ✅ tsungl4, 尹杰 (2/1)
repo-cann/pypto ✅ tsungl4, 尹杰 (2/2) ✅ tsungl4, 尹杰 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
Sep 20 Set xinweiliu,lyz0328,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
10 event messages are collapsed here。 See more
CANN-robotCANN-robotCollaborators
Sep 20 Added label: cann-cla/yes
zhaosenqiu
zhaosenqiuCollaborators
Sep 20 Comments:

compile

likedislike
zhaosenqiuzhaosenqiuCollaborators
Sep 20 Pre merge succeeded (commit_id: 5af2c82f6b6fc4b5bea9f8b59a35a7aaf8a148d2)
CANN-robot
CANN-robotCollaborators
Sep 20 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Sep 20 Added label: ci-pipeline-running
11 event messages are collapsed here。 See more
CANN-robotCANN-robotCollaborators
Sep 20 Added label: cann-cla/yes
zhaosenqiu
zhaosenqiuCollaborators
Sep 20 Comments:

compile

likedislike
zhaosenqiuzhaosenqiuCollaborators
Sep 20 Pre merge succeeded (commit_id: 935aa1099cf65ec9232596a478c30e1bc8266e63)
CANN-robot
CANN-robotCollaborators
Sep 20 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Sep 20 Removed label: ci-pipeline-failed
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
zhangxiangjie
zhangxiangjieCollaborators
Sep 20 Comments:

lgtm

likedislike
lidongsheng
lidongshengCollaborators
Sep 20 Comments:

/approve
/lgtm

likedislike
Jie Yin
Jie YinCollaborators
Sep 21 Comments:

/approve

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