How severe does this issue affect your experience of using Ray?
- High: It blocks me to complete my task.
I’m trying to create an app in which users can submit jobs to train models. The training should happen asynchronously so that other tasks aren’t blocked so I’m using a ray actor for that. The user can also then query if the task has finished or not.
In order to do this I submit the job using id = model.train.remote()
and store the id.
Now while querying in a different function, I use ready, not_ready = ray.wait([id], timeout=0)
. However, this always returns my job as not_ready even though I can see on the ray dashboard that the function has stopped execution.
However, using a blocking operation like this in the same function works but it blocks everything else.
id = model.train.remote()
ready, not_ready = ray.wait([id])
I’m not sure what the issue is here