Skip to content

Commit d77d5eb

Browse files
committed
Upgrade Ray to version 2.35
1 parent fb59ba6 commit d77d5eb

28 files changed

+71
-58
lines changed

demo-notebooks/additional-demos/hf_interactive.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"source": [
6969
"Here, we want to define our cluster by specifying the resources we require for our batch workload. Below, we define our cluster object (which generates a corresponding Ray Cluster).\n",
7070
"\n",
71-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
71+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
7272
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
7373
]
7474
},

demo-notebooks/additional-demos/local_interactive.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"metadata": {},
3636
"source": [
3737
"\n",
38-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
38+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
3939
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
4040
]
4141
},

demo-notebooks/additional-demos/ray_job_client.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"metadata": {},
4242
"source": [
4343
"\n",
44-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
44+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
4545
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
4646
]
4747
},

demo-notebooks/guided-demos/0_basic_ray.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"source": [
4848
"Here, we want to define our cluster by specifying the resources we require for our batch workload. Below, we define our cluster object (which generates a corresponding RayCluster).\n",
4949
"\n",
50-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
50+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
5151
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
5252
]
5353
},

demo-notebooks/guided-demos/1_cluster_job_client.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"source": [
4242
"Here, we want to define our cluster by specifying the resources we require for our batch workload. Below, we define our cluster object (which generates a corresponding RayCluster).\n",
4343
"\n",
44-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
44+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
4545
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
4646
]
4747
},

demo-notebooks/guided-demos/2_basic_interactive.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"source": [
4545
"Once again, let's start by running through the same cluster setup as before:\n",
4646
"\n",
47-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
47+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
4848
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
4949
]
5050
},

demo-notebooks/guided-demos/notebook-ex-outputs/0_basic_ray.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"source": [
4848
"Here, we want to define our cluster by specifying the resources we require for our batch workload. Below, we define our cluster object (which generates a corresponding RayCluster).\n",
4949
"\n",
50-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
50+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
5151
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
5252
]
5353
},

demo-notebooks/guided-demos/notebook-ex-outputs/1_cluster_job_client.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"source": [
4242
"Here, we want to define our cluster by specifying the resources we require for our batch workload. Below, we define our cluster object (which generates a corresponding RayCluster).\n",
4343
"\n",
44-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
44+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
4545
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
4646
]
4747
},

demo-notebooks/guided-demos/notebook-ex-outputs/2_basic_interactive.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"source": [
4545
"Once again, let's start by running through the same cluster setup as before:\n",
4646
"\n",
47-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
47+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
4848
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
4949
]
5050
},

demo-notebooks/guided-demos/notebook-ex-outputs/interactivetest.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ spec:
8181
value: /home/ray/workspace/tls/server.key
8282
- name: RAY_TLS_CA_CERT
8383
value: /home/ray/workspace/tls/ca.crt
84-
image: quay.io/rhoai/ray:2.23.0-py39-cu121
84+
image: quay.io/modh/ray:2.35.0-py39-cu121
8585
imagePullPolicy: Always
8686
lifecycle:
8787
preStop:
@@ -147,7 +147,7 @@ spec:
147147
value: /home/ray/workspace/tls/server.key
148148
- name: RAY_TLS_CA_CERT
149149
value: /home/ray/workspace/tls/ca.crt
150-
image: quay.io/rhoai/ray:2.23.0-py39-cu121
150+
image: quay.io/modh/ray:2.35.0-py39-cu121
151151
lifecycle:
152152
preStop:
153153
exec:

demo-notebooks/guided-demos/notebook-ex-outputs/jobtest.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
value: /home/ray/workspace/tls/server.key
7171
- name: RAY_TLS_CA_CERT
7272
value: /home/ray/workspace/tls/ca.crt
73-
image: quay.io/rhoai/ray:2.23.0-py39-cu121
73+
image: quay.io/modh/ray:2.35.0-py39-cu121
7474
imagePullPolicy: Always
7575
lifecycle:
7676
preStop:
@@ -127,7 +127,7 @@ spec:
127127
value: /home/ray/workspace/tls/server.key
128128
- name: RAY_TLS_CA_CERT
129129
value: /home/ray/workspace/tls/ca.crt
130-
image: quay.io/rhoai/ray:2.23.0-py39-cu121
130+
image: quay.io/modh/ray:2.35.0-py39-cu121
131131
lifecycle:
132132
preStop:
133133
exec:

demo-notebooks/guided-demos/notebook-ex-outputs/raytest.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
value: /home/ray/workspace/tls/server.key
7171
- name: RAY_TLS_CA_CERT
7272
value: /home/ray/workspace/tls/ca.crt
73-
image: quay.io/rhoai/ray:2.23.0-py39-cu121
73+
image: quay.io/modh/ray:2.35.0-py39-cu121
7474
imagePullPolicy: Always
7575
lifecycle:
7676
preStop:
@@ -127,7 +127,7 @@ spec:
127127
value: /home/ray/workspace/tls/server.key
128128
- name: RAY_TLS_CA_CERT
129129
value: /home/ray/workspace/tls/ca.crt
130-
image: quay.io/rhoai/ray:2.23.0-py39-cu121
130+
image: quay.io/modh/ray:2.35.0-py39-cu121
131131
lifecycle:
132132
preStop:
133133
exec:

demo-notebooks/guided-demos/preview_nbs/0_basic_ray.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"source": [
4848
"Here, we want to define our cluster by specifying the resources we require for our batch workload. Below, we define our cluster object (which generates a corresponding RayCluster).\n",
4949
"\n",
50-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
50+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
5151
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
5252
]
5353
},

demo-notebooks/guided-demos/preview_nbs/1_cluster_job_client.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"source": [
4242
"Here, we want to define our cluster by specifying the resources we require for our batch workload. Below, we define our cluster object (which generates a corresponding RayCluster).\n",
4343
"\n",
44-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
44+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
4545
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
4646
]
4747
},

demo-notebooks/guided-demos/preview_nbs/2_basic_interactive.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"source": [
4545
"Once again, let's start by running through the same cluster setup as before:\n",
4646
"\n",
47-
"NOTE: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. \n",
47+
"NOTE: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
4848
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
4949
]
5050
},

docs/cluster-configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cluster = Cluster(ClusterConfiguration(
2323
labels={"exampleLabel": "example", "secondLabel": "example"},
2424
))
2525
```
26-
Note: 'quay.io/rhoai/ray:2.23.0-py39-cu121' is the default community image used by the CodeFlare SDK for creating a RayCluster resource. If you have your own Ray image which suits your purposes, specify it in image field to override the default image.
26+
Note: 'quay.io/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. If you have your own Ray image which suits your purposes, specify it in image field to override the default image.
2727

2828
The `labels={"exampleLabel": "example"}` parameter can be used to apply additional labels to the RayCluster resource.
2929

poetry.lock

+27-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ keywords = ['codeflare', 'python', 'sdk', 'client', 'batch', 'scale']
2323
python = "^3.9"
2424
openshift-client = "1.0.18"
2525
rich = "^12.5"
26-
ray = {version = "2.23.0", extras = ["data", "default"]}
26+
ray = {version = "2.35.0", extras = ["data", "default"]}
2727
kubernetes = ">= 25.3.0, < 27"
2828
cryptography = "40.0.2"
2929
executing = "1.2.0"

src/codeflare_sdk/templates/base-template.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
namespace: default
1313
spec:
1414
# The version of Ray you are using. Make sure all Ray containers are running this version of Ray.
15-
rayVersion: '2.23.0'
15+
rayVersion: '2.35.0'
1616
# If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod.
1717
# Ray autoscaler integration is supported only for Ray versions >= 1.11.0
1818
# Ray autoscaler integration is Beta with KubeRay >= 0.3.0 and Ray >= 2.0.0.
@@ -69,7 +69,7 @@ spec:
6969
containers:
7070
# The Ray head pod
7171
- name: ray-head
72-
image: quay.io/rhoai/ray:2.23.0-py39-cu121
72+
image: quay.io/modh/ray:2.35.0-py39-cu121
7373
imagePullPolicy: Always
7474
ports:
7575
- containerPort: 6379
@@ -150,7 +150,7 @@ spec:
150150
spec:
151151
containers:
152152
- name: machine-learning # must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc'
153-
image: quay.io/rhoai/ray:2.23.0-py39-cu121
153+
image: quay.io/modh/ray:2.35.0-py39-cu121
154154
# environment variables to set in the container.Optional.
155155
# Refer to https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
156156
lifecycle:

0 commit comments

Comments
 (0)