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

Final fixes #118

Merged
merged 2 commits into from
Jul 21, 2022
Merged

Final fixes #118

merged 2 commits into from
Jul 21, 2022

Conversation

patrickvonplaten
Copy link
Contributor

No description provided.

@@ -40,7 +41,7 @@ def __call__(self, batch_size=1, num_inference_steps=2000, generator=None, torch

sample, sample_mean = output["prev_sample"], output["prev_sample_mean"]

sample = sample.clamp(0, 1)
sample = sample_mean.clamp(0, 1)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

cc @natolambert I think previously we returned the mean here

Copy link
Contributor

Choose a reason for hiding this comment

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

We did, I wasn't sure why. Want me to double check the original implementation?

@patrickvonplaten patrickvonplaten merged commit 5311f56 into main Jul 21, 2022
@patrickvonplaten patrickvonplaten deleted the final_fixes branch July 21, 2022 12:36
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jul 21, 2022

The documentation is not available anymore as the PR was closed or merged.

yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
final fixes before release
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.

3 participants