-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Fix Compatibility Issues in stable_diffusion_xl_reference.py #6251
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
This commit addresses two primary issues in the stable_diffusion_xl_reference.py script which rendered it incompatible with the current version. Firstly, the addition of time ids did not incorporate the projection dimension from text_encode_2. This omission has been corrected to ensure proper integration. Secondly, errors were encountered due to the absence of the 'scale' keyword argument in the hacked_DownBlock2D_forward() and hacked_UpBlock2D_forward() functions. The signatures of these functions have been updated to include this argument, resolving the errors and enhancing overall functionality.
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. |
This commit addresses two primary issues in the stable_diffusion_xl_reference.py script which rendered it incompatible with the current version. Firstly, the addition of time ids did not incorporate the projection dimension from text_encode_2. This omission has been corrected to ensure proper integration. Secondly, errors were encountered due to the absence of the 'scale' keyword argument in the hacked_DownBlock2D_forward() and hacked_UpBlock2D_forward() functions. The signatures of these functions have been updated to include this argument, resolving the errors and enhancing overall functionality.
Cc: @zideliu who contributed this pipeline for a review. |
@zideliu Do you have any advice? |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Great work! |
…gface#6251) * Fix Compatibility Issues in stable_diffusion_xl_reference.py --------- Co-authored-by: Sayak Paul <spsayakpaul@gmail.com> Co-authored-by: YiYi Xu <yixu310@gmail.com>
This commit addresses two primary issues in the stable_diffusion_xl_reference.py script which rendered it incompatible with the current version. Firstly, the addition of time ids did not incorporate the projection dimension from text_encode_2. This omission has been corrected to ensure proper integration. Secondly, errors were encountered due to the absence of the 'scale' keyword argument in the hacked_DownBlock2D_forward() and hacked_UpBlock2D_forward() functions. The signatures of these functions have been updated to include this argument, resolving the errors and enhancing overall functionality.
What does this PR do?
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.