Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

Unable to load Stable Diffusion v1.5 CoreML model #2

Description

@cordschneider

Thank you for the incredible work that you have put into creating this repo!

The installation worked extremely smoothly, and using the suggested CyberRealistic_V8_FP16.safetensors model generated a test image perfectly. As I'm on a Mac, I wanted to try the Stable Diffusion v1.5 CoreML (split_einsum, palettized 6-bit) model:

Host Specifications

  • CPU: Apple M1 Pro
  • GPU: Apple M1 Pro
  • Memory: 32 GB RAM (5 Cores)
  • OS: Darwin 25.5.0

The model downloaded correctly, but selecting Load resulted in Model Load Failed. exited with code 2 message being displayed. Looking through the logs, I can see the following:

  [download] Starting download of coreml-stable-diffusion-v1-5-palettized_split_einsum_v2_compiled.zip from https://cas-bridge.xethub.hf.co/xet-bridge-us/648996fd195a6f09f62fb4be/569fef2cd328034796af5e90494195de3fa9298e206400823bb7fbdd8d94cfb8?Expires=1781965229&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jYXMtYnJpZGdlLnhldGh1Yi5oZi5jby94ZXQtYnJpZGdlLXVzLzY0ODk5NmZkMTk1YTZmMDlmNjJmYjRiZS81NjlmZWYyY2QzMjgwMzQ3OTZhZjVlOTA0OTQxOTVkZTNmYTkyOThlMjA2NDAwODIzYmI3ZmJkZDhkOTRjZmI4KiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4MTk2NTIyOX19fV19&Signature=MEUCIByXtmAlBQuCoPDDjSAH5s3weAwiF1HXr27fCuJt5TafAiEA32ecz7gtlOip0ihyxGWovScQBxPqEZbYGcdHNdowLWc_&Key-Pair-Id=K1LYXO563TGWFU&response-content-disposition=inline%3B+filename*%3DUTF-8%27%27coreml-stable-diffusion-v1-5-palettized_split_einsum_v2_compiled.zip%3B+filename%3D%22coreml-stable-diffusion-v1-5-palettized_split_einsum_v2_compiled.zip%22%3B&X-Xet-Cas-Uid=public&response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=cas%2F20260620%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260620T132029Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=1b86ca8da4ff5c0f317148793a928bb66b8d2c76a5631e6295a009b45fbfe6d2
  [backend] exited with code null
  [download] Completed download of coreml-stable-diffusion-v1-5-palettized_split_einsum_v2_compiled.zip

...

  [backend] Starting: python /Users/user/Applications/Diffusion/app/backend/mac/coreml_server.py --listen-port 8080 --model /Users/user/Applications/Diffusion/app/models/coreml-stable-diffusion-v1-5-palettized_split_einsum_v2_compiled --steps 30 --cfg-scale 7
  [sd-err] /opt/homebrew/Cellar/python@3.14/3.14.2_1/Frameworks/Python.framework/Versions/3.14/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/user/Applications/Diffusion/app/backend/mac/coreml_server.py': [Errno 2] No such file or directory
  [backend] exited with code 2

I have reviewed the app/backend/mac folder and can confirm that the coreml_server.py does not exist:

Image

How can this be resolved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions