Uh oh!
There was an error while loading. Please reload this page.
add PAG support for SD Img2Img - #9463
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
yiyixuxu
commented
Sep 18, 2024
don't forget to call |
SahilCarterr
commented
Sep 19, 2024
added "# copied from" , removed depreciated methods and fix test |
yiyixuxu
left a comment
There was a problem hiding this comment.
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.
this test is not needed? (same as the one above it?)
There was a problem hiding this comment.
should i remove StableDiffusionPAGImg2ImgPipelineIntegrationTests(unittest.TestCase): also ?
HuggingFaceDocBuilderDev
commented
Sep 19, 2024
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. |
Uh oh!
There was an error while loading. Please reload this page.
yiyixuxu
commented
Sep 20, 2024
@SahilCarterr can you look into failing tests? |
SahilCarterr
commented
Sep 25, 2024
SahilCarterr
commented
Sep 25, 2024
Help Needed to fix the remaining errors |
SahilCarterr
commented
Oct 6, 2024
The errors are now fixed @yiyixuxu |
yiyixuxu
commented
Oct 9, 2024
can you run |
SahilCarterr
commented
Oct 9, 2024
fixed make error |
* added pag to sd img2img pipeline --------- Co-authored-by: YiYi Xu <yixu310@gmail.com>
* added pag to sd img2img pipeline --------- Co-authored-by: YiYi Xu <yixu310@gmail.com>


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