| Files | Last commit | Last update |
|---|---|---|
feat(ci): add PR wheel builds and code checks Co-authored-by: BOCHENGZHANG<zhangbocheng6@h-partners.com> # message auto-generated for no-merge-commit merge: !134 merge codex/torchao-official-pr into main feat(ci): add PR wheel builds and code checks Created-by: BOCHENGZHANG Commit-by: BOCHENGZHANG Merged-by: ascend-robot Description: # 【合入来源】 - [x] 需求 为 torchao-ascend 增加 PR 静态检查、安全扫描和 wheel 构建验证。 # 【修改方案】 1. PR 评论触发流水线。准备阶段解析 PR 上下文,CodeCheck 阶段并行运行 Lintrunner、SCA 和防投毒,通过后进入构建阶段。 2. Lintrunner 读取仓库现有的 .lintrunner.toml,在 CI 临时环境中适配 Flake8 和 Codespell 的命令及诊断格式。 3. x86_64 和 ARM64 两个 CPU Runner 检出 PR 合并引用,共用 ci/build.sh 构建 wheel,并分别上传到 GitCode Artifacts。 4. 在准备阶段关联 PR 和流水线检查,在 post 阶段查询运行结果并回写 PR 标签。workflow 顶层权限与 PyTorch 参考配置一致。 # 【资料变更】 不涉及。 # 【接口变更】 不涉及。 # 【功能验证】 - [测试仓运行 #5](https://gitcode.com/ComputingActionTest/torchao-ascend/actions/runs/9fb69af3ac404f22b9d92a21e43eabf6) 的 Lintrunner、SCA、防投毒、双架构构建和 Artifact 上传任务均已完成,产出两个 wheel 制品。 - [测试仓评论触发运行 #12](https://gitcode.com/ComputingActionTest/torchao-ascend/actions/runs/767f95a9249b481bbd9b6bf49dbd3c67) 的关联、双架构构建和结果回写均完成,测试 PR 已收到 ci-pipeline-passed 标签。 - [测试仓运行 #13](https://gitcode.com/ComputingActionTest/torchao-ascend/actions/runs/ecbebcd887af40b78bcddcabac2605f0) 验证了 default Runner 池。x86 检查、x86_64 与 ARM64 构建以及结果回写均已完成,[测试 PR #7](https://gitcode.com/ComputingActionTest/torchao-ascend/pull/7) 已收到 ci-pipeline-passed 标签。 - 正式仓配置已在本地核对 YAML、脚本语法和子工作流输入。正式仓运行结果待验证。 # 【CheckList】 - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/torchao-ascend!134 | 12 days ago | |
refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Co-authored-by: wanglijun55<wanglijun54@huawei.com> # message auto-generated for no-merge-commit merge: !140 merge feat/rename-torchao-ascend into main refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Created-by: wanglijun55 Commit-by: wanglijun55 Merged-by: ascend-robot Description: ## 背景 仓库已更名为 torchao-ascend,但 wheel 包名、Python 包目录、代码注释、文档、CI 配置中仍残留 torchao_npu 表述。本 PR 全仓统一修正。 ## 改动内容 | 对象 | 旧 | 新 | |---|---|---| | Python 包目录 / import 名 | torchao_npu | torchao_ascend | | wheel 发行包名(pyproject [project].name) | torchao_npu | torchao-ascend | | autoload 模块 / entry point | _torchao_npu_autoload.py | _torchao_ascend_autoload.py | | 环境变量 | TORCHAO_NPU_AUTO_ACTIVATE | TORCHAO_ASCEND_AUTO_ACTIVATE | | CI 工件 / workflow / 脚本名 | torchao-npu-* | torchao-ascend-* | | 文档 / README / 注释产品名 | TorchAONPU | TorchAO-Ascend | | README / CONTRIBUTING 分支引用 | master | main(默认分支已更名) | 共 170 个文件,+623/-623,纯命名替换,无逻辑改动。 ## 兼容性说明 - import 名由 torchao_npu 改为 torchao_ascend,属于 breaking change,用户需同步修改 import torchao_ascend - torch 的 device-backend autoload 通过 entry_points(group="torch.backends") 遍历加载,不依赖固定模块名,重命名安全 - wheel 文件名(torchao_ascend-0.18.0-*.whl)与现有 CI 中 torchao_ascend*.whl glob 保持兼容 - 版本号保持 0.18.0 ## 验证 - [x] 全仓 torchao_npu 变体扫描归零(含大小写/连字符共 7 种变体) - [x] python -m compileall 通过 - [x] wheel 构建成功:torchao_ascend-0.18.0-py3-none-any.whl,METADATA Name: torchao-ascend,entry_points.txt 正确 - [x] 隔离 venv 中 import torch(autoload 开启)+ import torchao_ascend 冒烟通过 - [x] flake8 结果与 origin/main baseline 完全一致(9 处均为既有问题,本次零新增) See merge request: Ascend/torchao-ascend!140 | 8 days ago | |
refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Co-authored-by: wanglijun55<wanglijun54@huawei.com> # message auto-generated for no-merge-commit merge: !140 merge feat/rename-torchao-ascend into main refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Created-by: wanglijun55 Commit-by: wanglijun55 Merged-by: ascend-robot Description: ## 背景 仓库已更名为 torchao-ascend,但 wheel 包名、Python 包目录、代码注释、文档、CI 配置中仍残留 torchao_npu 表述。本 PR 全仓统一修正。 ## 改动内容 | 对象 | 旧 | 新 | |---|---|---| | Python 包目录 / import 名 | torchao_npu | torchao_ascend | | wheel 发行包名(pyproject [project].name) | torchao_npu | torchao-ascend | | autoload 模块 / entry point | _torchao_npu_autoload.py | _torchao_ascend_autoload.py | | 环境变量 | TORCHAO_NPU_AUTO_ACTIVATE | TORCHAO_ASCEND_AUTO_ACTIVATE | | CI 工件 / workflow / 脚本名 | torchao-npu-* | torchao-ascend-* | | 文档 / README / 注释产品名 | TorchAONPU | TorchAO-Ascend | | README / CONTRIBUTING 分支引用 | master | main(默认分支已更名) | 共 170 个文件,+623/-623,纯命名替换,无逻辑改动。 ## 兼容性说明 - import 名由 torchao_npu 改为 torchao_ascend,属于 breaking change,用户需同步修改 import torchao_ascend - torch 的 device-backend autoload 通过 entry_points(group="torch.backends") 遍历加载,不依赖固定模块名,重命名安全 - wheel 文件名(torchao_ascend-0.18.0-*.whl)与现有 CI 中 torchao_ascend*.whl glob 保持兼容 - 版本号保持 0.18.0 ## 验证 - [x] 全仓 torchao_npu 变体扫描归零(含大小写/连字符共 7 种变体) - [x] python -m compileall 通过 - [x] wheel 构建成功:torchao_ascend-0.18.0-py3-none-any.whl,METADATA Name: torchao-ascend,entry_points.txt 正确 - [x] 隔离 venv 中 import torch(autoload 开启)+ import torchao_ascend 冒烟通过 - [x] flake8 结果与 origin/main baseline 完全一致(9 处均为既有问题,本次零新增) See merge request: Ascend/torchao-ascend!140 | 8 days ago | |
refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Co-authored-by: wanglijun55<wanglijun54@huawei.com> # message auto-generated for no-merge-commit merge: !140 merge feat/rename-torchao-ascend into main refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Created-by: wanglijun55 Commit-by: wanglijun55 Merged-by: ascend-robot Description: ## 背景 仓库已更名为 torchao-ascend,但 wheel 包名、Python 包目录、代码注释、文档、CI 配置中仍残留 torchao_npu 表述。本 PR 全仓统一修正。 ## 改动内容 | 对象 | 旧 | 新 | |---|---|---| | Python 包目录 / import 名 | torchao_npu | torchao_ascend | | wheel 发行包名(pyproject [project].name) | torchao_npu | torchao-ascend | | autoload 模块 / entry point | _torchao_npu_autoload.py | _torchao_ascend_autoload.py | | 环境变量 | TORCHAO_NPU_AUTO_ACTIVATE | TORCHAO_ASCEND_AUTO_ACTIVATE | | CI 工件 / workflow / 脚本名 | torchao-npu-* | torchao-ascend-* | | 文档 / README / 注释产品名 | TorchAONPU | TorchAO-Ascend | | README / CONTRIBUTING 分支引用 | master | main(默认分支已更名) | 共 170 个文件,+623/-623,纯命名替换,无逻辑改动。 ## 兼容性说明 - import 名由 torchao_npu 改为 torchao_ascend,属于 breaking change,用户需同步修改 import torchao_ascend - torch 的 device-backend autoload 通过 entry_points(group="torch.backends") 遍历加载,不依赖固定模块名,重命名安全 - wheel 文件名(torchao_ascend-0.18.0-*.whl)与现有 CI 中 torchao_ascend*.whl glob 保持兼容 - 版本号保持 0.18.0 ## 验证 - [x] 全仓 torchao_npu 变体扫描归零(含大小写/连字符共 7 种变体) - [x] python -m compileall 通过 - [x] wheel 构建成功:torchao_ascend-0.18.0-py3-none-any.whl,METADATA Name: torchao-ascend,entry_points.txt 正确 - [x] 隔离 venv 中 import torch(autoload 开启)+ import torchao_ascend 冒烟通过 - [x] flake8 结果与 origin/main baseline 完全一致(9 处均为既有问题,本次零新增) See merge request: Ascend/torchao-ascend!140 | 8 days ago | |
refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Co-authored-by: wanglijun55<wanglijun54@huawei.com> # message auto-generated for no-merge-commit merge: !140 merge feat/rename-torchao-ascend into main refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Created-by: wanglijun55 Commit-by: wanglijun55 Merged-by: ascend-robot Description: ## 背景 仓库已更名为 torchao-ascend,但 wheel 包名、Python 包目录、代码注释、文档、CI 配置中仍残留 torchao_npu 表述。本 PR 全仓统一修正。 ## 改动内容 | 对象 | 旧 | 新 | |---|---|---| | Python 包目录 / import 名 | torchao_npu | torchao_ascend | | wheel 发行包名(pyproject [project].name) | torchao_npu | torchao-ascend | | autoload 模块 / entry point | _torchao_npu_autoload.py | _torchao_ascend_autoload.py | | 环境变量 | TORCHAO_NPU_AUTO_ACTIVATE | TORCHAO_ASCEND_AUTO_ACTIVATE | | CI 工件 / workflow / 脚本名 | torchao-npu-* | torchao-ascend-* | | 文档 / README / 注释产品名 | TorchAONPU | TorchAO-Ascend | | README / CONTRIBUTING 分支引用 | master | main(默认分支已更名) | 共 170 个文件,+623/-623,纯命名替换,无逻辑改动。 ## 兼容性说明 - import 名由 torchao_npu 改为 torchao_ascend,属于 breaking change,用户需同步修改 import torchao_ascend - torch 的 device-backend autoload 通过 entry_points(group="torch.backends") 遍历加载,不依赖固定模块名,重命名安全 - wheel 文件名(torchao_ascend-0.18.0-*.whl)与现有 CI 中 torchao_ascend*.whl glob 保持兼容 - 版本号保持 0.18.0 ## 验证 - [x] 全仓 torchao_npu 变体扫描归零(含大小写/连字符共 7 种变体) - [x] python -m compileall 通过 - [x] wheel 构建成功:torchao_ascend-0.18.0-py3-none-any.whl,METADATA Name: torchao-ascend,entry_points.txt 正确 - [x] 隔离 venv 中 import torch(autoload 开启)+ import torchao_ascend 冒烟通过 - [x] flake8 结果与 origin/main baseline 完全一致(9 处均为既有问题,本次零新增) See merge request: Ascend/torchao-ascend!140 | 8 days ago | |
refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Co-authored-by: wanglijun55<wanglijun54@huawei.com> # message auto-generated for no-merge-commit merge: !140 merge feat/rename-torchao-ascend into main refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Created-by: wanglijun55 Commit-by: wanglijun55 Merged-by: ascend-robot Description: ## 背景 仓库已更名为 torchao-ascend,但 wheel 包名、Python 包目录、代码注释、文档、CI 配置中仍残留 torchao_npu 表述。本 PR 全仓统一修正。 ## 改动内容 | 对象 | 旧 | 新 | |---|---|---| | Python 包目录 / import 名 | torchao_npu | torchao_ascend | | wheel 发行包名(pyproject [project].name) | torchao_npu | torchao-ascend | | autoload 模块 / entry point | _torchao_npu_autoload.py | _torchao_ascend_autoload.py | | 环境变量 | TORCHAO_NPU_AUTO_ACTIVATE | TORCHAO_ASCEND_AUTO_ACTIVATE | | CI 工件 / workflow / 脚本名 | torchao-npu-* | torchao-ascend-* | | 文档 / README / 注释产品名 | TorchAONPU | TorchAO-Ascend | | README / CONTRIBUTING 分支引用 | master | main(默认分支已更名) | 共 170 个文件,+623/-623,纯命名替换,无逻辑改动。 ## 兼容性说明 - import 名由 torchao_npu 改为 torchao_ascend,属于 breaking change,用户需同步修改 import torchao_ascend - torch 的 device-backend autoload 通过 entry_points(group="torch.backends") 遍历加载,不依赖固定模块名,重命名安全 - wheel 文件名(torchao_ascend-0.18.0-*.whl)与现有 CI 中 torchao_ascend*.whl glob 保持兼容 - 版本号保持 0.18.0 ## 验证 - [x] 全仓 torchao_npu 变体扫描归零(含大小写/连字符共 7 种变体) - [x] python -m compileall 通过 - [x] wheel 构建成功:torchao_ascend-0.18.0-py3-none-any.whl,METADATA Name: torchao-ascend,entry_points.txt 正确 - [x] 隔离 venv 中 import torch(autoload 开启)+ import torchao_ascend 冒烟通过 - [x] flake8 结果与 origin/main baseline 完全一致(9 处均为既有问题,本次零新增) See merge request: Ascend/torchao-ascend!140 | 8 days ago | |
refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Co-authored-by: wanglijun55<wanglijun54@huawei.com> # message auto-generated for no-merge-commit merge: !140 merge feat/rename-torchao-ascend into main refactor: rename torchao_npu to torchao_ascend repo-wide(统一仓名 torchao-ascend 命名) Created-by: wanglijun55 Commit-by: wanglijun55 Merged-by: ascend-robot Description: ## 背景 仓库已更名为 torchao-ascend,但 wheel 包名、Python 包目录、代码注释、文档、CI 配置中仍残留 torchao_npu 表述。本 PR 全仓统一修正。 ## 改动内容 | 对象 | 旧 | 新 | |---|---|---| | Python 包目录 / import 名 | torchao_npu | torchao_ascend | | wheel 发行包名(pyproject [project].name) | torchao_npu | torchao-ascend | | autoload 模块 / entry point | _torchao_npu_autoload.py | _torchao_ascend_autoload.py | | 环境变量 | TORCHAO_NPU_AUTO_ACTIVATE | TORCHAO_ASCEND_AUTO_ACTIVATE | | CI 工件 / workflow / 脚本名 | torchao-npu-* | torchao-ascend-* | | 文档 / README / 注释产品名 | TorchAONPU | TorchAO-Ascend | | README / CONTRIBUTING 分支引用 | master | main(默认分支已更名) | 共 170 个文件,+623/-623,纯命名替换,无逻辑改动。 ## 兼容性说明 - import 名由 torchao_npu 改为 torchao_ascend,属于 breaking change,用户需同步修改 import torchao_ascend - torch 的 device-backend autoload 通过 entry_points(group="torch.backends") 遍历加载,不依赖固定模块名,重命名安全 - wheel 文件名(torchao_ascend-0.18.0-*.whl)与现有 CI 中 torchao_ascend*.whl glob 保持兼容 - 版本号保持 0.18.0 ## 验证 - [x] 全仓 torchao_npu 变体扫描归零(含大小写/连字符共 7 种变体) - [x] python -m compileall 通过 - [x] wheel 构建成功:torchao_ascend-0.18.0-py3-none-any.whl,METADATA Name: torchao-ascend,entry_points.txt 正确 - [x] 隔离 venv 中 import torch(autoload 开启)+ import torchao_ascend 冒烟通过 - [x] flake8 结果与 origin/main baseline 完全一致(9 处均为既有问题,本次零新增) See merge request: Ascend/torchao-ascend!140 | 8 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 12 days ago | ||
| 8 days ago | ||
| 8 days ago | ||
| 8 days ago | ||
| 8 days ago | ||
| 8 days ago | ||
| 8 days ago |