Skip to content

Commit 6a55786

Browse files
committed
Updated the Ray image in docs/nbs to 2.20.0
1 parent 1e80e62 commit 6a55786

16 files changed

+37
-29
lines changed

demo-notebooks/additional-demos/hf_interactive.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
" max_cpus=8, \n",
9999
" min_memory=16, \n",
100100
" max_memory=16, \n",
101-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
101+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
102102
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
103103
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
104104
" ))"

demo-notebooks/additional-demos/local_interactive.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
" max_cpus=1,\n",
6363
" min_memory=4,\n",
6464
" max_memory=4,\n",
65-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
65+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
6666
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
6767
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
6868
" ))"

demo-notebooks/additional-demos/ray_job_client.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
" max_cpus=1,\n",
5454
" min_memory=4,\n",
5555
" max_memory=4,\n",
56-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
56+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
5757
" write_to_file=False # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
5858
"))"
5959
]

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

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
{
1515
"cell_type": "code",
16-
"execution_count": null,
16+
"execution_count": 2,
1717
"id": "b55bc3ea-4ce3-49bf-bb1f-e209de8ca47a",
1818
"metadata": {},
1919
"outputs": [],
@@ -53,24 +53,32 @@
5353
},
5454
{
5555
"cell_type": "code",
56-
"execution_count": null,
56+
"execution_count": 3,
5757
"id": "0f4bc870-091f-4e11-9642-cba145710159",
5858
"metadata": {},
59-
"outputs": [],
59+
"outputs": [
60+
{
61+
"name": "stdout",
62+
"output_type": "stream",
63+
"text": [
64+
"Yaml resources loaded for raytest\n"
65+
]
66+
}
67+
],
6068
"source": [
6169
"# Create and configure our cluster object\n",
6270
"# The SDK will try to find the name of your default local queue based on the annotation \"kueue.x-k8s.io/default-queue\": \"true\" unless you specify the local queue manually below\n",
6371
"cluster = Cluster(ClusterConfiguration(\n",
6472
" name='raytest', \n",
65-
" namespace='default', # Update to your namespace\n",
73+
" namespace='mark-dsp', # Update to your namespace\n",
6674
" head_gpus=0, # For GPU enabled workloads set the head_gpus and num_gpus\n",
6775
" num_gpus=0,\n",
6876
" num_workers=2,\n",
6977
" min_cpus=1,\n",
7078
" max_cpus=1,\n",
7179
" min_memory=4,\n",
7280
" max_memory=4,\n",
73-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
81+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
7482
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
7583
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
7684
"))"
@@ -196,7 +204,7 @@
196204
"name": "python",
197205
"nbconvert_exporter": "python",
198206
"pygments_lexer": "ipython3",
199-
"version": "3.9.18"
207+
"version": "3.9.19"
200208
},
201209
"vscode": {
202210
"interpreter": {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
" max_cpus=1,\n",
5353
" min_memory=4,\n",
5454
" max_memory=4,\n",
55-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
55+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
5656
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
5757
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
5858
"))"
@@ -218,7 +218,7 @@
218218
"name": "python",
219219
"nbconvert_exporter": "python",
220220
"pygments_lexer": "ipython3",
221-
"version": "3.9.18"
221+
"version": "3.9.19"
222222
}
223223
},
224224
"nbformat": 4,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
" max_cpus=2,\n",
7070
" min_memory=8,\n",
7171
" max_memory=8,\n",
72-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
72+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
7373
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
7474
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
7575
"))"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
" max_cpus=1,\n",
7979
" min_memory=4,\n",
8080
" max_memory=4,\n",
81-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
81+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
8282
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
8383
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
8484
"))"
@@ -357,7 +357,7 @@
357357
"name": "python",
358358
"nbconvert_exporter": "python",
359359
"pygments_lexer": "ipython3",
360-
"version": "3.9.18"
360+
"version": "3.9.19"
361361
},
362362
"vscode": {
363363
"interpreter": {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
" max_cpus=1,\n",
5353
" min_memory=4,\n",
5454
" max_memory=4,\n",
55-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
55+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
5656
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
5757
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
5858
"))"
@@ -218,7 +218,7 @@
218218
"name": "python",
219219
"nbconvert_exporter": "python",
220220
"pygments_lexer": "ipython3",
221-
"version": "3.9.18"
221+
"version": "3.9.19"
222222
}
223223
},
224224
"nbformat": 4,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
" max_cpus=2,\n",
7878
" min_memory=8,\n",
7979
" max_memory=8,\n",
80-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
80+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
8181
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
8282
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
8383
"))"

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

Lines changed: 2 additions & 2 deletions
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/project-codeflare/ray:latest-py39-cu118
84+
image: quay.io/project-codeflare/ray:2.20.0-py39-cu118
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/project-codeflare/ray:latest-py39-cu118
150+
image: quay.io/project-codeflare/ray:2.20.0-py39-cu118
151151
lifecycle:
152152
preStop:
153153
exec:

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

Lines changed: 2 additions & 2 deletions
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/project-codeflare/ray:latest-py39-cu118
73+
image: quay.io/project-codeflare/ray:2.20.0-py39-cu118
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/project-codeflare/ray:latest-py39-cu118
130+
image: quay.io/project-codeflare/ray:2.20.0-py39-cu118
131131
lifecycle:
132132
preStop:
133133
exec:

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

Lines changed: 2 additions & 2 deletions
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/project-codeflare/ray:latest-py39-cu118
73+
image: quay.io/project-codeflare/ray:2.20.0-py39-cu118
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/project-codeflare/ray:latest-py39-cu118
130+
image: quay.io/project-codeflare/ray:2.20.0-py39-cu118
131131
lifecycle:
132132
preStop:
133133
exec:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
" max_cpus=1,\n",
7171
" min_memory=4,\n",
7272
" max_memory=4,\n",
73-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
73+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
7474
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
7575
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
7676
"))"
@@ -196,7 +196,7 @@
196196
"name": "python",
197197
"nbconvert_exporter": "python",
198198
"pygments_lexer": "ipython3",
199-
"version": "3.9.18"
199+
"version": "3.9.19"
200200
},
201201
"vscode": {
202202
"interpreter": {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
" max_cpus=1,\n",
5353
" min_memory=4,\n",
5454
" max_memory=4,\n",
55-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
55+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
5656
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources\n",
5757
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
5858
"))"
@@ -218,7 +218,7 @@
218218
"name": "python",
219219
"nbconvert_exporter": "python",
220220
"pygments_lexer": "ipython3",
221-
"version": "3.9.18"
221+
"version": "3.9.19"
222222
}
223223
},
224224
"nbformat": 4,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
" max_cpus=2,\n",
7070
" min_memory=8,\n",
7171
" max_memory=8,\n",
72-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
72+
" image=\"quay.io/project-codeflare/ray:2.20.0-py39-cu118\",\n",
7373
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
7474
" # local_queue=\"local-queue-name\" # Specify the local queue manually\n",
7575
"))"

docs/cluster-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cluster = Cluster(ClusterConfiguration(
1919
min_memory=2, # Default 2
2020
max_memory=2, # Default 2
2121
num_gpus=0, # Default 0
22-
image="quay.io/project-codeflare/ray:latest-py39-cu118", # Mandatory Field
22+
image="quay.io/project-codeflare/ray:2.20.0-py39-cu118", # Mandatory Field
2323
machine_types=["m5.xlarge", "g4dn.xlarge"],
2424
labels={"exampleLabel": "example", "secondLabel": "example"},
2525
))

0 commit comments

Comments
 (0)