可用于神经网络计算架构中实现可靠性、可用性和可维护性能力,提供安全、加密及维测相关算子,是CANN算子库的重要组成部分,源码跟随CANN版本发布,支持定制开发与调试调优。【此简介由AI生成】
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
工程修复json.cmake + 增加commit模板 Co-authored-by: yue-ma<mayue54@huawei.com> # message auto-generated for no-merge-commit merge: !5 merge master into master 工程修复json.cmake + 增加commit模板 Created-by: yue-ma Commit-by: yue-ma Merged-by: cann-robot Description: 工程修复json.cmake + 增加commit模板 See merge request: cann/ops-ras!5 | 6 个月前 | |
refactor: 隔离 ops-ras 重复头文件路径 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !89 merge fix/remove-duplicate-headers into master refactor: 隔离 ops-ras 重复头文件路径 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 根据跨仓头文件扫描结果,处理重复头文件路径。 具体调整: - 清理 common/inc/framework/onnx_common.h、common/inc/op_api/level2_base.h 和 common/inc/op_api/op_api_def.h。 - 保留 aclnn_util.h 文件名及内容,将其从 common/inc/op_api 迁移到 common/include/external/ras;Git 识别为 R100。 - 保留 op_resource.h 文件名、宏和内容,将其从 common/inc/op_api 迁移到 common/include/static/ras;Git 识别为 R100。 - 使用 external/static 分类方式,并增加 ras 路径命名空间。 - 在 OPAPI_INCLUDE 中增加新的 RAS 隔离目录。 - 删除 classify_rule.yaml 中已不存在的 level2_base.h 交付项。 ## 关联的Issue 关联 Issue [#25](https://gitcode.com/cann/ops-ras/issues/25) ## 测试 UT 以及安装卸载通过 ## 文档更新 无。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:工程清理与头文件路径隔离 See merge request: cann/ops-ras!89 | 21 天前 | |
refactor: 隔离 ops-ras 重复头文件路径 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !89 merge fix/remove-duplicate-headers into master refactor: 隔离 ops-ras 重复头文件路径 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 根据跨仓头文件扫描结果,处理重复头文件路径。 具体调整: - 清理 common/inc/framework/onnx_common.h、common/inc/op_api/level2_base.h 和 common/inc/op_api/op_api_def.h。 - 保留 aclnn_util.h 文件名及内容,将其从 common/inc/op_api 迁移到 common/include/external/ras;Git 识别为 R100。 - 保留 op_resource.h 文件名、宏和内容,将其从 common/inc/op_api 迁移到 common/include/static/ras;Git 识别为 R100。 - 使用 external/static 分类方式,并增加 ras 路径命名空间。 - 在 OPAPI_INCLUDE 中增加新的 RAS 隔离目录。 - 删除 classify_rule.yaml 中已不存在的 level2_base.h 交付项。 ## 关联的Issue 关联 Issue [#25](https://gitcode.com/cann/ops-ras/issues/25) ## 测试 UT 以及安装卸载通过 ## 文档更新 无。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:工程清理与头文件路径隔离 See merge request: cann/ops-ras!89 | 21 天前 | |
修改错误的arch版本 Co-authored-by: yue-ma<mayue54@huawei.com> # message auto-generated for no-merge-commit merge: !10 merge master into master 修改错误的arch版本 Created-by: yue-ma Commit-by: yue-ma Merged-by: cann-robot Description: ## 描述 增加readme和classify <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> https://gitcode.com/cann/ops-ras/issues/20 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> 不涉及 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> docs/en/develop/aicore_develop_guide.md ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!10 | 1 个月前 | |
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 个月前 | |
更新ras仓的打标签 Co-authored-by: caiwenwen<caiwenwen6@h-partners.com> # message auto-generated for no-merge-commit merge: !80 merge master into master 更新ras仓的打标签 Created-by: caiwenwen Commit-by: caiwenwen Merged-by: cann-robot Description: ## 描述 更新reliability文件下面五个算子aclnnCrypto.md、aclnnObfuscationCalculate.md、aclnnObfuscationCalculateV2.md、aclnnObfuscationSetup.md和aclnnObfuscationSetupV2.md ## 关联的Issue 关联Issue [#12](https://gitcode.com/cann/ops-ras/issues/12) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 更新aclnnCrypto.md、aclnnObfuscationCalculate.md、aclnnObfuscationCalculateV2.md、aclnnObfuscationSetup.md和aclnnObfuscationSetupV2.md算子 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!80 | 1 个月前 | |
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 个月前 | |
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 个月前 | |
Update repo metadata and compliance config and Remove conv3d_custom example code Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !56 merge repo-metadata-compliance into master chore: update repo metadata and compliance config Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Update repo metadata and configs Remove Conv3DV2 example from repo ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> Related to [#3](https://gitcode.com/cann/ops-ras/issues/3) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述: See merge request: cann/ops-ras!56 | 2 个月前 | |
Update repo metadata and compliance config and Remove conv3d_custom example code Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !56 merge repo-metadata-compliance into master chore: update repo metadata and compliance config Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Update repo metadata and configs Remove Conv3DV2 example from repo ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> Related to [#3](https://gitcode.com/cann/ops-ras/issues/3) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述: See merge request: cann/ops-ras!56 | 2 个月前 | |
Update repo metadata and compliance config and Remove conv3d_custom example code Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !56 merge repo-metadata-compliance into master chore: update repo metadata and compliance config Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Update repo metadata and configs Remove Conv3DV2 example from repo ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> Related to [#3](https://gitcode.com/cann/ops-ras/issues/3) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述: See merge request: cann/ops-ras!56 | 2 个月前 | |
Update repo metadata and compliance config and Remove conv3d_custom example code Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !56 merge repo-metadata-compliance into master chore: update repo metadata and compliance config Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Update repo metadata and configs Remove Conv3DV2 example from repo ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> Related to [#3](https://gitcode.com/cann/ops-ras/issues/3) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述: See merge request: cann/ops-ras!56 | 2 个月前 | |
docs: add comprehensive English documentation set Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !76 merge docs/eng-ver into master docs: add comprehensive English documentation set Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 Add a comprehensive English documentation set for ops-ras: - Add root-level English project documentation, including the README, contribution guide, security statement, and changelog. - Add English entry points for the documentation center, quick start, and documentation contribution guidance. - Add English guides for installation, source builds, operator invocation, AI Core and AI CPU operator development, graph-mode adaptation, cross-platform migration, simulator usage, debugging, and performance tuning. - Add English references for operator concepts, data types, data formats, broadcasting, type conversion and promotion, quantization, sparsity, non-contiguous tensors, return codes, and two-stage APIs. - Add English operator and aclnn API lists. - Add the figures referenced by the new documentation. - Remove the placeholder docs/en/.gitignore now that the English documentation directory contains actual content. ## 关联的Issue [#8](https://gitcode.com/cann/ops-ras/issues/8) ## 测试 ## 文档更新 Added English project-level and detailed documentation covering the project overview, contribution process, security guidance, changelog, documentation navigation, quick start, installation, compilation, invocation, operator development, debugging, operator references, API references, basic concepts, quantization, sparsity, and supporting figures. ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!76 | 1 个月前 | |
fix(build): 修复依赖缺失 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !84 merge fix/ci-source-build-deps into master fix(build): 修复依赖缺失 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 修复提交 3d01c9dda789a61544ef9ea115a2b559c9690997 精简依赖和本地 OpAPI stub 后引入的源码模式 CI 编译问题。 具体调整: - 删除 RAS_NEEDS_AICPU、RAS_NEEDS_PROTOBUF、RAS_NEEDS_EIGEN、RAS_NEEDS_TILING_API 及仅用于这些门控的源码扫描。 - 无条件初始化 AICPU、Tiling API、Protobuf 和 Eigen 依赖,并统一在 ENABLE_TEST 下初始化 tikicpulib。 - 保留仅在确有 Graph 源码并请求 Graph UT 时加载 mmpa 的门控。 - 恢复 ${OPS_RAS_DIR}/common/stub/op_api include 头文件,以及仍被产品 OpAPI 和 UT 直接使用的 cast.h、contiguous.h、op_error_check.h。 ## 关联的Issue [#19](https://gitcode.com/cann/ops-ras/issues/19) ## 测试 - ut 通过。 - 安装卸载无问题 ## 文档更新 无。 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!84 | 1 个月前 | |
修改仓上格式语法问题 Co-authored-by: caiwenwen<caiwenwen6@h-partners.com> # message auto-generated for no-merge-commit merge: !75 merge master into master 修改仓上格式语法问题 Created-by: caiwenwen Commit-by: caiwenwen Merged-by: cann-robot Description: ## 描述 开源修改仓上的语法问题、产品支持情况格式,中英文空格 ## 关联的Issue 关联Issue [#7](https://gitcode.com/cann/ops-ras/issues/7) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!75 | 1 个月前 | |
docs: add comprehensive English documentation set Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !76 merge docs/eng-ver into master docs: add comprehensive English documentation set Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 Add a comprehensive English documentation set for ops-ras: - Add root-level English project documentation, including the README, contribution guide, security statement, and changelog. - Add English entry points for the documentation center, quick start, and documentation contribution guidance. - Add English guides for installation, source builds, operator invocation, AI Core and AI CPU operator development, graph-mode adaptation, cross-platform migration, simulator usage, debugging, and performance tuning. - Add English references for operator concepts, data types, data formats, broadcasting, type conversion and promotion, quantization, sparsity, non-contiguous tensors, return codes, and two-stage APIs. - Add English operator and aclnn API lists. - Add the figures referenced by the new documentation. - Remove the placeholder docs/en/.gitignore now that the English documentation directory contains actual content. ## 关联的Issue [#8](https://gitcode.com/cann/ops-ras/issues/8) ## 测试 ## 文档更新 Added English project-level and detailed documentation covering the project overview, contribution process, security guidance, changelog, documentation navigation, quick start, installation, compilation, invocation, operator development, debugging, operator references, API references, basic concepts, quantization, sparsity, and supporting figures. ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!76 | 1 个月前 | |
initial OPS-RAS | 7 个月前 | |
Update repo metadata and compliance config and Remove conv3d_custom example code Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !56 merge repo-metadata-compliance into master chore: update repo metadata and compliance config Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Update repo metadata and configs Remove Conv3DV2 example from repo ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> Related to [#3](https://gitcode.com/cann/ops-ras/issues/3) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述: See merge request: cann/ops-ras!56 | 2 个月前 | |
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 个月前 | |
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 个月前 | |
Update repo metadata and compliance config and Remove conv3d_custom example code Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !56 merge repo-metadata-compliance into master chore: update repo metadata and compliance config Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Update repo metadata and configs Remove Conv3DV2 example from repo ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> Related to [#3](https://gitcode.com/cann/ops-ras/issues/3) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述: See merge request: cann/ops-ras!56 | 2 个月前 | |
docs: add comprehensive English documentation set Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !76 merge docs/eng-ver into master docs: add comprehensive English documentation set Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 Add a comprehensive English documentation set for ops-ras: - Add root-level English project documentation, including the README, contribution guide, security statement, and changelog. - Add English entry points for the documentation center, quick start, and documentation contribution guidance. - Add English guides for installation, source builds, operator invocation, AI Core and AI CPU operator development, graph-mode adaptation, cross-platform migration, simulator usage, debugging, and performance tuning. - Add English references for operator concepts, data types, data formats, broadcasting, type conversion and promotion, quantization, sparsity, non-contiguous tensors, return codes, and two-stage APIs. - Add English operator and aclnn API lists. - Add the figures referenced by the new documentation. - Remove the placeholder docs/en/.gitignore now that the English documentation directory contains actual content. ## 关联的Issue [#8](https://gitcode.com/cann/ops-ras/issues/8) ## 测试 ## 文档更新 Added English project-level and detailed documentation covering the project overview, contribution process, security guidance, changelog, documentation navigation, quick start, installation, compilation, invocation, operator development, debugging, operator references, API references, basic concepts, quantization, sparsity, and supporting figures. ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!76 | 1 个月前 | |
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 | 1 个月前 | |
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 | 1 个月前 | |
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 个月前 | |
refactor: 隔离 ops-ras 重复头文件路径 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !89 merge fix/remove-duplicate-headers into master refactor: 隔离 ops-ras 重复头文件路径 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 根据跨仓头文件扫描结果,处理重复头文件路径。 具体调整: - 清理 common/inc/framework/onnx_common.h、common/inc/op_api/level2_base.h 和 common/inc/op_api/op_api_def.h。 - 保留 aclnn_util.h 文件名及内容,将其从 common/inc/op_api 迁移到 common/include/external/ras;Git 识别为 R100。 - 保留 op_resource.h 文件名、宏和内容,将其从 common/inc/op_api 迁移到 common/include/static/ras;Git 识别为 R100。 - 使用 external/static 分类方式,并增加 ras 路径命名空间。 - 在 OPAPI_INCLUDE 中增加新的 RAS 隔离目录。 - 删除 classify_rule.yaml 中已不存在的 level2_base.h 交付项。 ## 关联的Issue 关联 Issue [#25](https://gitcode.com/cann/ops-ras/issues/25) ## 测试 UT 以及安装卸载通过 ## 文档更新 无。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:工程清理与头文件路径隔离 See merge request: cann/ops-ras!89 | 21 天前 | |
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 | 1 个月前 | |
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 | 1 个月前 | |
chore(version): 升级 ops-ras 构建版本号到 9.2.0 Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !90 merge update-9.2.0 into master chore(version): 升级 ops-ras 构建版本号到 9.2.0 Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 将 ops-ras 构建版本号从 9.1.0 升级到 9.2.0。 version.cmake:set_cann_package(ops-ras VERSION "9.1.0") → set_cann_package(ops-ras VERSION "9.2.0") ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> https://gitcode.com/cann/ops-ras/issues/26 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> - 构建验证:构建成功,产物 cann-910b-ops-ras_9.2.0_linux-aarch64.run - 安装验证:安装成功,version.info 与 ops_ras_version.h 版本均为 9.2.0,libopapi_ras.so 及 aclnn 头文件安装齐全 - 卸载验证:卸载成功,相关文件清除干净 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!90 | 20 天前 |
ops-ras
简体中文 | English
🔥Latest News
- [2026/07] ops-ras项目首次上线。
🚀概述
ops-ras是CANN(Compute Architecture for Neural Networks)算子库中的RAS算子库(Reliability, Availability and Serviceability),提供可靠性、可用性和可维护性等能力,包含安全、加密以及维测相关算子,"ras"即来源于这三项核心特性的首字母缩写。算子库架构图如下:

📌版本配套
本项目源码会跟随CANN软件版本发布,关于CANN软件版本与本项目标签的对应关系请参阅release仓库中的相应版本说明。 请注意,为确保您的源码定制开发顺利进行,请选择配套的CANN版本与Gitcode标签源码,使用master分支可能存在版本不匹配的风险。
🛠️环境准备
环境部署是体验本项目能力的前提,请先完成NPU驱动、CANN包安装等,确保环境正常。
⬇️源码下载
环境准备好后,下载与CANN版本配套的分支源码,通用命令如下,${tag_version}替换为分支标签名。以9.0.0分支源码下载为例:
# 通用命令:git clone -b ${tag_version} https://gitcode.com/cann/ops-ras.git
git clone -b 9.0.0 https://gitcode.com/cann/ops-ras.git
说明:若环境中已存在配套分支源码,可跳过本步骤,例如CANNLab默认已提供最新最新版CANN对应的源码。
📖学习教程
💬相关信息
PS:本项目功能和文档正在持续更新和完善中,欢迎您关注最新版本。