Skip to content

Commit c2011ef

Browse files
committed
Remove codeflare-torchx dependency
1 parent 1e80e62 commit c2011ef

File tree

6 files changed

+2432
-2465
lines changed

6 files changed

+2432
-2465
lines changed

demo-notebooks/additional-demos/hf_interactive.ipynb

Lines changed: 519 additions & 519 deletions
Large diffs are not rendered by default.

demo-notebooks/guided-demos/notebook-ex-outputs/2_basic_interactive.ipynb

Lines changed: 787 additions & 787 deletions
Large diffs are not rendered by default.

poetry.lock

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

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ openshift-client = "1.0.18"
2525
rich = "^12.5"
2626
ray = {version = "2.20.0", extras = ["data", "default"]}
2727
kubernetes = ">= 25.3.0, < 27"
28-
codeflare-torchx = "0.6.0.dev2"
2928
cryptography = "40.0.2"
3029
executing = "1.2.0"
3130
pydantic = "< 2"

src/codeflare_sdk/cluster/cluster.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@
1818
cluster setup queue, a list of all existing clusters, and the user's working namespace.
1919
"""
2020

21-
import re
2221
from time import sleep
2322
from typing import List, Optional, Tuple, Dict
2423

25-
from kubernetes import config
2624
from ray.job_submission import JobSubmissionClient
2725

2826
from .auth import config_check, api_config_handler
@@ -41,8 +39,7 @@
4139
RayCluster,
4240
RayClusterStatus,
4341
)
44-
from kubernetes import client, config
45-
from kubernetes.utils import parse_quantity
42+
from kubernetes import client
4643
import yaml
4744
import os
4845
import requests

tests/unit_test.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
1615
from pathlib import Path
1716
import sys
1817
import filecmp
1918
import os
2019
import re
2120
import uuid
2221

23-
from codeflare_sdk.cluster import cluster
24-
2522
parent = Path(__file__).resolve().parents[1]
2623
aw_dir = os.path.expanduser("~/.codeflare/resources/")
2724
sys.path.append(str(parent) + "/src")
@@ -69,14 +66,12 @@
6966
createClusterConfig,
7067
)
7168

72-
import codeflare_sdk.utils.kube_api_helpers
7369
from codeflare_sdk.utils.generate_yaml import (
7470
gen_names,
7571
is_openshift_cluster,
7672
)
7773

7874
import openshift
79-
from openshift.selector import Selector
8075
import ray
8176
import pytest
8277
import yaml

0 commit comments

Comments
 (0)