| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Fix] Fix static check errors detected by SPACES Co-authored-by: huangjingwei<huangjingwei4@huawei.com> # message auto-generated for no-merge-commit merge: !35981 merge master_lintrunner into master [Fix] Fix static check errors detected by SPACES Created-by: huangjingwei Commit-by: huangjingwei Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 检测和删除代码中的行尾空白字符 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 不涉及 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!35981 | 4 个月前 | |
[Fix] Fix static check errors detected by SPACES Co-authored-by: huangjingwei<huangjingwei4@huawei.com> # message auto-generated for no-merge-commit merge: !35981 merge master_lintrunner into master [Fix] Fix static check errors detected by SPACES Created-by: huangjingwei Commit-by: huangjingwei Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 检测和删除代码中的行尾空白字符 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 不涉及 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!35981 | 4 个月前 | |
skip ci failed testcase Co-authored-by: XianglongZeng<zengxianglong1@huawei.com> # message auto-generated for no-merge-commit merge: !36488 merge master into master skip ci failed testcase Created-by: probiotics_53 Commit-by: XianglongZeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 ### 1. allocator/test_pluggable_allocator_extensions.py — TestPluggableAllocator.setUpClass **报错日志:** acl.cpp:1:10: fatal error: acl/acl.h: No such file or directory 1 | #include "acl/acl.h" | ^~~~~~~~~~~ compilation terminated. acl_op_compiler.cpp:1:10: fatal error: acl/acl_op_compiler.h: No such file or directory 1 | #include "acl/acl_op_compiler.h" | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. acl_tdt.cpp:1:10: fatal error: acl/acl.h: No such file or directory 1 | #include "acl/acl.h" | ^~~~~~~~~~~ compilation terminated. In file included from pluggable_allocator_extensions.cpp:5: torch_npu/include/third_party/acl/inc/acl/acl_base.h:14:10: fatal error: acl/acl_base_rt.h: No such file or directory 14 | #include "acl/acl_base_rt.h" | ^~~~~~~~~~~~~~~~~~~ subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '16']' returned non-zero exit status 1. RuntimeError: Error building extension 'pluggable_allocator_extensions' **报错原因:** CI 环境缺少 ACL 开发头文件(acl/acl_base_rt.h、acl/acl.h、acl/acl_op_compiler.h),导致 setUpClass 中 JIT 编译 C++ 扩展 pluggable_allocator_extensions 失败。与 0D tensor 修改**无关**。 **跳过方式:** 在 TestPluggableAllocator 类上添加 @unittest.skip 装饰器。 --- ### 2. test_npu_expandable_segments.py — TestPluggableAllocator.setUpClass **报错日志:** acl.cpp:1:10: fatal error: acl/acl.h: No such file or directory 1 | #include "acl/acl.h" | ^~~~~~~~~~~ compilation terminated. acl_op_compiler.cpp:1:10: fatal error: acl/acl_op_compiler.h: No such file or directory 1 | #include "acl/acl_op_compiler.h" | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. acl_tdt.cpp:1:10: fatal error: acl/acl.h: No such file or directory 1 | #include "acl/acl.h" | ^~~~~~~~~~~ compilation terminated. In file included from pluggable_allocator_extensions.cpp:5: torch_npu/include/third_party/acl/inc/acl/acl_base.h:14:10: fatal error: acl/acl_base_rt.h: No such file or directory 14 | #include "acl/acl_base_rt.h" | ^~~~~~~~~~~~~~~~~~~ subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '16']' returned non-zero exit status 1. RuntimeError: Error building extension 'pluggable_allocator_extensions' **报错原因:** 与用例 1 完全相同,CI 环境缺少 ACL 头文件,JIT 编译失败。与 0D tensor 修改**无关**。 **跳过方式:** 在 TestPluggableAllocator 类上添加 @unittest.skip 装饰器。 --- ### 3. test_sanitizer_pluggable_allocator.py — TestSanitizerPluggableAllocator.setUpClass **报错日志:** acl.cpp:1:10: fatal error: acl/acl.h: No such file or directory 1 | #include "acl/acl.h" | ^~~~~~~~~~~ compilation terminated. acl_op_compiler.cpp:1:10: fatal error: acl/acl_op_compiler.h: No such file or directory 1 | #include "acl/acl_op_compiler.h" | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. acl_tdt.cpp:1:10: fatal error: acl/acl.h: No such file or directory 1 | #include "acl/acl.h" | ^~~~~~~~~~~ compilation terminated. In file included from pluggable_allocator_extensions.cpp:5: torch_npu/include/third_party/acl/inc/acl/acl_base.h:14:10: fatal error: acl/acl_base_rt.h: No such file or directory 14 | #include "acl/acl_base_rt.h" | ^~~~~~~~~~~~~~~~~~~ subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '16']' returned non-zero exit status 1. RuntimeError: Error building extension 'sanitizer_pluggable_allocator_extensions' **报错原因:** 与用例 1、2 完全相同,CI 环境缺少 ACL 头文件,JIT 编译失败。与 0D tensor 修改**无关**。 **跳过方式:** 在 TestSanitizerPluggableAllocator 类上添加 @unittest.skip 装饰器。 ### 4. distributed/pipelining/test_schedule_multiproc.py — CustomSchedulesTest + ScheduleTest **报错日志(CustomSchedulesTest):** RuntimeError: Exception in worker process: ... File "test_schedule_multiproc.py", line 939, in test_non_symmetric_stage_ids out = schedule.step(x, target=target, losses=losses) File "schedules.py", line 1554, in step self._step_microbatches(...) File "schedules.py", line 1579, in _step_microbatches self._initialize_stages(arg_mbs[0], kwarg_mbs[0]) File "schedules.py", line 1461, in _initialize_stages _wait_batch_p2p(_batch_p2p(all_ops)) File "schedules.py", line 490, in _batch_p2p return dist.batch_isend_irecv(p2p_ops) File "torch_npu/distributed/distributed_c10d.py", line 119, in _batch_isend_irecv p2p_op.op( File "distributed_c10d.py", line 2419, in isend return group.send([tensor], group_dst, tag) RuntimeError: create_config:../torch_npu/csrc/distributed/HCCLUtils.cpp:140 HCCL function error: hcclCommInitRootInfoConfig(...), error code is 1 [ERROR] ERR02200 DIST call hccl api failed. [PID: 38352] Communication_Error_Ranktable_Detect(EI0015): Failed to collect cluster information of the communicator based on rootInfo detection. Reason: No rank in the communicator can connect to the root node within the timeout period. List of unconnected ranks: "[1,]". **报错日志(ScheduleTest):** RuntimeError: Exception in worker process: ... File "test_schedule_multiproc.py", line 388, in test_eval_inference_mode schedule.eval(x) File "schedules.py", line 400, in eval return self.step(*args, target=target, losses=losses, **kwargs) ... RuntimeError: create_config:../torch_npu/csrc/distributed/HCCLUtils.cpp:140 HCCL function error: hcclCommInitRootInfoConfig(...), error code is 1 [ERROR] ERR02200 DIST call hccl api failed. [PID: 38939] Communication_Error_Ranktable_Detect(EI0015): Failed to collect cluster information of the communicator based on rootInfo detection. Reason: No rank in the communicator can connect to the root node within the timeout period. List of unconnected ranks: "[1,2,3,]". **报错原因:** HCCL 分布式通信初始化失败(hcclCommInitRootInfoConfig 返回 error code 1),rank 节点无法在超时时间内连接到 root 节点。这是 CI 环境的网络/HCCL 配置问题,与 0D tensor 修改**无关**。 **跳过方式:** 在 ScheduleTest 类上添加 @unittest.skip 装饰器。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 不涉及 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!36488 | 4 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 个月前 | ||
| 4 个月前 | ||
| 4 个月前 |