已关闭
[Bug-Report|缺陷反馈]: 算子日志问题整改(swi_glu 等 5 算子 7 处生产代码日志问题) #5232
AlfengYuan创建于 9 天前关闭于 9 天前
9 天前 添加了label:bug-report
9 天前 关联了pull request:ops 算子日志问题整改(swi_glu/group_norm 等 7 处日志修复)
9 天前 修改了issue 的描述
9 天前 将 alfengyuan 设为负责人
9 天前 修改了issue 的描述
9 天前 修改了issue 的描述
9 天前 关闭了 issue
9 天前 issue状态由 进行中 改变为 已完成
9 天前 添加了label:resolved
Describe the current behavior / 问题描述 (Mandatory / 必填)
CANN 日志质量测评(2026-08-27)发现以下 7 个算子存在日志质量问题(共 97 项),其中生产代码 7 处:
devide拼写错误应为divide;CalcOptBaseShape is invalid与Unsupported input data type两处级别/内容不匹配apiRet faild:%d中faild应为failedquant_mode=2魔鬼数字,无含义说明transpose?Dimension两句粘连Format only support ND、NCL...含全角顿号其余 90 处为测试代码问题(禁止自定义打印等),本次暂不处理。其中 sigmoid_cross_entropy_with_logits_v2、swiglu_group 的问题全部在测试代码。
Environment / 环境信息 (Mandatory / 必填)
activation/swi_glu、activation/swiglu_group_quant、matmul/sparse_tensor_dense_mat_mul、norm/group_norm、norm/group_norm_silu的 op_host/op_api/op_graphSteps to reproduce the issue / 重现步骤 (Mandatory / 必填)
cann-log-evaluation-report-20260827.xlsx)Describe the expected behavior / 预期结果 (Mandatory / 必填)
OP_LOGE)Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
cann-log-evaluation-report-20260827.xlsxSpecial notes for this issue/备注 (Optional / 选填)
本次整改范围(对应关联 PR):
devide→divide;Unsupported dtype改OP_LOGE(真实失败路径);is invalid保留 INFO 改中性回退文案faild→failedquant_mode=2补充(dynamic hifp8 quant)说明inner dimension→contraction dimension(避开内部敏感词inner)验证:7 处逐条核对修复;pre-commit + OAT 通过。修复提交:
75097bc8b。