Run Stable Diffusion on Apple Silicon with Core ML. python_coreml_stable_diffusion, a Python package for converting PyTorch models to Core ML format and performing image generation with Hugging Face diffusers in Python. StableDiffusion, a Swift package that developers can add to their Xcode projects as a dependency to deploy image generation capabilities in their apps. The Swift package relies on the Core ML model files generated by python_coreml_stable_diffusion. Hugging Face ran the conversion procedure on the following models and made the Core ML weights publicly available on the Hub. If you would like to convert a version of Stable Diffusion that is not already available on the Hub, please refer to the Converting Models to Core ML. Log in to or register for your Hugging Face account, generate a User Access Token and use this token to set up Hugging Face API access by running huggingface-cli login in a Terminal window.

Features

  • Convert Models to Core ML
  • Image Generation with Python
  • Image Generation with Swift
  • Examples and documentation
  • Use Ready-made Core ML Models from Hugging Face Hub
  • Run Stable Diffusion on Apple Silicon with Core ML

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Core ML Stable Diffusion

Core ML Stable Diffusion Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Core ML Stable Diffusion!

Additional Project Details

Operating Systems

Mac

Programming Language

Python

Related Categories

Python AI Image Generators, Python AI Models

Registered

2023-04-10