From 341667c4d59a67d3b677c6f547f13892b36662cd Mon Sep 17 00:00:00 2001 From: TechnoByte <58078514+TechnoByteJS@users.noreply.github.com> Date: Sat, 21 Dec 2024 16:05:09 +0100 Subject: [PATCH] remove minimum step count for AYS (#6137) 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 3ffe5318..8d856d0e 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}), } }