MCPcopy
hub / github.com/ray-project/ray / get_node_id

Function get_node_id

python/ray/tests/test_global_state.py:53–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52 @ray.remote
53 def get_node_id():
54 return ray.get_runtime_context().get_node_id()
55
56 head_node_id = ray.get(get_node_id.remote())
57

Callers

nothing calls this directly

Calls 2

get_runtime_contextMethod · 0.80
get_node_idMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…