Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
2 changes: 1 addition & 1 deletion demo-notebooks/additional-demos/hf_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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
2 changes: 1 addition & 1 deletion demo-notebooks/additional-demos/local_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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
2 changes: 1 addition & 1 deletion demo-notebooks/additional-demos/ray_job_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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
2 changes: 1 addition & 1 deletion demo-notebooks/guided-demos/0_basic_ray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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
2 changes: 1 addition & 1 deletion demo-notebooks/guided-demos/1_cluster_job_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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
2 changes: 1 addition & 1 deletion demo-notebooks/guided-demos/2_basic_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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
2 changes: 1 addition & 1 deletion demo-notebooks/guided-demos/3_widget_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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 @@ -50,7 +50,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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 @@ -44,7 +44,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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 @@ -47,7 +47,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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
2 changes: 1 addition & 1 deletion demo-notebooks/guided-demos/preview_nbs/0_basic_ray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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 @@ -44,7 +44,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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 @@ -47,7 +47,7 @@
"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-cu121'\n",
"- For Python 3.12: 'quay.io/modh/ray:2.47.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 src/codeflare_sdk/common/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"""
The below are used to define the default runtime image for the Ray Cluster.
* For python 3.11:ray:2.47.1-py311-cu121
* For python 3.12:ray:2.47.1-py312-cu121
* For python 3.12:ray:2.47.1-py312-cu128
"""
CUDA_PY311_RUNTIME_IMAGE = "quay.io/modh/ray@sha256:6d076aeb38ab3c34a6a2ef0f58dc667089aa15826fa08a73273c629333e12f1e"
CUDA_PY312_RUNTIME_IMAGE = "quay.io/modh/ray@sha256:23860dfe2e47bb69709b3883b08fd1a4d836ce02eaf8d0afeeafe6986d0fc8fb"
CUDA_PY312_RUNTIME_IMAGE = "quay.io/modh/ray@sha256:9c72e890f5c66bb2a0f0d940120539ffc875fb6fed83380cbe2eba938e8789b1"

# Centralized image selection
SUPPORTED_PYTHON_VERSIONS = {
Expand Down