ray-embedding 0.12.11__py3-none-any.whl → 0.13.1__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 ray-embedding might be problematic. Click here for more details.
- ray_embedding/node_health.py +0 -6
- {ray_embedding-0.12.11.dist-info → ray_embedding-0.13.1.dist-info}/METADATA +1 -1
- ray_embedding-0.13.1.dist-info/RECORD +10 -0
- ray_embedding-0.12.11.dist-info/RECORD +0 -10
- {ray_embedding-0.12.11.dist-info → ray_embedding-0.13.1.dist-info}/WHEEL +0 -0
- {ray_embedding-0.12.11.dist-info → ray_embedding-0.13.1.dist-info}/top_level.txt +0 -0
ray_embedding/node_health.py
CHANGED
|
@@ -3,8 +3,6 @@ import threading
|
|
|
3
3
|
from typing import Set, List
|
|
4
4
|
|
|
5
5
|
import ray
|
|
6
|
-
from networkx.algorithms.boundary import node_boundary
|
|
7
|
-
from networkx.algorithms.cuts import node_expansion
|
|
8
6
|
from ray import serve
|
|
9
7
|
from ray._private.services import get_node_ip_address
|
|
10
8
|
from ray.util.state import list_actors
|
|
@@ -61,10 +59,6 @@ class NodeHealthTracker:
|
|
|
61
59
|
except Exception as e:
|
|
62
60
|
raise RuntimeError(f"An error occurred in check_health during bad node cleanup: {e}")
|
|
63
61
|
|
|
64
|
-
if not await self.is_tracked_model_running_on_node(node_ip=self.node_ip):
|
|
65
|
-
raise RuntimeError(f"There are no model replicas running on node {self.node_ip}.")
|
|
66
|
-
|
|
67
|
-
|
|
68
62
|
async def is_tracked_model_running_on_node(self, node_ip: str) -> bool:
|
|
69
63
|
"""
|
|
70
64
|
Return True if there is at least one replica of any of the self.tracked_model_deployments
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
ray_embedding/__init__.py,sha256=YS5LAZfRIwwVvE3C9g7hsauvjgIkqKtHyxkwMFFfAGY,46
|
|
2
|
+
ray_embedding/deploy.py,sha256=2R7bQ7aPc9G8H9KVoemxum6-9YxmlXQogWbhFhuslko,3762
|
|
3
|
+
ray_embedding/dto.py,sha256=lk_LuVQPq3MLIMTMddqHviYXILY6V5dvbzDJuD_D_qc,1573
|
|
4
|
+
ray_embedding/embedding_model.py,sha256=P2xyXCznxXmdQBK6zodOJEMvxGVRMA8Ra3O5Qi7RCh0,6013
|
|
5
|
+
ray_embedding/model_router.py,sha256=uHbPqiKuaxUO6mx8pJK19yr83RBiVyfMAB5FkWJl3Gk,6850
|
|
6
|
+
ray_embedding/node_health.py,sha256=ZwQFshoMmTDpuCSRW-uixEfwzFrJo8JMTu8L5r8NIjA,4374
|
|
7
|
+
ray_embedding-0.13.1.dist-info/METADATA,sha256=NCK8Ks2nDMfDCQ_0PLOX2wkWzgKhE9qqq4QRm_a2nII,1074
|
|
8
|
+
ray_embedding-0.13.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
9
|
+
ray_embedding-0.13.1.dist-info/top_level.txt,sha256=ziCblpJq1YsrryshFqxTRuRMgNuO1_tgvAAkGShATNA,14
|
|
10
|
+
ray_embedding-0.13.1.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
ray_embedding/__init__.py,sha256=YS5LAZfRIwwVvE3C9g7hsauvjgIkqKtHyxkwMFFfAGY,46
|
|
2
|
-
ray_embedding/deploy.py,sha256=2R7bQ7aPc9G8H9KVoemxum6-9YxmlXQogWbhFhuslko,3762
|
|
3
|
-
ray_embedding/dto.py,sha256=lk_LuVQPq3MLIMTMddqHviYXILY6V5dvbzDJuD_D_qc,1573
|
|
4
|
-
ray_embedding/embedding_model.py,sha256=P2xyXCznxXmdQBK6zodOJEMvxGVRMA8Ra3O5Qi7RCh0,6013
|
|
5
|
-
ray_embedding/model_router.py,sha256=uHbPqiKuaxUO6mx8pJK19yr83RBiVyfMAB5FkWJl3Gk,6850
|
|
6
|
-
ray_embedding/node_health.py,sha256=hcTTMn2JiTmY3tMWp-NHbNogC2djbSS6-zE-dS8EU_Y,4660
|
|
7
|
-
ray_embedding-0.12.11.dist-info/METADATA,sha256=ef_AHqGzD-4PaLxRqghkcJqNK5H5Xe9dSHQULRg9vro,1075
|
|
8
|
-
ray_embedding-0.12.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
9
|
-
ray_embedding-0.12.11.dist-info/top_level.txt,sha256=ziCblpJq1YsrryshFqxTRuRMgNuO1_tgvAAkGShATNA,14
|
|
10
|
-
ray_embedding-0.12.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|