From 3df69d66402bace6cd8ca396d2bc8761bfeb49a8 Mon Sep 17 00:00:00 2001 From: Nojahhh Date: Tue, 17 Dec 2024 21:52:22 +0100 Subject: [PATCH] changed unload_model default to False (because of Comfy smart memory management --- nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index 38fa47d..5150cc5 100644 --- a/nodes.py +++ b/nodes.py @@ -152,7 +152,7 @@ class GLM4PromptEnhancer: "top_k": ("INT", {"default": 40, "tooltip": "Top-k parameter for sampling"}), "top_p": ("FLOAT", {"default": 0.7, "tooltip": "Top-p parameter for sampling"}), "repetition_penalty": ("FLOAT", {"default": 1.1, "tooltip": "Repetition penalty for sampling"}), - "unload_model": ("BOOLEAN", {"default": True, "tooltip": "Unload the model after use to free up memory"}), + "unload_model": ("BOOLEAN", {"default": False, "tooltip": "Unload the model after use to free up memory"}), "seed": ("INT", {"default": 42, "min": 0, "max": 2**32 - 1}), }, "optional": { @@ -327,7 +327,7 @@ class GLM4Inference: }, "optional": { "image": ("IMAGE", {"tooltip": "Provide an image to use as input for inferencing. Only supported for glm-4v-9b, glm-4v-9b-gptq-4bit and glm-4v-9b-gptq-3bit models."}), - "unload_model": ("BOOLEAN", {"default": True, "tooltip": "Unload the model after use to free up memory"}), + "unload_model": ("BOOLEAN", {"default": False, "tooltip": "Unload the model after use to free up memory"}), } }