Skip to content

Commit 517a6b0

Browse files
committed
Updated Ray version to 2.20.0
1 parent c0f7d7f commit 517a6b0

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
@@ -21,7 +21,7 @@ spec:
2121
# - kubernetes
2222
spec:
2323
# The version of Ray you are using. Make sure all Ray containers are running this version of Ray.
24-
rayVersion: '2.7.0'
24+
rayVersion: '2.20.0'
2525
# If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod.
2626
# Ray autoscaler integration is supported only for Ray versions >= 1.11.0
2727
# 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
@@ -88,7 +88,7 @@ spec:
8888
name: odh-trusted-ca-bundle
8989
optional: true
9090
name: odh-ca-cert
91-
rayVersion: 2.7.0
91+
rayVersion: 2.20.0
9292
workerGroupSpecs:
9393
- groupName: small-group-unit-test-cluster-ray
9494
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
@@ -1182,7 +1182,7 @@ def get_ray_obj(group, version, namespace, plural, cls=None):
11821182
},
11831183
},
11841184
},
1185-
"rayVersion": "2.7.0",
1185+
"rayVersion": "2.20.0",
11861186
"workerGroupSpecs": [
11871187
{
11881188
"groupName": "small-group-quicktest",
@@ -1416,7 +1416,7 @@ def get_ray_obj(group, version, namespace, plural, cls=None):
14161416
}
14171417
},
14181418
},
1419-
"rayVersion": "1.12.0",
1419+
"rayVersion": "2.20.0",
14201420
"workerGroupSpecs": [
14211421
{
14221422
"groupName": "small-group-quicktest2",
@@ -1789,7 +1789,7 @@ def get_aw_obj(group, version, namespace, plural):
17891789
}
17901790
},
17911791
},
1792-
"rayVersion": "1.12.0",
1792+
"rayVersion": "2.20.0",
17931793
"workerGroupSpecs": [
17941794
{
17951795
"groupName": "small-group-quicktest",

0 commit comments

Comments
 (0)