Skip to content

Commit f85f59a

Browse files
committed
Updated Ray version to 2.20.0
1 parent 20476aa commit f85f59a

File tree

9 files changed

+114
-186
lines changed

9 files changed

+114
-186
lines changed

.github/workflows/e2e_tests.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
sudo rm -rf /opt/ghc
4444
sudo rm -rf "/usr/local/share/boost"
4545
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
46+
sudo apt install python3.9
4647
docker rmi $(docker image ls -aq)
4748
echo "Final status:"
4849
df -h

poetry.lock

+103-176
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ homepage = "https://github.com/project-codeflare/codeflare-sdk"
2020
keywords = ['codeflare', 'python', 'sdk', 'client', 'batch', 'scale']
2121

2222
[tool.poetry.dependencies]
23-
python = "^3.8"
23+
python = "^3.9"
2424
openshift-client = "1.0.18"
2525
rich = "^12.5"
26-
ray = {version = "2.7.0", extras = ["data", "default"]}
26+
ray = {version = "2.20.0", extras = ["data", "default"]}
2727
kubernetes = ">= 25.3.0, < 27"
2828
codeflare-torchx = "0.6.0.dev2"
2929
cryptography = "40.0.2"

src/codeflare_sdk/templates/base-template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
namespace: default
1313
spec:
1414
# The version of Ray you are using. Make sure all Ray containers are running this version of Ray.
15-
rayVersion: '2.7.0'
15+
rayVersion: '2.20.0'
1616
# If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod.
1717
# Ray autoscaler integration is supported only for Ray versions >= 1.11.0
1818
# Ray autoscaler integration is Beta with KubeRay >= 0.3.0 and Ray >= 2.0.0.

tests/test-case-bad.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spec:
6868
cpu: 2
6969
memory: 8G
7070
nvidia.com/gpu: 0
71-
rayVersion: 1.12.0
71+
rayVersion: 2.20.0
7272
workerGroupSpecs:
7373
- groupName: small-group-unit-test-cluster
7474
maxReplicas: 2

tests/test-case-no-mcad.yamls

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ spec:
8989
name: odh-trusted-ca-bundle
9090
optional: true
9191
name: odh-ca-cert
92-
rayVersion: 2.7.0
92+
rayVersion: 2.20.0
9393
workerGroupSpecs:
9494
- groupName: small-group-unit-test-cluster-ray
9595
maxReplicas: 2

tests/test-case.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ spec:
9494
name: odh-trusted-ca-bundle
9595
optional: true
9696
name: odh-ca-cert
97-
rayVersion: 2.7.0
97+
rayVersion: 2.20.0
9898
workerGroupSpecs:
9999
- groupName: small-group-unit-test-cluster
100100
maxReplicas: 2

tests/test-default-appwrapper.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ spec:
9393
name: odh-trusted-ca-bundle
9494
optional: true
9595
name: odh-ca-cert
96-
rayVersion: 2.7.0
96+
rayVersion: 2.20.0
9797
workerGroupSpecs:
9898
- groupName: small-group-unit-test-default-cluster
9999
maxReplicas: 1

tests/unit_test.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ def get_ray_obj(group, version, namespace, plural, cls=None):
12451245
},
12461246
},
12471247
},
1248-
"rayVersion": "2.7.0",
1248+
"rayVersion": "2.20.0",
12491249
"workerGroupSpecs": [
12501250
{
12511251
"groupName": "small-group-quicktest",
@@ -1479,7 +1479,7 @@ def get_ray_obj(group, version, namespace, plural, cls=None):
14791479
}
14801480
},
14811481
},
1482-
"rayVersion": "1.12.0",
1482+
"rayVersion": "2.20.0",
14831483
"workerGroupSpecs": [
14841484
{
14851485
"groupName": "small-group-quicktest2",
@@ -1852,7 +1852,7 @@ def get_aw_obj(group, version, namespace, plural):
18521852
}
18531853
},
18541854
},
1855-
"rayVersion": "1.12.0",
1855+
"rayVersion": "2.20.0",
18561856
"workerGroupSpecs": [
18571857
{
18581858
"groupName": "small-group-quicktest",

0 commit comments

Comments
 (0)