Skip to content

Conversation

HenryQUQ
Copy link
Contributor

@HenryQUQ HenryQUQ commented Dec 20, 2023

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

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.

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.
@HuggingFaceDocBuilderDev

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.
@sayakpaul
Copy link
Member

Cc: @zideliu who contributed this pipeline for a review.

@HenryQUQ
Copy link
Contributor Author

HenryQUQ commented Jan 4, 2024

@zideliu Do you have any advice?

Copy link
Contributor

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.

@github-actions github-actions bot added the stale Issues that haven't received updates label Jan 28, 2024
@zideliu
Copy link
Contributor

zideliu commented Jan 31, 2024

@zideliu Do you have any advice?

Great work!

@yiyixuxu yiyixuxu merged commit db5194a into huggingface:main Feb 8, 2024
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues that haven't received updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants