mirror of
https://github.com/wassname/ray.git
synced 2026-07-15 11:25:40 +08:00
[Ray SGD] [Hotfix] Worker group hotfix (#11008)
This commit is contained in:
@@ -464,7 +464,7 @@ class LocalWorkerGroup(WorkerGroupInterface):
|
||||
return [local_call] + ray.get(remote_calls)
|
||||
|
||||
def apply_all_workers(self, fn):
|
||||
remote_calls = self.remote_worker_group.apply_all_workers(fn)
|
||||
remote_calls = self.remote_worker_group._apply_all_workers(fn)
|
||||
local_call = self.local_worker.apply(fn)
|
||||
return [local_call] + ray.get(remote_calls)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user