已关闭
[Bug-Report|缺陷反馈]: matmul_v2_compress_dequant op_api 校验日志算子名 copy-paste 错误(MatmulUnzip 应为 MatmulCompressDequant) #5351
OpenGood_WeChat创建于 22 天前关闭于 17 天前
20 天前 将 yolic 设为负责人
yuning_chen
20 天前 评论:
20 天前 评论:
您好,感谢反馈,问题已收到,正在处理。


20 天前 将 void_ptr 设为负责人
17 天前 关闭了 issue
17 天前 添加了label:resolved
一、问题描述 (必填)
ops-nn 仓 matmul/matmul_v2_compress_dequant 算子 op_api 实现中,x1 shape 校验失败日志误用了
MatmulUnzip算子名(copy-paste 自 matmul_unzip 算子),实际本算子接口名为aclnnMatmulCompressDequant,误导排查。逐字证据:
matmul/matmul_v2_compress_dequant/op_host/op_api/aclnn_matmul_compress_dequant.cpp第 121-124 行:if (dimTensor1 != 2 || dimTensor2 != 1) { // ND format dims > 2 for x1 OP_LOGE(ACLNN_ERR_PARAM_INVALID, "MatmulUnzip not support x1 shape %s, x2 shape %s", op::ToString(x1Shape).GetString(), op::ToString(x2Shape).GetString()); return false;该文件对应的算子接口为
aclnnMatmulCompressDequant(同目录aclnn_matmul_compress_dequant.h第 21、24 行:@brief aclnnMatmulCompressDequant的第一段接口.../ACLNN_API aclnnStatus aclnnMatmulCompressDequantGetWorkspaceSize(...)),日志中的算子名应为MatmulCompressDequant(或本文件的apiName_变量)。二、环境信息 (可选)
三、重现步骤 (可选)
调用
aclnnMatmulCompressDequantGetWorkspaceSize,传入 x1 非 2 维或 x2 非 1 维的 shape,观察错误日志:文案为MatmulUnzip not support x1 shape ...。四、预期结果 (可选)
日志文案中的算子名与当前算子一致(MatmulCompressDequant)。
💡 备注(选填)
纯日志文案问题,无功能影响,共 1 处。