Repository navigation
Making the ElideAsyncCopiesPass support stream.async.slice. - #16667
Merged
Merged
Conversation
benvanik
force-pushed
the
benvanik-elide-slices
branch
3 times, most recently
from
March 5, 2024 19:41
05a18bd to
2ff5262
Compare
Abbreviated Benchmark Summary@ commit 4a34aaaf5662c8d6ae6bf1fe4e69a9c314d8d531 (vs. base f34e534a16f9cfe328f0a513ef474fd44af29a30) Data-Tiling Comparison TableClick to show
Improved Latencies 🎉
[Top 3 out of 8 results showed] No improved or regressed compilation metrics 🏖️ For more information: |
benvanik
force-pushed
the
benvanik-elide-slices
branch
from
March 6, 2024 01:12
2ff5262 to
647d4d2
Compare
benvanik
marked this pull request as ready for review
March 6, 2024 01:22
ScottTodd
approved these changes
Mar 6, 2024
This is only looking for some very specific patterns that we can (mostly) verify are safe. This can definitely be improved and widened to more cases but this is better than the nothing we do today for slice ops. Fixes #16647.
benvanik
force-pushed
the
benvanik-elide-slices
branch
from
March 6, 2024 16:47
647d4d2 to
1eb8a93
Compare
benvanik
enabled auto-merge (squash)
March 6, 2024 16:47
raikonenfnu
approved these changes
Mar 6, 2024
raikonenfnu
left a comment
Collaborator
There was a problem hiding this comment.
Wowowow, super cool stuff! Thanks for getting this out Ben! :)
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.
This is only looking for some very specific patterns that we can (mostly) verify are safe. This can definitely be improved and widened to more cases but this is better than the nothing we do today for slice ops. It does have some gotchas around potentially increasing lifetime of source tensors but we don't have a good way of measuring that today so 🤷.
Fixes #16647.