-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Fix SDXL conversion from original to diffusers #4280
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 conversion from original to diffusers #4280
Conversation
The documentation is not available anymore as the PR was closed or merged. |
Great catch! |
* fix sdxl conversion * convention
This regresses #4108 . @patrickvonplaten, it looks as though we might have to add those safety checks to confirm if the pipeline supports text_encoder_2 after all. |
The problem seems to be when pipeline_class is not used then the checkpoint loader will always use StableDiffusionXLPipeline even if you've specified another pipeline (see #4108). The To fix this, I'd like to propose that we populate the @patrickvonplaten Is it worth me opening up another PR for this? |
* fix sdxl conversion * convention
* fix sdxl conversion * convention
* fix sdxl conversion * convention
It'd be great if you could open a PR for it - @yiyixuxu did we solve a similar problem recently? |
oh I got it now - if you run the I think @Mystfit is right - we just need to add a pipeline_class argument or something to the conversion script |
* fix sdxl conversion * convention
* fix sdxl conversion * convention
Hi, long time no see. Great progress here.
I noticed a small bug that prevented the successful conversion of SDXL.
cc: @patrickvonplaten @sayakpaul