Unverified Commit f22ff295 authored by Jaewon's avatar Jaewon Committed by GitHub
Browse files

[Bugfix] Fix coord_socket assertion in DPEngineCoreProc for offline DP mode (#35916)


Signed-off-by: default avatarJaewon Lee <jaewon@meta.com>
parent d15c3b90
......@@ -1571,7 +1571,11 @@ class DPEngineCoreProc(EngineCoreProc):
def resume_scheduler(self):
super().resume_scheduler()
if not self.engines_running and self.scheduler.has_unfinished_requests():
if (
self.has_coordinator
and not self.engines_running
and self.scheduler.has_unfinished_requests()
):
# Wake up other DP engines.
self.output_queue.put_nowait(
(-1, EngineCoreOutputs(start_wave=self.current_wave))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment