kubetorch 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kubetorch might be problematic. Click here for more details.
- kubetorch/__init__.py +1 -1
- kubetorch/servers/http/http_server.py +3 -2
- kubetorch/serving/templates/kt_setup_template.sh.j2 +1 -0
- {kubetorch-0.2.1.dist-info → kubetorch-0.2.2.dist-info}/METADATA +3 -3
- {kubetorch-0.2.1.dist-info → kubetorch-0.2.2.dist-info}/RECORD +7 -7
- {kubetorch-0.2.1.dist-info → kubetorch-0.2.2.dist-info}/WHEEL +0 -0
- {kubetorch-0.2.1.dist-info → kubetorch-0.2.2.dist-info}/entry_points.txt +0 -0
kubetorch/__init__.py
CHANGED
|
@@ -1309,8 +1309,9 @@ async def lifespan(app: FastAPI):
|
|
|
1309
1309
|
logger.debug("No TTL annotation found, heartbeat disabled")
|
|
1310
1310
|
|
|
1311
1311
|
try:
|
|
1312
|
-
|
|
1313
|
-
|
|
1312
|
+
if os.getenv("KT_CALLABLE_TYPE") == "app":
|
|
1313
|
+
cached_image_setup()
|
|
1314
|
+
else:
|
|
1314
1315
|
load_callable()
|
|
1315
1316
|
|
|
1316
1317
|
logger.info("Kubetorch Server started.")
|
|
@@ -59,6 +59,7 @@ fi
|
|
|
59
59
|
# Export the install command as an environment variable for use in applications
|
|
60
60
|
echo "Setting KT_PIP_INSTALL_CMD env var to $uv_pip_cmd"
|
|
61
61
|
export KT_PIP_INSTALL_CMD="$uv_pip_cmd"
|
|
62
|
+
mkdir -p .kt
|
|
62
63
|
echo "$uv_pip_cmd" > .kt/kt_pip_install_cmd
|
|
63
64
|
|
|
64
65
|
{% if install_url %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kubetorch
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: A Python interface for running ML workloads on Kubernetes
|
|
5
5
|
License: Apache 2.0
|
|
6
6
|
Author: Runhouse Team
|
|
@@ -97,10 +97,10 @@ pip install "kubetorch[client]"
|
|
|
97
97
|
```bash
|
|
98
98
|
# Option 1: Install directly from OCI registry
|
|
99
99
|
helm upgrade --install kubetorch oci://ghcr.io/run-house/charts/kubetorch \
|
|
100
|
-
--version 0.2.
|
|
100
|
+
--version 0.2.2 -n kubetorch --create-namespace
|
|
101
101
|
|
|
102
102
|
# Option 2: Download chart locally first
|
|
103
|
-
helm pull oci://ghcr.io/run-house/charts/kubetorch --version 0.2.
|
|
103
|
+
helm pull oci://ghcr.io/run-house/charts/kubetorch --version 0.2.2 --untar
|
|
104
104
|
helm upgrade --install kubetorch ./kubetorch -n kubetorch --create-namespace
|
|
105
105
|
```
|
|
106
106
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
kubetorch/__init__.py,sha256=
|
|
1
|
+
kubetorch/__init__.py,sha256=JZaiU7VcuwqRpmzdhxJaXt9VbQtVagJ8gp4dMnPs8BU,2115
|
|
2
2
|
kubetorch/cli.py,sha256=yCn-1z71TNS-tvA2D5CbZF3YTh2QYvfyXi7H3yN2vXI,68611
|
|
3
3
|
kubetorch/cli_utils.py,sha256=zzABvAT35eQulAakAmo6PwZkMg6pZNLA3HoZqsYZQB0,33353
|
|
4
4
|
kubetorch/config.py,sha256=-up9Tljkls_ZU8bASjDRnFaxTknBsoLeWgbuXbSt6cw,15839
|
|
@@ -66,7 +66,7 @@ kubetorch/servers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
|
66
66
|
kubetorch/servers/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
67
67
|
kubetorch/servers/http/distributed_utils.py,sha256=6CLZn4JOdTIWSvnN5DYOIhiT7NctFeEtL-nqOAx4bYM,129685
|
|
68
68
|
kubetorch/servers/http/http_client.py,sha256=xs84zNGnquiF_q3FNcdGEKXu9LLmrnKxeJcAlZzP27I,29753
|
|
69
|
-
kubetorch/servers/http/http_server.py,sha256=
|
|
69
|
+
kubetorch/servers/http/http_server.py,sha256=y0AO5LLPozK1mDDrbWvW9sVwqxwSKZppWN7io7FAp5A,69836
|
|
70
70
|
kubetorch/servers/http/server_metrics.py,sha256=0c9K7DBo6fYXAYqCXf2zqDyARP7mB2fwPOuDTzVTIQk,9614
|
|
71
71
|
kubetorch/servers/http/utils.py,sha256=39MQDD027D5YwA78U_hBVjbSvEsymYwZ-SVvQ4Zpzk8,27231
|
|
72
72
|
kubetorch/serving/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -79,7 +79,7 @@ kubetorch/serving/raycluster_service_manager.py,sha256=k3u01KDsi8tW_NWzR3jytT2DA
|
|
|
79
79
|
kubetorch/serving/service_manager.py,sha256=4LdrzfwPFPf7IsSwR7HVxuSrbyBNw1dI4xPHR8TECrw,720
|
|
80
80
|
kubetorch/serving/templates/deployment_template.yaml,sha256=_hPm7sXCb2BVeYuhyAGz-hRzjAoSaXNikJj_3MJfLsM,435
|
|
81
81
|
kubetorch/serving/templates/knative_service_template.yaml,sha256=yKxBdduIOqDntywBdUFVaV3hc50cZhl6K91FNok6X_U,553
|
|
82
|
-
kubetorch/serving/templates/kt_setup_template.sh.j2,sha256=
|
|
82
|
+
kubetorch/serving/templates/kt_setup_template.sh.j2,sha256=OqTWkMmiqDodia0a9f-wnef1EBL4XFWBWuXdbpotVKc,2691
|
|
83
83
|
kubetorch/serving/templates/pod_template.yaml,sha256=5N0KuLBtphA1dyZ2hq8nYKOpaqDxUvLkZEl2fPG89yw,5530
|
|
84
84
|
kubetorch/serving/templates/raycluster_service_template.yaml,sha256=kW_bIJu36Ud4kI8Q9ycnQfIIbhkxNa-C6OP93Jpl-EA,1037
|
|
85
85
|
kubetorch/serving/templates/raycluster_template.yaml,sha256=ruWFk09-E85WZJc64l7NXrsdGYcW4spPzErWuzrLLes,990
|
|
@@ -87,7 +87,7 @@ kubetorch/serving/templates/service_template.yaml,sha256=ClIMlW-JzK4I6YWo9oBbwYX
|
|
|
87
87
|
kubetorch/serving/templates/workerset_template.yaml,sha256=l7svttZrQPHDbZuZsO8EmG38eVlFUDr_UyP3E2Ci0zY,981
|
|
88
88
|
kubetorch/serving/utils.py,sha256=7TASPzrK-8bX3lBvGj95I3fTp4MOBFqFhJvqA1TVvqA,12691
|
|
89
89
|
kubetorch/utils.py,sha256=h7bqR0OlmyTH61lKHGd6jEPNlBw8eX_5r0dN99ha_ws,8583
|
|
90
|
-
kubetorch-0.2.
|
|
91
|
-
kubetorch-0.2.
|
|
92
|
-
kubetorch-0.2.
|
|
93
|
-
kubetorch-0.2.
|
|
90
|
+
kubetorch-0.2.2.dist-info/METADATA,sha256=DpgtgZVM8VxcNajYjSBYcUQ-iLNtz0Z8zTESwdlvHLw,4810
|
|
91
|
+
kubetorch-0.2.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
92
|
+
kubetorch-0.2.2.dist-info/entry_points.txt,sha256=Gkg5B9pHJpGf-Zxk1LGx7RIG_9EI04MAbD6m4l1Rx3U,107
|
|
93
|
+
kubetorch-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|