-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Pytorch 2.3 upgrade #4239
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
Pytorch 2.3 upgrade #4239
Conversation
03945f3
to
33f6ba7
Compare
|
33f6ba7
to
8e976c8
Compare
|
/benchmark module=multimodal preset=multimodal_best benchmark=tabular_full time_limit=4h |
Job PR-4239-8e976c8 is done. |
/benchmark module=multimodal preset=multimodal_best benchmark=tabular_full time_limit=4h |
/benchmark module=tabular preset=tabular_best benchmark=tabular_full time_limit=1h |
/benchmark module=tabular preset=tabular_best benchmark=tabular_full time_limit=1h Benchmark Test Result - Pass Evaluation Results Path: s3://autogluon-ci-benchmark/evaluation/multimodal/upgrade_pytorch_2_3 Benchmark Test Result - Pass Evaluation Results Path: s3://autogluon-ci-benchmark/evaluation/multimodal/upgrade_pytorch_2_3 |
8e976c8
to
088383d
Compare
|
Job PR-4239-088383d is done. |
088383d
to
da7ba71
Compare
@suzhoum FYI I have rebased the PR branch on |
|
Job PR-4239-da7ba71 is done. |
We probably need a stricter lower bound on |
da7ba71
to
e3a977b
Compare
Thanks, I just updated the lower bound. |
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.
LGTM!
|
"torch": ">=2.2,<2.3", # Major version cap, sync with common/src/autogluon/common/utils/try_import.py | ||
"lightning": ">=2.1,<2.2", # Major version cap | ||
"pytorch_lightning": ">=2.2,<2.3", # Major version cap, capping `lightning` does not cap `pytorch_lightning`! | ||
"torch": ">=2.3,<2.4", # Major version cap, sync with common/src/autogluon/common/utils/try_import.py |
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 are we pinning torch to >=2.3? This seems much too strict.
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.
I checked the previous releases and we have been restricting torch
to be within one major version. If you feel this is too strict, i can make it to be >=2.2
@@ -130,7 +130,7 @@ def try_import_torch(): | |||
raise ImportError( | |||
"Unable to import dependency torch\n" | |||
"A quick tip is to install via `pip install torch`.\n" | |||
"The minimum torch version is currently 2.1." # sync with core/_setup_utils.py | |||
"The minimum torch version is currently 2.3." # sync with core/_setup_utils.py |
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 are we pinning torch to >=2.3? This seems much too strict.
|
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.
LGTM
Job PR-4239-8645ab6 is done. |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.