rupeshs / fastsdcpu

Fast stable diffusion on CPU
MIT License
1.5k stars 121 forks source link

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

Open mykeehu opened 4 weeks ago

mykeehu commented 4 weeks ago

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 commented 5 days ago

@mykeehu Which SDXL model?

mykeehu commented 8 hours ago

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.