mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 17:04:56 +08:00
[xray] Workers blocked in a ray.get release their resources (#1920)
* [xray] Throttle task dispatch by required resources * Pass in number of initial workers into raylet command * Workers blocked in a ray.get release resources
This commit is contained in:
committed by
Alexey Tumanov
parent
1c965fcfeb
commit
aa07f1ce4e
@@ -504,7 +504,7 @@ class Worker(object):
|
||||
|
||||
# If there were objects that we weren't able to get locally, let the
|
||||
# local scheduler know that we're now unblocked.
|
||||
if was_blocked and not self.use_raylet:
|
||||
if was_blocked:
|
||||
self.local_scheduler_client.notify_unblocked()
|
||||
|
||||
assert len(final_results) == len(object_ids)
|
||||
|
||||
Reference in New Issue
Block a user