已合并
test(utils): add data worker API coverage tests on NPU #37242
Jinfan Liu创建于 5月30日
test(utils): add data worker API coverage tests on NPU #37242
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 Jinfan Liu 的贡献)5月30日 创建了 pull request,commit 6332b688
5月30日 关联了issue:[Usage]: API一致性说明:torch.utils.data DataLoader / collate / worker 相关 API NPU 测试适配
5月30日 关联了issue:[Usage]: API一致性说明:torch.utils.data DataLoader / collate / worker 相关 API NPU 测试适配
ascend-robot
5月30日 评论:
5月30日 评论:
5月30日 添加了label:ascend-cla/yes
ascend-robot
5月30日 评论:
5月30日 评论:
ascend-robot
5月30日 评论:
5月30日 评论:
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 | ✅ 李伟, sunyu-xuan (2/2) | ✅ 李伟 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


ascend-robot
5月30日 评论:
5月30日 评论:
当前仓库存在以下 保护分支 :
| Protected Branch | Version | Release |
|---|---|---|
| master | ||
| v2.7.1 | ||
| v2.9.0 | ||
| v2.10.0 | ||
| v2.11.0 | ||
| sync-pr28113--to-v2.9.0 | ||
| v2.12.0 |
评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作
注意:
- /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
- 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭


Jinfan Liu
5月30日 评论:
5月30日 评论:
compile


5月30日 添加了label:ci-pipeline-running
5月30日 删除了label:ci-pipeline-running
5月30日 添加了label:ci-pipeline-passed
ascend-robot
5月30日 评论:
5月30日 评论:
流水线 PR-pipeline_pytorch#28361 已完成
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_X86 | ✅ | >>> |
| Build_ARM | ✅ | >>> | |
| Build_LibTorch_x86 | ✅ | >>> | |
| Build_LibTorch_ARM | ✅ | >>> | |
| Build_X86_torchair | 🛑 | >>> | |
| Build_ARM_torchair | 🛑 | >>> | |
| patch_test | 🛑 | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| check_error | ✅ | >>> | |
| CodeCheck_lintrunner | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_X86_Part_01 | ✅ | >>> |
| UT_X86_Part_02 | ✅ | >>> | |
| UT_ARM_A3_Part_01 | ✅ | >>> | |
| UT_ARM_A3_Part_02 | ✅ | >>> | |
| UT_ARM_A2_Part_01 | ✅ | >>> | |
| UT_ARM_A2_Part_02 | ✅ | >>> | |
| UT_ARM_A2_Part_03 | ✅ | >>> | |
| UT_inductor_Part_01 | 🛑 | >>> | |
| UT_inductor_Part_02 | 🛑 | >>> | |
| UT_inductor_Part_03 | 🛑 | >>> | |
| UT_inductor_Part_04 | 🛑 | >>> | |
| UT_DIST_ARM_Part_01 | 🛑 | >>> | |
| UT_DIST_ARM_Part_02 | 🛑 | >>> | |
| UT_DIST_ARM_Part_03 | 🛑 | >>> | |
| UT_DIST_ARM_Part_04 | 🛑 | >>> | |
| 流水线 | PR-pipeline_pytorch | ✅ | >>> |


ascend-robot
5月30日 评论:
5月30日 评论:
Ascend docs pipeline is running...


5月30日 添加了label:docs-ci-pipeline-running
ascend-robot
5月30日 评论:
5月30日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


5月30日 删除了label:docs-ci-pipeline-running
5月30日 添加了label:docs-ci-pipeline-success
Jinfan Liu
6月4日 评论:
6月4日 评论:
compile


6月4日 删除了label:ci-pipeline-passed
6月4日 添加了label:ci-pipeline-running
ascend-robot
6月4日 评论:
6月4日 评论:
Ascend docs pipeline is running...


6月4日 删除了label:docs-ci-pipeline-success
6月4日 添加了label:docs-ci-pipeline-running
ascend-robot
6月4日 评论:
6月4日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


6月4日 删除了label:docs-ci-pipeline-running
6月4日 添加了label:docs-ci-pipeline-success
6月4日 删除了label:ci-pipeline-running
6月4日 添加了label:ci-pipeline-passed
ascend-robot
6月4日 评论:
6月4日 评论:
流水线 PR-pipeline_pytorch#29643 已完成
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_X86 | ✅ | >>> |
| Build_ARM | ✅ | >>> | |
| Build_LibTorch_x86 | ✅ | >>> | |
| Build_LibTorch_ARM | ✅ | >>> | |
| Build_X86_torchair | 🛑 | >>> | |
| Build_ARM_torchair | 🛑 | >>> | |
| patch_test | 🛑 | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| check_error | ✅ | >>> | |
| CodeCheck_lintrunner | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_X86_Part_01 | ✅ | >>> |
| UT_X86_Part_02 | ✅ | >>> | |
| UT_ARM_A3_Part_01 | ✅ | >>> | |
| UT_ARM_A3_Part_02 | ✅ | >>> | |
| UT_ARM_A2_Part_01 | ✅ | >>> | |
| UT_ARM_A2_Part_02 | ✅ | >>> | |
| UT_ARM_A2_Part_03 | ✅ | >>> | |
| UT_inductor_Part_01 | 🛑 | >>> | |
| UT_inductor_Part_02 | 🛑 | >>> | |
| UT_inductor_Part_03 | 🛑 | >>> | |
| UT_inductor_Part_04 | 🛑 | >>> | |
| UT_DIST_ARM_Part_01 | 🛑 | >>> | |
| UT_DIST_ARM_Part_02 | 🛑 | >>> | |
| UT_DIST_ARM_Part_03 | 🛑 | >>> | |
| UT_DIST_ARM_Part_04 | 🛑 | >>> | |
| 流水线 | PR-pipeline_pytorch | ✅ | >>> |


6月4日 添加了label:approved
6月5日 修改了pull request 的描述
sunyu-xuan
6月5日 评论:
6月5日 评论:
/lgtm


6月5日 添加了label:lgtm
6月5日 合入了pull request
ascend-robot
6月5日 评论:
6月5日 评论:
流水线 pytorch_gitcode_PR_multiVersion#10054 [ commitID:821634ab ] 已完成


【合入来源】
[x] issue/工单
【修改方案】
一、API功能说明
二、测试用例完备性说明
三、NPU适配方案
四、变更文件
test/test_utils_data_api.py【资料变更】
【接口变更】
【功能验证】
验证环境
运行命令与结果
python test/test_utils_data_api.py Ran 5 tests in 1.691s OK【CheckList】