-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CINN / Fusion] Support fusion of Pattern with multi downstream #66034
[CINN / Fusion] Support fusion of Pattern with multi downstream #66034
Conversation
… support-horizontal-fusion
Reorder add_store_in_fusion_op pass and group_cluster pass
… into multi_downstream
add reverse topo search algorithm for op fusion
你的PR提交成功,感谢你对开源项目的贡献! |
8a29727
to
486d511
Compare
… fix-anchor-fusion
… fix-anchor-fusion
e3f24c4
to
99e3973
Compare
b38e004
to
49bc25a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
count += is_elementwise; | ||
} | ||
} | ||
return (count <= 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里应该是 T -> (T, T, T, B) 的场景还是会因为后端不支持报错。所以判断应该是 count < len(downstreams)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下个 PR 修复
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x = paddle.rand((32, 32, 128)) | ||
return (x,) | ||
|
||
print("feifeifei") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
之后 PR 删一下~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR Category
CINN
PR Types
Improvements
Description
Pcard-76996
Done in this PR
Todo