-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Clean up ray-ml requirements #23325
Clean up ray-ml requirements #23325
Changes from 11 commits
f4c8b14
164eed5
10474d2
29ae855
40cf14b
4d2cde8
a35ebc9
e466fb2
7e807a3
b482d7f
a19cbd6
e57f5ec
d5e322f
ac8a2fb
4af1217
f6b0105
25d6bf1
42767be
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 |
---|---|---|
|
@@ -85,7 +85,7 @@ pytest-lazy-fixture | |
pytest-timeout | ||
pytest-virtualenv | ||
scikit-learn==0.22.2 | ||
tensorflow==2.5.1 | ||
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. does this change need to be documented anywhere? |
||
tensorflow | ||
ddelange marked this conversation as resolved.
Show resolved
Hide resolved
|
||
testfixtures | ||
werkzeug | ||
xlrd | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +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 instead. | ||
# For GPU Docker images, you should install requirements_ml_docker.txt afterwards. | ||
|
||
tensorflow~=2.6.2 | ||
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. maybe remove here and only have it only in 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. Anything against allowing tensorflow 2.7 or 2.8 btw? Probably one of the breaking changes in 2.7? Or is it pinned to sync with 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. Usually it's a breaking change but cc @sven1977 for more details 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. Looks like this sync up is necessary indeed. There's a note in their docs:
Which is actually outdated as |
||
tensorflow-probability~=0.14.1 | ||
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. Is keras installed as a dependency in tensorflow automatically? 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. exactly. There was a small problem back in the day (#20032) for a single version, but that's fixed and so tensorflow will request the right version of keras
ddelange marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# If you make changes to this file, please also change `requirements_ml_docker.txt`! | ||
|
||
|
||
# TODO(amogkam): Remove after https://github.com/tensorflow/tensorflow/issues/52922 is fixed. | ||
keras==2.6.0 | ||
tensorflow==2.6.0 | ||
tensorflow-probability==0.14.0 | ||
# If you make changes below this line, please also change `requirements_ml_docker.txt`! | ||
|
||
torch==1.9.0;sys_platform=="darwin" | ||
torchvision==0.10.0;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" | ||
-f https://download.pytorch.org/whl/torch_stable.html | ||
torchvision==0.10.0+cpu;sys_platform!="darwin" | ||
torchvision==0.10.0+cpu;sys_platform!="darwin" |
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.
Nice thanks for doing this!