Stable Diffusion Core ML is an MIT-licensed, open-source toolkit for developers adding on-device image generation to Mac, iPhone and iPad apps. It runs diffusion models through Apple's Core ML framework, with support for Apple Silicon GPUs and the Neural Engine. Image generation runs locally.
The project pairs a Python package with a Swift package. Python converts PyTorch models into Core ML format and generates images with Hugging Face diffusers. The Swift package brings those converted models into native apps. It's aimed at developers who need an image generation component they can embed in their own software.
Supported models include Stable Diffusion 1.4, 1.5 and 2.1, along with Stable Diffusion XL and Stable Diffusion 3 Medium. Hugging Face Hub provides ready-made Core ML weights, including compressed variants and an SDXL base-plus-refiner pipeline. Developers can also convert other Stable Diffusion models.
Weight compression reduces model size and memory use, which helps larger models fit on mobile devices. Mixed-bit compression adjusts precision across layers to balance size against changes in model output. Hardware support starts with M1 Macs and iPads, and A14 iPhones; Stable Diffusion 3 uses CPU and GPU execution rather than the Neural Engine.
The toolkit also supports Apple's system multilingual text encoder for image generation with suitably fine-tuned models. That workflow requires downloading the text encoder's assets on first use.
Claim this page and we'll verify you by hand. Stable Diffusion Core ML gets the verified badge, and you can upgrade the listing to be featured on localhosted. Proud to be listed? Put our badge on your site.
Want more people to find Stable Diffusion Core ML?Promote it
Something wrong or outdated on this page?
6.1KUpdated 6 days ago
macOS · iOS · Android#Hugging Face integration#Multimodal input#Quantization
Cactus is an on-device AI engine for developers building automation into mobile apps, wearables and embedded devices. Its Needle model handles tool calling locally, so a device can turn a request into an action without an internet connection. The focus is small devices, including smart home hardware, robots and microcontrollers.
3.5KUpdated 20 hours agoApache-2.0
macOS · Windows · Linux · iOS · Android · Web#Agent Skills#Hugging Face integration#Multimodal input
5.1KUpdated 3 hours ago
macOS · Windows · Linux · iOS · Android · Web#MLX#Multimodal input#OpenAI-compatible API
ExecuTorch is PyTorch's runtime for developers building AI into mobile apps, desktop software and embedded devices. It runs models on the user's hardware, with support for Android, iOS, Linux, macOS and Windows, as well as microcontrollers. Developers can reuse a PyTorch model across targets, though hardware-specific deployments need their own exported model files.
23.9KUpdated 11 hours ago
macOS · Windows · Linux · iOS · Android · Web#ONNX#Quantization
7.3KUpdated 1 year agoApache-2.0
macOS · Windows · Linux · iOS · Android#Quantization
Paddle Lite is an on-device AI inference engine for developers building mobile apps, embedded systems and edge devices. It focuses on running neural networks with smaller model files, a smaller runtime and lower memory use. It's open source under Apache 2.0.
16.2KUpdated 2 days agoApache-2.0
Windows · iOS · Android#Image-to-image#Multimodal input#ONNX
LiteRT is Google's open-source framework for developers building AI into apps that run on users' own devices. It succeeds TensorFlow Lite and covers model conversion, optimization and local inference. It's licensed under Apache 2.0.
ncnn is a C++ framework for developers building on-device AI into mobile, desktop and embedded applications. Its focus is running neural networks with a small memory footprint and no third-party runtime dependencies. Models run on the target device's CPU or a supported Vulkan GPU.
MNN is a lightweight C++ framework for developers who want AI models to run on phones, PCs and embedded devices. It handles inference and training on the device, with a focus on small application footprints and hardware acceleration. The project is open source under Apache 2.0, and Alibaba uses it in apps including Taobao, Youku and DingTalk.