mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
Start moving ray internal files to _private module (#10994)
This commit is contained in:
@@ -141,7 +141,7 @@ class ResourceSpec(
|
||||
assert "object_store_memory" not in resources, resources
|
||||
|
||||
if node_ip_address is None:
|
||||
node_ip_address = ray.services.get_node_ip_address()
|
||||
node_ip_address = ray._private.services.get_node_ip_address()
|
||||
|
||||
# Automatically create a node id resource on each node. This is
|
||||
# queryable with ray.state.node_ids() and ray.state.current_node_id().
|
||||
|
||||
Reference in New Issue
Block a user