已关闭
test(fx): add ShapeEnv API tests without upstream coverage #36356
小辉懂编程创建于 5月21日关闭于 5月22日
test(fx): add ShapeEnv API tests without upstream coverage #36356
已关闭
当前Pull Request已关闭, 关闭人@小辉懂编程
ascend-robot
5月21日 评论:
5月21日 评论:
5月21日 添加了label:stat/needs-squash
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
⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| test | ❌ (0/2)(You can also ask: li_jing_hw, huangyunlong2022, wjlflyer, liujunzhu, huangjingwei) | ❌ (0/1)(You can also ask: renyujin, wangqiang160, zichun_ye, crazyDannyBoy, wangmin0104) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
gehui-2026, thanks for your pull request. All authors of the commits have signed the CLA. 👍


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


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


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


5月21日 删除了label:docs-ci-pipeline-running
5月21日 添加了label:docs-ci-pipeline-success
小辉懂编程
5月22日 评论:
5月22日 评论:
compile


5月22日 添加了label:ci-pipeline-running
ascend-robot
5月22日 评论:
5月22日 评论:
Ascend docs pipeline is running...


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


5月22日 删除了label:docs-ci-pipeline-running
5月22日 添加了label:docs-ci-pipeline-success
5月22日 删除了label:ci-pipeline-running
5月22日 添加了label:ci-pipeline-passed
ascend-robot
5月22日 评论:
5月22日 评论:
流水线 PR-pipeline_pytorch#25030 已完成
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | 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 | ✅ | >>> |
- compile : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


小辉懂编程
5月22日 评论:
5月22日 评论:
本 PR 已与 upstream patch PR #36369 合并到新 PR #36519:
https://gitcode.com/Ascend/pytorch/pull/36519
本 PR 关闭。


5月22日 关闭了 pull request
【合入来源】
【修改方案】
本 PR 针对 torch.fx.experimental.symbolic_shapes.ShapeEnv 中官方 PyTorch 未提供直接测试覆盖的 API 补充 Torch-NPU 自写单元测试。
本次新增/保留的测试用例位于: