forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci/docker/air] Update ML/DL dependencies to latest releases / Remove…
… Py3.6 Docker images (ray-project#28808) This PR upgrades some of our dependencies to the latest releases. At the moment, we are testing with a lower bound of dependencies. This is good as we ensure compatibility with these versions, but at the same time we don't test compatibility with more recent releases. We prioritize backwards compatibility over compatibility with more recent versions. This PR: - Introduces a set of _legacy dependencies_ (the current versions in the CI). - This is a lower bound of dependencies that we guarantee compatibility with - The regular dependencies are upgraded to more recent releases - We remove Docker builds for Python 3.6. as this is incompatible with more recent versions of tensorflow/torch - Wheel building for 3.6 is not affected. Signed-off-by: Kai Fricke <[email protected]> Signed-off-by: Artur Niederfahrenhorst <[email protected]> Co-authored-by: Artur Niederfahrenhorst <[email protected]>
- Loading branch information
1 parent
4f75404
commit 6b9a56d
Showing
21 changed files
with
104 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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 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 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,15 +1,15 @@ | ||
# These requirements are used for the CI and CPU-only Docker images so we install CPU only versions of torch. | ||
# For GPU Docker images, you should install requirements_ml_docker.txt afterwards. | ||
|
||
tensorflow==2.6.2 | ||
tensorflow-probability==0.14.1 | ||
tensorflow==2.9.0 | ||
tensorflow-probability==0.17.0 | ||
|
||
# If you make changes to the torch versions below, please also make the corresponding changes to `requirements_ml_docker.txt`! | ||
|
||
torch==1.9.0;sys_platform=="darwin" | ||
torchvision==0.10.0;sys_platform=="darwin" | ||
torch==1.12.1;sys_platform=="darwin" | ||
torchvision==0.13.1;sys_platform=="darwin" | ||
|
||
# On non-OSX machines only install CPU version of torch and torchvision | ||
-f https://download.pytorch.org/whl/torch_stable.html | ||
torch==1.9.0+cpu;sys_platform!="darwin" | ||
torchvision==0.10.0+cpu;sys_platform!="darwin" | ||
torch==1.12.1+cpu;sys_platform!="darwin" | ||
torchvision==0.13.1+cpu;sys_platform!="darwin" |
This file contains 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# ATTENTION: THESE DEPENDENCIES SHOULD USUALLY NOT BE UPDATED! | ||
|
||
# Updating these dependencies means we remove official support for dependency releases older than | ||
# the specified version. | ||
|
||
# These are compatibility requirements to make sure certain workflows continue to work | ||
# with these dependency versions. They thus act as a lower bound for compatibility | ||
# with ML libraries. | ||
# Concretely, we set up a fresh Python 3.7 environment and | ||
# run the pipeline job in `Ray Python legacy dependency ML compatibility tests` with these dependencies installed. | ||
|
||
# ML libraries | ||
torch==1.9.0 | ||
tensorflow==2.7.0 | ||
tensorflow-probability==0.14.1 | ||
keras==2.7.0 | ||
|
||
# Torch addons | ||
torchvision==0.10.0 | ||
|
||
pytorch-lightning==1.5.10 | ||
|
||
# Upstream libraries | ||
lightgbm_ray==0.1.5 | ||
xgboost_ray==0.1.10 | ||
ray_lightning==0.2.0 | ||
|
||
# Datasets | ||
pyarrow==6.0.1 | ||
|
||
ray[tune,data] |
This file contains 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 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 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 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 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 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 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