How to load stable diffusion ckpt file in diffusers library?

Hi, Is there a example somewhere on how to load a stable diffusion ckpt file present on local system using diffuser library ?

I want to load some custom trained dreambooth models.

nvm found it diffusers/convert_original_stable_diffusion_to_diffusers.py at main · huggingface/diffusers · GitHub

I also want to load stable diffusion ckpt file to diffusers library. Can you show us exactly how you did that? Appreciated!

Just run the script linked above. It takes in the input file and output directory.

1 Like