Skip to content

Conversation

@patrickvonplaten
Copy link
Contributor

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 19, 2022

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


deprecation_message = (
"You are using a legacy checkpoint for inpainting with Stable Diffusion, therefore we are loading the"
f" {StableDiffusionInpaintPipelineLegacy} class instead of {StableDiffusionInpaintPipeline}.For better"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
f" {StableDiffusionInpaintPipelineLegacy} class instead of {StableDiffusionInpaintPipeline}.For better"
f" {StableDiffusionInpaintPipelineLegacy} class instead of {StableDiffusionInpaintPipeline}. For better"

@patrickvonplaten
Copy link
Contributor Author

Slow tests are passing for me locally - merging!

@patrickvonplaten patrickvonplaten merged commit 6ea8360 into main Oct 19, 2022
@patrickvonplaten patrickvonplaten deleted the deprecate_inpainting_pipeline branch October 19, 2022 10:55
pipeline_class = getattr(diffusers_module, config_dict["_class_name"])

# To be removed in 1.0.0
if pipeline_class.__name__ == "StableDiffusionInpaintPipeline" and version.parse(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fallback mechanism

kumquatexpress pushed a commit to harvestlabs/diffusers that referenced this pull request Oct 19, 2022
…of official one (huggingface#903)

* finish

* up

* Apply suggestions from code review

Co-authored-by: Anton Lozhkov <[email protected]>

* Update src/diffusers/pipeline_utils.py

* Finish

Co-authored-by: Anton Lozhkov <[email protected]>
@JoeyTPChou
Copy link

Hi @patrickvonplaten, thanks for the great work! just curious how's the performance improvement look like, in terms of image quality, training time, inference latency ... etc, from the legacy one to the latest inpainting pipeline?

@patrickvonplaten
Copy link
Contributor Author

@JoeyTPChou
Copy link

Awesome, will try them out!

prathikr pushed a commit to prathikr/diffusers that referenced this pull request Oct 26, 2022
…of official one (huggingface#903)

* finish

* up

* Apply suggestions from code review

Co-authored-by: Anton Lozhkov <[email protected]>

* Update src/diffusers/pipeline_utils.py

* Finish

Co-authored-by: Anton Lozhkov <[email protected]>
PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
…of official one (huggingface#903)

* finish

* up

* Apply suggestions from code review

Co-authored-by: Anton Lozhkov <[email protected]>

* Update src/diffusers/pipeline_utils.py

* Finish

Co-authored-by: Anton Lozhkov <[email protected]>
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.

5 participants