已合并
aclnnaddlayernormquantv2修改约束 #6291
zhaosusu创建于 6月18日
aclnnaddlayernormquantv2修改约束 #6291
已合并
zhaosusu创建于 6月18日
zhaosusu
6月18日

描述

aclnnaddlayernormquantv2修改约束,取消scales,zeropoint输入shape校验

关联的Issue

#3422

测试

文档更新

更新资料aclnnAddLayerNormQuantV2.md

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhaosusu 的贡献)
Zzhaosusu
6月18日 创建了 pull request,commit 4e3e7d1d
Zzhaosusu
6月18日 关联了issue:[Bug-Report|缺陷反馈]: addlayernormquant增加支持scale的shape为[1]
CANN-robotCANN-robot成员
6月18日 添加了label:cann-cla/yes
zhaosusu
6月18日 评论:

compile

likedislike
Zzhaosusu
6月18日 update merge request[project id: 7665709, iid: 6291, commit_id: 1db8a2139cb5b2ba890b9c3c36f5c566dbba9f62] virtual merging success
CANN-robot
CANN-robot成员
6月18日 评论:

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


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
*/*/docs/acl*.md 杜慧萍, 周文芳 (2/2) 杜慧萍 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robot成员
6月18日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
6月18日 评论:

流水线任务触发成功
任务链接 [66e3b64336924ba996e55cab68fec1bc][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
Compile_Pre ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-06-18 17:45:37]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
6月18日 评论:

流水线任务触发成功
任务链接 [4334500cebc340c58c2f59065cb2efc3][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_style ✅ SUCCESS >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>
SCA ✅ SUCCESS >>>>>

[2026-06-18 17:42:11]    CI执行结束

likedislike
CANN-robotCANN-robot成员
6月18日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6月18日 添加了label:ci-pipeline-passed
atomgit-bot
atomgit-bot
6月18日 评论:

变更摘要

本 PR 对 aclnnAddLayerNormQuantV2.md 文档进行约束修改:取消了关于可选输入 scales1Optionalscales2OptionalzeroPoints1OptionalzeroPoints2Optional 的 shape 校验约束,即不再要求这些可选输入存在时其 shape 必须与 gamma 的 shape 相异。此变更属于 Bug 修复,关联 Issue #3422。

主要改动

  • 移除 scales/zeroPoints 输入 shape 约束: 原文档要求当 scales1Optionalscales2OptionalzeroPoints1OptionalzeroPoints2Optional 可选输入存在时,它们的 shape 与 gamma 相异;修改后该约束被取消,仅保留 gammabeta 的 shape 不相同的约束。
likedislike
atomgit-bot
atomgit-bot
6月18日 评论:

代码审查

✅ 未发现问题

likedislike
Chen_HaoWen成员
6月22日 评论:

/approve

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

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

likedislike
gitee-duhuiping成员
6月22日 评论:

/approve

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

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

likedislike
CANN-robotCANN-robot成员
6月22日 添加了label:approved
zhouwenfang
zhouwenfang成员
6月22日 评论:

/lgtm

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

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

likedislike
CANN-robotCANN-robot成员
6月22日 添加了label:lgtm
CANN-robotCANN-robot成员
6月22日 删除了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
6月22日 评论:

The following label is not ready.

ci-pipeline-passed: The ci-pipeline-passed label is expired. Please compile again.

likedislike
zhaosusu
6月22日 评论:

compile

likedislike
Zzhaosusu
6月22日 update merge request[project id: 7665709, iid: 6291, commit_id: 2b15d62c3b9edbcf671d78282c27eec083a285d3] virtual merging success
CANN-robotCANN-robot成员
6月22日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
6月22日 评论:

流水线任务触发成功
任务链接 [5a3a421c8eca4348897530b465036f9e][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
Compile_Pre ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-06-22 10:58:59]    CI执行结束

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

流水线任务触发成功
任务链接 [316c0e4e61fc4b1a90638de61b1f4981][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_style ✅ SUCCESS >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>
SCA ✅ SUCCESS >>>>>

[2026-06-22 10:50:18]    CI执行结束

likedislike
CANN-robotCANN-robot成员
6月22日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6月22日 添加了label:ci-pipeline-passed
CANN-robotCANN-robot成员
6月22日 合入了pull request