Pull Request has been successfully merged by ascend-robot.
(Thank you for wanglijun55's contribution.)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 |
|---|---|---|
| .gitcode/workflows/** | ✅ 吴环宇, sylvia_wei, ll-pen, wangzhenwu (4/2) | ✅ 吴环宇 (1/1) |
| repo-Ascend/torchao-ascend | ✅ sylvia_wei, ll-pen, wangzhenwu, liangsongwei (4/2) | ✅ liangsongwei (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
wanglijun55, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_x86 | 🟣 INIT | >>> |
| 恶意代码检查 | Antipoison | ✅ COMPLETED | >>> |
| 编码安全与规范检查 | pre-commit | ✅ COMPLETED | >>> |
| 开源片段检查 | SCA | ❌ FAILED | >>> |
| 流水线 | PR-pipeline_torchao_npu | ❌ FAILED | >>> |
- compile : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


关联 issue:#71(统一清理仓内残留 torchao_npu 命名)
本 PR 落地该 issue 所述的命名统一修正;命名规范细节、影响面与验证结论见 issue 与 PR 描述。


备注:测试过程中发现一个既有问题(与改名无关,已在 origin/main 基线复现)——经 torch_npu 导入 torch 时 device-backend autoload 被跳过,导致依赖自动激活挂载的用例合跑收集失败。已单独记录为 #72,后续修复,不影响本 PR。


compile


| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_x86 | ✅ COMPLETED | >>> |
| 恶意代码检查 | Antipoison | ✅ COMPLETED | >>> |
| 编码安全与规范检查 | pre-commit | ✅ COMPLETED | >>> |
| 开源片段检查 | SCA | ✅ COMPLETED | >>> |
| 流水线 | PR-pipeline_torchao_npu | ✅ COMPLETED | >>> |
- compile : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


/approve


/lgtm


/check-pr


The following labels are not ready.
approved: Please wait for committers to review the code.
lgtm: Please wait for reviewers to review the code.


/lgtm


/lgtm


/lgtm


/approve


背景
仓库已更名为 torchao-ascend,但 wheel 包名、Python 包目录、代码注释、文档、CI 配置中仍残留 torchao_npu 表述。本 PR 全仓统一修正。
改动内容
共 170 个文件,+623/-623,纯命名替换,无逻辑改动。
兼容性说明
import torchao_ascend验证