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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ray-embedding
3
- Version: 0.12.11
3
+ Version: 0.12.12
4
4
  Summary: Deploy SentenceTransformers embedding models to a ray cluster
5
5
  Author: Crispin Almodovar
6
6
  Author-email:
@@ -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=1, max_replicas=1),
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 model replicas running on node {self.node_ip}.")
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ray-embedding
3
- Version: 0.12.11
3
+ Version: 0.12.12
4
4
  Summary: Deploy SentenceTransformers embedding models to a ray cluster
5
5
  Author: Crispin Almodovar
6
6
  Author-email:
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = ray-embedding
3
- version = 0.12.11
3
+ version = 0.12.12
4
4
  author = Crispin Almodovar
5
5
  author_email =
6
6
  description = Deploy SentenceTransformers embedding models to a ray cluster