---
title: "Swift 🧨Diffusers - Fast Stable Diffusion for Mac"
description: "Diffusers for Mac 1.1, an open-source SwiftUI app that runs Core ML-converted Stable Diffusion models locally, can generate images up to twice as fast as the previous version by automatically picking the best compute unit for each machine."
url: "https://swe.quest/articles/swift-diffusers-fast-stable-diffusion-for-mac-9aed97f099aa5274"
canonical: "https://huggingface.co/blog/fast-mac-diffusers"
source: "Hugging Face"
published: "2023-02-24"
difficulty: "medium"
kind: "Release"
reading_minutes: 5
tags: ["inference","performance","hardware","swift","machine-learning"]
---

# Swift 🧨Diffusers - Fast Stable Diffusion for Mac

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2023-02-24, 5 min read, Release. Original: [https://huggingface.co/blog/fast-mac-diffusers](https://huggingface.co/blog/fast-mac-diffusers)

## Summary

Diffusers for Mac 1.1, an open-source SwiftUI app that runs Core ML-converted Stable Diffusion models locally, can generate images up to twice as fast as the previous version by automatically picking the best compute unit for each machine. Benchmarks across M1, M2 and M1 Max show base M1/M2 chips run roughly twice as fast on the Neural Engine as on the GPU, while the M1 Max is much faster on the GPU because it has four times as many GPU cores. Memory size barely affects speed, and combining GPU and ANE did not beat the faster of the two alone. The release also adds guidance scale, seed reuse, cancellation and model download indicators, and asks the community for benchmark data from Pro and Max chips.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Swift](https://swe.quest/tags/swift.md) (Languages)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)

## Prerequisites

- Stable Diffusion basics
- Apple Silicon compute units ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))

## Keywords

Core ML, Stable Diffusion, Apple Neural Engine, Diffusers, Apple Silicon, SwiftUI

## Related posts

- [Using Stable Diffusion with Core ML on Apple Silicon](https://swe.quest/articles/using-stable-diffusion-with-core-ml-on-apple-silicon-ec28c0373922e17b.md): Hugging Face · 2022-12-01 · Medium · 6 min read · Inference & serving, Computer vision, Swift, Python
  Stable Diffusion can run on Apple Silicon via Core ML using Apple's ml-stable-diffusion repo, with pre-converted checkpoints for v1.4, v1.5, v2 base and v2.1 base hosted on the Hugging Face Hub.
- [Faster Stable Diffusion with Core ML on iPhone, iPad, and Mac](https://swe.quest/articles/faster-stable-diffusion-with-core-ml-on-iphone-ipad-and-mac-5c3ad0b6711e28d5.md): Hugging Face · 2023-06-15 · Medium · 9 min read · Inference & serving, Mobile, Computer vision, Hardware
  Core ML in iOS 17 and macOS 14 adds 6-bit weight palettization for running Stable Diffusion faster and with less memory.
- [Stable Diffusion XL on Mac with Advanced Core ML Quantization](https://swe.quest/articles/stable-diffusion-xl-on-mac-with-advanced-core-ml-quantization-eb7e4e62c0405a93.md): Hugging Face · 2023-07-27 · Medium · 8 min read · Inference & serving, Computer vision, Mobile, Swift
  Stable Diffusion XL base has been ported to Core ML for Apple Silicon Macs (macOS 14 beta), with end-to-end latency ranging from 46 s on an M1 Max to 20 s on an M2 Ultra using CPU+GPU and the ORIGINAL attention implementation.
- [Releasing Swift Transformers: Run On-Device LLMs in Apple Devices](https://swe.quest/articles/releasing-swift-transformers-run-on-device-llms-in-apple-devices-ee6106831bf892fd.md): Hugging Face · 2023-08-08 · Medium · 15 min read · Swift, Inference & serving, LLMs, Mobile
  Hugging Face released swift-transformers, an alpha Swift package with a transformers-like API for on-device text generation, along with the swift-chat demo app, updated exporters and transformers-to-coreml conversion tools, and pre-converted Llama 2 7B and Falcon 7B Core ML models.
- [Swift Transformers Reaches 1.0 – and Looks to the Future](https://swe.quest/articles/swift-transformers-reaches-1-0-and-looks-to-the-future-a8395154e2037c4e.md): Hugging Face · 2025-09-26 · Easy · 5 min read · Swift, Inference & serving, LLMs, Mobile
  swift-transformers, Hugging Face's Swift library for running local models on Apple Silicon, reaches 1.0.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
