Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ray-project/ray
/ get_node_id
Method
get_node_id
python/ray/tests/test_channel.py:1135–1136 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1133
@ray.remote(num_cpus=1)
1134
class
Actor:
1135
def
get_node_id(self):
1136
return
ray.get_runtime_context().get_node_id()
1137
1138
def
read(self, channel, val):
1139
assert channel.read() == val
Callers
15
get_ray_core_logging_context
Method · 0.45
resolve_user_ray_temp_dir
Function · 0.45
test_driver_process
Method · 0.45
f
Method · 0.45
f
Method · 0.45
_check_log_record_in_thread
Method · 0.45
__init__
Method · 0.45
get_and_run_resource_killer
Function · 0.45
get_actor_node_id
Function · 0.45
create_driver_actor
Function · 0.45
test_driver_node_ip_address_auto_configuration
Function · 0.45
get_node_id
Function · 0.45
Calls
1
get_runtime_context
Method · 0.80
Tested by
no test coverage detected