From 602c12b515fa2965d01362ebd4eb59e3a15ae291 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Sun, 24 Nov 2024 14:58:36 -0600 Subject: [PATCH] Make discard_model_sampling True by default --- comfy/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/hooks.py b/comfy/hooks.py index 8922d539b..ccb8183b9 100644 --- a/comfy/hooks.py +++ b/comfy/hooks.py @@ -534,7 +534,7 @@ def create_hook_model_as_lora(weights_model, weights_clip, strength_model: float hook.need_weight_init = False return hook_group -def get_patch_weights_from_model(model: 'ModelPatcher', discard_model_sampling=False): +def get_patch_weights_from_model(model: 'ModelPatcher', discard_model_sampling=True): if model is None: return None patches_model: dict[str, torch.Tensor] = model.model.state_dict()