Pull Request已成功合入, 合并人@CANN-robot
(感谢 jerry_ming 的贡献)变更摘要
此 PR 主要对四个注意力相关算子中的错误提示信息进行了文本修正,统一了英文语法风格(如将斜杠分隔改为"or"连接、移除牛津逗号、修复缺少的逗号),并微调了部分日志输出的换行格式。这些改动不涉及任何业务逻辑、接口或行为变更,纯粹是错误消息的可读性优化。
主要改动
-
QSFATilingCheck::CheckFeatureMlaAntiquantLayout与SFATilingCheck::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的调用参数格式由多行压缩为更紧凑的单行写法,语义不变。


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
/approveor/lgtm- Commenting
/approveimplies 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. 👍


/lgtm


描述
关联的Issue
测试
文档更新
类型标签