coreml text-to-image stable-diffusion-xl en license:openrail++ region:us
---
license: openrail++
language:
- en
tags:
- coreml
- text-to-image
- stable-diffusion-xl
---
# Core ML Converted SDXL Model:

  - This model was converted to [Core ML for use on Apple Silicon devices](https://github.com/apple/ml-stable-diffusion). Conversion instructions can be found [here](https://github.com/godly-devotion/MochiDiffusion/wiki/How-to-convert-ckpt-or-safetensors-files-to-Core-ML).
  - Provide the model to an app such as **Mochi Diffusion** [Github](https://github.com/godly-devotion/MochiDiffusion) / [Discord](https://discord.gg/x2kartzxGv) to generate images.
  - `original` version is only compatible with `CPU & GPU` option
  - `split_einsum` version takes **about 5-10 minutes** to load the model for the first time and is available for both `CPU & Neural Engine` and `CPU & GPU` options. If your Mac has a lot of GPUs, using the CPU & GPU option will speed up image generation.
  - Resolution and bit size are as noted in the individual file names.
  - This model requires macOS 14.0 or later to run properly.
  - This model was converted with a `vae-encoder` for use with `image2image`.
  - Descriptions are posted as-is from original model source.
  - Not all features and/or results may be available in `CoreML` format.
  - This model does not have the [unet split into chunks](https://github.com/apple/ml-stable-diffusion#-converting-models-to-core-ml).
  - This model does not include a `safety checker` (for NSFW content).
  - This model can not be used with ControlNet.


# HKXL
Sources: [CivitAI](https://civitai.com/models/215619/hkxl)
  - CoreML models are converted from hkxl_v2X.safetensors

Sample images on the CivitAi source page
![](https://huggingface.co/coreml-community/coreml-HKXL/resolve/main/00870-2731717711.jpeg)
![](https://huggingface.co/coreml-community/coreml-HKXL/resolve/main/00871-2789870374.jpeg.png)
![](https://huggingface.co/coreml-community/coreml-HKXL/resolve/main/00386-3297448898.jpeg)
![](https://huggingface.co/coreml-community/coreml-HKXL/resolve/main/00715-894071979.jpeg)
![](https://huggingface.co/coreml-community/coreml-HKXL/resolve/main/00799-3328171127.jpeg)
![](https://huggingface.co/coreml-community/coreml-HKXL/resolve/main/00530-216985562.jpeg)


