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

Error no file named diffusion_pytorch_model.bin found in directory unet #276

Open
mykeehu opened this issue Oct 28, 2024 · 2 comments
Open

Comments

@mykeehu
Copy link

mykeehu commented Oct 28, 2024

I converted an SDXL model to Diffusers format using the official Diffusers convert_original_stable_diffusion_to_diffusers.py file. It created the files, but the following files are in the unet folder:

config.json
diffusion_pytorch_model.bin.index.json
diffusion_pytorch_model-00001-of-00002.bin
diffusion_pytorch_model-00002-of-00002.bin

But it cannot load this, I get an error.
How do I solve this problem?

@rupeshs
Copy link
Owner

rupeshs commented Nov 20, 2024

@mykeehu Which SDXL model?

@mykeehu
Copy link
Author

mykeehu commented Nov 25, 2024

convert_original_stable_diffusion_to_diffusers.py

rideMyPONYREAL v1, but with v2 have same problem. Diffuser splits the unet into two files and your app can no longer handle this.

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