-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support Pytorch 2.1 #1271
Support Pytorch 2.1 #1271
Conversation
Thank you for the PR! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/1.3.x #1271 +/- ##
==============================================
Coverage 92.17% 92.17%
==============================================
Files 75 75
Lines 10705 10705
==============================================
Hits 9867 9867
Misses 838 838
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I need to ask a question before reviewing: Is the purpose of this PR...
If purpose is in points 1-3: regarding the base branch I am not sure what the right workflow is: actually, since v1.3 is already released I dont know whether it is usual to include support for a newer software stack retroactively; my first idea would have been to consider support of PyTorch 2.1 as a new feature and to merge into main. If purpose is point 4: if we just want to enable quick PyTorch 2.1 support for v1.3.1, I would just add a NotImplementedError for the corresponding routine in the sparse-module and to skip the corresponding test. |
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.
see my detailed comment in the conversation
Thanks @mrfh92 for taking the time to analyze the options, and apologies for being quite cryptic this morning. My purpose was 4 - to explore the possibility of a quick merge before releasing 1.3.1. Sorry I didn't see your message until after releasing. @JuanPedroGHM and I decided it would be for the best not to merge in a hurry, as we'd be supporting torch 2.1 with the CUDA CI still hanging onto the previous version of the container. Anyway:
I'm going to close this PR as the actual torch 2.1 support + CI adaptation will take place in the automation-generated PRs. Thanks everybody! |
Due Diligence
main
for new features, latest release branch (e.g.release/1.3.x
) for bug fixesDescription
heat.sparse.tests.test_arithmetics.TestArithmetics.test_mul
where the index pointer of the multiplication isn't what it should. This fails on 1 process (non-distributed) as well. Documented in #1273. Tagging @Mystic-Slice though I actually think this is a PyTorch bug.
Issue/s resolved: #
Changes proposed:
Type of change
Memory requirements
NA
Performance
NA
Does this change modify the behaviour of other functions? If so, which?
no