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

add k_dpmpp_2_a and k_dpmpp_2 solvers options #1383

Closed
wants to merge 2 commits into from

Conversation

victorca25
Copy link
Contributor

@victorca25 victorca25 commented Nov 5, 2022

These are the changes needed in case anyone wants to test the new DPM++ solvers (crowsonkb/k-diffusion@2d2240b).

On Mac M1 k_dpmpp_2 results in black images, the ancestral k_dpmpp_2_a works, but I think it suffers from the same as #1350 , so it might work better elsewhere.

To use, k-diffusion (src/k-diffusion/k_diffusion/sampling.py) has to be updated with the sample_dpmpp_2s_ancestral() and sample_dpmpp_2m() functions. Might be interesting to evaluate these new versions. More info: crowsonkb/k-diffusion#40

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.

Thank you so much for this. The PR seems to contain irrelevant changes to some of the front end files in dist/assets, and it is based against main. Could you rebase against a fresh pull of development instead and repost?

@victorca25
Copy link
Contributor Author

Done in a new draft PR! Will close this one

@victorca25 victorca25 closed this Nov 5, 2022
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.

2 participants