Skip to content
Open
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
4 changes: 2 additions & 2 deletions demo-notebooks/additional-demos/hf_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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
4 changes: 2 additions & 2 deletions demo-notebooks/additional-demos/local_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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
4 changes: 2 additions & 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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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
4 changes: 2 additions & 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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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
4 changes: 2 additions & 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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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
4 changes: 2 additions & 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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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
4 changes: 2 additions & 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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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
12 changes: 0 additions & 12 deletions demo-notebooks/guided-demos/mnist_fashion.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@
from ray.train import ScalingConfig


def get_dataset():
return datasets.FashionMNIST(
root="/tmp/data",
train=True,
download=True,
transform=ToTensor(),
)


class NeuralNetwork(nn.Module):
def __init__(self):
super().__init__()
Expand Down Expand Up @@ -84,9 +75,6 @@ def train_func_distributed():
resources_per_worker={
"CPU": 1,
},
trainer_resources={
"CPU": 0,
},
),
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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.47.1-py311-cu121
image: quay.io/modh/ray:2.52.1-py311-cu121
imagePullPolicy: Always
lifecycle:
preStop:
Expand All @@ -108,7 +108,7 @@ spec:
memory: 8G
nvidia.com/gpu: 0
imagePullSecrets: []
rayVersion: 2.47.1
rayVersion: 2.52.1
workerGroupSpecs:
- groupName: small-group-interactivetest
maxReplicas: 2
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.47.1-py311-cu121
image: quay.io/modh/ray:2.52.1-py311-cu121
lifecycle:
preStop:
exec:
Expand Down
6 changes: 3 additions & 3 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.47.1-py311-cu121
image: quay.io/modh/ray:2.52.1-py311-cu121
imagePullPolicy: Always
lifecycle:
preStop:
Expand All @@ -97,7 +97,7 @@ spec:
memory: 8G
nvidia.com/gpu: 0
imagePullSecrets: []
rayVersion: 2.47.1
rayVersion: 2.52.1
workerGroupSpecs:
- groupName: small-group-jobtest
maxReplicas: 2
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.47.1-py311-cu121
image: quay.io/modh/ray:2.52.1-py311-cu121
lifecycle:
preStop:
exec:
Expand Down
6 changes: 3 additions & 3 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.47.1-py311-cu121
image: quay.io/modh/ray:2.52.1-py311-cu121
imagePullPolicy: Always
lifecycle:
preStop:
Expand All @@ -97,7 +97,7 @@ spec:
memory: 8G
nvidia.com/gpu: 0
imagePullSecrets: []
rayVersion: 2.47.1
rayVersion: 2.52.1
workerGroupSpecs:
- groupName: small-group-raytest
maxReplicas: 2
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.47.1-py311-cu121
image: quay.io/modh/ray:2.52.1-py311-cu121
lifecycle:
preStop:
exec:
Expand Down
4 changes: 2 additions & 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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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,8 @@
"\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.11: 'quay.io/modh/ray:2.47.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.1-py312-cu128'\n",
"- For Python 3.11: 'quay.io/modh/ray:2.52.1-py311-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.52.1-py312-cu128'\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
4 changes: 2 additions & 2 deletions docs/sphinx/user-docs/cluster-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +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.11: `quay.io/modh/ray:2.47.1-py311-cu121`
- For Python 3.11: `quay.io/modh/ray:2.52.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.47.1-py311-rocm62`. You can also find
can use `quay.io/modh/ray:2.52.1-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