How to get the execution node ip in actor/task?
Because I want to construct the tensorflow training cluster on Ray, i need to get the execution node ip in actor.
Any ideas on it? Or related doc?
Thanks!
How to get the execution node ip in actor/task?
Because I want to construct the tensorflow training cluster on Ray, i need to get the execution node ip in actor.
Any ideas on it? Or related doc?
Thanks!
Nice! I would use something like socket.gethostbyname(socket.gethostname())
and implement this as an Actor call.
See an example here: ray.experimental.sgd.tf.tf_trainer — Ray 0.8.0 documentation