Pull Request已成功合入, 合并人@CANN-robot
(感谢 邢智雄 的贡献)变更摘要
PR 的标题与描述均为模板占位内容,未提供具体业务背景;结合代码改动可知,本次变更主要涉及 autofuse 模块下配置解析与后处理两处调整:一是在 ParseSkipNodeNamesConfig 中先通过 RealPath 解析配置文件真实路径并做空值校验,再打开配置文件;二是清理 CubeFixpip 中被注释掉的删除节点代码残留。整体为路径解析加固与代码清理性质的小改动,不改动核心业务流程。
主要改动
- 配置文件真实路径解析:
ParseSkipNodeNamesConfig在打开配置文件前新增RealPath(config_path.c_str())调用,解析失败(返回空串)时记录GELOGW警告并直接返回,解析成功后才以real_config_path构造std::ifstream打开文件,增强配置路径解析的健壮性。 - 新增头文件依赖:
auto_fuse_config.h增加graph/utils/file_utils.h头文件引用,为调用RealPath接口提供依赖声明。 - 清理注释残留代码:
CubeFixpip中删除了已注释掉的asc_adapt::DelNode(graph, peer_in_node)行及相应说明注释,属于纯注释清理,不影响现有逻辑(当前 relu 节点保留以兼容不支持 fixpip 的 tiling key)。


compile


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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/ge | ✅ yangyongqiang0606, xchu42, ClarkXie (3/2) | ✅ yangyongqiang0606 (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. 👍


| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


/lgtm


/check-pr


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


/approve


Pull Request
描述
删除注释代码 并 校验输入文件的路径。
变更类型
请选择本次引入的变更类型:
关联的Issue
如何测试
描述测试此变更的步骤和前提条件:
核对清单
其他信息
在此添加任何其他关于本次 PR 的说明。