← all repositories

huggingface/swift-coreml-diffusers

A native Swift app that runs Stable Diffusion image generation on Apple devices using Core ML.

swift-coreml-diffusers
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.