Skip to content

Conversation

@daniandtheweb
Copy link
Contributor

@daniandtheweb daniandtheweb commented Dec 23, 2025

This is a possible fix for #1130.

This PR creates a safeguard that detects whenever a sigma_min gets too close to zero and avoids the issues that may come with it (black images).
This also adds a fix and cleans up the KL Optimal scheduler function.

I've noticed this issue on the Karras and the KL Optimal schedulers with this same model: HassakuXL 3.2.

@daniandtheweb daniandtheweb changed the title fix: fix kl_optimal when sigma_min is 0 fix: fix kl_optimal when sigma_min is almost 0 Dec 23, 2025
@daniandtheweb daniandtheweb changed the title fix: fix kl_optimal when sigma_min is almost 0 fix: fix schedulers when sigma_min gets too close to zero Dec 23, 2025
@daniandtheweb daniandtheweb changed the title fix: fix schedulers when sigma_min gets too close to zero fix: avoid issues when sigma_min is close to 0 Dec 23, 2025
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.

1 participant