此应用程序使用 Apple 的Core ML Stable Diffusion实现,以在基于 Apple Silicon 的 Mac 上实现最高性能和速度,同时降低内存需求。它还可以在基于 Intel 的 Mac 上运行。
首次使用模型时,神经引擎可能需要长达 2 分钟的时间来编译缓存版本。之后,后代会快得多。
根据选择的选项,您将需要使用正确的模型版本(有关详细信息,请参阅模型部分)。
Intel Macs 使用 CPU & GPU ,因为它没有神经引擎。
您需要转换或下载 Core ML 模型才能使用 Mochi Diffusion。
一些模型已经转换并上传 到这里。
Documents/
└── MochiDiffusion/
└── models/
├── stable-diffusion-2-1_split-einsum_compiled/
│ ├── merges.txt
│ ├── TextEncoder.mlmodelc
│ ├── Unet.mlmodelc
│ ├── VAEDecoder.mlmodelc
│ ├── VAEEncoder.mlmodelc
│ └── vocab.json
├── ...
└── ...
版本 3.1:
macOS 13.1 或更高版本。
Apple Silicon 或英特尔酷睿处理器