-
Notifications
You must be signed in to change notification settings - Fork 6.5k
[WIP] Add Latent Consistency Model Img2Img Pipeline #5559
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
Conversation
|
Did you do any experiments before changing this line? The reason why I am passing the strength to set_timesteps (and using a custom scheduler) is that I found for very small number of timesteps (n=4) the method here (https://gist.github.com/nagolinc/6e0d3960a81714d13b821e3694d673d6) does not work well. |
|
Thanks for the info @nagolinc! I haven't done any experiments yet. I will try to see if I can handle the
Just to clarify, does "not work well" mean that the code runs into errors, or that the generated images are low quality? I'm running into some errors when testing on different timesteps with the code in 86adad0, but it might be because there are still some other bugs that I haven't found yet. |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
|
The images look bad: using 1st method (https://gist.github.com/nagolinc/6e0d3960a81714d13b821e3694d673d6) using 2nd method (https://gist.github.com/nagolinc/53c395d8cd70a852b03fca4eb273923f) here's a notebook I was using to test out the two methods https://github.com/nagolinc/notebooks/blob/main/lcm%20img2img.ipynb |
|
Hi @patrickvonplaten, since #5632 has been merged, does this PR still make sense? |
|
Yeah, I think we can safely close it. |
|
Closing due to #5632 being merged. |


What does this PR do?
This PR adds
LatentConsistencyModelImg2ImgPipeline, a text-guided image-to-image version ofLatentConsistencyModelPipelinebased on the community pipeline by @nagolinc.Based on PR #5477, which was originally in response to issue #5462.
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@patrickvonplaten
@sayakpaul
@nagolinc
@luosiallen