已合并
【PR】: 修复schedule阶段split转load时连接多个结点导致无法拆分到子图上的问题 #876
【PR】: 修复schedule阶段split转load时连接多个结点导致无法拆分到子图上的问题 #876
已合并
chenweiheng创建于 6月16日
chenweiheng成员
6月16日

Pull Request

描述

修复schedule阶段split转load时连接多个结点导致无法拆分到子图上的问题

问题场景:
如下图,走进split的case3场景,会将split转load,此时每个输出转出来的load的轴大小不一样,但又由于都连在一个load上,导致没法拆分到子图,从而引发精度问题
image.png

修复方案:
参考concat的重计算轴然后根据repeat刷轴的流程,从split的输出查找出所有被多个分支共享的祖先节点,若其上下游中有节点连到了Split的另一组输入,则认定为是需要拆分的节点,然后进行复制拆分,使其能拆分到多个子图上,可拆分的场景如下
image.png

变更类型

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

关联的Issue

https://gitcode.com/cann/graph-autofusion/issues/119

如何测试

描述测试此变更的步骤和前提条件:
1.测试白泽用例tc_af_SPBC_0357
2.测试白泽用例tc_af_SPBC_0357

核对清单

其他信息

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

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 chenweiheng 的贡献)
Cchenweiheng成员
6月16日 添加了label:enhancement
Cchenweiheng成员
6月16日 创建了 pull request,commit 55514ede
CANN-robotCANN-robot成员
6月16日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
6月16日 评论:

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 ✅ wangxiaotian995, xchu42 (2/2) ✅ wangxiaotian995 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
chenweiheng成员
6月16日 评论:

compile

likedislike
此处折叠了120条消息 查看更多
wangxiaotian995成员
6月23日 评论:

/lgtm

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

/approve

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