mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
[tune] Fast Node Recovery (#5053)
This commit is contained in:
@@ -114,6 +114,7 @@ class Trainable(object):
|
||||
return ""
|
||||
|
||||
def current_ip(self):
|
||||
logger.warning("Getting current IP.")
|
||||
self._local_ip = ray.services.get_node_ip_address()
|
||||
return self._local_ip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user