-
Notifications
You must be signed in to change notification settings - Fork 7k
[images][deps] raydepsets base extra depset #58461
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
Changes from 2 commits
de84cbd
499cd3b
6ccc371
6e3dbeb
9446fe9
9be1dda
d729aa5
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 |
|---|---|---|
|
|
@@ -8,6 +8,10 @@ ENV TERM=xterm | |
|
|
||
| ARG SSH_PORT=5020 | ||
|
|
||
| ARG PYTHON_DEPSET | ||
|
|
||
| COPY "$PYTHON_DEPSET" /home/ray/python_depset.lock | ||
|
|
||
| RUN <<EOF | ||
| #!/bin/bash | ||
|
|
||
|
|
@@ -88,29 +92,11 @@ if [[ "$ARCH" == "x86_64" ]]; then | |
| rm -rf "${DYNOLOG_TMP}" | ||
| fi | ||
|
|
||
| # Python dependencies to install. To specify a version, please make the change | ||
| # in OSS ray repository, but not here. | ||
| PYTHON_REQUIREMENTS=( | ||
| azure-identity | ||
| jupyterlab | ||
| ipywidgets | ||
| grpcio | ||
| grpcio-tools | ||
|
|
||
| # Pinning jupyter_server_terminals==0.4.4 , the higher version will break the | ||
| # webterminal when using an older version of terminado. | ||
| jupyter_server_terminals==0.4.4 | ||
|
|
||
| # [backend] is for installing anyscale CLI for use in the anyscale cloud. | ||
| "anyscale[backend]" | ||
| ) | ||
|
|
||
|
|
||
| PYTHON_VERSION="$(python -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')" | ||
|
|
||
| uv pip install --system --no-cache-dir --index-strategy unsafe-best-match \ | ||
| -c /home/ray/requirements_compiled.txt \ | ||
| "${PYTHON_REQUIREMENTS[@]}" | ||
| -r $HOME/python_depset.lock | ||
|
Collaborator
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. since we are using a lock file, we can just remove the |
||
|
|
||
| # Install awscli v2 | ||
| AWSCLI_TMP="$(mktemp -d)" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,10 @@ | ||
| name: "$IMAGE_TYPE-py$PYTHON_VERSION-cpu-base-extra$ARCH_SUFFIX" | ||
| froms: ["cr.ray.io/rayproject/$IMAGE_TYPE-py$PYTHON_VERSION-cpu-base$ARCH_SUFFIX"] | ||
| dockerfile: docker/base-extra/Dockerfile | ||
| srcs: | ||
| - release/ray_release/byod/$REQUIREMENTS_FILE | ||
| build_args: | ||
| - BASE_IMAGE=cr.ray.io/rayproject/$IMAGE_TYPE-py$PYTHON_VERSION-cpu-base$ARCH_SUFFIX | ||
| - PYTHON_DEPSET=release/ray_release/byod/$REQUIREMENTS_FILE | ||
|
||
| tags: | ||
| - cr.ray.io/rayproject/$IMAGE_TYPE-py$PYTHON_VERSION-cpu-base-extra$ARCH_SUFFIX | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,10 @@ | ||
| name: "$IMAGE_TYPE-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra$ARCH_SUFFIX" | ||
| froms: ["cr.ray.io/rayproject/$IMAGE_TYPE-py$PYTHON_VERSION-cu$CUDA_VERSION-base$ARCH_SUFFIX"] | ||
| dockerfile: docker/base-extra/Dockerfile | ||
| srcs: | ||
| - python/deplocks/base_extra/$REQUIREMENTS_FILE | ||
| build_args: | ||
| - BASE_IMAGE=cr.ray.io/rayproject/$IMAGE_TYPE-py$PYTHON_VERSION-cu$CUDA_VERSION-base$ARCH_SUFFIX | ||
| - PYTHON_DEPSET=python/deplocks/base_extra/$REQUIREMENTS_FILE | ||
| tags: | ||
| - cr.ray.io/rayproject/$IMAGE_TYPE-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra$ARCH_SUFFIX |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
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.
could you add some comment that explains why this is a subset?