-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Update the K-Diffusion SD pipeline, to allow calling it with only prompt_embeds (instead of always requiring a prompt) #2962
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
Upstream
Upstream
…mpt_embeds (instead of always requiring a prompt)
|
The documentation is not available anymore as the PR was closed or merged. |
|
Separate from this PR - Any objections to a The current state probably made sense (so far), to allow each pipeline to evolve independently and quickly. But maybe some functions are now stable and common-enough among the different SD pipelines? Thanks! |
|
Works for me! @sayakpaul what do you think? |
sayakpaul
left a comment
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.
Thanks a lot!
Completely optional -- would be cool to have a test for prompt_embeds.
…mpt_embeds (instead of always requiring a prompt) (huggingface#2962)
…mpt_embeds (instead of always requiring a prompt) (huggingface#2962)
…mpt_embeds (instead of always requiring a prompt) (huggingface#2962)
…mpt_embeds (instead of always requiring a prompt) (huggingface#2962)
Similar to #2842 (merged)
These changes are already present in the StableDiffusionPipeline and other classes. Borrowed these changes from: https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py#L517
Thanks!