已合并
test(utils): adapt checkpoint and dataloader upstream tests on NPU #36417
Jinfan Liu创建于 5月21日
test(utils): adapt checkpoint and dataloader upstream tests on NPU #36417
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 Jinfan Liu 的贡献)5月21日 创建了 pull request,commit 0f20db95
5月21日 关联了issue:[Usage]: API一致性说明:torch.utils.checkpoint 选择性 checkpoint 相关 API 无需 NPU 测试适配,[Usage]: API一致性说明:torch.utils.data DataLoader / collate / worker 相关 API 无需 NPU 测试适配
5月21日 关联了issue:[Usage]: API一致性说明:torch.utils.checkpoint 选择性 checkpoint 相关 API 无需 NPU 测试适配,[Usage]: API一致性说明:torch.utils.data DataLoader / collate / worker 相关 API 无需 NPU 测试适配
ascend-robot
5月21日 评论:
5月21日 评论:
ascend-robot
5月21日 评论:
5月21日 评论:
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_upstream | ✅ sunyu-xuan, 李伟 (2/2) | ✅ 李伟 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
JfanLiu, thanks for your pull request. All authors of the commits have signed the CLA. 👍


5月21日 添加了label:ascend-cla/yes
此处折叠了84条消息 查看更多
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#10050 [ commitID:4c8fc920 ] 已完成


【合入来源】
[x] issue/工单
【修改方案】
一、API功能说明
二、测试用例完备性说明
三、NPU适配方案
四、变更文件
test_upstream/test/test_autograd.py.patchtest_upstream/test/test_dataloader.py.patch【资料变更】
【接口变更】
【功能验证】
验证环境
运行命令与结果
python test/test_autograd.py TestSelectiveActivationCheckpoint TestAutograd.test_checkpoint_detects_non_determinism TestAutograd.test_checkpoint_valid_reset_on_errorpython test/test_dataloader.py TestDataLoader.test_sequential_batch TestDataLoader.test_sequential_nonbatch TestDataLoader.test_iterable_style_dataset TestDataLoader.test_seqential_batch_workers TestDataLoader.test_get_worker_info TestDataLoaderPersistentWorkers.test_dataset_not_reset TestDataLoader.test_default_collate_dtype TestDataLoader.test_default_collate_mapping_keep_type TestDataLoader.test_default_collate_sequence_keep_type TestDataLoader.test_default_collate_bad_numpy_types TestDataLoader.test_default_collate_shared_tensor运行日志
【CheckList】