已合并
feat: add new api (add)rms_norm_dynamic_mx_quant #4429
刘琦创建于 3月11日
feat: add new api (add)rms_norm_dynamic_mx_quant #4429
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 刘琦 的贡献)AtlasAccount
3月11日 评论:
3月11日 评论:
ascend-robot
3月11日 评论:
3月11日 评论:
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 |
|---|---|---|
| repo-Ascend/op-plugin | ✅ yang-binrong, wuyi_huawei, shen_weiling (3/2) | ✅ yang-binrong (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
liiu-qii, thanks for your pull request. All authors of the commits have signed the CLA. 👍


3月11日 添加了label:ascend-cla/yes
op_plugin/ops/opapi/RmsNormDynamicMxQuantKernelNpuOpApi.cpp
已过期
@@ -0,0 +42,4 @@
42+ at::Tensor rstd;
43+
44+ // check params
45+ TORCH_CHECK(x.dim() >= MIN_INPUT_DIM && x.dim() <= MAX_INPUT_DIM, "The x1 should be in 1~7D" + OPS_ERROR(ErrCode::PARAM));
代码质量: 错误信息字符串拼接中使用了"The x1 should be in 1~7D",但参数名是x,不是x1。这可能导致错误信息与实际情况不符,给调试带来困惑。
问题类型: 代码质量
文件路径:
op_plugin/ops/opapi/RmsNormDynamicMxQuantKernelNpuOpApi.cpp行号: 45
问题代码:
TORCH_CHECK(x.dim() >= MIN_INPUT_DIM && x.dim() <= MAX_INPUT_DIM, "The x1 should be in 1~7D" + OPS_ERROR(ErrCode::PARAM));
修改建议:
将错误信息中的"x1"改为"x",以与实际参数名一致:"The x should be in 1~7D"。
---
此评论由代码审查工具自动生成
此评论由代码审查工具自动生成


此处折叠了127条消息 查看更多
3月25日 添加了label:lgtm
yang-binrong
3月26日 评论:
3月26日 评论:
/approve


3月26日 添加了label:approved
ascend-robot
3月26日 评论:
3月26日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: yang-binrong.
Reviewers who wrote a comment of /lgtm are: yang-binrong, wuyi_huawei, shen_weiling.


3月26日 合入了pull request
【合入来源】
【修改方案】
【资料变更】
【接口变更】
【功能验证】
【CheckList】