--- language: - en license: openrail++ pipeline_tag: text-to-image inference: true widget: - text: "func loadModel() async throws {}:" example_title: Load model group: Swift tags: - stable-diffusion - text-to-image - core-ml --- # Stable Diffusion v2-1-base Model Card This model was generated by Hugging Face using [Apple’s repository](https://github.com/apple/ml-stable-diffusion) which has [ASCL](https://github.com/apple/ml-stable-diffusion/blob/main/LICENSE.md). This model card focuses on the model associated with the Stable Diffusion v2-1-base model. This `stable-diffusion-2-1-base` model fine-tunes [stable-diffusion-2-base](https://huggingface.co/stabilityai/stable-diffusion-2-base) (`512-base-ema.ckpt`) with 220k extra steps taken, with `punsafe=0.98` on the same dataset. These weights here have been converted to Core ML for use on Apple Silicon hardware. There are only 1 variant of the Core ML: ``` coreml-stable-diffusion-2-1-base ├── README.md └── StableDiffusionV2.1.zip # Swift inference, "split_einsum" attention. ```