add check_health in inline client (#3052)

Signed-off-by: rongfu.leng <lenronfu@gmail.com>
This commit is contained in:
rongfu.leng authored and GitHub committed 2026-04-30 11:45:09 +00:00
1 parent 0309b3bd19
commit da60663f78
2 files changed
+8 -1

No files matched your search

@@ -385,9 +385,9 @@ class MultiprocDiffusionExecutor(DiffusionExecutor):
raise
def check_health(self) -> None:
self._ensure_open()
if self.is_failed:
raise EngineDeadError()
self._ensure_open()
for p in self._processes:
if not p.is_alive():
self.is_failed = True