ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

Resource path does not exsist

Open bkrawitz2 opened this issue 2 years ago • 2 comments

I go all the way through the installation, worked out the first issue 'Package Description' it looked like all was running fine then got this error:

(base) ➜ ml-stable-diffusion git:(main) swift run StableDiffusionSample --disable-safety --resource-path ../models/coreml-stable-diffusion-v1-5_split_einsum_compiled --compute-units all "a photo of an astronaut riding a horse on mars"

Building for debugging... Build complete! (0.09s) Error: resources("Resource path does not exist ../models/coreml-stable-diffusion-v1-5_split_einsum_compiled") (base) ➜ ml-stable-diffusion git:(main) Screenshot 2023-01-11 at 9 25 01 PM

bkrawitz2 avatar Jan 12 '23 05:01 bkrawitz2

Try running $ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer before you try to convert the models.

dsmailes avatar Jan 17 '23 07:01 dsmailes

Just ran into this now and my issue (and what appears to be yours) is in the path itself - it's looking for "split_einsum_compiled" but the model path it "original_compiled" where it's calling for the former. If you're using the downloader.py, you can change variant to grab "split_einsum" from the repo.

somegoodco avatar Feb 03 '23 12:02 somegoodco