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
[WIP][DO NOT MERGE] Update version of torch, lightning, transformers in multimodal #2479
Conversation
HPO error due to ray-project/ray#27770 |
"torch>=1.9,<1.13", | ||
"torchvision<0.14.0", | ||
"torchtext<0.14.0", | ||
"torch>=1.9,<1.14", |
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.
You'll need to update tabular's fastai extra_dependencies key since it also requires torch. Maybe we move torch to the _setup_utils.py
file so we ensure consistent versions across the package?
@@ -892,8 +892,9 @@ def _hyperparameter_tune(self, hyperparameter_tune_kwargs, resources, **_fit_arg | |||
) | |||
|
|||
ray_tune_adapter = AutommRayTuneAdapter() | |||
if try_import_ray_lightning(): | |||
ray_tune_adapter = AutommRayTuneLightningAdapter() | |||
# Do not use ray lightning. |
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.
Add context
"torch>=1.9,<1.13", | ||
"torchvision<0.14.0", | ||
"torchtext<0.14.0", | ||
"torch>=1.9,<1.14", |
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.
security concern: 1.12.x
have critical RCE CVEs open against it. pytorch is not planning to fix it in 1.12.x
, I suggest capping it from the bottom to >=1.13.1
?
@@ -21,7 +21,7 @@ function setup_mxnet_gpu { | |||
} | |||
|
|||
function setup_torch_gpu { | |||
python3 -m pip install torch==1.12.0+cu113 torchvision==0.13.0+cu113 --extra-index-url https://download.pytorch.org/whl/cu113 | |||
python3 -m pip install torch==1.13.0+cu117 torchvision==0.14.0+cu117 --extra-index-url https://download.pytorch.org/whl/cu117 |
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.
Please update to 1.13.1+ (see my other comment)
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.
Thanks! Will do it later.
Issue #, if available:
Description of changes:
Update version of the dependencies in multimodal.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.