[Ray SGD] [Hotfix] Worker group hotfix (#11008)

This commit is contained in:
Amog Kamsetty
2020-09-24 12:21:30 -07:00
committed by GitHub
parent 8c241d5f1d
commit 07bdf062b9
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -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)