Skip to content

OptimalSteps scheduler improvements #7801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EricBCoding
Copy link

@EricBCoding EricBCoding commented Apr 25, 2025

Hi,

I introduced a few quality of life improvements to the OptimalSteps scheduler node from #7584 :

  • Reduced the minimum value of steps from 3 to 1: there are times when you may want to run inference with only 1-2 steps, such as 2-step upscaling @ 50% denoise.
  • Added an SDXL preset to the NOISE_LEVELS dictionary: the values here are derived from the AYS scheduler and seem to work pretty well.
  • Added custom_sigmas optional input: the log-linear interpolation included with this node may prove useful for other models, especially if you can pass in your own sigma values. Supplying a comma-separated string will override the included presets (SDXL, WAN, Flux).

@henrikvilhelmberglund
Copy link

Is 0.0 correct? This gives a black image for me, changing it to 0.001 like the others fixed it but not sure what the correct value should be.

@EricBCoding
Copy link
Author

EricBCoding commented Apr 27, 2025

Oh, good call. It should probably end with 0.001 for better compatibility across samplers. Thank you, @henrikvilhelmberglund !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants