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

Other Useful Business Software
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
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

Programming Language

Python

Related Categories

Python AI Image Generators

Registered

2023-04-10