-
Notifications
You must be signed in to change notification settings - Fork 6.6k
add HD-Painter pipeline #7520
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
add HD-Painter pipeline #7520
Conversation
|
Thanks for contributing! We should be able to pass |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
…ukyan/diffusers into add-hd-painter-community
|
@sayakpaul done |
|
Will merge once the CI is green. |
|
@sayakpaul I was using wrong ruff version, it should pass the check now |
|
Thanks for your contributions. |
* add HD-Painter pipeline * style fixing * refactor, change doc, fix ruff * fix docs * used correct ruff version --------- Co-authored-by: Hayk Manukyan <[email protected]> Co-authored-by: Sayak Paul <[email protected]>
* add HD-Painter pipeline * style fixing * refactor, change doc, fix ruff * fix docs * used correct ruff version --------- Co-authored-by: Hayk Manukyan <[email protected]> Co-authored-by: Sayak Paul <[email protected]>
What does this PR do?
This PR adds HD-Painter.
HD-Painter is a training-free approach for improving text-alignment of Stable Diffusion based text-guided inpainting models.
It adds the
StableDiffusionHDPainterPipelinewhich is an inpainting pipeline inheriting fromStableDiffusionInpaintPipeline,as well as the
PAIntAAttnProcessor, an attention processor implementing the PAIntA layer from the paper.Usage example
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
@sayakpaul