MochiDiffusion/MochiDiffusion

★ 7,955⑂ 0

Run Stable Diffusion on Mac natively

About MochiDiffusion/MochiDiffusion

MochiDiffusion/MochiDiffusion is an open-source project on GitHub, mainly written in Swift. Run Stable Diffusion on Mac natively It currently holds 7,955 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

Git Homed tracks it on the Image Trending board and on the AI Image Trending list.

GitHub Repository Details

Repository MochiDiffusion/MochiDiffusion · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

Mochi Diffusion

Run Stable Diffusion and FLUX.2 Klein on Mac natively

English, 한국어, 中文

Screenshot

Features

Downloads

Latest version

Community models

ControlNet models

Stable Diffusion 1.5 with ControlNet

FLUX.2-klein-4B (distilled)

FLUX.2-klein-9B (distilled)

When using a model for the very first time, it may take up to 2 minutes for the Neural Engine to compile a cached version. Afterwards, subsequent generations will be much faster.

Compute Unit

Depending on the option chosen, you will need to use the correct model version (see Models section for details).

Models

You will need Core ML Stable Diffusion or FLUX.2 Klein models in order to use Mochi Diffusion.

Core ML Stable Diffusion

1. Convert or download Core ML models

2. By default, the app's model folder will be created under your home directory. This location can be customized under Settings 3. In the model folder, create a new folder with the name you'd like displayed in the app then move or extract the converted models here 4. Your directory structure should look like this:
/
└── MochiDiffusion/
    └── models/
        ├── stable-diffusion-2-1_split-einsum_compiled/
        │   ├── merges.txt
        │   ├── TextEncoder.mlmodelc
        │   ├── Unet.mlmodelc
        │   ├── VAEDecoder.mlmodelc
        │   ├── VAEEncoder.mlmodelc
        │   └── vocab.json
        ├── ...
        └── ...

FLUX.2 Klein

No conversion is required for FLUX.2 Klein models.

1. Download the text_encode, tokenizer, transformer, and vae for a FLUX.2 Klein model from the Downloads links above (or use download_model.sh) 2. Place in MochiDiffusion's model folder 3. Your directory structure should look like this:

/
└── MochiDiffusion/
    └── models/
        ├── flux-klein-4b/
        │   ├── text_encoder/
        │   ├── tokenizer/
        │   ├── transformer/
        │   └── vae/
        ├── ...
        └── ...        
(see iris.c issue #12) for specific guidance for flux-klein-4b)

Compatibility

Privacy

All generation happens locally and absolutely nothing is sent to the cloud.

Contributing

Mochi Diffusion is always looking for contributions, whether it's through bug reports, code, or new translations.

Credits

GitHub Stars & Activity

7,955Stars
0Forks
0Open issues
SwiftLanguage

GitHub Popularity

GitHub stars7,955
Forks0
Open issues0
Primary languageSwift
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related GitHub Projects

1
2

Comfy-Org / ComfyUI

Python★ 134,032⑂ 0
3

opencv / opencv

C++★ 90,903⑂ 0
4

unslothai / unsloth

Python★ 76,471⑂ 0
5

ultralytics / ultralytics

Python★ 61,808⑂ 0
6

ultralytics / yolov5

Python★ 58,054⑂ 0
7

roboflow / supervision

Python★ 50,949⑂ 0
8

mudler / LocalAI

Go★ 49,187⑂ 0

More Trending Repositories