[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

@@ -1048,9 +1048,9 @@ class DiffusionWorker:
try:
offload_backend = getattr(model_runner, "offload_backend", None)
if offload_backend is not None:
offload_backend.disable()
offload_backend.shutdown()
except Exception:
logger.exception("Failed to disable diffusion offload backend during shutdown")
logger.exception("Failed to shut down diffusion offload backend during shutdown")
try:
if mgr is not None:
mgr.close()