File size: 1,034 Bytes
4bd74a9
 
 
21bb7fc
 
6c4b505
278bfe0
6c4b505
278bfe0
 
 
 
 
 
 
 
 
6c4b505
fb5a14c
 
6c4b505
 
fb5a14c
 
643c49a
fb5a14c
278bfe0
6c4b505
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
license: creativeml-openrail-m
---
# Just a repo for sharing random CoreML & Stable Diffusion files & info.<br><br>

October 04, 2023:

This is my current miniconda environment for model conversions.

It is working for SD-1.5 type models, including the ControlledUnet, both original and split-einsum-v1.  

It seems faster than the environments that I've run before.  Converting ControlNets also works.  

I have not tried it with split-einsum-v2, or SDXL.  

It uses mostly the current versions of available packages, specifically:

- macOS 14.1
- python==3.9
- coremltools==7.0
- diffusers==0.21.4
- python-coreml-stable-diffusion (pip -e . from a current git clone of ml-stable-diffusio 1.1+)
- safetensors==0.3.3
- scikit-learn==1.1.2
- torch==2.0.0 - - - (torch==2.0.1 also seems ok)
- torch2coreml.py from the current diffusers main repo

The converted models work in both the standard Mochi Diffusion 4.2 and 4.3 and a version I built with Xcode 15 for macOS 14 using a git clone of the current Mochi Diffusion main branch.