Skip to content

[CINN] Add method to check applicability of GridReduce #68338

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

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

lshpku
Copy link
Contributor

@lshpku lshpku commented Sep 20, 2024

PR Category

CINN

PR Types

New features

Description

Add the GetCanApplyGridReduce method to check whether we can apply grid reduce in the given fusion group. The result is saved in the can_apply_grid_reduce field in the FusionGroupInfo struct.

We can apply grid reduce if there is exactly one reduce in the fusion group, and whose result is not broadcasted before output.

Pcard-85711

Copy link

paddle-ci-bot bot commented Sep 28, 2024

Sorry to inform you that 30c8d93's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@lshpku lshpku force-pushed the can_apply_grid_reduce branch from 30c8d93 to fed2ec8 Compare September 30, 2024 12:45
Copy link

paddle-ci-bot bot commented Oct 8, 2024

Sorry to inform you that fed2ec8's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@lshpku lshpku force-pushed the can_apply_grid_reduce branch from fed2ec8 to 919ec2a Compare October 8, 2024 03:23
@lshpku lshpku force-pushed the can_apply_grid_reduce branch from 919ec2a to 3b9ae34 Compare October 8, 2024 12:06
@zyfncg zyfncg merged commit c104a7c into PaddlePaddle:develop Oct 9, 2024
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants