justjake / Gauss

Stable Diffusion macOS native app
GNU General Public License v3.0
1.37k stars 32 forks source link

Gauss

A Stable Diffusion app for macOS built with SwiftUI and Apple's ml-stable-diffusion CoreML models.

Download the latest release!

GitHub all releases GitHub

Screenshot

Usage

Project Status

This software is under development and is alpha quality. Builds are available on the releases page.

Alternatives:

System requirements

Developer setup

If you'd like to contribute, you can build the project by following the instructions for developers below.

System requirements

Building Gauss

  1. Clone this repo: git clone https://github.com/justjake/Gauss
  2. Open the project file (Gauss.xcodeproj) with Xcode: open Gauss.xcodeproj
  3. You should be able to run (Cmd-R) the project.

As with end-users, the first time you run Gauss you'll need to download models.

Adding or updating models

To release model data, we pack the models into archive files, split the archive files into parts no larger than 2gb, and then publish everything via Github release. 2gb is the file size limit for Github releases.

We use Apple Archive (.aar) format instead of something common like Zip because .aar unpacking is available from built-in libraries, and zip is not.

  1. To create the .aar files: make aars
  2. Serve the newly-built .aar files locally: make serve
  3. Switch to installing models locally:
  4. Run the project in Xcode, then open the Models window (Window > Models).
  5. Open the "Advanced" dropdown and choose "Custom Host"
  6. Remove existing model files: make uninstall-models

Publishing releases to Github

This is done manually.