From 09853b5e6e5625808276ec408b4b2159dea6ae0a Mon Sep 17 00:00:00 2001 From: TechnoByte <58078514+TechnoByteJS@users.noreply.github.com> Date: Fri, 20 Dec 2024 18:36:17 +0100 Subject: [PATCH] remove minimum step count for AYS The 10 step minimum for the AYS scheduler is pointless, it works well at lower steps, like 8 steps, or even 4 steps. For example with LCM or DMD2. Example here: https://i.ibb.co/56CSPMj/image.png --- comfy_extras/nodes_align_your_steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_extras/nodes_align_your_steps.py b/comfy_extras/nodes_align_your_steps.py index 3ffe53187852..8d856d0e8592 100644 --- a/comfy_extras/nodes_align_your_steps.py +++ b/comfy_extras/nodes_align_your_steps.py @@ -24,7 +24,7 @@ class AlignYourStepsScheduler: def INPUT_TYPES(s): return {"required": {"model_type": (["SD1", "SDXL", "SVD"], ), - "steps": ("INT", {"default": 10, "min": 10, "max": 10000}), + "steps": ("INT", {"default": 10, "min": 1, "max": 10000}), "denoise": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}), } }