已合并
test(nn): add test for UninitializedParameter.cls_to_become #31762
dinglaiping创建于 3月13日
test(nn): add test for UninitializedParameter.cls_to_become #31762
已合并
从已删除 :addtest-uninitialized-parameter-cls-to-become-2.8.0合入到Ascend/pytorchv2.8.0
Pull Request已成功合入, 合并人@ascend-robot
(感谢 dinglaiping 的贡献)3月13日 创建了 pull request,commit 542bb5ce
Ddinglaiping
3月13日 关联了issue:[Usage]: test目录下torch.nn.parameter.UninitializedParameter.cls_to_become API的测试用例缺失
3月13日 关联了issue:[Usage]: test目录下torch.nn.parameter.UninitializedParameter.cls_to_become API的测试用例缺失
AtlasAccount
3月13日 评论:
3月13日 评论:
ascend-robot
3月13日 评论:
3月13日 评论:
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 | ✅ liwei386, htchu (2/2) | ✅ liwei386, htchu (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
dinglaiping, thanks for your pull request. All authors of the commits have signed the CLA. 👍


3月13日 添加了label:ascend-cla/yes
dinglaiping
3月13日 评论:
3月13日 评论:
compile


3月13日 添加了label:ci-pipeline-running
3月13日 删除了label:ci-pipeline-running
3月13日 添加了label:ci-pipeline-passed
ascend-robot
3月13日 评论:
3月13日 评论:
流水线 PR-pipeline_pytorch#10408 已完成
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_X86 | ✅ | >>> |
| Build_LibTorch | ✅ | >>> | |
| Build_ARM | ✅ | >>> | |
| Build_ARM_inductor | 🛑 | >>> | |
| Build_X86_torchair | 🛑 | >>> | |
| Build_ARM_torchair | 🛑 | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| check_error | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_X86_Part_01 | 🛑 | >>> |
| UT_X86_Part_02 | 🛑 | >>> | |
| UT_ARM_A3_Part_01 | 🛑 | >>> | |
| UT_ARM_A3_Part_02 | 🛑 | >>> | |
| UT_DIST_X86_Part_01 | 🛑 | >>> | |
| UT_DIST_X86_Part_02 | 🛑 | >>> | |
| UT_DIST_X86_Part_03 | 🛑 | >>> | |
| UT_DIST_X86_Part_04 | 🛑 | >>> | |
| UT_inductor_Part_01 | 🛑 | >>> | |
| UT_inductor_Part_02 | 🛑 | >>> | |
| UT_inductor_Part_03 | 🛑 | >>> | |
| UT_inductor_Part_04 | 🛑 | >>> | |
| UT_ARM_A2_Part_01 | ✅ | >>> | |
| UT_ARM_A2_Part_02 | ✅ | >>> | |
| 流水线 | PR-pipeline_pytorch | ✅ | >>> |


3月13日 添加了label:approved
3月16日 添加了label:lgtm
ascend-robot
3月16日 评论:
3月16日 评论:
3月16日 合入了pull request
PR描述
【合入来源】
【修改方案】
用例设计原则:本次验证遵循 “聚焦核心、贴合场景、轻量化” 原则,核心思路如下
验证用例核心验证点:在 NPU 环境下,通过自定义用例覆盖 cls_to_become 的核心功能与 NPU 适配关键需求,验证点如下:
【资料变更】
不涉及
【接口变更】
不涉及
【功能验证】
用例验证结果:
python /root/torchnpuapi/test_uninitialized_parameter_cls_to_become.py
.
Ran 1 test in 5.231s
OK
root@hostname-fqv42:/home#
【CheckList】