Skip to content
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

Fix issue where using DisableNoise or disabling add_noise results in non-deterministic generations #5306

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blepping
Copy link
Contributor

@blepping blepping commented Oct 21, 2024

ComfyUI currently has a bug where disabling add_noise in samplers or using a DisableNoise node simply does not seed the RNG at all, resulting in non-deterministic generations. #4518 aims to fix that problem by actually seeding the RNG even when adding noise is disabled. this pull takes a slightly different approach: we throw an error when the user attempts to disable noise rather than proceeding anyway and erroneously ignoring the seed.

this pull could also be changed to simply remove the DisableNoise node and add_noise parameters but i thought it would be a bit more friendly to let people load existing workflows.

closes #2833

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.

No seed gets set in custom/advanced samplers when add_noise is disabled
1 participant