Merged
gmmweightnz weight多tensor放开校验到1024 #11848
gmmweightnz weight多tensor放开校验到1024 #11848
Merged
zhangzhizhuoAdd on Sep 11
zhangzhizhuo
zhangzhizhuoCollaborators
Sep 11

描述

修复 Ascend 950 上 GroupedMatmul WeightNz MX 全量化单多单场景的 TensorList 长度被限制为 128 的问题,支持最多 1024 个 weight tensor 及对应 scale。

  • op-api 仅放宽目标场景的 weight 长度校验,保留 x 和其他场景的原有校验。
  • op-host 为 GetTensorListSize 增加默认值为 128 的 maxCount 参数,仅目标场景传入 1024,并保留超长列表检测。

关联的Issue

https://gitcode.com/cann/ops-transformer/issues/5200

测试

二级冒烟,多tensor样例测试

文档更新

无。

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for zhangzhizhuo's contribution.)
zhangzhizhuozhangzhizhuoCollaborators
Sep 11 Created pull request, commit 71310363
CANN-robotCANN-robotCollaborators
Sep 11 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Sep 11 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
gmm ✅ Wei_NaChuan, kknan (2/2) ✅ Wei_NaChuan (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
Sep 11 Set chenkang30,juyangokok,monologue815,chaotang233,wuyi_huawei,chen-linxin4,jiang-lirui,Allan_Yu,liudan12,Wei_NaChuan,zhangshuoleiokok,shi-rui,cc-z,kdy18482276080,kknan,wenxin_fight,mabing1118,Julius47 as approver
CANN-robotCANN-robotCollaborators
Sep 11 Set chenkang30,juyangokok,monologue815,chaotang233,wuyi_huawei,chen-linxin4,jiang-lirui,Allan_Yu,liudan12,Wei_NaChuan,zhangshuoleiokok,shi-rui,cc-z,kdy18482276080,kknan,wenxin_fight,mabing1118,Julius47 as approver
zhangzhizhuozhangzhizhuoCollaborators
Sep 11 Modify description of pull request
zhangzhizhuo
zhangzhizhuoCollaborators
Sep 11 Comments:

compile

likedislike
zhangzhizhuozhangzhizhuoCollaborators
Sep 11 Pre merge succeeded (commit_id: 406bd8046e0d1bbdeb9782f58dba0a7f9267f836)
CANN-robot
CANN-robotCollaborators
Sep 11 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Sep 11 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 11 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 11 Added label: ci-pipeline-passed
weinachuan
weinachuanCollaborators
Sep 14 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Sep 14 Added label: approved
kknan
kknanCollaborators
Sep 15 Comments:

/lgtm

likedislike
CANN-robotCANN-robotCollaborators
Sep 15 Added label: lgtm
CANN-robotCANN-robotCollaborators
Sep 15 Removed label: ci-pipeline-passed
CANN-robot
CANN-robotCollaborators
Sep 15 Comments:

The following label is not ready.

ci-pipeline-passed: The ci-pipeline-passed label is expired as added over 72 hours. Please use /compile to recompile.

likedislike
zhangzhizhuo
zhangzhizhuoCollaborators
Sep 15 Comments:

compile

likedislike
zhangzhizhuozhangzhizhuoCollaborators
Sep 15 Pre merge succeeded (commit_id: ed9f808823800144698cd9049a0437b0e8e40ee0)
CANN-robot
CANN-robotCollaborators
Sep 15 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Sep 15 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 15 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 15 Added label: ci-pipeline-passed
CANN-robotCANN-robotCollaborators
Sep 15 Closed associated issue
CANN-robotCANN-robotCollaborators
Sep 15 Merged pull request