-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Modification on the PAG community pipeline #7692
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
Conversation
sample.py
Outdated
| @@ -0,0 +1,90 @@ | |||
| import os | |||
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.
did you mean to commit this file too?
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.
Sorry, I excluded the sample.py file.
This pull request is a request that I sent by modifying some of the PAG codes that I previously contributed. I would appreciate it if you could reflect it.
yiyixuxu
left a comment
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!
|
can we run |
|
cc @asomoza here |
|
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. |
|
@yiyixuxu Thank you, I removed the white space in the code for code quality check. |
|
@asomoza Thank you for your interest in our work! Thanks to multimodalart, users can try PAG on SDXL on Hugging Face Spaces. For more information, please visit our github page. |
|
I am struggling with build error. If this is resolved, I will open a new pull request. |




What does this PR do?
Perturbed-Attention Guidance
This implementation is based on Diffusers. StableDiffusionPAGPipeline is a modification of StableDiffusionPipeline to support Perturbed-Attention Guidance (PAG). For more information about PAG, please refer to Project / arXiv / GitHub
Hi! We have updated some of the implementations of the Perturbed-Attention Guidance, which we previously contributed to community pipelines.
Fixes # (issue)
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.