Pull Request已成功合入, 合并人@CANN-robot
(感谢 邢智雄 的贡献)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
/approveor/lgtm- Commenting
/approveimplies 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. 👍


变更摘要
此 PR 主要移除了 pkg_inc/autofuse 头文件部署相关的打包与卸载逻辑。具体包括:从 AutofuseBackend.xml 打包清单中删除所有 pkg_inc/autofuse 目录及其子目录下的头文件分发配置(共 123 行),并从 graph_autofusion_custom_uninstall.sh 卸载脚本中移除对应的目录清理代码。同时附带修正了许可证文本中的拼写错误和版权年份更新。
主要改动
- 移除
AutofuseBackend.xml中pkg_inc/autofuse的全部打包配置:删除了 23 个<path>目录定义和 23 个<file_info>头文件分发条目,涵盖autoschedule、backend、fusion、common、base、graph_metadef、proto、ascir等子模块,相关头文件不再随包安装部署。 - 清理
custom_uninstall函数中的pkg_inc卸载逻辑:移除了autofuse_include_dir变量声明及对应的remove_dir调用,使得卸载流程不再处理pkg_inc/autofuse目录。 - 修正许可证文本拼写与版权年份:将
"contiditions"更正为"conditions",并将版权年份从 2025 更新为 2026。


compile


流水线任务触发成功
任务链接 [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执行结束


代码审查
关闭摘要
- 审查文件数: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 头文件安装路径支持,三处修改互洽一致,无破坏性影响。
⚠️ 已识别出整体风险,但无法提取行内评论,请参考整体评估。


/lgtm


/lgtm


/approve


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


/approve cancel


compile


流水线任务触发成功
任务链接 [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执行结束


/check-pr


The following label is not ready.
approved: Please wait for committers to review the code.


/approve


Pull Request
描述
删除开放到cann包中的所有头文件,等后续Ascir标准化需求落地后再开放标准API。
变更类型
请选择本次引入的变更类型:
关联的Issue
如何测试
描述测试此变更的步骤和前提条件:
核对清单
其他信息
在此添加任何其他关于本次 PR 的说明。