[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:
5 files changed
+49
-7
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user