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 handling handling of 0-step denoising process #6544

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

RyanJDick
Copy link
Collaborator

@RyanJDick RyanJDick commented Jun 25, 2024

Summary

#6522 introduced a change in behavior in cases where start/end were set such that there are 0 timesteps. This PR reverts that change.

cc @StAlKeR7779

QA Instructions

Run with euler, 5 steps, start: 0.0, end: 0.05. I ran this test before #6522, after #6522, and on this branch. This branch restores the behavior to pre-#6522 i.e. noise is injected even if no denoising steps are applied.

Checklist

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

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations backend PRs that change backend files labels Jun 25, 2024
@RyanJDick RyanJDick changed the title Fix handling handling of 0-step denoising Fix handling handling of 0-step denoising process Jun 25, 2024
…assed around. It is simply the first element of the timesteps array."

This reverts commit fa40061.
@RyanJDick RyanJDick force-pushed the ryan/fix-init-timestep branch from 64f5df3 to 9a3b8c6 Compare June 26, 2024 16:52
@RyanJDick RyanJDick enabled auto-merge June 26, 2024 16:52
@RyanJDick RyanJDick merged commit f76282a into main Jun 26, 2024
14 checks passed
@RyanJDick RyanJDick deleted the ryan/fix-init-timestep branch June 26, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files invocations PRs that change invocations python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants