-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Bump the PyTorch pin to 2.14 #22501
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
Merged
+439
−182
Merged
Bump the PyTorch pin to 2.14 #22501
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
78b66f3
Pin katex to the last release the docs image's node can run
pytorchbot a4f3724
Build PyTorch from source on macOS the way PyTorch now expects
pytorchbot 3824707
Run the ROCm jobs on the ROCm version that has this PyTorch
pytorchbot 444aea9
Accept the derived shim spelling for the Metal custom ops
pytorchbot b0e5861
Build only the ATen-mode Buck targets as C++20
pytorchbot e391761
Bump the PyTorch pin to 2.14
pytorchbot 206db24
Accept the derived shim spelling for the CUDA int4 pack matmul
pytorchbot cc663a7
Build the Vulkan op tests as C++20, which ATen now requires
pytorchbot 15928ed
Let the PyTorch source build use the image's cmake, so it finds BLAS …
pytorchbot 6735cc4
Stop the image build scanning for C++20 modules it does not have scan…
pytorchbot e99879a
Add the two AOTI shims PyTorch 2.14 links against, and export all three
pytorchbot 1174a16
Pin the CUDA fallback kernel the backend just started advertising
pytorchbot e1f33f9
Pin the other direction of the moved overflow boundary
pytorchbot b750eed
Shorten the comments added by this stack
pytorchbot 380a40d
Update the cortex-m expectations 2.14 changes
pytorchbot 3ff10a3
Sort lifted constants with the other constants when building a delegate
pytorchbot 5d0b30b
Share the observer across dropout, which is an identity in eval mode
pytorchbot 286cd1a
Update the operator counts 2.14 changes, measured not guessed
pytorchbot 6c6ad01
Make the two new shims answer correctly, and pin the ATen test standard
pytorchbot b4134d2
Close the rest of the review findings on this stack
pytorchbot d3b3763
Correct the build and shim work this change adds
pytorchbot 5ada9cf
Say what the tests and comments actually check
pytorchbot 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| release/2.13 | ||
| release/2.14 |
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. 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. 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. 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
Binary file not shown.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did these get removed? Not complaining, just curious. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, and worth writing down.
On PyTorch 2.14 these graphs no longer contain a dim order clone at all, so the
count cannot match any number. The check is an exact-count assertion, so the entry
has to go rather than change value.
Two things I checked before deleting them, since a vanished op can also mean
something upstream silently stopped working:
The same tests pass on the base branch with these entries present, so this is the
new PyTorch changing the graph rather than an existing problem.
It is not caused by either of the recent dim order passes on main, the one that
removes non-contiguous dim order and the one that replaces input dim order clones
with permutations. Both are already in the base commit, and these tests are green
there.
If the clone is expected to survive for this backend, then this is worth a closer
look rather than a test update, and I am happy to dig further. From what I can see
the clone was only there to make the input contiguous, and 2.14 gets to the same
graph without it, so dropping the expectation looks right.