-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix SDXL Inpainting from single file with Refiner Model #6147
Conversation
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. |
Hi @StandardAI. In this particular case, I was removing a chunk of redundant code in order to keep the |
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.
Cool! Can we add some tests here or modify the single_file
tests to include assertions to ensure that the correct pipeline classes are returned from these utilities?
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!
Let's merge this for now and then start the bigger refactor of It's actually a bit tricky to add tests here since it's really difficult to create dummy models. |
…6147) * update * update * update
…6147) * update * update * update
…6147) * update * update * update
What does this PR do?
Some refinements to
from_single_file
for the SDXL Inpainting model that allows it to work with the SDXL Refiner checkpoint.Also cleans up a lot of redundant checks and object creation in the
download_from_original_stable_diffusion_ckpt
function.Fixes # (issue)
#6001
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.