ray-embedding 0.12.11__tar.gz → 0.12.12__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.12.11 → ray_embedding-0.12.12}/PKG-INFO +1 -1
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding/node_health.py +2 -2
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding.egg-info/PKG-INFO +1 -1
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/setup.cfg +1 -1
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/README.md +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/pyproject.toml +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding/__init__.py +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding/deploy.py +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding/dto.py +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding/embedding_model.py +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding/model_router.py +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding.egg-info/SOURCES.txt +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding.egg-info/dependency_links.txt +0 -0
- {ray_embedding-0.12.11 → ray_embedding-0.12.12}/ray_embedding.egg-info/top_level.txt +0 -0
|
@@ -10,7 +10,7 @@ from ray._private.services import get_node_ip_address
|
|
|
10
10
|
from ray.util.state import list_actors
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
@serve.deployment(autoscaling_config=dict(min_replicas=
|
|
13
|
+
@serve.deployment(autoscaling_config=dict(min_replicas=0, max_replicas=1, initial_replicas=0),
|
|
14
14
|
ray_actor_options=dict(num_cpus=0.1))
|
|
15
15
|
class NodeHealthTracker:
|
|
16
16
|
"""Maintains a list of bad nodes, as reported by replicas that call the report_bad_node func.
|
|
@@ -62,7 +62,7 @@ class NodeHealthTracker:
|
|
|
62
62
|
raise RuntimeError(f"An error occurred in check_health during bad node cleanup: {e}")
|
|
63
63
|
|
|
64
64
|
if not await self.is_tracked_model_running_on_node(node_ip=self.node_ip):
|
|
65
|
-
raise RuntimeError(f"There are no
|
|
65
|
+
raise RuntimeError(f"There are no replicas of tracked deployments={self.tracked_model_deployments} running on node {self.node_ip}.")
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
async def is_tracked_model_running_on_node(self, node_ip: str) -> bool:
|
|
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
|