已合并
chore(precision-test): 同步 test_selector 上游并适配 torch_npu 改为 pytorch (#18) #44
tzing_t创建于 3 天前
chore(precision-test): 同步 test_selector 上游并适配 torch_npu 改为 pytorch (#18) #44
已合并
Pull Request已成功合入, 合并人@openLiBingCI
(感谢 tzing_t 的贡献)openLiBingCI
3 天前 评论:
3 天前 评论:
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 |
|---|---|---|
| repo-openlibing/test-action | ✅ dd4574bb, nane, lsc941017 (3/2) | ✅ dd4574bb (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


3 天前 添加了label:ci-pipeline-running
3 天前 添加了label:ci-pipeline-running
3 天前 添加了label:ci-pipeline-passed
3 天前 删除了label:ci-pipeline-running
openLiBingCI
3 天前 评论:
3 天前 评论:
流水线 PR-pipeline_test-action#64 [ commitID:4711c4f8 ] 已完成
>>>代码风格自动修复执行成功(无修复内容)
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build构建 | ✅ COMPLETED | >>> |
| 病毒扫描 | ✅ COMPLETED | >>> | |
| 恶意代码检查 | antipoison | ✅ COMPLETED | >>> |
| 编码安全与规范检查 | 安全编码扫描 | ✅ COMPLETED | >>> |
| 开源片段检查 | 开源漏洞和license扫描 | ✅ COMPLETED | >>> |
| 流水线 | PR-pipeline_test-action | ✅ COMPLETED | >>> |
- compile : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


2 天前 添加了label:lgtm
2 天前 添加了label:approved
openLiBingCI
2 天前 评论:
2 天前 评论:
2 天前 合入了pull request,合并节点 SHA:8fbd4e6829516bc81d9fa923781450dfc1ec3766
变更说明
test_selector 上游近期调整了 pytorch 仓库的接入方式(repo 注册 key
torch_npu→pytorch、PR 源 GitCode→GitHub),并新增首次绑定豁免规则。precision-test 内嵌的 test_selector 包需同步上游,否则 action 入参契约与 Python CLI choices 不一致会导致运行时报错。变更内容
torch_npu→pytorch;TorchNpuAdapter 改用--github-pr pytorch/pytorch#N,product_code_prefix改为torch/AVAILABLE_REPOS替换torch_npu为pytorchrepo-name/github-pr/gitcode-pr描述更新(gitcode-pr保留为通用入口,与github-pr互斥)AVAILABLE_REPOS已含pytorch关联 Issue
测试计划
风险
repo-name合法值由torch_npu变为pytorch:使用旧值torch_npu的存量工作流需更新为pytorch,否则 validators.js 会拒绝torch_npu.py文件名与TorchNpuAdapter类名未改(与上游一致,仅注册 key 和属性变化)变更统计
21 files changed, 595 insertions(+), 180 deletions(-)