Repository navigation
Add new aggressive fusion heuristics to DispatchLinalgOnTensorsPass - #10472
Merged
Merged
Conversation
pzread
force-pushed
the
push-dispatch-fusion
branch
from
September 19, 2022 16:07
5bec9f0 to
ab3f4fc
Compare
pzread
force-pushed
the
push-dispatch-fusion
branch
2 times, most recently
from
September 20, 2022 03:53
250fd16 to
455a43d
Compare
pzread
force-pushed
the
push-dispatch-fusion
branch
from
September 20, 2022 06:31
c860b92 to
fc73a4f
Compare
Contributor
Abbreviated Linux Benchmark Summary@ commit 435b55d97bbf5031a02ea8bc0717bd79905df2b5 (vs. base d27d6b461e75b217c143c6eda66cd5a1ee6da8e2) No improved or regressed benchmarks 🏖️ Improved Compilation Times 🎉
[Top 3 out of 39 results showed] For more information: |
Contributor
Abbreviated Benchmark Summary@ commit 435b55d97bbf5031a02ea8bc0717bd79905df2b5 (vs. base d27d6b461e75b217c143c6eda66cd5a1ee6da8e2) Regressed Latencies 🚩
[Top 3 out of 5 results showed] No improved or regressed compilation metrics 🏖️ For more information: |
pzread
force-pushed
the
push-dispatch-fusion
branch
from
September 20, 2022 21:01
490f01b to
f7e0726
Compare
pzread
force-pushed
the
push-dispatch-fusion
branch
3 times, most recently
from
September 20, 2022 23:25
78c1ca3 to
130ff85
Compare
… producer and consumer. (iree-org#10354)
With this change all the current lit tests for dispatch region formation pass. The only failing on is in dispatch_linalg_on_tensors_fusion_reduction_broadcast_elementwise.mlir since the current heuristics is being more aggressive.
pzread
force-pushed
the
push-dispatch-fusion
branch
from
September 21, 2022 00:24
130ff85 to
435b55d
Compare
pzread
force-pushed
the
push-dispatch-fusion
branch
from
September 21, 2022 20:22
703eb4a to
f87526b
Compare
pzread
marked this pull request as ready for review
September 21, 2022 21:17
MaheshRavishankar
approved these changes
Sep 22, 2022
MaheshRavishankar
left a comment
Collaborator
There was a problem hiding this comment.
Thanks @pzread !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the aggressive fusion heuristics to DispatchLinalgOnTensorsPass and guard it by the flag. Verified the numbers of dispatches are same on the benchmark suites when the flag is disabled (by default).
Currently the e2e compilation will fail when enabled due to backend issues.
Comparison on the benchmark suites w/ and w/o aggressive fusion heuristics: