已合并
【社区任务】Ascend for PyTorch测试用例解耦(7)交付件 #40
costan创建于 19 天前
【社区任务】Ascend for PyTorch测试用例解耦(7)交付件 #40
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 costan 的贡献)19 天前 添加了label:ascend-cla/yes
ascend-robot
19 天前 评论:
19 天前 评论:
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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-Ascend/pytorch-ecosystem | ✅ qianxiyue, xuyun15 (2/2) | ✅ qianxiyue (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
ljfnjj1234567, thanks for your pull request. All authors of the commits have signed the CLA. 👍


costan
19 天前 评论:
19 天前 评论:
compile


18 天前 修改标题为 “[社区任务】Ascend for PyTorch测试用例解耦(20)交付件”,原标题为“docs: add test_scheduler case decoupling delivery report”
18 天前 修改标题为 “[社区任务】Ascend for PyTorch测试用例解耦(20)交付件”,原标题为“docs: add test_scheduler case decoupling delivery report”
此处折叠了9条事件消息 查看更多
17 天前 删除了label:stat/needs-squash
ascend-robot
17 天前 评论:
17 天前 评论:
17 天前 添加了label:ascend-cla/yes
此处折叠了12条事件消息 查看更多
14 天前 添加了label:ascend-cla/yes
hid87721478
13 天前 评论:
13 天前 评论:
/approve


13 天前 添加了label:approved
4 天前 添加了label:lgtm
4 天前 关闭了关联的issue
4 天前 合入了pull request
本次提交为【社区任务】 Ascend for PyTorch测试用例解耦(7)交付件,包含解耦交付报告与 NPU 验证结果,用于任务验收。
关联任务issue:https://gitcode.com/Ascend/pytorch-ecosystem/issues/7
任务信息
test/ao/sparsity/test_scheduler.pytorch.ao.pruning稀疏化调度器)01_tasks/2026/test_case_refactoring/test_scheduler_用例硬件解耦交付报告.md核心结论
1、经逐项排查,
test_scheduler.py无硬件耦合点(无 CUDA 硬编码、无@onlyCUDA、无设备分支、无instantiate_device_type_tests),属于社区规范类型三。本次仅按HardwareClassification规范为TestScheduler、TestCubicScheduler标注hw_classification = HardwareClassification.GENERIC,未改动任何测试方法、用例数量或执行语义,不影响原有 CPU/GPU 社区 CI。2、PyTorch 上游社区 PR:https://github.com/pytorch/pytorch/pull/193588 ,状态:Merged。
3、TorchNPU 变更:无需修改。本次仅涉及测试类
GENERIC标注,不涉及加速器适配代码、算子实现或 Patch 清理,TorchNPU 侧无对应变更。4、NPU 验证:已在 910B3(A2) 与 Ascend950PR(A5) 完成自测,共 6 个用例,通过 6,失败 0,跳过 0。全部用例 NPU 验证通过。
验证摘要
运行命令:
python test/test_ao_sparsity.py -k ao.sparsity.test_scheduler -v