Skip to content

Conversation

@cmdr2
Copy link
Contributor

@cmdr2 cmdr2 commented Apr 4, 2023

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!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Apr 4, 2023

The documentation is not available anymore as the PR was closed or merged.

@cmdr2
Copy link
Contributor Author

cmdr2 commented Apr 4, 2023

Separate from this PR - Any objections to a StableDiffusionPipelineBase type of class, that de-duplicates code from all the different SD pipeline classes? It would reduce the need for PRs like this (and #2842) to keep everything consistent.

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!

@patrickvonplaten
Copy link
Contributor

Works for me! @sayakpaul what do you think?

Copy link
Member

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

@patrickvonplaten patrickvonplaten merged commit 8826bae into huggingface:main Apr 6, 2023
w4ffl35 pushed a commit to w4ffl35/diffusers that referenced this pull request Apr 14, 2023
dg845 pushed a commit to dg845/diffusers that referenced this pull request May 6, 2023
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
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.

4 participants