mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 20:22:39 +08:00
Ray client version check strict eq (#13926)
This commit is contained in:
@@ -85,8 +85,8 @@ class RayAPIStub:
|
||||
logger.warning(msg)
|
||||
else:
|
||||
raise RuntimeError(msg)
|
||||
if CURRENT_PROTOCOL_VERSION < conn_info["protocol_version"]:
|
||||
msg = "Client Ray installation out of date:" + \
|
||||
if CURRENT_PROTOCOL_VERSION != conn_info["protocol_version"]:
|
||||
msg = "Client Ray installation incompatible with server:" + \
|
||||
f" client is {CURRENT_PROTOCOL_VERSION}," + \
|
||||
f" server is {conn_info['protocol_version']}"
|
||||
if ignore_version:
|
||||
|
||||
Reference in New Issue
Block a user