ray-embedding 0.13.3__py3-none-any.whl → 0.13.4__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.

@@ -47,8 +47,9 @@ class NodeHealthTracker:
47
47
 
48
48
  async def is_bad_gpu_or_no_model_replica_on_node(self, node_ip: str):
49
49
  self.logger.info(f"Checking if node {node_ip} is marked bad or no model replica running on the node.")
50
- return (await self.is_bad_gpu_node(node_ip) or
51
- not await self.is_model_replica_running_on_node(node_ip))
50
+ is_bad_gpu_node = await self.is_bad_gpu_node(node_ip)
51
+ is_no_model_replica_running_on_node = not await self.is_model_replica_running_on_node(node_ip)
52
+ return is_bad_gpu_node or is_no_model_replica_running_on_node
52
53
 
53
54
  async def check_health(self):
54
55
  """Called periodically by Ray Serve. Used here to clean up stale node IDs."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ray-embedding
3
- Version: 0.13.3
3
+ Version: 0.13.4
4
4
  Summary: Deploy SentenceTransformers embedding models to a ray cluster
5
5
  Author: Crispin Almodovar
6
6
  Author-email:
@@ -3,8 +3,8 @@ ray_embedding/deploy.py,sha256=2R7bQ7aPc9G8H9KVoemxum6-9YxmlXQogWbhFhuslko,3762
3
3
  ray_embedding/dto.py,sha256=lk_LuVQPq3MLIMTMddqHviYXILY6V5dvbzDJuD_D_qc,1573
4
4
  ray_embedding/embedding_model.py,sha256=P2xyXCznxXmdQBK6zodOJEMvxGVRMA8Ra3O5Qi7RCh0,6013
5
5
  ray_embedding/model_router.py,sha256=fmaeXzaAJeCemzL9nUoXfdCrU-ZaCe_29fx5ayDCTC0,6845
6
- ray_embedding/node_health.py,sha256=GH_cXYxKJ77mwFrfZgyYfyNetv-_ydAqtxuM42eOI90,4867
7
- ray_embedding-0.13.3.dist-info/METADATA,sha256=UNj1fh8x9iHFqmQLPcyeGHZxXxdAO9JvHEyPGjGlru0,1074
8
- ray_embedding-0.13.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- ray_embedding-0.13.3.dist-info/top_level.txt,sha256=ziCblpJq1YsrryshFqxTRuRMgNuO1_tgvAAkGShATNA,14
10
- ray_embedding-0.13.3.dist-info/RECORD,,
6
+ ray_embedding/node_health.py,sha256=bsoIpn95adunS3gFouXsPjOYV_zuS1WufxBEEjCWX94,4973
7
+ ray_embedding-0.13.4.dist-info/METADATA,sha256=FLXxkhuH3PohNABcB1WdHE6qPyIpizf_X_6BQ1SPb4E,1074
8
+ ray_embedding-0.13.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ ray_embedding-0.13.4.dist-info/top_level.txt,sha256=ziCblpJq1YsrryshFqxTRuRMgNuO1_tgvAAkGShATNA,14
10
+ ray_embedding-0.13.4.dist-info/RECORD,,