huggingface/swift-coreml-diffusers
A native Swift app that runs Stable Diffusion image generation on Apple devices using Core ML.

Velocity · 7d
+2.2
★ / day
Trend
→steady
star history
This application demonstrates how to integrate Apple’s Core ML implementation of Stable Diffusion into a Swift UI application. It downloads Core ML versions of Stable Diffusion models from the Hugging Face Hub and runs inference on macOS, iOS, and iPadOS devices, utilizing CPU, GPU, and Neural Engine for accelerated generation. The app supports both original and quantized model variants for improved performance on Apple hardware.