-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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 PAG support for SD Img2Img #9463
Conversation
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! I left some comments
can we see some outputs too? (saw it)!
don't forget to call |
added "# copied from" , removed depreciated methods and fix test |
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! I think we still have one test needs to be removed, and then can merge!
), f"output is different from expected, {image_slice.flatten()}" | ||
|
||
@slow | ||
@require_torch_gpu |
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.
this test is not needed? (same as the one above it?)
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.
should i remove StableDiffusionPAGImg2ImgPipelineIntegrationTests(unittest.TestCase):
also ?
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. |
@SahilCarterr can you look into failing tests? |
Help Needed to fix the remaining errors |
The errors are now fixed @yiyixuxu |
can you run |
fixed make error |
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.
thank you!
* added pag to sd img2img pipeline --------- Co-authored-by: YiYi Xu <[email protected]>
What does this PR do?
Adds PAG (Perturbed-Attention Guidance) support for SD models (
StableDiffusionPAGImg2ImgPipeline
).Continuation of #7944Fixes #8710 (partially)
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@yiyixuxu
Anyone in the community is free to review the PR once the tests have passed.
Usage