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

Fixed invalid pipeline_class_name parameter. #4590

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Fixed invalid pipeline_class_name parameter. #4590

merged 2 commits into from
Aug 14, 2023

Conversation

aihao2000
Copy link
Contributor

What does this PR do?

Fixed invalid pipeline_class_name parameter.
In the original convert script, the pipeline_class_name argument is not working. I found this problem when I tried to convert the sdxl model. If I don't try to change the pipeline type, I'll get TypeError: StableDiffusionPipeline.init() got an unexpected keyword argument 'text_encoder_2'. Change the code is passed to pipeline_class_name =" StableDiffusionXLPipeline " it can work normally.

Fixes # (issue)
#4562

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.
@patrickvonplaten and @sayakpaul @yiyixuxu

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 13, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@sayakpaul sayakpaul merged commit 1b739e7 into huggingface:main Aug 14, 2023
8 checks passed
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* Fixed invalid pipeline_class_name parameter.

* Fix the format
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.

None yet

4 participants