Skip to content

Commit 686bae3

Browse files
committed
Updated Ray version to 2.20.0
1 parent 3d9ebc9 commit 686bae3

File tree

9 files changed

+114
-186
lines changed

9 files changed

+114
-186
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 1 addition & 0 deletions
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

Lines changed: 103 additions & 176 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ def get_ray_obj(group, version, namespace, plural, cls=None):
11831183
},
11841184
},
11851185
},
1186-
"rayVersion": "2.7.0",
1186+
"rayVersion": "2.20.0",
11871187
"workerGroupSpecs": [
11881188
{
11891189
"groupName": "small-group-quicktest",
@@ -1417,7 +1417,7 @@ def get_ray_obj(group, version, namespace, plural, cls=None):
14171417
}
14181418
},
14191419
},
1420-
"rayVersion": "1.12.0",
1420+
"rayVersion": "2.20.0",
14211421
"workerGroupSpecs": [
14221422
{
14231423
"groupName": "small-group-quicktest2",
@@ -1790,7 +1790,7 @@ def get_aw_obj(group, version, namespace, plural):
17901790
}
17911791
},
17921792
},
1793-
"rayVersion": "1.12.0",
1793+
"rayVersion": "2.20.0",
17941794
"workerGroupSpecs": [
17951795
{
17961796
"groupName": "small-group-quicktest",

0 commit comments

Comments
 (0)