已关闭
[Bug-Report|缺陷反馈]: hash 算子日志问题整改(6 处生产代码日志问题) #5229
AlfengYuan创建于 10 天前关闭于 10 天前
10 天前 添加了label:bug-report
10 天前 关联了pull request:hash 算子日志问题整改(打印变量修正 + 文案语法)
10 天前 将 alfengyuan 设为负责人
10 天前 关闭了 issue
10 天前 issue状态由 进行中 改变为 已完成
10 天前 添加了label:resolved
Describe the current behavior / 问题描述 (Mandatory / 必填)
CANN 日志质量测评(2026-08-27)发现 ops-nn/hash 目录存在 6 处生产代码日志质量问题(严重 2 / 一般 4):
embedding_hash_table_apply_adam_w_infershape.cpp:检查bucketSize < 0,但日志误打印embeddingDimembedding_hash_table_import_infershape.cpp:检查keysDtype != DT_INT64,但日志误打印bucketSizesDtypemust in the缺系动词 be;ub size less than ... Size缺谓语且 Size 重复;is begin/is end动词形式错误Environment / 环境信息 (Mandatory / 必填)
hash/*/op_host(arch35 tiling、infershape)路径Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
cann-log-evaluation-report-20260827.xlsx)hash目录问题明细(6 处生产代码问题 + 21 处测试提示问题)Describe the expected behavior / 预期结果 (Mandatory / 必填)
bucketSize/keysDtype)must be in/is less than/begins/ends)Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
cann-log-evaluation-report-20260827.xlsxSpecial notes for this issue/备注 (Optional / 选填)
本次整改范围(对应关联 PR):
embeddingDim→bucketSize、bucketSizesDtype→keysDtypemust be in、is less than(去重复 Size)、begins/ends验证:6 处逐条核对修复;pre-commit + OAT 通过。修复提交:
2e61c7907。