ray-embedding 0.13.4__tar.gz → 0.13.5__tar.gz
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-0.13.4 → ray_embedding-0.13.5}/PKG-INFO +1 -1
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding/node_health.py +2 -1
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding.egg-info/PKG-INFO +1 -1
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/setup.cfg +1 -1
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/README.md +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/pyproject.toml +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding/__init__.py +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding/deploy.py +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding/dto.py +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding/embedding_model.py +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding/model_router.py +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding.egg-info/SOURCES.txt +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding.egg-info/dependency_links.txt +0 -0
- {ray_embedding-0.13.4 → ray_embedding-0.13.5}/ray_embedding.egg-info/top_level.txt +0 -0
|
@@ -25,6 +25,7 @@ class NodeHealthTracker:
|
|
|
25
25
|
self.bad_gpu_node_ips: Set[str] = set()
|
|
26
26
|
self.lock = threading.RLock()
|
|
27
27
|
replica_context = serve.get_replica_context()
|
|
28
|
+
self.app_name = replica_context.app_name
|
|
28
29
|
self.deployment_name = replica_context.deployment
|
|
29
30
|
self.replica_actor_name = replica_context.replica_id.to_full_id_str()
|
|
30
31
|
self.node_ip = get_node_ip_address()
|
|
@@ -74,7 +75,7 @@ class NodeHealthTracker:
|
|
|
74
75
|
f"running on node {node_ip}.")
|
|
75
76
|
target_node_id = next(node["NodeID"] for node in ray.nodes() if node["Alive"] and node["NodeManagerAddress"] == node_ip)
|
|
76
77
|
assert target_node_id, f"No node found with IP {node_ip}"
|
|
77
|
-
prefixes = tuple(f"SERVE_REPLICA::{d}" for d in self.tracked_model_deployments)
|
|
78
|
+
prefixes = tuple(f"SERVE_REPLICA::{self.app_name}#{d}" for d in self.tracked_model_deployments)
|
|
78
79
|
|
|
79
80
|
for actor in list_actors(detail=False):
|
|
80
81
|
if (actor.state in ["DEPENDENCIES_UNREADY", 'PENDING_CREATION', 'ALIVE', 'RESTARTING'] and
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|