Skip to content

Update Ray to v2.44.1 and update Runtime Image refs #825

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

Merged
merged 3 commits into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/odh-notebooks-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:
REPO_OWNER: ${{ github.event.inputs.codeflare-repository-organization }}
REPO_NAME: notebooks
GITHUB_TOKEN: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
MINIMUM_SUPPORTED_PYTHON_VERSION: 3.9
MINIMUM_SUPPORTED_PYTHON_VERSION: 3.11

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.11
- name: Install Sphinx
run: |
sudo apt-get update
Expand Down
1 change: 0 additions & 1 deletion demo-notebooks/additional-demos/hf_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
Expand Down
3 changes: 1 addition & 2 deletions demo-notebooks/additional-demos/local_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
3 changes: 1 addition & 2 deletions demo-notebooks/additional-demos/ray_job_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
3 changes: 1 addition & 2 deletions demo-notebooks/guided-demos/0_basic_ray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
3 changes: 1 addition & 2 deletions demo-notebooks/guided-demos/1_cluster_job_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
3 changes: 1 addition & 2 deletions demo-notebooks/guided-demos/2_basic_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
3 changes: 1 addition & 2 deletions demo-notebooks/guided-demos/3_widget_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ spec:
value: /home/ray/workspace/tls/server.key
- name: RAY_TLS_CA_CERT
value: /home/ray/workspace/tls/ca.crt
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray:2.44.1-py311-cu121
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down Expand Up @@ -147,7 +147,7 @@ spec:
value: /home/ray/workspace/tls/server.key
- name: RAY_TLS_CA_CERT
value: /home/ray/workspace/tls/ca.crt
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray:2.44.1-py311-cu121
lifecycle:
preStop:
exec:
Expand Down
4 changes: 2 additions & 2 deletions demo-notebooks/guided-demos/notebook-ex-outputs/jobtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
value: /home/ray/workspace/tls/server.key
- name: RAY_TLS_CA_CERT
value: /home/ray/workspace/tls/ca.crt
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray:2.44.1-py311-cu121
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down Expand Up @@ -127,7 +127,7 @@ spec:
value: /home/ray/workspace/tls/server.key
- name: RAY_TLS_CA_CERT
value: /home/ray/workspace/tls/ca.crt
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray:2.44.1-py311-cu121
lifecycle:
preStop:
exec:
Expand Down
4 changes: 2 additions & 2 deletions demo-notebooks/guided-demos/notebook-ex-outputs/raytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
value: /home/ray/workspace/tls/server.key
- name: RAY_TLS_CA_CERT
value: /home/ray/workspace/tls/ca.crt
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray:2.44.1-py311-cu121
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down Expand Up @@ -127,7 +127,7 @@ spec:
value: /home/ray/workspace/tls/server.key
- name: RAY_TLS_CA_CERT
value: /home/ray/workspace/tls/ca.crt
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray:2.44.1-py311-cu121
lifecycle:
preStop:
exec:
Expand Down
3 changes: 1 addition & 2 deletions demo-notebooks/guided-demos/preview_nbs/0_basic_ray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"\n",
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
"\n",
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
"\n",
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
]
Expand Down
5 changes: 2 additions & 3 deletions docs/sphinx/user-docs/cluster-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ requirements for creating the Ray Cluster.
The default images used by the CodeFlare SDK for creating
a RayCluster resource depend on the installed Python version:

- For Python 3.9: `quay.io/modh/ray:2.35.0-py39-cu121`
- For Python 3.11: `quay.io/modh/ray:2.35.0-py311-cu121`
- For Python 3.11: `quay.io/modh/ray:2.44.1-py311-cu121`

If you prefer to use a custom Ray image that better suits your
needs, you can specify it in the image field to override the default.
If you are using ROCm compatible GPUs you
can use `quay.io/modh/ray:2.35.0-py39-rocm61`. You can also find
can use `quay.io/modh/ray:2.35.0-py311-rocm62`. You can also find
documentation on building a custom image
`here <https://github.com/opendatahub-io/distributed-workloads/tree/main/images/runtime/examples>`__.

Expand Down
Loading
Loading