| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: 精简非公共工程并保留公共能力 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !45 merge update-repo into master refactor: 精简非公共工程并保留公共能力 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 本 PR 基于公共工程能力,对最初从的非公共实现、测试和工程进行精简。 - 删除没有 RAS 实际使用,构建目标、安装或公共使用的 common/act、旧 kernel/fallback/tiling 实现和无消费者头文件。 - 保留并整理 AddExample、opgen 实际使用的公共 OpHost tiling 能力;存在真实 kernel consumer 时仍按需交付 OPBASE atvoss/op_kernel payload。 - 删除仓内冗余的 level0/aclnn_kernels 实现。 - 清理 build/CMake/UT/CI/英文文档中的 ops-nn、ops-math 和 MatMul 遗留命名、无效路径及硬编码算子分组;保留固定 CI 入口。 ## 关联的Issue [#10](https://gitcode.com/cann/ops-ras/issues/10) ## 测试 全量默认 UT:bash build.sh -u 后 CTest 2/2 通过;OpAPI 29 个用例、公共 Host 3 个用例通过。 安装卸载没有残留文件和权限问题 ## 文档更新 更新英文编译、安装、AI Core/AI CPU 开发、算子调用和仿真文档:统一为 ops-ras/AddExample 的真实包名、库名、命令和路径,修复错误相对链接,并删除本仓不存在的离线下载工具描述。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:仓库工程精简与公共能力整理 See merge request: cann/ops-ras!45 | 1 个月前 | |
chore: normalize copyright year to 2026 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !66 merge split/pr10-copyright-2026 into master chore: normalize copyright year to 2026 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 Normalize Huawei-owned copyright and license header year expressions across the repository: - Replaced legacy years, year ranges, and dynamic year placeholders with the single year 2026. - Standardized 460 copyright licenses across 455 tracked files. - Updated the copyright header generation logic in scripts/package/package.py and scripts/util/ascendc_impl_build.py so newly generated files consistently use the single year 2026. - Preserved third-party copyright years, license text, documentation content, and unrelated code behavior. ## 关联的Issue Related to issue [#4](https://gitcode.com/cann/ops-ras/issues/4) ## 测试 ## 文档更新 No documentation content or structure was changed. Only Huawei copyright year expressions in tracked Markdown files were normalized. ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:Copyright/license year normalization See merge request: cann/ops-ras!66 | 2 个月前 | |
refactor(build): align build, test, and package pipelines with CANN 9.1.0 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !69 merge oat-correct into master refactor(build): align build, test, and package pipelines with CANN 9.1.0 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 本 PR 将 ops-ras 的依赖、构建、测试和安装基础设施对齐到 CANN 9.1.0,并清理了不属于 RAS 仓的 NN REG_OP 注册。 - CMake 与依赖:接入 cann-cmake 公共能力,统一管理 JSON、Abseil、Protobuf、Eigen、GoogleTest、OPBASE、mmpa 和可选 ops-test-kit;支持显式 CANN_3RD_LIB_PATH 与 ccache 开关;使用 version.cmake 生成 9.1.0 版本信息。 - 构建与 binary:更新构建入口、binary 配置/生成工具、Ascend350 映射、reliability 分类,以及 NPU architecture/Regbase 相关平台判断。 - 测试基础设施:增加 tiling、infershape、op_graph、op_kernel 和 AICPU 的公共 UT 执行与构建支撑。 - Graph/ES:删除 op_ras_proto_extend.h 内的 NN 模板注册;保留 --opgraph、proto 合并、Graph/ES 构建、Graph UT 和可选安装框架,并以实际代码 *_proto*.h 作为 source gate。当前默认源码无该输入,因此不生成或安装 ops_proto_ras.*、libopgraph_ras.so、libes_ras.so、ES 头或 wheel;显式 custom Graph source 仍可激活该框架。 - package/install:解压即安装,改用 cann-cmake 的公共 makeself/CPack/install 能力,统一 ops-ras 产品名与 ops_ras share-info 目录,删除仓内重复的 packer、latest-manager、makeself 和废弃安装辅助脚本;支持多路径 ASCEND_CUSTOM_OPP_PATH、RAS vendor fallback,以及 custom proto 对同包 ES 库的相对 RUNPATH。 ## 关联的Issue [#5](https://gitcode.com/cann/ops-ras/issues/5) ## 测试 - 构建:bash build.sh --pkg 通过;run 包 --check、--list、安装 fresh install、卸载 uninstall 无残留检查通过;默认包内无 graph 产物。 ## 文档更新 本 PR 未修改仓内产品文档;PR 与关联 Issue 的描述已按当前分支实现和实际验证边界更新。 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他:CANN 9.1.0 工程基础设施迁移 See merge request: cann/ops-ras!69 | 2 个月前 | |
fix: remove trailing blank lines at end of aicpu test_aclnn_add_example.cpp Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !117 merge fix/redundant-whitespace-aicpu into master fix: remove trailing blank lines at end of aicpu test_aclnn_add_example.cpp Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 Remove three redundant blank lines at the end of scripts/opgen/template/add_example_aicpu/examples/test_aclnn_add_example.cpp. This is a code style cleanup: the file ended with three extra blank lines after the closing */ of the license header comment, instead of a single trailing newline. Since this file belongs to the opgen add_example_aicpu template, the redundant blank lines would otherwise propagate to newly generated AICPU example files. This is a whitespace-only change with no functional impact. Same class of cleanup as PR #114 (which fixed the trailing blank lines in the add_example template). ## 关联的Issue Fixes #46 https://gitcode.com/cann/ops-ras/issues/46 ## 测试 - Verified via git diff that only the three trailing blank lines are removed; no other content is touched. - Whitespace-only change; no impact on compilation or runtime behavior. ## 文档更新 None. ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:Code style cleanup (remove redundant trailing blank lines) See merge request: cann/ops-ras!117 | 16 天前 | |
统一配置ops-ras安装目录及文件权限 Co-authored-by: q00889097<qinhan10@huawei.com> # message auto-generated for no-merge-commit merge: !93 merge master into master 统一配置ops-ras安装目录及文件权限 Created-by: qinhan123 Commit-by: q00889097 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 本 PR 主要统一了 ops-ras 安装流程中安装目录及文件的权限配置:移除散落在各脚本中的冗余 chmod/chown 操作,同时升级了 cann-cmake 第三方依赖版本, 规范权限统一的操作在cmake中实现。整体以减少冗余权限设置、统一权限基准为主,不涉及安装流程的业务逻辑改动。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> https://gitcode.com/cann/ops-ras/issues/29 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [x] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!93 | 1 个月前 | |
refactor: 重命名 op_resource.h 为 op_resource_ras.h,消除跨仓重复头文件 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !110 merge fix/duplicate-headers into master refactor: 重命名 op_resource.h 为 op_resource_ras.h,消除跨仓重复头文件 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 跨仓头文件重复扫描按**文件名(basename)**判定,与文件所在路径无关。commit 96149df 已将 op_resource.h 从 common/inc/op_api 迁移到 common/include/static/ras(路径隔离),但文件名未变,跨仓扫描仍判定为重复头文件。 本 PR 将头文件恢复至 96149df 之前的路径并原地重命名: - common/include/static/ras/op_resource.h → common/inc/op_api/op_resource_ras.h,include guard 由 COMMON_RAS_OP_RESOURCE_H 更新为 COMMON_RAS_OP_RESOURCE_RAS_H,\file 注释同步更新 - scripts/util/modify_gen_aclnn_static.py:autogen 阶段 sed 替换目标由 op_resource.h 改为 op_resource_ras.h - cmake/variables.cmake:移除 96149df 新增的失效 include 路径 ${OPS_RAS_DIR}/common/include/static/ras(common/inc/op_api 原本就在 OPAPI_INCLUDE 中,构建接线无需新增) ## 关联的Issue 关联 Issue https://gitcode.com/cann/ops-ras/issues/39 ## 测试 全仓检查无 op_resource.h 残留引用,宏 EXTERN_OP_RESOURCE / AUTO_GEN_OP_RESOURCE 及其余逻辑未改动 ## 文档更新 无 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:工程清理与头文件重命名 See merge request: cann/ops-ras!110 | 19 天前 | |
refactor(build): align build, test, and package pipelines with CANN 9.1.0 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !69 merge oat-correct into master refactor(build): align build, test, and package pipelines with CANN 9.1.0 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 本 PR 将 ops-ras 的依赖、构建、测试和安装基础设施对齐到 CANN 9.1.0,并清理了不属于 RAS 仓的 NN REG_OP 注册。 - CMake 与依赖:接入 cann-cmake 公共能力,统一管理 JSON、Abseil、Protobuf、Eigen、GoogleTest、OPBASE、mmpa 和可选 ops-test-kit;支持显式 CANN_3RD_LIB_PATH 与 ccache 开关;使用 version.cmake 生成 9.1.0 版本信息。 - 构建与 binary:更新构建入口、binary 配置/生成工具、Ascend350 映射、reliability 分类,以及 NPU architecture/Regbase 相关平台判断。 - 测试基础设施:增加 tiling、infershape、op_graph、op_kernel 和 AICPU 的公共 UT 执行与构建支撑。 - Graph/ES:删除 op_ras_proto_extend.h 内的 NN 模板注册;保留 --opgraph、proto 合并、Graph/ES 构建、Graph UT 和可选安装框架,并以实际代码 *_proto*.h 作为 source gate。当前默认源码无该输入,因此不生成或安装 ops_proto_ras.*、libopgraph_ras.so、libes_ras.so、ES 头或 wheel;显式 custom Graph source 仍可激活该框架。 - package/install:解压即安装,改用 cann-cmake 的公共 makeself/CPack/install 能力,统一 ops-ras 产品名与 ops_ras share-info 目录,删除仓内重复的 packer、latest-manager、makeself 和废弃安装辅助脚本;支持多路径 ASCEND_CUSTOM_OPP_PATH、RAS vendor fallback,以及 custom proto 对同包 ES 库的相对 RUNPATH。 ## 关联的Issue [#5](https://gitcode.com/cann/ops-ras/issues/5) ## 测试 - 构建:bash build.sh --pkg 通过;run 包 --check、--list、安装 fresh install、卸载 uninstall 无残留检查通过;默认包内无 graph 产物。 ## 文档更新 本 PR 未修改仓内产品文档;PR 与关联 Issue 的描述已按当前分支实现和实际验证边界更新。 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他:CANN 9.1.0 工程基础设施迁移 See merge request: cann/ops-ras!69 | 2 个月前 | |
refactor(build): align build, test, and package pipelines with CANN 9.1.0 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !69 merge oat-correct into master refactor(build): align build, test, and package pipelines with CANN 9.1.0 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 本 PR 将 ops-ras 的依赖、构建、测试和安装基础设施对齐到 CANN 9.1.0,并清理了不属于 RAS 仓的 NN REG_OP 注册。 - CMake 与依赖:接入 cann-cmake 公共能力,统一管理 JSON、Abseil、Protobuf、Eigen、GoogleTest、OPBASE、mmpa 和可选 ops-test-kit;支持显式 CANN_3RD_LIB_PATH 与 ccache 开关;使用 version.cmake 生成 9.1.0 版本信息。 - 构建与 binary:更新构建入口、binary 配置/生成工具、Ascend350 映射、reliability 分类,以及 NPU architecture/Regbase 相关平台判断。 - 测试基础设施:增加 tiling、infershape、op_graph、op_kernel 和 AICPU 的公共 UT 执行与构建支撑。 - Graph/ES:删除 op_ras_proto_extend.h 内的 NN 模板注册;保留 --opgraph、proto 合并、Graph/ES 构建、Graph UT 和可选安装框架,并以实际代码 *_proto*.h 作为 source gate。当前默认源码无该输入,因此不生成或安装 ops_proto_ras.*、libopgraph_ras.so、libes_ras.so、ES 头或 wheel;显式 custom Graph source 仍可激活该框架。 - package/install:解压即安装,改用 cann-cmake 的公共 makeself/CPack/install 能力,统一 ops-ras 产品名与 ops_ras share-info 目录,删除仓内重复的 packer、latest-manager、makeself 和废弃安装辅助脚本;支持多路径 ASCEND_CUSTOM_OPP_PATH、RAS vendor fallback,以及 custom proto 对同包 ES 库的相对 RUNPATH。 ## 关联的Issue [#5](https://gitcode.com/cann/ops-ras/issues/5) ## 测试 - 构建:bash build.sh --pkg 通过;run 包 --check、--list、安装 fresh install、卸载 uninstall 无残留检查通过;默认包内无 graph 产物。 ## 文档更新 本 PR 未修改仓内产品文档;PR 与关联 Issue 的描述已按当前分支实现和实际验证边界更新。 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他:CANN 9.1.0 工程基础设施迁移 See merge request: cann/ops-ras!69 | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 16 天前 | ||
| 1 个月前 | ||
| 19 天前 | ||
| 2 个月前 | ||
| 2 个月前 |