已合并
fix: 修复QBMM伪量化场景空tensor提前返回路径误触发(合入9.1.0分支) #6208
zhoushaolong创建于 6月17日
fix: 修复QBMM伪量化场景空tensor提前返回路径误触发(合入9.1.0分支) #6208
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhoushaolong 的贡献)6月17日 创建了 pull request,commit 1488a9e8
6月17日 关联了issue:[Bug-Report|缺陷反馈]: QBMM伪量化场景空tensor提前返回路径误触发
6月17日 添加了label:cann-cla/yes
CANN-robot
6月17日 评论:
6月17日 评论:
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 | ✅ 蔡雯雯, 周文芳, 范其瑞 (3/2) | ✅ 蔡雯雯 (1/1) |
| matmul | ✅ 范其瑞, 王子韬 (2/2) | ✅ 范其瑞 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
zhoushaolong, thanks for your pull request. All authors of the commits have signed the CLA. 👍


zhoushaolong
6月17日 评论:
6月17日 评论:
compile


6月17日 update merge request[project id: 7665709, iid: 6208, commit_id: d4828b0c614c250b77843c837e63c9ae8286b584] virtual merging success
6月17日 update merge request[project id: 7665709, iid: 6208, commit_id: d4828b0c614c250b77843c837e63c9ae8286b584] virtual merging success
6月17日 添加了label:ci-pipeline-running
CANN-robot
6月17日 评论:
6月17日 评论:
流水线任务触发成功
任务链接 [515ea06de2654d85ae7273b48a937721][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| 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-17 17:21:21] CI执行结束


CANN-robot
6月17日 评论:
6月17日 评论:
流水线任务触发成功
任务链接 [9b26f8f3b0e14e7dbacb5983e76df1c6][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| 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-17 17:16:32] CI执行结束


6月17日 删除了label:ci-pipeline-running
6月17日 添加了label:ci-pipeline-passed
wangzitao
6月18日 评论:
6月18日 评论:
/lgtm


zhouwenfang
6月18日 评论:
6月18日 评论:
/lgtm


范其瑞
6月18日 评论:
6月18日 评论:
/lgtm
/approve


6月18日 添加了label:lgtmapproved
6月18日 合入了pull request
描述
修复QuantBatchMatmul系列算子在DAV_3510伪量化场景下空tensor提前返回路径误触发的问题。
在DAV_3510平台上,原实现对x1维度m=0或x2维度n=0的情况统一走空tensor提前返回路径,但伪量化场景(A8W4F/A8W4I)不应触发该路径,导致伪量化场景下输入空tensor时结果不正确。
改动方法:
关联的Issue
#3344
测试
验证伪量化场景下空tensor输入不再触发提前返回路径,全量化场景下空tensor输入行为保持不变。
文档更新
更新了aclnnQuantMatmulV3.md、aclnnQuantMatmulV4.md、aclnnQuantMatmulV5.md三份接口文档,补充全量化场景下限定条件。
类型标签