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

Update flux_denoise.py #7270

Merged
merged 5 commits into from
Nov 7, 2024

Conversation

JPPhoto
Copy link
Contributor

@JPPhoto JPPhoto commented Nov 5, 2024

Added a bool to allow the node user to add noise in to initial latents (default) or to leave them alone.

Summary

The Flux Denoise Latents node always adds in noise to initial latents if the start position is > 0. However, there are cases in a workflow when that doesn't make sense, like splitting denoising up and switching models in the middle or manipulating latents in some other fashion. This PR adds in an option (enabled by default) to add noise for I2I operations or to leave it off.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

Added a bool to allow the node user to add noise in to initial latents (default) or to leave them alone.
@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations labels Nov 5, 2024
@psychedelicious
Copy link
Collaborator

LGTM but I'll defer to @RyanJDick for a final approval.

Copy link
Collaborator

@RyanJDick RyanJDick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hipsterusername hipsterusername merged commit 2f6b035 into invoke-ai:main Nov 7, 2024
14 checks passed
@JPPhoto JPPhoto deleted the add-flux-optional-noise branch November 7, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invocations PRs that change invocations python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants