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

Implement PNDM scheduler #41

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Conversation

mspronesti
Copy link
Contributor

Hi @LaurentMazare,
this PR aims at integrating the PNDM scheduler into this repository, addressing the 7th task mentioned in #23 .

This implementation only ports the relevant features for stable diffusion, i.e. only the linear multi-step propagation method, skipping the Runge-Kutta steps. In other words, it doesn't port this method. I'm planning to add it in a feature PR if we eventually support new pipelines, unless you prefer to have the full scheduler now. If it is the case, please let me know and I will append a new commit to this PR :)

implement PNDM scheduler following huggingface official python version: https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_pndm.py (only the relevant part for stable diffusion)
@LaurentMazare LaurentMazare merged commit cf6d370 into LaurentMazare:main Jan 17, 2023
@LaurentMazare
Copy link
Owner

Thanks!

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