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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ray-embedding
3
- Version: 0.13.4
3
+ Version: 0.13.5
4
4
  Summary: Deploy SentenceTransformers embedding models to a ray cluster
5
5
  Author: Crispin Almodovar
6
6
  Author-email:
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ray-embedding
3
- Version: 0.13.4
3
+ Version: 0.13.5
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.13.4
3
+ version = 0.13.5
4
4
  author = Crispin Almodovar
5
5
  author_email =
6
6
  description = Deploy SentenceTransformers embedding models to a ray cluster
File without changes