[Bugfix][Diffusion] Skip AllGather DLO weight restore on worker shutdown (#8103)

Signed-off-by: specture724 <specture724@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Gao Han <hgaoaf@connect.ust.hk>
This commit is contained in:
authored and GitHub committed 2026-09-25 08:33:32 +00:00
1 parent 3bf96080f3
commit 95781c31e0
5 files changed
+49 -7

No files matched your search

+7
View File
@@ -244,5 +244,12 @@ class OffloadBackend(ABC):
"""
raise NotImplementedError
def shutdown(self) -> None:
"""Release offload resources at process exit.
Backends may skip work that only matters for a later ``enable``.
"""
self.disable()
def is_enabled(self) -> bool:
return self.enabled