Skip to content
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

Fix sdxl q_unet config #2081

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix sdxl q_unet config #2081

wants to merge 1 commit into from

Conversation

Kaihui-intel
Copy link
Contributor

Type of Change

bug fix

Description

  • error

AttributeError: 'StableDiffusionXLPipelineSQ' object has no attribute 'do_classifier_free_guidance'

  • solution

Set the config attribute of the quantized UNet to match the original UNet's config.

Expected Behavior & Potential Risk

the expected behavior that triggered by this PR

How has this PR been tested?

how to reproduce the test (including hardware information)

Dependency Change?

any library dependency introduced or removed

Signed-off-by: Kaihui-intel <[email protected]>
@Kaihui-intel Kaihui-intel changed the title fix unet config Fix sdxl unet config Dec 4, 2024
@Kaihui-intel Kaihui-intel changed the title Fix sdxl unet config Fix sdxl q_unet config Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant