| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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 天前 | |
feat(interpreter): Support cacl.so compile online Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !1398 merge interpreter into master feat(interpreter): Support cacl.so compile online Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: 1. Remove BUILD_OPEN_PROJECT option in CMake configuration 2. Package header files and source files required by calc binary into whl package Related Issue: https://gitcode.com/cann/pypto/pull/1315 See merge request: cann/pypto!1398 | 4 个月前 | |
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 个月前 | |
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 个月前 | |
feat(docs): Fix docs error Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !1483 merge interpreter into master feat(docs): Fix docs error Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: feat(docs): Fix docs error Related Issue: https://gitcode.com/cann/pypto/issues/544 Related Issue: https://gitcode.com/cann/pypto/issues/269 Related Issue: https://gitcode.com/cann/pypto/issues/205 Related Issue: https://gitcode.com/cann/pypto/issues/610 See merge request: cann/pypto!1483 | 4 个月前 | |
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(build): Divide source code into modules Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !3283 merge master into master feat(build): Divide source code into modules Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: 描述: 将 PyPTO 源代码按功能模块进行划分,以便更精细化地管理代码和生成覆盖率报告。 主要变更: - 在 classify_rule.yaml 中定义了 10 个功能模块:operator、operation_vector、operation_cube、operation_conv、operation_distributed、cost_model、frontend、passes、codegen 和 machine - 更新构建脚本添加必要的包含目录(Python、pybind11、CANN pkg_inc) - 修改覆盖率生成脚本以支持模块化规则解析 See merge request: cann/pypto!3283 | 2 个月前 | |
feat(interpreter): Support cacl.so compile online Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !1398 merge interpreter into master feat(interpreter): Support cacl.so compile online Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: 1. Remove BUILD_OPEN_PROJECT option in CMake configuration 2. Package header files and source files required by calc binary into whl package Related Issue: https://gitcode.com/cann/pypto/pull/1315 See merge request: cann/pypto!1398 | 4 个月前 | |
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(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 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 天前 | ||
| 4 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 4 个月前 | ||
| 3 天前 | ||
| 2 个月前 | ||
| 4 个月前 | ||
| 3 天前 | ||
| 3 天前 |