-
Notifications
You must be signed in to change notification settings - Fork 24.8k
[HOP] Mutation and alias rework #146658
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
Closed
Closed
[HOP] Mutation and alias rework #146658
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
9e8651f
WIP: rework
bohnstingl 35e91b9
Lintrunner
bohnstingl 0f7f261
Fixed import issue with FlexAttention
bohnstingl def6c92
Code cleanup
bohnstingl 08611ca
Fixed missing import issues
bohnstingl 83660b9
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl a3087fe
Integrated lifted arguments and aot_eager backend for associative_scan
bohnstingl 0bdf2cd
WIP commit
bohnstingl 0cfe187
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl c0e507d
WIP
bohnstingl 9dbd727
Moved alias and mutation checks to dynamo for associative_scan and scan
bohnstingl 884a18a
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl b171692
Integrated mutation check to cond
bohnstingl 3a977f9
Reworked alias and mutation checks for scan, associative_scan, while_…
bohnstingl ca6eedb
WIP
bohnstingl ef2e493
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 8eea0f2
Integrated code reviews
bohnstingl ef1a56e
Fixed lint issues
bohnstingl 0920f06
Fixed lint issues
bohnstingl 61b71d7
WIP
bohnstingl eb99f6d
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 3947d5a
Deferred flex_attention mutation checking
bohnstingl 6bcbc69
Fixed import issue with flex_attention
bohnstingl 05e6e7d
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl d410185
Only use input mutation for flex_attention
bohnstingl 4e67997
Fixed variable name error
bohnstingl 9e609eb
Fixed imports
bohnstingl 6450042
Fixed issues with mutation and alias check, i.e., pytree output neede…
bohnstingl 23a2ed9
Fixed alias issue with cond
bohnstingl a23a12c
Fixed issues with CI tests for input mutation/alias. Reverted checks …
bohnstingl ed9e979
Unified analysis of mutation and alias
bohnstingl 0a222ad
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl ac4a048
Fixed testcases
bohnstingl 95c49ff
Lintrunner fixes
bohnstingl 06173fb
Fixed some more testcases and cleaned resolved issue references
bohnstingl 3cf0680
Removed unnecessary code
bohnstingl 34d8676
Update to executorch_call_delegate
bohnstingl a8c5b11
Fixed issue with lifted arguments in mutation checks for scan and ass…
bohnstingl c05af7d
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 12d9922
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 1750287
Updates to HOPs and to alias checking speculate_subgraph
bohnstingl 9adc558
Fixed issues with new alias rework and fake inputs
bohnstingl e3e8200
Fixing lint issues and CI tests
bohnstingl e6831d9
Fixed further CI testcases and lint issues
bohnstingl c8131ec
Fixed cond testcase
bohnstingl 781291f
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 48483a1
Reverted executorch HOP
bohnstingl c92f378
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 738b649
Fixed CI tests
bohnstingl b9d261c
Fixed CI tests
bohnstingl 5802346
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 15fe278
Removed unnecessary code
bohnstingl ee7fc82
Fixed merge issues
bohnstingl 784969c
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl e6a763e
Fixed CI tests
bohnstingl dfe3fe1
Update invoke_subgraph graphs
bohnstingl 770b761
Reverted invoke_subgraph and FunctionalizeCtxWrapper
bohnstingl 7cd9e70
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 6ef62ea
Fixed issue with return order of alias and mutation function
bohnstingl 089513e
Fixed cond testcases
bohnstingl 58acb70
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 34367a8
Cleaned up code
bohnstingl 474e86d
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl fe3b370
Fixed some CI issues and integrated review comments
bohnstingl e1d46b4
Merge branch 'main' of github.com:pytorch/pytorch into mutation_alias…
bohnstingl 55b0301
Fixes to CI tests because of alias_mutation order
bohnstingl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
WIP: rework
- Loading branch information
commit 9e8651f4087d98d9a361ed85f7a22dfcb700c91e
There are no files selected for viewing
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
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
F438
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
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
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
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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below
F438
. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.