Open bkrawitz2 opened 1 year ago
Try running $ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
before you try to convert the models.
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.
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)