| fix(Pass): Add errexit guard to run_with_timeout script Co-authored-by: Catherie<mayuan33@huawei.com> # message auto-generated for no-merge-commit merge: !5035 merge my_clean_code into master fix(Pass): Add errexit guard to run_with_timeout script Created-by: Catherie Commit-by: Catherie Merged-by: cann-robot Description: fix(Pass): Add errexit guard to run_with_timeout script pypto-pass-perf-optimizer skill 下的 run_with_timeout.sh 脚本未启用 set -e(errexit),被 Clean Code 检查标记为不符合 shell 健壮性最佳实践。该脚本会故意处理非零退出码(信号中断 130/137/143、进程组已退出时的 kill 失败等),因此在启用 set -e 的同时需对预期非零场景加豁免。 Changes: - 在 set -m 之后添加 set -e,满足 Clean Code shell 健壮性要求 - 为裸 kill/wait 命令追加 || true 豁免,避免进程组已退出或监控进程已结束时触发 errexit - 用 set +e/set -e 包裹主 wait,捕获信号中断退出码(130/137/143)以便后续归一化判断 验证:bash -n 语法检查通过 + 冒烟测试(正常执行返回 0、命令失败透传 7、超时中断归一为 0)全部通过。 Related Issues: #2724 See merge request: cann/pypto!5035 | 2 天前 |
| style(all): Remove trailing whitespace and add missing EOF newlines Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4916 merge style-cpp into master style(all): Remove trailing whitespace and add missing EOF newlines Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Remove trailing whitespace and add missing EOF newlines See merge request: cann/pypto!4916 | 9 天前 |
| refactor(agent): Remove operator-development skills and agents Co-authored-by: wangzheng97<wangzheng97@hisilicon.com> # message auto-generated for no-merge-commit merge: !4605 merge chore-remove-op-dev-skills into master refactor(agent): Remove operator-development skills and agents Created-by: wangzheng97 Commit-by: wangzheng97 Merged-by: cann-robot Description: refactor(agent): Remove operator-development skills and agents The agents and skills in this repository should focus on developing and maintaining the PyPTO framework itself: debugging and error location, compile-time Pass analysis, environment setup, and PR/Issue workflows. This PR removes the operator-development skills and agents together with their state-machine plugins and lint hook, so the tooling scope matches the repository. Changes: - Delete 17 operator-development skills (api-explore, golden-generate, op-design, op-develop, op-perf-tune, precision-compare, fused-op-integration, etc.) - Delete 9 operator-development agents (op-orchestrator, op-coder, op-verifier, etc.) - Delete state-machine plugins (.opencode/plugins/: op-lint, state-transition) and the lint engine (.agents/hooks/pypto-op-lint/) - Delete migrate-huggingface-to-npu (unrelated to framework maintenance) - Update .agents/README.md and AGENTS.md, and delete .agents/settings.json, to drop the now-dangling references; trim AGENTS.md to project scope, general principles and entry-point lookup - Consolidate AGENTS.md's general principles into 5 core rules: the 4 principles from Andrej Karpathy's CLAUDE.md (official Chinese translation, forrestchang/andrej-karpathy-skills) — think before coding, simplicity first, surgical changes, goal-driven execution — plus one evidence-before-conclusion rule for diagnostic work - Inline list_idle_chip_ids.sh into pypto-environment-setup and fix dangling references in pypto-skill-validation-prompt and docs/zh/trouble_shooting - Keep pypto-code-merge-agent and the framework debugging / Pass / environment / PR-Issue skills Related Issues: #2533 See merge request: cann/pypto!4605 | 22 天前 |
| fix(lcov): Fix silent failure in coverage generation and add parallel gcov error tolerance Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !5047 merge 0723 into master fix(lcov): Fix silent failure in coverage generation and add parallel gcov error tolerance Created-by: chengding888 Commit-by: chengding888 Merged-by: cann-robot Description: Fix silent failure in coverage generation and add parallel gcov error tolerance See merge request: cann/pypto!5047 | 1 天前 |
| fix(doc): Fix convolution parameter description Co-authored-by: zhoumin_<zhoumin107@huawei.com> # message auto-generated for no-merge-commit merge: !5034 merge master into master fix(doc): Fix convolution parameter description Created-by: zhoumin_ Commit-by: zhoumin_ Merged-by: cann-robot Description: PyPTO卷积算子资料描述修改:pypto-9.1.0-docs-zh/docs/zh/api/operation/pypto-conv.md See merge request: cann/pypto!5034 | 7 小时前 |
| fix(example): Filter output dir by PID in cost_model to avoid parallel conflicts Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !5074 merge fix into master fix(example): Filter output dir by PID in cost_model to avoid parallel conflicts Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Filter output dir by PID in cost_model to avoid parallel conflicts See merge request: cann/pypto!5074 | 14 小时前 |
| test(machine): Supplement machine UT test cases_3. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5075 merge ut_3 into master test(machine): Supplement machine UT test cases_3. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: machine 相关内容ut补充 See merge request: cann/pypto!5075 | 7 小时前 |
| feat(python): Annotate the glm_attention_fusion operator only for the 950 platform, while keeping an eye on the test cases for the 910 platform. Co-authored-by: z00521416<zhangyongtao7@hisilicon.com> # message auto-generated for no-merge-commit merge: !5084 merge dfx_cloud into master feat(python): Annotate the glm_attention_fusion operator only for the 950 platform, while keeping an eye on the test cases for the 910 platform. Created-by: z00521416 Commit-by: z00521416 Merged-by: cann-robot Description: Annotate the glm_attention_fusion operator only for the 950 platform, while keeping an eye on the test cases for the 910 platform. See merge request: cann/pypto!5084 | 6 小时前 |
| feat(pypto_pro): Migrate all pypro_pro UT cases Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !4945 merge newst into master feat(pypto_pro): Migrate all pypro_pro UT cases Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: Migrate all pypro_pro UT cases See merge request: cann/pypto!4945 | 6 小时前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| style(config): Update .clang-format and .pre-commit-config.yaml rules Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4877 merge style-config-ci into master style(config): Update .clang-format and .pre-commit-config.yaml rules Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Update .clang-format and .pre-commit-config.yaml rules See merge request: cann/pypto!4877 | 11 天前 |
| feat(dfx): Update compiler monitor api doc for tracking compilation progress and detecting timeout. Co-authored-by: z00521416<zhangyongtao7@hisilicon.com> # message auto-generated for no-merge-commit merge: !1511 merge master into master feat(dfx): Update compiler monitor api doc for tracking compilation progress and detecting timeout. Created-by: z00521416 Commit-by: z00521416 Merged-by: cann-robot Description: 1. Update compiler monitor api doc for tracking compilation progress and detecting timeout. 2. Migrate PNG files to LFS. See merge request: cann/pypto!1511 | 4 个月前 |
| style(config): Update .clang-format and .pre-commit-config.yaml rules Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4877 merge style-config-ci into master style(config): Update .clang-format and .pre-commit-config.yaml rules Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Update .clang-format and .pre-commit-config.yaml rules See merge request: cann/pypto!4877 | 11 天前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| refactor(agent): Remove operator-development skills and agents Co-authored-by: wangzheng97<wangzheng97@hisilicon.com> # message auto-generated for no-merge-commit merge: !4605 merge chore-remove-op-dev-skills into master refactor(agent): Remove operator-development skills and agents Created-by: wangzheng97 Commit-by: wangzheng97 Merged-by: cann-robot Description: refactor(agent): Remove operator-development skills and agents The agents and skills in this repository should focus on developing and maintaining the PyPTO framework itself: debugging and error location, compile-time Pass analysis, environment setup, and PR/Issue workflows. This PR removes the operator-development skills and agents together with their state-machine plugins and lint hook, so the tooling scope matches the repository. Changes: - Delete 17 operator-development skills (api-explore, golden-generate, op-design, op-develop, op-perf-tune, precision-compare, fused-op-integration, etc.) - Delete 9 operator-development agents (op-orchestrator, op-coder, op-verifier, etc.) - Delete state-machine plugins (.opencode/plugins/: op-lint, state-transition) and the lint engine (.agents/hooks/pypto-op-lint/) - Delete migrate-huggingface-to-npu (unrelated to framework maintenance) - Update .agents/README.md and AGENTS.md, and delete .agents/settings.json, to drop the now-dangling references; trim AGENTS.md to project scope, general principles and entry-point lookup - Consolidate AGENTS.md's general principles into 5 core rules: the 4 principles from Andrej Karpathy's CLAUDE.md (official Chinese translation, forrestchang/andrej-karpathy-skills) — think before coding, simplicity first, surgical changes, goal-driven execution — plus one evidence-before-conclusion rule for diagnostic work - Inline list_idle_chip_ids.sh into pypto-environment-setup and fix dangling references in pypto-skill-validation-prompt and docs/zh/trouble_shooting - Keep pypto-code-merge-agent and the framework debugging / Pass / environment / PR-Issue skills Related Issues: #2533 See merge request: cann/pypto!4605 | 22 天前 |
| feat(build): Simplify build_ci.py default args for run package. Co-authored-by: wangmingjun<wangmingjun13@huawei.com> # message auto-generated for no-merge-commit merge: !4914 merge build-refactor into master feat(build): Simplify build_ci.py default args for run package. Created-by: hwwangmingjun Commit-by: wangmingjun Merged-by: cann-robot Description: 主要变更 1. 全量源码统一构建 - 新增 build.sh 作为统一构建入口(薄壳),支持 --wheel(仅 whl)、--clean、--release/--debug 等参数 - CMake 新增 ENABLE_UNIFIED_BUILD 选项,以 CMake 为唯一驱动,一次流程产出:二进制 → whl → run - setup.py 支持 PYPTO_UNIFIED_BUILD=1 旁路模式,跳过命令行选项解析,仅执行 cmake --install 到 staging [#2573](https://gitcode.com/cann/pypto/issues/2573) See merge request: cann/pypto!4914 | 3 天前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| Initial commit | 6 个月前 |
| feat(build): Simplify build_ci.py default args for run package. Co-authored-by: wangmingjun<wangmingjun13@huawei.com> # message auto-generated for no-merge-commit merge: !4914 merge build-refactor into master feat(build): Simplify build_ci.py default args for run package. Created-by: hwwangmingjun Commit-by: wangmingjun Merged-by: cann-robot Description: 主要变更 1. 全量源码统一构建 - 新增 build.sh 作为统一构建入口(薄壳),支持 --wheel(仅 whl)、--clean、--release/--debug 等参数 - CMake 新增 ENABLE_UNIFIED_BUILD 选项,以 CMake 为唯一驱动,一次流程产出:二进制 → whl → run - setup.py 支持 PYPTO_UNIFIED_BUILD=1 旁路模式,跳过命令行选项解析,仅执行 cmake --install 到 staging [#2573](https://gitcode.com/cann/pypto/issues/2573) See merge request: cann/pypto!4914 | 3 天前 |
| feat(interface): Support getinputdata for all integral types Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2224 merge refactor/deadcode into master feat(interface): Support getinputdata for all integral types Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. startArgsSymbolHandlerList of devProg does not used any more 2. Support getinputdata for all integral types Related Issue: [#408](https://gitcode.com/cann/pypto/issues/408) See merge request: cann/pypto!2224 | 3 个月前 |
| style(all): Remove trailing whitespace and add missing EOF newlines Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4916 merge style-cpp into master style(all): Remove trailing whitespace and add missing EOF newlines Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Remove trailing whitespace and add missing EOF newlines See merge request: cann/pypto!4916 | 9 天前 |
| style(all): Remove trailing whitespace and add missing EOF newlines Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4916 merge style-cpp into master style(all): Remove trailing whitespace and add missing EOF newlines Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Remove trailing whitespace and add missing EOF newlines See merge request: cann/pypto!4916 | 9 天前 |
| fix(docs): Precision tools do not have a recompilation scenario Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !4153 merge master into master fix(docs): Precision tools do not have a recompilation scenario Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: 1、仓库文档国际化,新增英文readme文件,skill和docs暂不翻译 2、精度工具文档陈旧内容修改:1)删除精度工具重编译步骤 2)更新msaccucmp.py执行命令,明确执行路径、不带版本信息,便于用户在不同版本通用执行 3、webide安装方式的安装界面截图变更 Related Issue: #2345 See merge request: cann/pypto!4153 | 1 个月前 |
| fix(docs): Precision tools do not have a recompilation scenario Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !4153 merge master into master fix(docs): Precision tools do not have a recompilation scenario Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: 1、仓库文档国际化,新增英文readme文件,skill和docs暂不翻译 2、精度工具文档陈旧内容修改:1)删除精度工具重编译步骤 2)更新msaccucmp.py执行命令,明确执行路径、不带版本信息,便于用户在不同版本通用执行 3、webide安装方式的安装界面截图变更 Related Issue: #2345 See merge request: cann/pypto!4153 | 1 个月前 |
| fix(interpreter): Fix tile_fwk_calculator compiler error in g++ 13.3.0 Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !1453 merge interpreter into master fix(interpreter): Fix tile_fwk_calculator compiler error in g++ 13.3.0 Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: Fix tile_fwk_calculator compiler error in g++ 13.3.0 See merge request: cann/pypto!1453 | 4 个月前 |
| feat(gcov): Support gcov of python scene Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !3250 merge master into master feat(gcov): Support gcov of python scene Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: 为 Python 前端用例增加 gcov 覆盖率统计能力。 主要修改: - 新增 gen_coverage_config.py 在 CMake POST_BUILD 阶段生成覆盖率配置 - setup.py 写入 build_dir 标记文件供 build_ci.py 定位配置文件 - build_ci.py 新增 py_generate_coverage 函数生成覆盖率报告 - 修复 CMake VERBATIM 问题,处理生成器表达式展开后的分号分隔路径(同时修复 C++ 覆盖率场景) See merge request: cann/pypto!3250 | 2 个月前 |
| feat(build): Simplify build_ci.py default args for run package. Co-authored-by: wangmingjun<wangmingjun13@huawei.com> # message auto-generated for no-merge-commit merge: !4914 merge build-refactor into master feat(build): Simplify build_ci.py default args for run package. Created-by: hwwangmingjun Commit-by: wangmingjun Merged-by: cann-robot Description: 主要变更 1. 全量源码统一构建 - 新增 build.sh 作为统一构建入口(薄壳),支持 --wheel(仅 whl)、--clean、--release/--debug 等参数 - CMake 新增 ENABLE_UNIFIED_BUILD 选项,以 CMake 为唯一驱动,一次流程产出:二进制 → whl → run - setup.py 支持 PYPTO_UNIFIED_BUILD=1 旁路模式,跳过命令行选项解析,仅执行 cmake --install 到 staging [#2573](https://gitcode.com/cann/pypto/issues/2573) See merge request: cann/pypto!4914 | 3 天前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| style(all): Remove trailing whitespace and add missing EOF newlines Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4916 merge style-cpp into master style(all): Remove trailing whitespace and add missing EOF newlines Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Remove trailing whitespace and add missing EOF newlines See merge request: cann/pypto!4916 | 9 天前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| feat(build): Support packing whl into run Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !4267 merge master into master feat(build): Support packing whl into run Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: ## 变更摘要 此 PR 为 PyPTO 项目新增了将 Python wheel (.whl) 包打入 CANN .run 安装包的能力。通过引入 ENABLE_FEATURE_PACKING_WHL_INTO_RUN 特性开关,将构建产物(whl 包及脚本)整合到 CANN 标准的 run 包交付流程中,使 whl 包能随 run 包一起分发和安装。整体改动涵盖 CMake 构建体系扩展、安装/卸载脚本框架搭建、包描述 XML 配置以及 CI 构建入口适配。 ## 主要改动 - **新增 CMake 打包基础设施**:新增 cmake/package.cmake(安装 whl 及脚本到 run 包目录结构)、cmake/prepare.cmake(第三方路径初始化)、cmake/fetch_cann_cmake.cmake(自动下载 CANN 公共 cmake 脚本)、version.cmake(版本声明 9.1.0),均在 ENABLE_FEATURE_PACKING_WHL_INTO_RUN 开关控制下生效;cmake/config.cmake 中移除了部分不再需要的配置(-17 行)。 - **新增 run 包安装/卸载脚本体系**:在 scripts/package/pypto/scripts/ 下新增 10 个 Shell 脚本,包括 install.sh(安装入口)、uninstall.sh(卸载入口)、run_pypto_install.sh(文件拷贝调度及 whl 的 pip install 后处理)、run_pypto_uninstall.sh(卸载流程)、pypto_custom_install.sh/pypto_custom_uninstall.sh(自定义安装/卸载逻辑)、pypto_func.sh(公共函数库,492 行)、ver_check.sh(版本校验)、cleanup.sh 和 help.info,构成了完整的 run 包生命周期管理。 - **新增包描述 XML 配置**:新增 scripts/package/pypto/pypto.xml 作为 run 包的主配置文件(定义包名 pypto、安装脚本路径、版本信息、目录结构等),并在 scripts/package/module/ascend/ 下新增 5 个模块级 XML(EngineeringCommon.xml、EngineeringFiles.xml、PyptoBin.xml、PyptoInc.xml、PyptoSo.xml),用于描述不同子模块的安装路径和权限。 - **CI 构建入口 build_ci.py 适配**:大幅扩展 build_ci.py(+80/-32),使其支持打包 whl 到 run 包的新构建模式,整合新的 CMake 流程和参数配置。 See merge request: cann/pypto!4267 | 1 个月前 |
| style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 2 天前 |
| feat(build): Simplify build_ci.py default args for run package. Co-authored-by: wangmingjun<wangmingjun13@huawei.com> # message auto-generated for no-merge-commit merge: !4914 merge build-refactor into master feat(build): Simplify build_ci.py default args for run package. Created-by: hwwangmingjun Commit-by: wangmingjun Merged-by: cann-robot Description: 主要变更 1. 全量源码统一构建 - 新增 build.sh 作为统一构建入口(薄壳),支持 --wheel(仅 whl)、--clean、--release/--debug 等参数 - CMake 新增 ENABLE_UNIFIED_BUILD 选项,以 CMake 为唯一驱动,一次流程产出:二进制 → whl → run - setup.py 支持 PYPTO_UNIFIED_BUILD=1 旁路模式,跳过命令行选项解析,仅执行 cmake --install 到 staging [#2573](https://gitcode.com/cann/pypto/issues/2573) See merge request: cann/pypto!4914 | 3 天前 |