Skip to content

[docker/ci] Build ray-ml docker image for python 3.9 and 3.10#28123

Merged
krfricke merged 10 commits intoray-project:masterfrom
acxz:ray-ml
Oct 29, 2022
Merged

[docker/ci] Build ray-ml docker image for python 3.9 and 3.10#28123
krfricke merged 10 commits intoray-project:masterfrom
acxz:ray-ml

Conversation

@acxz
Copy link
Copy Markdown
Contributor

@acxz acxz commented Aug 26, 2022

Why are these changes needed?

Related issue number

Closes #16599

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: acxz <17132214+acxz@users.noreply.github.com>
@acxz acxz requested review from a team, amogkam and krfricke as code owners August 26, 2022 18:16
@amogkam
Copy link
Copy Markdown
Contributor

amogkam commented Aug 26, 2022

Hey @acxz unfortunately this is not going to work out of the box I believe. There are some dependency issues in our ML requirements. Tracking issue here #16599

@amogkam
Copy link
Copy Markdown
Contributor

amogkam commented Aug 26, 2022

But I also don’t think building ML images should be a requirement for non-experimental support.

@acxz
Copy link
Copy Markdown
Contributor Author

acxz commented Aug 26, 2022

I see, I figure we can have a PR open to have the CI running against and see if the error logs have changed since then.

Okay, then I guess we can remove the experimental note off the docs w/o this PR. I had thought py39 was added as experimental due to this reason, so when I added py310 support I added it to the experimental notes with the same rationale.

Signed-off-by: acxz <17132214+acxz@users.noreply.github.com>
Signed-off-by: acxz <17132214+acxz@users.noreply.github.com>
@stale
Copy link
Copy Markdown

stale bot commented Sep 30, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

  • If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@stale stale bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Sep 30, 2022
@acxz
Copy link
Copy Markdown
Contributor Author

acxz commented Oct 1, 2022

not stale

@stale stale bot removed the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Oct 1, 2022
@krfricke krfricke self-assigned this Oct 28, 2022
# Conflicts:
#	python/requirements/ml/requirements_dl.txt
#	python/requirements/ml/requirements_rllib.txt
@krfricke
Copy link
Copy Markdown
Contributor

Now that #28808 is merged we can give this another shot. I've just merged master, let's see how the build goes.

@krfricke krfricke changed the title build ray-ml with py39/310 to remove experimental support [docker/ci] Build ray-ml docker image for python 3.9 and 3.10 Oct 28, 2022
Signed-off-by: Kai Fricke <kai@anyscale.com>
@krfricke
Copy link
Copy Markdown
Contributor

Python 3.9 seems to pass.

For 3.10, the problem was h5py, which pinned numpy to 1.19.3, which is incompatible with Python 3.10. I've upgraded that dependency.

Additionally, the cuda images were misconfigured in the 3.10 build job previously, this is also fixed.

Signed-off-by: Kai Fricke <kai@anyscale.com>
@krfricke
Copy link
Copy Markdown
Contributor

Image builds are passing, will merge once the rest of the CI is green.

@krfricke
Copy link
Copy Markdown
Contributor

CI looks fine, will merge if no objections cc @amogkam

Signed-off-by: Amog Kamsetty <amogkam@users.noreply.github.com>
Kai Fricke added 3 commits October 28, 2022 18:10
Signed-off-by: Kai Fricke <kai@anyscale.com>
# Conflicts:
#	python/requirements/data_processing/requirements.txt
Signed-off-by: Kai Fricke <kai@anyscale.com>
@krfricke krfricke merged commit 8b3f6f5 into ray-project:master Oct 29, 2022
@acxz
Copy link
Copy Markdown
Contributor Author

acxz commented Oct 29, 2022

Thanks so much @krfricke and @amogkam for finishing this task up!

@acxz acxz deleted the ray-ml branch October 29, 2022 15:29
@krfricke
Copy link
Copy Markdown
Contributor

Thanks for the initial contribution @acxz!

WeichenXu123 pushed a commit to WeichenXu123/ray that referenced this pull request Dec 19, 2022
…oject#28123)

This PR updates a few dependencies to be compatible with Python 3.10 and activates build of the ray-ml docker images for Python 3.9 and Python 3.10

Signed-off-by: acxz <17132214+acxz@users.noreply.github.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Amog Kamsetty <amogkam@users.noreply.github.com>
Co-authored-by: Kai Fricke <kai@anyscale.com>
Co-authored-by: Amog Kamsetty <amogkam@users.noreply.github.com>
Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
@c21 c21 mentioned this pull request Apr 5, 2023
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RLlib][Tune] Build Ray-ML docker image for Python 3.9

4 participants