| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
【bug-fix】修复torch_npu2.9.0版本分布式用例未适配torch2.9.0的问题 Co-authored-by: xiaoqi-zhou<zhouxiaoqi9@h-partners.com> # message auto-generated for no-merge-commit merge: !32159 merge distributed_test_v2.9.0 into v2.9.0 【bug-fix】修复torch_npu2.9.0版本分布式用例未适配torch2.9.0的问题 Created-by: xiaoqi-zhou Commit-by: xiaoqi-zhou Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 问题单: UT脚本未适配PT2.9版本,导致失败 - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 报错用例同步PT2.9.0版本社区用例。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 本地验证测试用例正常跑通: python test_schedule_multiproc.py:  python test_stage.py  # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!32159 | 4 个月前 | |
【bug-fix】修复torch_npu2.9.0版本分布式用例未适配torch2.9.0的问题 Co-authored-by: xiaoqi-zhou<zhouxiaoqi9@h-partners.com> # message auto-generated for no-merge-commit merge: !32159 merge distributed_test_v2.9.0 into v2.9.0 【bug-fix】修复torch_npu2.9.0版本分布式用例未适配torch2.9.0的问题 Created-by: xiaoqi-zhou Commit-by: xiaoqi-zhou Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 问题单: UT脚本未适配PT2.9版本,导致失败 - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 报错用例同步PT2.9.0版本社区用例。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 本地验证测试用例正常跑通: python test_schedule_multiproc.py:  python test_stage.py  # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!32159 | 4 个月前 | |
| 1 年前 | ||
[fix] Fix NPU pipeline None placeholder Error Co-authored-by: Yuheng Wang<wangyuheng16@huawei.com> # message auto-generated for no-merge-commit merge: !40008 merge codex/fix-pipeline-prune-v2.9.0 into v2.9.0 [fix] Fix NPU pipeline None placeholder Error Created-by: yuheng_wang Commit-by: Yuheng Wang Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/pytorch/issues/2606 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) 当模型输入参数存在None时,会存在输入数据与GraphModule需要的输入数据不一致的问题。 通过修改GraphModule的输入参数,匹配实际非None的输入。 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” 不涉及 # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” 不涉及 # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!40008 | 1 个月前 | |
| 1 年前 | ||
| 1 年前 | ||
Apply backend patch from testing.__init__ to test_schedule Co-authored-by: limuan<liyijie16@huawei.com> # message auto-generated for no-merge-commit merge: !33205 merge dts_lyj/v2.9.0 into v2.9.0 Apply backend patch from testing.__init__ to test_schedule Created-by: limuan Commit-by: limuan Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 1、import torch_npu.testing 引入 fake backend 的patch 2、torch 2.9.0之后_load_actions 方法改名为_prepare_schedule_with_comms,进行替换 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图  # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!33205 | 4 个月前 | |
skip ci failed testcase Co-authored-by: XianglongZeng<zengxianglong1@huawei.com> # message auto-generated for no-merge-commit merge: !36499 merge v2.9.0 into v2.9.0 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!36499 | 2 个月前 | |
临时跳过UT用例test_output_chunks_memory_usage Co-authored-by: dairenjie<dairenjie@huawei.com> # message auto-generated for no-merge-commit merge: !39231 merge ci_v2.9.0 into v2.9.0 临时跳过UT用例test_output_chunks_memory_usage Created-by: dairenjie Commit-by: dairenjie Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 临时跳过UT用例test_output_chunks_memory_usage,防止阻塞门禁,已提issue [#2493](https://gitcode.com/Ascend/pytorch/issues/2493) # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 运行UT测试通过 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!39231 | 1 个月前 | |
| 1 年前 | ||
| 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 1 年前 | ||
| 1 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 2 个月前 | ||
| 1 个月前 | ||
| 1 年前 | ||
| 1 年前 |