From 2498963ea0de2be398429671ff0ebb23ab32be5a Mon Sep 17 00:00:00 2001 From: gaclove Date: Mon, 8 Sep 2025 17:06:45 +0800 Subject: [PATCH] fix --- nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 4a530ed..ad2d1f3 100644 --- a/nodes.py +++ b/nodes.py @@ -779,7 +779,7 @@ class LightX2VModularInference: logging.info(f"Needs reinit: {needs_reinit}, old config hash: {self.__class__._current_config_hash}, new config hash: {config_hash}") if needs_reinit: if self.__class__._current_runner is not None: - self.__class__._current_runner.end_run() + # self.__class__._current_runner.end_run() del self.__class__._current_runner torch.cuda.empty_cache() gc.collect()