已合并
fix: lintrunner --all-files --take NEWLINE -a #35871
Jingwei Huang创建于 5月17日
fix: lintrunner --all-files --take NEWLINE -a #35871
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 Jingwei Huang 的贡献)5月17日 创建了 pull request,commit 070171ba
ascend-robot
5月17日 评论:
5月17日 评论:
torch_npu/npu/amp/__init__.py
@@ -6,0 +2,3 @@
2+ "autocast", "GradScaler", "custom_fwd", "custom_bwd"
3+]
4+
5+from .autocast_mode import autocast, custom_fwd, custom_bwd # noqa: F401
【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:flake8,请Committer检视其合理性。


torch_npu/npu/amp/autocast_mode.py
@@ -98,0 +12,5 @@
12+ HAS_NUMPY = True
13+except ModuleNotFoundError:
14+ np = None # type: ignore[assignment]
15+
16+import torch
17+import torch_npu
【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:mypy,请Committer检视其合理性。


ascend-robot
5月17日 评论:
5月17日 评论:
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/pytorch | ✅ renyujin, 李伟, liangsongwei (3/3) | ✅ 李伟 (1/1) |
| test | ✅ 李伟, liangsongwei, renyujin (3/3) | ✅ 李伟 (1/1) |
| torch_npu/_inductor | ✅ 李伟, liangsongwei, renyujin (3/3) | ✅ 李伟 (1/1) |
| torch_npu/csrc/distributed | ✅ 李伟, liangsongwei, renyujin (3/3) | ✅ 李伟 (1/1) |
| torch_npu/distributed | ✅ liangsongwei, renyujin, 李伟 (3/3) | ✅ 李伟 (1/1) |
| torch_npu/dynamo | ✅ 李伟, liangsongwei, renyujin (3/3) | ✅ 李伟 (1/1) |
| torch_npu/npu | ✅ 李伟, liangsongwei, renyujin (3/3) | ✅ 李伟 (1/1) |
| torch_npu/utils | ✅ 李伟, liangsongwei, renyujin (3/3) | ✅ 李伟 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
huangjingwei, thanks for your pull request. All authors of the commits have signed the CLA. 👍


此处折叠了77条消息 查看更多
5月18日 添加了label:approved
梁松伟
5月18日 评论:
5月18日 评论:
/lgtm


5月18日 添加了label:lgtm
ascend-robot
5月18日 评论:
5月18日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: 李伟.
Reviewers who wrote a comment of /lgtm are: liangsongwei, 李伟, renyujin.


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