Delete original/foo.txt
Browse files- original/foo.txt +0 -21
original/foo.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
SDXL Diffusers to Core ML
|
2 |
-
|
3 |
-
Put the diffusers folder to convert into this folder and run:
|
4 |
-
|
5 |
-
conda activate coreml_stable_diffusion
|
6 |
-
|
7 |
-
cd /Users/jrittvo/miniconda3/scripts/SDXL
|
8 |
-
|
9 |
-
|
10 |
-
SDXL base:
|
11 |
-
|
12 |
-
python -m python_coreml_stable_diffusion.torch2coreml --convert-text-encoder --convert-vae-decoder --convert-vae-encoder --convert-unet --model-version "./sdxl-b" --compute-unit CPU_AND_GPU --attention-implementation ORIGINAL --quantize-nbits 8 --bundle-resources-for-swift-cli --xl-version -o "./sdxl-b-8bit"
|
13 |
-
|
14 |
-
|
15 |
-
SDXL refiner:
|
16 |
-
|
17 |
-
python -m python_coreml_stable_diffusion.torch2coreml --convert-text-encoder --convert-vae-decoder --convert-vae-encoder --convert-unet --model-version "./sdxl-r" --compute-unit CPU_AND_GPU --attention-implementation ORIGINAL --quantize-nbits 8 --bundle-resources-for-swift-cli --xl-version -o "./sdxl-r-8bit"
|
18 |
-
|
19 |
-
Combined:
|
20 |
-
|
21 |
-
python -m python_coreml_stable_diffusion.torch2coreml --convert-text-encoder --convert-vae-decoder --convert-vae-encoder --convert-unet --xl-version --model-version stabilityai/stable-diffusion-xl-base-1.0 --refiner-version stabilityai/stable-diffusion-xl-refiner-1.0 --bundle-resources-for-swift-cli --attention-implementation ORIGINAL --quantize-nbits 8 -o "./sdxl-br-8bit"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|