Skip to content

Revert "[DispatchCreation] Extend multi-use producer fusion"#18917

Merged
IanWood1 merged 3 commits intomainfrom
revert-18551-multi_use_fusion
Oct 28, 2024
Merged

Revert "[DispatchCreation] Extend multi-use producer fusion"#18917
IanWood1 merged 3 commits intomainfrom
revert-18551-multi_use_fusion

Conversation

@IanWood1
Copy link
Contributor

@IanWood1 IanWood1 commented Oct 28, 2024

The reverted commit does not handle when the "consumer" uses a value defined above. See #18879 for the original issue. This is causing issue with ~15 onnx models.

I have a PR (#18855) to fix this by including values used in an ops region in the backwards slice, but It is waiting on upstream changes to getBackwardSlice. Currently, the PR is using a wrapper around getBackwardSlice to acheive the same effect, but this will be updated once the upstream change lands (llvm/llvm-project#113478)

Reverts #18551

@benvanik
Copy link
Collaborator

ryan-reynolds-but-why 1

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
@IanWood1
Copy link
Contributor Author

@benvanik I updated the description of the PR

Also, the pr mentioned in the description (#1885) does fix the original issue, but I'm not sure how long that would take to land. If anyone wants to take a look at that and sees it as easy to land, I could do that instead.

@IanWood1 IanWood1 marked this pull request as ready for review October 28, 2024 17:07
@IanWood1 IanWood1 removed the request for review from ScottTodd October 28, 2024 17:07
@IanWood1 IanWood1 merged commit 8806173 into main Oct 28, 2024
@IanWood1 IanWood1 deleted the revert-18551-multi_use_fusion branch October 28, 2024 18:31
Eliasj42 pushed a commit that referenced this pull request Oct 31, 2024
The reverted commit does not handle when the "consumer" uses a value
defined above. See #18879 for the
original issue. This is causing issue with ~15 onnx models.

I have a PR (#18855) to fix this by
including values used in an ops region in the backwards slice, but It is
waiting on upstream changes to `getBackwardSlice`. Currently, the PR is
using a wrapper around `getBackwardSlice` to acheive the same effect,
but this will be updated once the upstream change lands
(llvm/llvm-project#113478)

Reverts #18551

---------

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Signed-off-by: Elias Joseph <eljoseph@amd.com>
IanWood1 added a commit to IanWood1/iree that referenced this pull request Nov 5, 2024
…rg#18917)

This reverts commit 8806173.

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
giacs-epic pushed a commit to giacs-epic/iree that referenced this pull request Dec 4, 2024
…g#18917)

The reverted commit does not handle when the "consumer" uses a value
defined above. See iree-org#18879 for the
original issue. This is causing issue with ~15 onnx models.

I have a PR (iree-org#18855) to fix this by
including values used in an ops region in the backwards slice, but It is
waiting on upstream changes to `getBackwardSlice`. Currently, the PR is
using a wrapper around `getBackwardSlice` to acheive the same effect,
but this will be updated once the upstream change lands
(llvm/llvm-project#113478)

Reverts iree-org#18551

---------

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Signed-off-by: Giacomo Serafini <179146510+giacs-epic@users.noreply.github.com>
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.

3 participants

Comments