mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 03:34:48 +08:00
7 lines
170 B
Python
7 lines
170 B
Python
import ray
|
|
|
|
|
|
# TODO(ekl) deprecate and move this to ray.util
|
|
def get_node_ip_address(address="8.8.8.8:53"):
|
|
return ray._private.services.get_node_ip_address(address)
|