Skip to content

Commit 2c7bcfa

Browse files
Adjust demo notebooks with new ray image defaults
1 parent e8432bf commit 2c7bcfa

15 files changed

+122
-34
lines changed

demo-notebooks/additional-demos/hf_interactive.ipynb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,12 @@
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/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
72-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
71+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
72+
"\n",
73+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
74+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
75+
"\n",
76+
"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."
7377
]
7478
},
7579
{

demo-notebooks/additional-demos/local_interactive.ipynb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@
3535
"metadata": {},
3636
"source": [
3737
"\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",
39-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
38+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
39+
"\n",
40+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
41+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
42+
"\n",
43+
"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."
4044
]
4145
},
4246
{

demo-notebooks/additional-demos/ray_job_client.ipynb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@
4141
"metadata": {},
4242
"source": [
4343
"\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",
45-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
44+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
45+
"\n",
46+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
47+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
48+
"\n",
49+
"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."
4650
]
4751
},
4852
{

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,12 @@
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/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
51-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
50+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
51+
"\n",
52+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
53+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
54+
"\n",
55+
"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."
5256
]
5357
},
5458
{

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@
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/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
45-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
44+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
45+
"\n",
46+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
47+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
48+
"\n",
49+
"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."
4650
]
4751
},
4852
{

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@
4444
"source": [
4545
"Once again, let's start by running through the same cluster setup as before:\n",
4646
"\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",
48-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
47+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
48+
"\n",
49+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
50+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
51+
"\n",
52+
"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."
4953
]
5054
},
5155
{

demo-notebooks/guided-demos/3_widget_example.ipynb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,12 @@
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/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
51-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
50+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
51+
"\n",
52+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
53+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
54+
"\n",
55+
"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."
5256
]
5357
},
5458
{

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,12 @@
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/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
51-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
50+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
51+
"\n",
52+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
53+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
54+
"\n",
55+
"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."
5256
]
5357
},
5458
{

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@
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/modh/ray:2.35.0-py39-cu121' is the default image used by the CodeFlare SDK for creating a RayCluster resource. \n",
45-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
44+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
45+
"\n",
46+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
47+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
48+
"\n",
49+
"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."
4650
]
4751
},
4852
{

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@
4444
"source": [
4545
"Once again, let's start by running through the same cluster setup as before:\n",
4646
"\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",
48-
"If you have your own Ray image which suits your purposes, specify it in image field to override the default image."
47+
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
48+
"\n",
49+
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
50+
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
51+
"\n",
52+
"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."
4953
]
5054
},
5155
{

0 commit comments

Comments
 (0)