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 dream.py. k_euler_a and k_dpm_2_a M1 fix #579

Merged
merged 6 commits into from
Sep 15, 2022
Merged

Update dream.py. k_euler_a and k_dpm_2_a M1 fix #579

merged 6 commits into from
Sep 15, 2022

Conversation

Any-Winter-4079
Copy link
Contributor

@Any-Winter-4079 Any-Winter-4079 commented Sep 14, 2022

Make results reproducible (so runs with the same seed produce the same result). Implements fix by @wbowling referenced in #397 (comment)
Example: "banana sushi" -s50 -W512 -H512 -C7.5 -Ak_euler_a -S618376249
Before
Screenshot 2022-09-14 at 23 27 27
After
Screenshot 2022-09-14 at 23 27 45

Fix should be ignored in non-MPS devices, but test to make sure.

Make results reproducible (so runs with the same seed produce the same result).
Implements fix by @wbowling referenced in #397 (comment)
Copy link
Collaborator

@lstein lstein left a 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.

scripts/dream.py Outdated Show resolved Hide resolved
scripts/dream.py Outdated Show resolved Hide resolved
Copy link
Contributor Author

@Any-Winter-4079 Any-Winter-4079 left a 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
Copy link
Collaborator

lstein commented Sep 15, 2022

Thank you!

@lstein lstein merged commit 60b731e into invoke-ai:development Sep 15, 2022
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants