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

ImportError: cannot import name 'StableDiffusionXLImg2ImgPipeline' from 'diffusers' #12

Open
hujinhong opened this issue Dec 1, 2023 · 3 comments

Comments

@hujinhong
Copy link

pip install diffusers==0.17.0
but review this error
ImportError: cannot import name 'StableDiffusionXLImg2ImgPipeline' from 'diffusers'

@TonyLianLong
Copy link
Owner

TonyLianLong commented Dec 1, 2023

Can you try diffusers==0.18.0? SDXL was added in this release.

@hujinhong
Copy link
Author

Thank you for your reply, but after I installed it, the following problems occurred:
OSError: gligen/diffusers-generation-text-box does not appear to have a file named config.json.

@TonyLianLong
Copy link
Owner

I did not encounter this error in a new environment that I just created. You probably have an incomplete cache. You can check and probably remove the corresponding cache in ~/.cache/huggingface.

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

No branches or pull requests

2 participants