Skip to content

Commit c904797

Browse files
committed
Updated Ray version to 2.20.0
Removed rayVersion from base template
1 parent c0f7d7f commit c904797

File tree

12 files changed

+106
-190
lines changed

12 files changed

+106
-190
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

demo-notebooks/guided-demos/notebook-ex-outputs/interactivetest.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ spec:
108108
memory: 8G
109109
nvidia.com/gpu: 0
110110
imagePullSecrets: []
111-
rayVersion: 2.1.0
112111
workerGroupSpecs:
113112
- groupName: small-group-interactivetest
114113
maxReplicas: 2

demo-notebooks/guided-demos/notebook-ex-outputs/jobtest.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ spec:
9797
memory: 8G
9898
nvidia.com/gpu: 0
9999
imagePullSecrets: []
100-
rayVersion: 2.1.0
101100
workerGroupSpecs:
102101
- groupName: small-group-jobtest
103102
maxReplicas: 2

demo-notebooks/guided-demos/notebook-ex-outputs/raytest.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ spec:
9797
memory: 8G
9898
nvidia.com/gpu: 0
9999
imagePullSecrets: []
100-
rayVersion: 2.1.0
101100
workerGroupSpecs:
102101
- groupName: small-group-raytest
103102
maxReplicas: 2

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

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ spec:
2020
# finalizers:
2121
# - kubernetes
2222
spec:
23-
# The version of Ray you are using. Make sure all Ray containers are running this version of Ray.
24-
rayVersion: '2.7.0'
2523
# If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod.
2624
# Ray autoscaler integration is supported only for Ray versions >= 1.11.0
2725
# Ray autoscaler integration is Beta with KubeRay >= 0.3.0 and Ray >= 2.0.0.

tests/test-case-bad.yaml

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

tests/test-case-no-mcad.yamls

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ spec:
8888
name: odh-trusted-ca-bundle
8989
optional: true
9090
name: odh-ca-cert
91-
rayVersion: 2.7.0
9291
workerGroupSpecs:
9392
- groupName: small-group-unit-test-cluster-ray
9493
maxReplicas: 2

tests/test-case.yaml

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

tests/test-default-appwrapper.yaml

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

tests/unit_test.py

-3
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,6 @@ def get_ray_obj(group, version, namespace, plural, cls=None):
11821182
},
11831183
},
11841184
},
1185-
"rayVersion": "2.7.0",
11861185
"workerGroupSpecs": [
11871186
{
11881187
"groupName": "small-group-quicktest",
@@ -1416,7 +1415,6 @@ def get_ray_obj(group, version, namespace, plural, cls=None):
14161415
}
14171416
},
14181417
},
1419-
"rayVersion": "1.12.0",
14201418
"workerGroupSpecs": [
14211419
{
14221420
"groupName": "small-group-quicktest2",
@@ -1789,7 +1787,6 @@ def get_aw_obj(group, version, namespace, plural):
17891787
}
17901788
},
17911789
},
1792-
"rayVersion": "1.12.0",
17931790
"workerGroupSpecs": [
17941791
{
17951792
"groupName": "small-group-quicktest",

0 commit comments

Comments
 (0)