Skip to content

Fixes the SDXL pipeline loading from single file #1

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

Closed
wants to merge 1 commit into from

Conversation

iamwavecut
Copy link
Owner

@iamwavecut iamwavecut commented Jul 20, 2023

What does this PR do?

Allows using from_single_file by StableDiffusionXLPipeline.

Original config of SDXL 0.9 model does not define a section for controlnet, but the script assumes it is. I believe it was a recent typo, as it assigns a variable with the boolean expression result, and then instantly overrides it with load attempt, ignoring the boolean. Loading controlnet without config fails.

Fixes # (issue)
Unable to find the exact issue. Didn't create it myself.

Before submitting

Who can review?

@patrickvonplaten
@sayakpaul
@williamberman

@iamwavecut iamwavecut self-assigned this Jul 20, 2023
@iamwavecut
Copy link
Owner Author

@patrickvonplaten
@sayakpaul
@williamberman

please, review

@williamberman
Copy link

hey @iamwavecut could you open the pull request against the main diffusers repo?

@iamwavecut
Copy link
Owner Author

Oh sorry my bad

@patrickvonplaten
Copy link

Hey @iamwavecut,

Sorry we fixed this just 6 hours ago here: huggingface@b7a6e34

@iamwavecut
Copy link
Owner Author

No probs, I just woke up

@iamwavecut iamwavecut closed this Jul 21, 2023
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.

3 participants