已合并
LI&QLI&QSFA&SFA err msg fix #9198
jerry_ming创建于 7月27日
LI&QLI&QSFA&SFA err msg fix #9198
已合并
jerry_ming创建于 7月27日
jerry_ming成员
7月27日

描述

关联的Issue

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 jerry_ming 的贡献)
Jjerry_ming成员
7月27日 创建了 pull request,commit 7dbd1f07
atomgit-bot
atomgit-bot
7月27日 评论:

变更摘要

此 PR 主要对四个注意力相关算子中的错误提示信息进行了文本修正,统一了英文语法风格(如将斜杠分隔改为"or"连接、移除牛津逗号、修复缺少的逗号),并微调了部分日志输出的换行格式。这些改动不涉及任何业务逻辑、接口或行为变更,纯粹是错误消息的可读性优化。

主要改动

  • QSFATilingCheck::CheckFeatureMlaAntiquantLayoutSFATilingCheck::CheckFeatureMlaNoQuantLayout 错误消息修正:将 layoutQuery only supports BSND/TND 改为 layoutQuery only supports BSND or TND,使用更规范的英文表达替代斜杠分隔。

  • LIInfoParser::GetAndCheckInOutDataType 错误消息中移除牛津逗号:将多处 query, key, and weights 改为 query, key and weights,以及 The dtype of query, key, and weights must be same 改为 The dtype of query, key and weights must be same,统一为无牛津逗号的风格。

  • QLIInfoParser::ValidateInputShapesMatch 错误消息修复:一处补充了缺失的逗号("query actual_seq_lengths_key""query, actual_seq_lengths_key"),另一处移除了牛津逗号("query, weights, actual_seq_lengths_key, and sparse_indices""query, weights, actual_seq_lengths_key and sparse_indices")。

  • SFAInfoParser::GetRopeHeadDim 日志格式调整:将 OP_LOGE_FOR_INVALID_SHAPEDIMS_WITH_REASON 的调用参数格式由多行压缩为更紧凑的单行写法,语义不变。

likedislike
CANN-robotCANN-robot成员
7月27日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
7月27日 评论:

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
9.1.0 Andy-lb, wangzhe123456789 (2/2) Andy-lb (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

jerry_ming, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
7月27日 将monologue815,jiang-lirui,Allan_Yu,liudan12,jiangtao_rts,gitcode-chenjiao,hanxiaolong,mabing1118,gcw_kUomxQ2l,Andy-lb设为评审人
此处折叠了243条消息 查看更多
Andy-lb成员
23 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
23 天前 添加了label:approved
wangzhe123456789成员
23 天前 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
23 天前 添加了label:lgtm
CANN-robotCANN-robot成员
23 天前 合入了pull request