已合并
add white list for 2.13 #45391
pangjiayi创建于 9 天前
add white list for 2.13 #45391
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 pangjiayi 的贡献)atomgit-bot
9 天前 评论:
9 天前 评论:
变更摘要
本 PR 为 2.13 版本新增测试白名单机制:ci/access_control/test_manager.py 中 TestMgr.load_inductor_ut 不再通过 rglob 动态收集 test/_inductor 目录下所有 test_*.py 用例,而是改为固定的白名单列表,仅纳入 test/_inductor/test_add.py 与 test/_inductor/test_abs.py;同时在这两个测试文件新增 @runIfVersion(max="2.13") 装饰器,将对应测试用例限定在不超过 2.13 的版本范围内执行。
主要改动
- Inductor UT 白名单化:
TestMgr.load_inductor_ut由递归收集全部test_*.py改为仅加载白名单中的test_add.py与test_abs.py两个文件,收敛 2.13 版本的 UT 运行范围。 test_add.py增加版本门控: 引入version_mark.runIfVersion,并为test_pointwise_cases添加@runIfVersion(max="2.13")装饰器,限制其仅在 2.13 及以下版本执行。test_abs.py增加版本门控: 同样引入version_mark.runIfVersion,为test_pointwise_cases添加@runIfVersion(max="2.13")装饰器,保证该用例仅在 2.13 及以下版本运行。


ascend-robot
9 天前 评论:
9 天前 评论:
atomgit-bot
9 天前 评论:
9 天前 评论:
9 天前 添加了label:ascend-cla/yes
此处折叠了85条消息 查看更多
6 天前 删除了label:ci-pipeline-running
6 天前 添加了label:ci-pipeline-passed
AtlasAccount
6 天前 评论:
6 天前 评论:
流水线 PR-pipeline_pytorch#64888 (重试第1次) [ commitID:8dc43093 ] 已完成
>>>代码风格自动修复执行成功(无修复内容)
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_X86 | ✅ | >>> |
| Build_ARM | ✅ | >>> | |
| Build_X86_torchair | 🛑 | >>> | |
| Build_ARM_torchair | 🛑 | >>> | |
| patch_test | 🛑 | >>> | |
| Build_X86_213 | ✅ | >>> | |
| Build_ARM_213 | ✅ | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | codecheck_pre-commit | ✅ | >>> |
| check_error | ✅ | >>> | |
| lintrunner | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | 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 | 🛑 | >>> | |
| UT_ARM_A2_Select_Part_01 | ✅ | >>> | |
| UT_ARM_A2_Select_Part_02 | ✅ | >>> | |
| UT_ARM_A2_Part_213 | ✅ | >>> | |
| UT_inductor_Part_213 | ✅ | >>> | |
| UT_DIST_ARM_Part_213 | 🛑 | >>> | |
| UT_ARM_A2_Select_Part_213 | ✅ | >>> | |
| 流水线 | PR-pipeline_pytorch | ✅ | >>> |
- compile、compile_inductor、compile_torchair : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


6 天前 合入了pull request
AtlasAccount
5 天前 评论:
5 天前 评论:
流水线 pytorch_gitcode_PR_multiVersion#14737 [ commitID:8dc43093 ] 已完成


【合入来源】
issue #4455
【修改方案】
【资料变更】
【接口变更】
【功能验证】
【CheckList】