已合并
[fix]import_all_patch #35428
cuiduo创建于 5月12日
[fix]import_all_patch #35428
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 cuiduo 的贡献)ascend-robot
5月12日 评论:
5月12日 评论:
openLiBingCI
5月12日 评论:
5月12日 评论:
本PR中共发现代码检查告警抑制1处,请Committer检视合理性
本评论自动扫描PR中使用的开源代码检查工具(ruff、clang-tidy、CodeQL等)的屏蔽注释。
这些屏蔽注释会阻止开源代码检查工具对特定代码区域的检测,可能导致潜在问题被忽略。
| 文件路径 | 行号 | 屏蔽类型 | 代码片段 | 工具名称 |
|---|---|---|---|---|
| torch_npu/utils/_dynamo.py | 128 | 行级屏蔽 | 119: _loaded_backend: str | None = None 123: if cls._disabled_register: 126: current = os.getenv("TORCHINDUCTOR_NPU_BACKEND", "default") 127: if cls._loaded_backend != current: 128: import torch_npu._inductor # noqa:F401 130: cls._loaded_backend = current 142: return cls._loaded_backend is not None |
flake8 |


ascend-robot
5月12日 评论:
5月12日 评论:
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 |
|---|---|---|
| test | ✅ zichun_ye, adrian07110 (2/2) | ✅ zichun_ye, adrian07110 (2/1) |
| torch_npu/_inductor | ✅ adrian07110, zichun_ye (2/2) | ✅ zichun_ye, adrian07110 (2/1) |
| torch_npu/utils | ✅ zichun_ye, adrian07110 (2/2) | ✅ zichun_ye, adrian07110 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
cuiduo, thanks for your pull request. All authors of the commits have signed the CLA. 👍


5月12日 添加了label:ascend-cla/yes
此处折叠了69条消息 查看更多
openLiBingCI
5月13日 评论:
5月13日 评论:
本PR中共发现代码检查告警抑制1处,请Committer检视合理性
本评论自动扫描PR中使用的开源代码检查工具(ruff、clang-tidy、CodeQL等)的屏蔽注释。
这些屏蔽注释会阻止开源代码检查工具对特定代码区域的检测,可能导致潜在问题被忽略。
| 文件路径 | 行号 | 屏蔽类型 | 代码片段 | 工具名称 |
|---|---|---|---|---|
| torch_npu/utils/_dynamo.py | 128 | 行级屏蔽 | 119: _loaded_backend: str | None = None 123: if cls._disabled_register: 126: current = os.getenv("TORCHINDUCTOR_NPU_BACKEND", "default") 127: if cls._loaded_backend != current: 128: import torch_npu._inductor # noqa:F401 130: cls._loaded_backend = current 142: return cls._loaded_backend is not None 222: register_inductor_npu() |
flake8 |


ZhihaoLi
5月13日 评论:
5月13日 评论:
/approve


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


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