-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 dream.py. k_euler_a and k_dpm_2_a M1 fix #579
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make results reproducible (so runs with the same seed produce the same result). Implements fix by @wbowling referenced in #397 (comment)
lstein
requested changes
Sep 15, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see two comments.
Any-Winter-4079
commented
Sep 15, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed it from dream.py
and added it in generate.py
lstein
approved these changes
Sep 15, 2022
Thank you! |
afiaka87
pushed a commit
to afiaka87/lstein-stable-diffusion
that referenced
this pull request
Sep 19, 2022
* Update dream.py. k_euler_a and k_dpm_2_a M1 fix Make results reproducible (so runs with the same seed produce the same result). Implements fix by @wbowling referenced in invoke-ai#397 (comment) * Update dream.py. Remove import torch from dream.py * generate.py: k_euler_a and k_dpm_2_a M1 fix invoke-ai#579 Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
afiaka87
pushed a commit
to afiaka87/lstein-stable-diffusion
that referenced
this pull request
Sep 19, 2022
* Update dream.py. k_euler_a and k_dpm_2_a M1 fix Make results reproducible (so runs with the same seed produce the same result). Implements fix by @wbowling referenced in invoke-ai#397 (comment) * Update dream.py. Remove import torch from dream.py * generate.py: k_euler_a and k_dpm_2_a M1 fix invoke-ai#579 Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
afiaka87
pushed a commit
to afiaka87/lstein-stable-diffusion
that referenced
this pull request
Sep 19, 2022
* Update dream.py. k_euler_a and k_dpm_2_a M1 fix Make results reproducible (so runs with the same seed produce the same result). Implements fix by @wbowling referenced in invoke-ai#397 (comment) * Update dream.py. Remove import torch from dream.py * generate.py: k_euler_a and k_dpm_2_a M1 fix invoke-ai#579 Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
afiaka87
pushed a commit
to afiaka87/lstein-stable-diffusion
that referenced
this pull request
Sep 21, 2022
* Update dream.py. k_euler_a and k_dpm_2_a M1 fix Make results reproducible (so runs with the same seed produce the same result). Implements fix by @wbowling referenced in invoke-ai#397 (comment) * Update dream.py. Remove import torch from dream.py * generate.py: k_euler_a and k_dpm_2_a M1 fix invoke-ai#579 Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
austinbrown34
pushed a commit
to cognidesign/InvokeAI
that referenced
this pull request
Dec 30, 2022
* Update dream.py. k_euler_a and k_dpm_2_a M1 fix Make results reproducible (so runs with the same seed produce the same result). Implements fix by @wbowling referenced in invoke-ai#397 (comment) * Update dream.py. Remove import torch from dream.py * generate.py: k_euler_a and k_dpm_2_a M1 fix invoke-ai#579 Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Make results reproducible (so runs with the same seed produce the same result). Implements fix by @wbowling referenced in #397 (comment)
![Screenshot 2022-09-14 at 23 27 27](https://user-images.githubusercontent.com/50542132/190265752-bc677ef2-3666-46ec-9fd1-c1e61f181a00.png)
![Screenshot 2022-09-14 at 23 27 45](https://user-images.githubusercontent.com/50542132/190265789-e4455d44-26ef-473b-abcf-dd9aa760f8c5.png)
Example:
"banana sushi" -s50 -W512 -H512 -C7.5 -Ak_euler_a -S618376249
Before
After
Fix should be ignored in non-MPS devices, but test to make sure.