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
Changes from all commits
a8f7bba
727b7da
5d10b00
ba96191
526dea0
4f156fb
03661f1
60f20fc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,24 +32,25 @@ | |
"seqeval<=1.2.2", | ||
"evaluate<=0.3.0", | ||
"accelerate>=0.9,<0.14", | ||
"tensorboard<2.12.0", | ||
"timm<0.7.0", | ||
"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 commentThe 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 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. security concern: |
||
"torchvision<0.15.0", | ||
"torchtext<0.15.0", | ||
"fairscale>=0.4.5,<=0.4.6", | ||
"scikit-image>=0.19.1,<0.20.0", | ||
"smart_open>=5.2.1,<5.3.0", | ||
"pytorch_lightning>=1.7.4,<1.8.0", | ||
"pytorch_lightning>=1.7.4,<1.9.0", | ||
"text-unidecode<=1.3", | ||
"torchmetrics>=0.8.0,<0.9.0", | ||
"transformers>=4.23.0,<4.24.0", | ||
"torchmetrics>=0.8.0,<0.11.0", | ||
"transformers>=4.23.0,<4.26.0", | ||
"nptyping>=1.4.4,<1.5.0", | ||
"omegaconf>=2.1.1,<2.2.0", | ||
"sentencepiece>=0.1.95,<0.2.0", | ||
f"autogluon.core[raytune]=={version}", | ||
f"autogluon.features=={version}", | ||
f"autogluon.common=={version}", | ||
"pytorch-metric-learning>=1.3.0,<1.4.0", | ||
"pytorch-metric-learning>=1.3.0,<1.7.0", | ||
"nlpaug>=1.1.10,<=1.1.10", | ||
"nltk>=3.4.5,<4.0.0", | ||
"openmim>0.1.5,<=0.2.1", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. Add context |
||
# if try_import_ray_lightning(): | ||
# ray_tune_adapter = AutommRayTuneLightningAdapter() | ||
search_space = _fit_args.get("hyperparameters", dict()) | ||
metric = "val_" + _fit_args.get("validation_metric_name") | ||
mode = _fit_args.get("minmax_mode") | ||
|
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.