Skip to content

Commit 22f07c2

Browse files
Update CUDA and ROCm images in notebooks
1 parent 8c03015 commit 22f07c2

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

examples/hpo-raytune/notebook/raytune-oai-demo-mlmd.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
" min_memory=4,\n",
5555
" max_memory=4,\n",
5656
" num_gpus=0,\n",
57-
" image=\"quay.io/modh/ray:2.35.0-py39-cu121\", \n",
57+
" image=\"quay.io/modh/ray:2.35.0-py311-cu121\", \n",
5858
"))"
5959
]
6060
},

examples/hpo-raytune/notebook/raytune-oai-demo.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
" min_memory=4,\n",
5656
" max_memory=4,\n",
5757
" num_gpus=0,\n",
58-
" image=\"quay.io/modh/ray:2.35.0-py39-cu121\"\n",
58+
" image=\"quay.io/modh/ray:2.35.0-py311-cu121\"\n",
5959
"))"
6060
]
6161
},

examples/ray-finetune-llm-deepspeed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ This example has been validated on the following configurations:
129129
head_memory_limits=96,
130130
head_extended_resource_requests={'amd.com/gpu':1},
131131
worker_extended_resource_requests={'amd.com/gpu':1},
132-
image="quay.io/rhoai/ray:2.35.0-py39-rocm61-torch24-fa26",
132+
image="quay.io/rhoai/ray:2.35.0-py311-rocm61-torch24-fa26",
133133
)
134134
```
135135
* Ray job:

examples/ray-finetune-llm-deepspeed/ray_finetune_llm_deepspeed.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,12 @@
7070
" head_memory_requests=128,\n",
7171
" head_memory_limits=256,\n",
7272
" # Use the following parameters with NVIDIA GPUs\n",
73-
" image=\"quay.io/rhoai/ray:2.35.0-py39-cu121-torch24-fa26\",\n",
73+
" # Ensure the Python version in the notebook image matches the version used in the Ray cluster to avoid compatibility issues\n",
74+
" image=\"quay.io/rhoai/ray:2.35.0-py311-cu121-torch24-fa26\",\n",
7475
" head_extended_resource_requests={'nvidia.com/gpu':1},\n",
7576
" worker_extended_resource_requests={'nvidia.com/gpu':1},\n",
7677
" # Or replace them with these parameters for AMD GPUs\n",
77-
" # image=\"quay.io/rhoai/ray:2.35.0-py39-rocm61-torch24-fa26\",\n",
78+
" # image=\"quay.io/rhoai/ray:2.35.0-py311-rocm61-torch24-fa26\",\n",
7879
" # head_extended_resource_requests={'amd.com/gpu':1},\n",
7980
" # worker_extended_resource_requests={'amd.com/gpu':1},\n",
8081
"))"

examples/stable-diffusion-dreambooth/notebook/00 Intro.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
" worker_memory_limits=8, \n",
6262
" head_extended_resource_requests={'nvidia.com/gpu':0},\n",
6363
" worker_extended_resource_requests={'nvidia.com/gpu':0},\n",
64-
" image=\"quay.io/project-codeflare/ray:latest-py39-cu118\",\n",
64+
" image=\"quay.io/modh/ray:2.35.0-py311-cu121\",\n",
6565
" write_to_file=False, # When enabled Ray Cluster yaml files are written to /HOME/.codeflare/resources \n",
6666
" local_queue=\"local-queue\"\n",
6767
" ))"

examples/stable-diffusion-dreambooth/notebook/raycluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
- env:
2121
- name: NVIDIA_VISIBLE_DEVICES
2222
value: "void"
23-
image: 'quay.io/project-codeflare/ray:latest-py39-cu118'
23+
image: 'quay.io/modh/ray:2.35.0-py311-cu121'
2424
imagePullPolicy: Always
2525
lifecycle:
2626
preStop:
@@ -60,7 +60,7 @@ spec:
6060
template:
6161
spec:
6262
containers:
63-
- image: 'quay.io/project-codeflare/ray:latest-py39-cu118'
63+
- image: 'quay.io/modh/ray:2.35.0-py311-cu121'
6464
lifecycle:
6565
preStop:
6666
exec:

0 commit comments

Comments
 (0)