已合并
refactor(build): align build, test, and package pipelines with CANN 9.1.0 #69
LiuZonggu创建于 7月21日
refactor(build): align build, test, and package pipelines with CANN 9.1.0 #69
已合并
LiuZonggu创建于 7月21日
从已删除 :oat-correct合入到cann/ops-rasmaster
LiuZonggu成员
7月21日

描述

本 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

测试

  • 构建:bash build.sh --pkg 通过;run 包 --check、--list、安装 fresh install、卸载 uninstall 无残留检查通过;默认包内无 graph 产物。

文档更新

本 PR 未修改仓内产品文档;PR 与关联 Issue 的描述已按当前分支实现和实际验证边界更新。

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 LiuZonggu 的贡献)
LLiuZonggu成员
7月21日 创建了 pull request,commit 00c52bcc
CANN-robotCANN-robot成员
7月21日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
7月21日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
sig-ops-ras ✅ cxg_qg, liuboxi (2/2) ✅ cxg_qg (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

LiuZonggu, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
LLiuZonggu成员
7月21日 修改了pull request 的描述
LiuZonggu成员
7月21日 评论:

compile

likedislike
此处折叠了184条消息 查看更多
liuboxi成员
7月29日 评论:

/lgtm

likedislike
chenxiaogang成员
7月30日 评论:

/approve
/lgtm

likedislike
CANN-robotCANN-robot成员
7月30日 添加了label:lgtmapproved
CANN-robotCANN-robot成员
7月30日 关闭了关联的issue
CANN-robotCANN-robot成员
7月30日 合入了pull request