Skip to content
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

Apply fusions correctly when fused ops are chained #369

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

robertknight
Copy link
Owner

Given a graph structure like:

A -> B -> C -> D

When fusions are generated for A -> B and C -> D, the input for "C" needs to be replaced by the output of the fused A -> B.

Given a graph structure like:

```
A -> B -> C -> D
```

When fusions are generated for `A -> B` and `C -> D`, the input for "C" needs
to be replaced by the output of the fused `A -> B`.
@robertknight robertknight marked this pull request as ready for review September 21, 2024 05:06
@robertknight robertknight merged commit 3463b62 into main Sep 21, 2024
2 checks passed
@robertknight robertknight deleted the chained-opts-fusion branch September 21, 2024 05:07
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.

1 participant