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
2 changes: 1 addition & 1 deletion .buildkite/setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ apt-get update
apt-get install -y python3.11 python3-pip python3-venv python3-dev build-essential

# Install requirements
pip install --break-system-packages ray[default]==2.46.0
pip install --break-system-packages ray[default]==2.50.1

# Bypass Git's ownership check due to unconventional user IDs in Docker containers
git config --global --add safe.directory /workdir
6 changes: 3 additions & 3 deletions benchmark/perf-tests/100-raycluster/raycluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
labels:
perf-test: ray-cluster
spec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
rayStartParams:
dashboard-host: '0.0.0.0'
template:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.46.0
image: rayproject/ray:2.50.1
ports:
- containerPort: 6379
name: gcs
Expand Down Expand Up @@ -42,7 +42,7 @@ spec:
spec:
containers:
- name: ray-worker
image: rayproject/ray:2.46.0
image: rayproject/ray:2.50.1
volumeMounts:
- mountPath: /tmp/ray
name: ray-logs
Expand Down
4 changes: 2 additions & 2 deletions benchmark/perf-tests/100-rayjob/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ steps:
- basename: pytorch-mnist
objectTemplatePath: pytorch-mnist-rayjob.yaml
templateFillMap:
Image: "rayproject/ray:2.46.0" # replace with image built from images/ray-pytorch
Image: "rayproject/ray:2.50.1" # replace with image built from images/ray-pytorch
- name: Creating RayJobs for Ray Data Image Resizing
phases:
- namespaceRange:
Expand All @@ -51,7 +51,7 @@ steps:
- basename: ray-data-image-resize
objectTemplatePath: ray-data-image-resize.yaml
templateFillMap:
Image: "rayproject/ray:2.46.0" # replace with image built from images/ray-pytorch
Image: "rayproject/ray:2.50.1" # replace with image built from images/ray-pytorch
- name: Wait for RayJobs complete
measurements:
- Identifier: WaitForRayJob
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/100-rayjob/pytorch-mnist-rayjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
CPUS_PER_WORKER: "1"
OMP_NUM_THREADS: "1" # Set OMP_NUM_THREADS to avoid KeyErorr race condition.
rayClusterSpec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
template:
spec:
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/100-rayjob/ray-data-image-resize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
shutdownAfterJobFinishes: true
entrypoint: python ray_data_image_resize.py
rayClusterSpec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
template:
spec:
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/1000-raycluster/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ steps:
objectTemplatePath: raycluster.yaml
templateFillMap:
Replicas: 3
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Wait for RayClusters ready
measurements:
- Identifier: WaitForRayCluster
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/1000-raycluster/raycluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
perf-test: ray-cluster
spec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
serviceType: ClusterIP
rayStartParams:
Expand Down
4 changes: 2 additions & 2 deletions benchmark/perf-tests/1000-rayjob/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ steps:
- basename: pytorch-mnist
objectTemplatePath: pytorch-mnist-rayjob.yaml
templateFillMap:
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Creating RayJobs for Ray Data Image Resizing
phases:
- namespaceRange:
Expand All @@ -51,7 +51,7 @@ steps:
- basename: ray-data-image-resize
objectTemplatePath: ray-data-image-resize.yaml
templateFillMap:
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Wait for RayJobs complete
measurements:
- Identifier: WaitForRayJob
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/1000-rayjob/pytorch-mnist-rayjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
requests:
cpu: "10m"
rayClusterSpec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
rayStartParams:
disable-usage-stats: 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
requests:
cpu: "10m"
rayClusterSpec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
rayStartParams:
disable-usage-stats: 'true'
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/10000-raycluster/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ steps:
objectTemplatePath: raycluster.yaml
templateFillMap:
Replicas: 3
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Wait for RayClusters ready
measurements:
- Identifier: WaitForRayCluster
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/10000-raycluster/raycluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
perf-test: ray-cluster
spec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
serviceType: ClusterIP
rayStartParams:
Expand Down
4 changes: 2 additions & 2 deletions benchmark/perf-tests/10000-rayjob/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ steps:
objectBundle:
- basename: pytorch-mnist
objectTemplatePath: pytorch-mnist-rayjob.yaml
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Creating RayJobs for Ray Data Image Resizing
phases:
- namespaceRange:
Expand All @@ -49,7 +49,7 @@ steps:
objectBundle:
- basename: ray-data-image-resize
objectTemplatePath: ray-data-image-resize.yaml
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Wait for RayJobs complete
measurements:
- Identifier: WaitForRayJob
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
requests:
cpu: "10m"
rayClusterSpec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
rayStartParams:
disable-usage-stats: 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
requests:
cpu: "10m"
rayClusterSpec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
rayStartParams:
disable-usage-stats: 'true'
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/5000-raycluster/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ steps:
objectTemplatePath: raycluster.yaml
templateFillMap:
Replicas: 3
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Wait for RayClusters ready
measurements:
- Identifier: WaitForRayCluster
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/5000-raycluster/raycluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
perf-test: ray-cluster
spec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
serviceType: ClusterIP
rayStartParams:
Expand Down
4 changes: 2 additions & 2 deletions benchmark/perf-tests/5000-rayjob/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ steps:
objectBundle:
- basename: pytorch-mnist
objectTemplatePath: pytorch-mnist-rayjob.yaml
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Creating RayJobs for Ray Data Image Resizing
phases:
- namespaceRange:
Expand All @@ -49,7 +49,7 @@ steps:
objectBundle:
- basename: ray-data-image-resize
objectTemplatePath: ray-data-image-resize.yaml
Image: "rayproject/ray:2.46.0"
Image: "rayproject/ray:2.50.1"
- name: Wait for RayJobs complete
measurements:
- Identifier: WaitForRayJob
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf-tests/5000-rayjob/pytorch-mnist-rayjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
requests:
cpu: "10m"
rayClusterSpec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
rayStartParams:
disable-usage-stats: 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
requests:
cpu: "10m"
rayClusterSpec:
rayVersion: '2.46.0'
rayVersion: '2.50.1'
headGroupSpec:
rayStartParams:
disable-usage-stats: 'true'
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/ray-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ helm uninstall raycluster
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| image.repository | string | `"rayproject/ray"` | Image repository. |
| image.tag | string | `"2.46.0"` | Image tag. |
| image.tag | string | `"2.50.1"` | Image tag. |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
| nameOverride | string | `"kuberay"` | String to partially override release name. |
| fullnameOverride | string | `""` | String to fully override release name. |
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/ray-cluster/ci/ci-values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
image:
repository: rayproject/ray
tag: 2.46.0
tag: 2.50.1
4 changes: 2 additions & 2 deletions helm-chart/ray-cluster/tests/raycluster_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ tests:
- it: Should set Ray version when `head.rayVersion` is set
set:
head:
rayVersion: 2.46.0
rayVersion: 2.50.1
asserts:
- equal:
path: spec.rayVersion
value: 2.46.0
value: 2.50.1

- it: Should enable in-tree auto scaling when `head.enableInTreeAutoscaling` is `true`
set:
Expand Down
4 changes: 2 additions & 2 deletions helm-chart/ray-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
# -- Image repository.
repository: rayproject/ray
# -- Image tag.
tag: 2.46.0
tag: 2.50.1
# -- Image pull policy.
pullPolicy: IfNotPresent

Expand Down Expand Up @@ -59,7 +59,7 @@ common:
head:
# rayVersion determines the autoscaler's image version.
# It should match the Ray version in the image of the containers.
# rayVersion: 2.46.0
# rayVersion: 2.50.1

# If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod.
# Ray autoscaler integration is supported only for Ray versions >= 1.11.0
Expand Down
4 changes: 2 additions & 2 deletions kubectl-plugin/config/samples/create-cluster.complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ labels:
annotations:
dead: beef

ray-version: 2.46.0
image: rayproject/ray:2.46.0
ray-version: 2.50.1
image: rayproject/ray:2.50.1
service-account: [email protected]

head:
Expand Down
14 changes: 7 additions & 7 deletions kubectl-plugin/pkg/cmd/create/create_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ func TestRayCreateClusterComplete(t *testing.T) {
"should set the image to the same version as the ray version when the image is the default and the ray version is not the default": {
args: []string{"testRayClusterName"},
image: defaultImageWithTag,
rayVersion: "2.46.0",
expectedImage: fmt.Sprintf("%s:2.46.0", defaultImage),
rayVersion: "2.50.1",
expectedImage: fmt.Sprintf("%s:2.50.1", defaultImage),
},
}

Expand Down Expand Up @@ -156,8 +156,8 @@ func TestSwitchesIncompatibleWithConfigFilePresent(t *testing.T) {
"should error when incompatible flags are used": {
args: []string{
"sample-cluster",
"--ray-version", "2.46.0",
"--image", "rayproject/ray:2.46.0",
"--ray-version", "2.50.1",
"--image", "rayproject/ray:2.50.1",
"--head-cpu", "1",
"--head-memory", "5Gi",
"--head-gpu", "1",
Expand Down Expand Up @@ -249,8 +249,8 @@ func TestNewCreateClusterCommand(t *testing.T) {
"should succeed when all flags are provided": {
args: []string{
"sample-cluster",
"--ray-version", "2.46.0",
"--image", "rayproject/ray:2.46.0",
"--ray-version", "2.50.1",
"--image", "rayproject/ray:2.50.1",
"--head-cpu", "1",
"--head-memory", "5Gi",
"--head-gpu", "1",
Expand Down Expand Up @@ -284,7 +284,7 @@ func TestNewCreateClusterCommand(t *testing.T) {
args: []string{
"sample-cluster",
"--file", "config.yaml",
"--ray-version", "2.46.0",
"--ray-version", "2.50.1",
"--dry-run",
},
expectError: "the following flags are incompatible with --file: [ray-version]",
Expand Down
2 changes: 1 addition & 1 deletion kubectl-plugin/pkg/util/constant.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package util

const (
RayVersion = "2.46.0"
RayVersion = "2.50.1"
RayImage = "rayproject/ray:" + RayVersion

RayClusterLabelKey = "ray.io/cluster"
Expand Down
16 changes: 8 additions & 8 deletions kubectl-plugin/pkg/util/generation/generation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func TestGenerateRayClusterSpec(t *testing.T) {
Version: AutoscalerV2,
},
RayVersion: ptr.To("1.2.3"),
Image: ptr.To("rayproject/ray:2.46.0"),
Image: ptr.To("rayproject/ray:2.50.1"),
ServiceAccount: ptr.To("my-service-account"),
Head: &Head{
CPU: ptr.To("1"),
Expand Down Expand Up @@ -512,7 +512,7 @@ func TestGenerateRayClusterSpec(t *testing.T) {
Containers: []corev1ac.ContainerApplyConfiguration{
{
Name: ptr.To("ray-head"),
Image: ptr.To("rayproject/ray:2.46.0"),
Image: ptr.To("rayproject/ray:2.50.1"),
Resources: &corev1ac.ResourceRequirementsApplyConfiguration{
Requests: &corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("1"),
Expand Down Expand Up @@ -564,7 +564,7 @@ func TestGenerateRayClusterSpec(t *testing.T) {
Containers: []corev1ac.ContainerApplyConfiguration{
{
Name: ptr.To("ray-worker"),
Image: ptr.To("rayproject/ray:2.46.0"),
Image: ptr.To("rayproject/ray:2.50.1"),
Resources: &corev1ac.ResourceRequirementsApplyConfiguration{
Requests: &corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("2"),
Expand Down Expand Up @@ -592,7 +592,7 @@ func TestGenerateRayClusterSpec(t *testing.T) {
Containers: []corev1ac.ContainerApplyConfiguration{
{
Name: ptr.To("ray-worker"),
Image: ptr.To("rayproject/ray:2.46.0"),
Image: ptr.To("rayproject/ray:2.50.1"),
Resources: &corev1ac.ResourceRequirementsApplyConfiguration{
Requests: &corev1.ResourceList{
corev1.ResourceName(util.ResourceNvidiaGPU): resource.MustParse("1"),
Expand Down Expand Up @@ -890,8 +890,8 @@ labels:
annotations:
dead: beef

ray-version: 2.46.0
image: rayproject/ray:2.46.0
ray-version: 2.50.1
image: rayproject/ray:2.50.1

head:
cpu: 3
Expand Down Expand Up @@ -938,8 +938,8 @@ gke:
Name: ptr.To("dxia-test"),
Labels: map[string]string{"foo": "bar"},
Annotations: map[string]string{"dead": "beef"},
RayVersion: ptr.To("2.46.0"),
Image: ptr.To("rayproject/ray:2.46.0"),
RayVersion: ptr.To("2.50.1"),
Image: ptr.To("rayproject/ray:2.50.1"),
Head: &Head{
CPU: ptr.To("3"),
Memory: ptr.To("5Gi"),
Expand Down
Loading
Loading