Sorry for the extremely basic question—a coworker has started a ray client with ray.init() and I can’t find a way of seeing the address it’s connected to. Is there a way to do this apart from noting the address when ray.init() is first run?
No problem, no basic questions here ![]()
ray.init() should return some information about the Ray instance that it connected to. Example:
import ray
ctx = ray.init()
print(ctx.address_info['address'])
1 Like