已合并
【PR】: [fix] [autofuse] remove open headers of gaf. #1196
【PR】: [fix] [autofuse] remove open headers of gaf. #1196
已合并
邢智雄创建于 7月4日
邢智雄
邢智雄成员
7月4日

Pull Request

描述

删除开放到cann包中的所有头文件,等后续Ascir标准化需求落地后再开放标准API。

变更类型

请选择本次引入的变更类型:

关联的Issue

如何测试

描述测试此变更的步骤和前提条件:

  1. CI流水线pass
  2. RDV pass

核对清单

其他信息

在此添加任何其他关于本次 PR 的说明。

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 邢智雄 的贡献)
邢智雄邢智雄成员
7月4日 添加了label:enhancement
邢智雄邢智雄成员
7月4日 创建了 pull request,commit 9b03f769
CANN-robotCANN-robot成员
7月4日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
7月4日 评论:

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
repo-cann/graph-autofusion zhanj, xchu42, wangxiaotian995 (3/2) zhanj (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
atomgit-bot
atomgit-bot
7月4日 评论:

变更摘要

此 PR 主要移除了 pkg_inc/autofuse 头文件部署相关的打包与卸载逻辑。具体包括:从 AutofuseBackend.xml 打包清单中删除所有 pkg_inc/autofuse 目录及其子目录下的头文件分发配置(共 123 行),并从 graph_autofusion_custom_uninstall.sh 卸载脚本中移除对应的目录清理代码。同时附带修正了许可证文本中的拼写错误和版权年份更新。

主要改动

  • 移除 AutofuseBackend.xmlpkg_inc/autofuse 的全部打包配置:删除了 23 个 <path> 目录定义和 23 个 <file_info> 头文件分发条目,涵盖 autoschedulebackendfusioncommonbasegraph_metadefprotoascir 等子模块,相关头文件不再随包安装部署。
  • 清理 custom_uninstall 函数中的 pkg_inc 卸载逻辑:移除了 autofuse_include_dir 变量声明及对应的 remove_dir 调用,使得卸载流程不再处理 pkg_inc/autofuse 目录。
  • 修正许可证文本拼写与版权年份:将 "contiditions" 更正为 "conditions",并将版权年份从 2025 更新为 2026。
likedislike
不准确?
邢智雄
邢智雄成员
7月4日 评论:

compile

likedislike
邢智雄邢智雄成员
7月4日 update merge request[project id: 8005834, iid: 1196, commit_id: c420e12eb81d92163299969e1a7df00edbcf72bc] virtual merging success
CANN-robotCANN-robot成员
7月4日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
7月4日 评论:

流水线任务触发成功
任务链接 [166452b0c61a4aba9605ceda5720cf21][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
codecheck_codestyle ✅ SUCCESS >>>>>
codecheck_precommit ✅ SUCCESS >>>>>

[2026-07-04 10:26:42]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7月4日 评论:

流水线任务触发成功
任务链接 [89da1c5c77f74f55af0790885fc78bdb][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
PreSmoke_A900_npupool ✅ SUCCESS >>>>>

[2026-07-04 10:30:48]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7月4日 评论:

流水线任务触发成功
任务链接 [ed4c35177cd848edaee5c7d82c7630c7][流水线指导]

任务名称状态日志下载链接
UT_Test_Python_superkernel ✅ SUCCESS >>>>>
ST_Test_Python_superkernel ✅ SUCCESS >>>>>
UT_Test_superkernel ✅ SUCCESS >>>>>
UT_Test_autofuse_framework ✅ SUCCESS >>>>>
ST_Test_autofuse_framework ✅ SUCCESS >>>>>
UT_Test_autofuse_ascendc_api ✅ SUCCESS >>>>>
ST_Test_autofuse_ascendc_api ✅ SUCCESS >>>>>
ST_Test_autofuse_e2e ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>

[2026-07-04 10:34:03]    CI执行结束

likedislike
邢智雄邢智雄成员
7月4日 修改标题为 “【PR】: [fix] [autofuse] remove open headers of gaf.”,原标题为“【PR】: 简要描述”
atomgit-bot
atomgit-bot
7月4日 评论:

代码审查

关闭摘要

  • 审查文件数:3
  • 发现问题数:0(P0: 0, P1: 0, P2: 0, P3: 0)

各文件审查结论

文件 结论
autofuse/CMakeLists.txt 无问题 — 移除变量定义及所有 install() 使用,全代码库无残留引用
scripts/package/graph_autofusion/scripts/graph_autofusion_custom_uninstall.sh 无问题 — 同步移除卸载清理逻辑,与 CMake 变更一致
scripts/package/module/ascend/AutofuseBackend.xml 无问题 — 同步移除打包目录与文件条目,XML 结构完整

整体风险评估:低风险。变更为统一移除 pkg_inc/autofuse 头文件安装路径支持,三处修改互洽一致,无破坏性影响。

⚠️ 已识别出整体风险,但无法提取行内评论,请参考整体评估。

likedislike
不准确?
CANN-robotCANN-robot成员
7月4日 删除了label:ci-pipeline-running
此处折叠了7条事件消息 查看更多
邢智雄邢智雄成员
7月6日 修改了pull request 的描述
xchu42
xchu42成员
7月6日 评论:

/lgtm

likedislike
wangxiaotian995成员
7月6日 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
7月6日 添加了label:lgtm
zhanj
zhanj成员
7月7日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
7月7日 添加了label:approved
CANN-robotCANN-robot成员
7月7日 删除了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
7月7日 评论:

The following label is not ready.

ci-pipeline-passed: The ci-pipeline-passed label is expired. Please compile again.

likedislike
zhanj
zhanj成员
7月7日 评论:

/approve cancel

likedislike
CANN-robotCANN-robot成员
7月7日 删除了label:approved
CANN-robot
CANN-robot成员
7月7日 评论:

Review Code Feedback

approved was removed in this pull request by: zhanj. 😳

likedislike
邢智雄
邢智雄成员
7月7日 评论:

compile

likedislike
邢智雄邢智雄成员
7月7日 update merge request[project id: 8005834, iid: 1196, commit_id: 56762c97ba7f23a44c870550887292ac84f4659b] virtual merging success
CANN-robotCANN-robot成员
7月7日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
7月7日 评论:

流水线任务触发成功
任务链接 [60a24e2b2461480a9219bb01f2a3870f][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
PreSmoke_A900_npupool ✅ SUCCESS >>>>>

[2026-07-07 11:06:26]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7月7日 评论:

流水线任务触发成功
任务链接 [f6de85a71073457cbd97e91acabf4f2b][流水线指导]

任务名称状态日志下载链接
UT_Test_Python_superkernel ✅ SUCCESS >>>>>
ST_Test_Python_superkernel ✅ SUCCESS >>>>>
UT_Test_superkernel ✅ SUCCESS >>>>>
UT_Test_autofuse_framework ✅ SUCCESS >>>>>
ST_Test_autofuse_framework ✅ SUCCESS >>>>>
UT_Test_autofuse_ascendc_api ✅ SUCCESS >>>>>
ST_Test_autofuse_ascendc_api ✅ SUCCESS >>>>>
ST_Test_autofuse_e2e ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>

[2026-07-07 11:27:22]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7月7日 评论:

流水线任务触发成功
任务链接 [44efa1978f654fb39e9f9b5fc2f6b9c6][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
codecheck_codestyle ✅ SUCCESS >>>>>
codecheck_precommit ✅ SUCCESS >>>>>

[2026-07-07 11:00:49]    CI执行结束

likedislike
CANN-robotCANN-robot成员
7月7日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
7月7日 添加了label:ci-pipeline-passed
邢智雄
邢智雄成员
7月7日 评论:

/check-pr

likedislike
CANN-robot
CANN-robot成员
7月7日 评论:

The following label is not ready.

approved: Please wait for committers to review the code.

likedislike
zhanj
zhanj成员
7月7日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
7月7日 添加了label:approved
CANN-robotCANN-robot成员
7月7日 合入了pull request