Skip to content

Fix the LMS pytorch regression #664

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

Merged
merged 4 commits into from
Sep 28, 2022
Merged

Fix the LMS pytorch regression #664

merged 4 commits into from
Sep 28, 2022

Conversation

anton-l
Copy link
Member

@anton-l anton-l commented Sep 28, 2022

This mostly copies my changes from #637 to fix the LMS inpainting integration tests

@@ -876,5 +876,5 @@ def test_full_loop_no_noise(self):
result_sum = torch.sum(torch.abs(sample))
result_mean = torch.mean(torch.abs(sample))

assert abs(result_sum.item() - 1006.370) < 1e-2
Copy link
Member Author

Choose a reason for hiding this comment

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

Returning this to pre-#534 value

Copy link
Contributor

Choose a reason for hiding this comment

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

ok!

@patrickvonplaten
Copy link
Contributor

Nice if all slow tests are passing here, feel free to merge!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 28, 2022

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

@anton-l anton-l merged commit 765506c into main Sep 28, 2022
@pcuenca pcuenca deleted the fix-lms-dtype branch October 2, 2022 18:04
prathikr pushed a commit to prathikr/diffusers that referenced this pull request Oct 26, 2022
* Fix the LMS pytorch regression

* Copy over the changes from huggingface#637

* Copy over the changes from huggingface#637

* Fix betas test
PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
Printing might incur extra time to runtime. Hence, we add a flag to hide it. To disable printing please set this flag `--hide_steps`.

Co-authored-by: Stanley <[email protected]>
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* Fix the LMS pytorch regression

* Copy over the changes from huggingface#637

* Copy over the changes from huggingface#637

* Fix betas test
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.

4 participants