Skip to content

Commit 37808c7

Browse files
davidxiakevin85421
andauthored
feat: upgrade to Ray 2.46.0 (#3547)
* feat: upgrade to Ray 2.46.0 everywhere including default configs, tests, and samples. Signed-off-by: David Xia <[email protected]> * Update install/prometheus/overrides.yaml Signed-off-by: Kai-Hsun Chen <[email protected]> --------- Signed-off-by: David Xia <[email protected]> Signed-off-by: Kai-Hsun Chen <[email protected]> Co-authored-by: Kai-Hsun Chen <[email protected]>
1 parent 05f0cf3 commit 37808c7

File tree

64 files changed

+175
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+175
-175
lines changed

.buildkite/setup-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ apt-get update
3232
apt-get install -y python3.11 python3-pip
3333

3434
# Install requirements
35-
pip install --break-system-packages ray[default]==2.41.0
35+
pip install --break-system-packages ray[default]==2.46.0
3636

3737
# Bypass Git's ownership check due to unconventional user IDs in Docker containers
3838
git config --global --add safe.directory /workdir
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
image:
22
repository: rayproject/ray
3-
tag: 2.41.0
3+
tag: 2.46.0

helm-chart/ray-cluster/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
image:
99
repository: rayproject/ray
10-
tag: 2.41.0
10+
tag: 2.46.0
1111
pullPolicy: IfNotPresent
1212

1313
nameOverride: "kuberay"
@@ -26,7 +26,7 @@ common:
2626
head:
2727
# rayVersion determines the autoscaler's image version.
2828
# It should match the Ray version in the image of the containers.
29-
# rayVersion: 2.41.0
29+
# rayVersion: 2.46.0
3030
# If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod.
3131
# Ray autoscaler integration is supported only for Ray versions >= 1.11.0
3232
# Ray autoscaler integration is Beta with KubeRay >= 0.3.0 and Ray >= 2.0.0.

kubectl-plugin/pkg/util/constant.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package util
22

33
const (
4-
RayVersion = "2.41.0"
4+
RayVersion = "2.46.0"
55
RayImage = "rayproject/ray:" + RayVersion
66

77
RayClusterLabelKey = "ray.io/cluster"

kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode-no-runtime-env.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ metadata:
55
spec:
66
submissionMode: 'InteractiveMode'
77
rayClusterSpec:
8-
rayVersion: '2.41.0'
8+
rayVersion: '2.46.0'
99
headGroupSpec:
1010
rayStartParams: {}
1111
template:
1212
spec:
1313
containers:
1414
- name: ray-head
15-
image: rayproject/ray:2.41.0
15+
image: rayproject/ray:2.46.0
1616
ports:
1717
- containerPort: 6379
1818
name: gcs-server
@@ -35,7 +35,7 @@ spec:
3535
spec:
3636
containers:
3737
- name: ray-worker
38-
image: rayproject/ray:2.41.0
38+
image: rayproject/ray:2.46.0
3939
resources:
4040
limits:
4141
cpu: "1"

kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ spec:
1414
another_env_var: "second_env_var"
1515
1616
rayClusterSpec:
17-
rayVersion: '2.41.0' # should match the Ray version in the image of the containers
17+
rayVersion: '2.46.0' # should match the Ray version in the image of the containers
1818
headGroupSpec:
1919
rayStartParams: {}
2020
template:
2121
spec:
2222
containers:
2323
- name: ray-head
24-
image: rayproject/ray:2.41.0
24+
image: rayproject/ray:2.46.0
2525
ports:
2626
- containerPort: 6379
2727
name: gcs-server
@@ -44,7 +44,7 @@ spec:
4444
spec:
4545
containers:
4646
- name: ray-worker
47-
image: rayproject/ray:2.41.0
47+
image: rayproject/ray:2.46.0
4848
resources:
4949
limits:
5050
cpu: "1"

ray-operator/config/samples/pytorch-mnist/ray-job.pytorch-mnist.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ spec:
1616
1717
# rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller.
1818
rayClusterSpec:
19-
rayVersion: '2.41.0'
19+
rayVersion: '2.46.0'
2020
headGroupSpec:
2121
rayStartParams: {}
2222
# Pod template
2323
template:
2424
spec:
2525
containers:
2626
- name: ray-head
27-
image: rayproject/ray:2.41.0
27+
image: rayproject/ray:2.46.0
2828
ports:
2929
- containerPort: 6379
3030
name: gcs-server
@@ -50,7 +50,7 @@ spec:
5050
spec:
5151
containers:
5252
- name: ray-worker
53-
image: rayproject/ray:2.41.0
53+
image: rayproject/ray:2.46.0
5454
resources:
5555
limits:
5656
cpu: "3"

ray-operator/config/samples/pytorch-resnet-image-classifier/ray-job.pytorch-image-classifier.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
- transformers>=4.19.1
1717
working_dir: "https://github.com/ray-project/kuberay/archive/master.zip"
1818
rayClusterSpec:
19-
rayVersion: '2.41.0'
19+
rayVersion: '2.46.0'
2020
headGroupSpec:
2121
rayStartParams:
2222
dashboard-host: '0.0.0.0'
@@ -31,7 +31,7 @@ spec:
3131
serviceAccountName: pytorch-distributed-training
3232
containers:
3333
- name: ray-head
34-
image: rayproject/ray:2.41.0
34+
image: rayproject/ray:2.46.0
3535
env:
3636
- name: NUM_WORKERS
3737
value: "4"
@@ -85,7 +85,7 @@ spec:
8585
effect: "NoSchedule"
8686
containers:
8787
- name: ray-worker
88-
image: rayproject/ray-ml:2.41.0.021baf-py39
88+
image: rayproject/ray-ml:2.46.0.0e19ea-py39
8989
resources:
9090
limits:
9191
cpu: "1"

ray-operator/config/samples/pytorch-text-classifier/ray-job.pytorch-distributed-training.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
- pytorch-lightning==1.6.5
1616
working_dir: "https://github.com/ray-project/kuberay/archive/master.zip"
1717
rayClusterSpec:
18-
rayVersion: '2.41.0'
18+
rayVersion: '2.46.0'
1919
headGroupSpec:
2020
rayStartParams:
2121
dashboard-host: '0.0.0.0'
@@ -27,7 +27,7 @@ spec:
2727
effect: "NoSchedule"
2828
containers:
2929
- name: ray-head
30-
image: rayproject/ray-ml:2.41.0.021baf-py311
30+
image: rayproject/ray-ml:2.46.0.0e19ea-py311-gpu
3131
ports:
3232
- containerPort: 6379
3333
name: gcs-server

ray-operator/config/samples/ray-cluster.auth.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ spec:
6060
serviceAccountName: kube-rbac-proxy
6161
containers:
6262
- name: ray-head
63-
image: rayproject/ray:2.41.0
63+
image: rayproject/ray:2.46.0
6464
ports:
6565
- containerPort: 6379
6666
name: gcs
@@ -125,7 +125,7 @@ spec:
125125
spec:
126126
containers:
127127
- name: ray-worker
128-
image: rayproject/ray:2.41.0
128+
image: rayproject/ray:2.46.0
129129
resources:
130130
limits:
131131
cpu: 1

0 commit comments

Comments
 (0)