I have a list of ObjectRefs
(in my case, each is a result of executing a DAGNode
, e.g. refs = [node.execute() for node in dag_nodes]
).
I want to be able to be able to retrieve underlying objects (ray.get(refs)
) even if workers which calculated these objects are dead (currently I get The object's owner has exited
error). I know I can do ray.put(object, _owner=owner)
, but since I have refs only, my understanding is I need to fetch each object by ref first (to driver/client?) and then call ray.put
(from client again?) which obviously is not ideal and requires a lot of unneccessery data transfer. Can I change an owner only by ref?
Thanks!!