已关闭
[Bug-Report|缺陷反馈]: DynamicMxQuant算子量化轴-1轴,尾轴大小为32,但BlockSize大于32时存在TilingKey不存在的错误 #1943
pyongq创建于  4月3日关闭于  4月3日
pyongq
pyongq
4月3日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

DynamicMxQuant算子量化轴-1轴,尾轴大小为32,但BlockSize大于32时,Tiling计算会计算出1151的TilingKey,但是Kernel没有这个模板了,就会报TilingKey不存在的错误

Environment / 环境信息 (Mandatory / 必填)

Ascend950

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

用例,量化轴为-1轴,输入数据x尾轴大小等于32,量化粒度blockSize>32时,必现

Describe the expected behavior / 预期结果 (Mandatory / 必填)

用例,量化轴为-1轴,输入数据x尾轴大小等于32,量化粒度blockSize>32时,必现
期望没有报错,正常走入量化轴为-1轴,blockSize=32的模板

[2026/04/03 08:01:11] [INFO]-run_single.py:1455 - aclnnDynamicMxQuant,aclnnDynamicMxQuant_aclnnDynamicMxQuant_fp16_ND_random_000204,1775203271,npuError,NPUFail,161002,0.0,no_bound,,1.0,"[[32, 5, 32]]","['fp16']","['ND']","[[-1000, -10]]","{'dst_type': 41, 'axis': -1, 'round_mode': 'round', 'blocksize': 448, 'scale_alg': 0}","[[2560], [32, 5, 1, 2]]","['float4_e1m2', 'float8_e8m0']","None","[]",N/A,"None","None",None,"16777728",17,"","",,,,"",,,,,[PID: 741575] 2026-04-03-08:01:07.150.630 AclNN_Parameter_Error(EZ1001): Check NnopbaseExecutorGetCoreTypeAndTaskRation(executor, coreType, taskRation) failed
TraceBack (most recent call last):
OP [DynamicMxQuant] not find tilingKey[1151].
Check NnopbaseExecutorGetCoreTypeAndTaskRation(executor, coreType, taskRation) failed
Check NnopbaseExecutorKernelLaunch(executor, stream) failed
Check NnopbaseRunWithWorkspace(executor, stream, workspace, workspaceSize) failed,,,Pass,,,

Special notes for this issue/备注 (Optional / 选填)

likedislike
pyongq
pyongq
4月3日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
4月3日 将 pyq17870581669 设为负责人
CANN-robotCANN-robot成员
4月3日 关闭了 issue
CANN-robotCANN-robot成员
4月3日 添加了label:resolved