svenkevs
commited on
Commit
·
bbb5774
1
Parent(s):
862ecce
Initial commit
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .DS_Store +0 -0
- compiled/.DS_Store +0 -0
- compiled/ControlledUnet.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/ControlledUnet.mlmodelc/coremldata.bin +3 -0
- compiled/ControlledUnet.mlmodelc/metadata.json +224 -0
- compiled/ControlledUnet.mlmodelc/model.mil +0 -0
- compiled/ControlledUnet.mlmodelc/weights/weight.bin +3 -0
- compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
- compiled/TextEncoder.mlmodelc/metadata.json +83 -0
- compiled/TextEncoder.mlmodelc/model.mil +0 -0
- compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
- compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/TextEncoder2.mlmodelc/coremldata.bin +3 -0
- compiled/TextEncoder2.mlmodelc/metadata.json +83 -0
- compiled/TextEncoder2.mlmodelc/model.mil +0 -0
- compiled/TextEncoder2.mlmodelc/weights/weight.bin +3 -0
- compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/Unet.mlmodelc/coremldata.bin +3 -0
- compiled/Unet.mlmodelc/metadata.json +124 -0
- compiled/Unet.mlmodelc/model.mil +0 -0
- compiled/Unet.mlmodelc/weights/weight.bin +3 -0
- compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
- compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
- compiled/VAEDecoder.mlmodelc/model.mil +0 -0
- compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
- compiled/VAEEncoder.mlmodelc/metadata.json +76 -0
- compiled/VAEEncoder.mlmodelc/model.mil +0 -0
- compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
- compiled/merges.txt +0 -0
- compiled/vocab.json +0 -0
- coreml-dreamshaper-xl-1-0-a2-coreml_split_einsum_compiled.zip +3 -0
- packages/.DS_Store +0 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_control-unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_control-unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_control-unet.mlpackage/Manifest.json +18 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder.mlpackage/Manifest.json +18 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder_2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder_2.mlpackage/Manifest.json +18 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_unet.mlpackage/Manifest.json +18 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
compiled/.DS_Store
ADDED
Binary file (8.2 kB). View file
|
|
compiled/ControlledUnet.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3509cebaf9b80f41121f4f90ebcf3247b3000fa3a1b1024829f2f410cb60a35e
|
3 |
+
size 243
|
compiled/ControlledUnet.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20db58204ea2684400edab5b34a21996e2884f037cc3247c161ea465fbbe329f
|
3 |
+
size 1716
|
compiled/ControlledUnet.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
4 |
+
"metadataOutputVersion" : "3.0",
|
5 |
+
"outputSchema" : [
|
6 |
+
{
|
7 |
+
"hasShapeFlexibility" : "0",
|
8 |
+
"isOptional" : "0",
|
9 |
+
"dataType" : "Float32",
|
10 |
+
"formattedType" : "MultiArray (Float32)",
|
11 |
+
"shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "noise_pred",
|
14 |
+
"type" : "MultiArray"
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"version" : "dreamshaper_xl_1.0a2_coreml",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/dreamshaper_xl_1.0a2_coreml",
|
22 |
+
"specificationVersion" : 7,
|
23 |
+
"storagePrecision" : "Float16",
|
24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
25 |
+
"mlProgramOperationTypeHistogram" : {
|
26 |
+
"Transpose" : 140,
|
27 |
+
"UpsampleNearestNeighbor" : 2,
|
28 |
+
"Ios16.reduceMean" : 512,
|
29 |
+
"Ios16.sin" : 2,
|
30 |
+
"Ios16.softmax" : 2600,
|
31 |
+
"Split" : 70,
|
32 |
+
"Ios16.add" : 732,
|
33 |
+
"Concat" : 154,
|
34 |
+
"Ios16.realDiv" : 46,
|
35 |
+
"Ios16.square" : 46,
|
36 |
+
"ExpandDims" : 6,
|
37 |
+
"Ios16.sub" : 256,
|
38 |
+
"Ios16.cast" : 1,
|
39 |
+
"Ios16.conv" : 794,
|
40 |
+
"Ios16.einsum" : 5200,
|
41 |
+
"Ios16.gelu" : 70,
|
42 |
+
"Ios16.reshape" : 115,
|
43 |
+
"Ios16.batchNorm" : 46,
|
44 |
+
"Ios16.rsqrt" : 210,
|
45 |
+
"Ios16.silu" : 38,
|
46 |
+
"Ios16.sqrt" : 46,
|
47 |
+
"SliceByIndex" : 7804,
|
48 |
+
"Ios16.mul" : 3302,
|
49 |
+
"Ios16.cos" : 2
|
50 |
+
},
|
51 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
52 |
+
"isUpdatable" : "0",
|
53 |
+
"availability" : {
|
54 |
+
"macOS" : "13.0",
|
55 |
+
"tvOS" : "16.0",
|
56 |
+
"visionOS" : "1.0",
|
57 |
+
"watchOS" : "9.0",
|
58 |
+
"iOS" : "16.0",
|
59 |
+
"macCatalyst" : "16.0"
|
60 |
+
},
|
61 |
+
"modelType" : {
|
62 |
+
"name" : "MLModelType_mlProgram"
|
63 |
+
},
|
64 |
+
"inputSchema" : [
|
65 |
+
{
|
66 |
+
"hasShapeFlexibility" : "0",
|
67 |
+
"isOptional" : "0",
|
68 |
+
"dataType" : "Float16",
|
69 |
+
"formattedType" : "MultiArray (Float16 2 × 4 × 128 × 128)",
|
70 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
71 |
+
"shape" : "[2, 4, 128, 128]",
|
72 |
+
"name" : "sample",
|
73 |
+
"type" : "MultiArray"
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"hasShapeFlexibility" : "0",
|
77 |
+
"isOptional" : "0",
|
78 |
+
"dataType" : "Float16",
|
79 |
+
"formattedType" : "MultiArray (Float16 2)",
|
80 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
81 |
+
"shape" : "[2]",
|
82 |
+
"name" : "timestep",
|
83 |
+
"type" : "MultiArray"
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"hasShapeFlexibility" : "0",
|
87 |
+
"isOptional" : "0",
|
88 |
+
"dataType" : "Float16",
|
89 |
+
"formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
|
90 |
+
"shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
|
91 |
+
"shape" : "[2, 2048, 1, 77]",
|
92 |
+
"name" : "encoder_hidden_states",
|
93 |
+
"type" : "MultiArray"
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"hasShapeFlexibility" : "0",
|
97 |
+
"isOptional" : "0",
|
98 |
+
"dataType" : "Float16",
|
99 |
+
"formattedType" : "MultiArray (Float16 12)",
|
100 |
+
"shortDescription" : "",
|
101 |
+
"shape" : "[12]",
|
102 |
+
"name" : "time_ids",
|
103 |
+
"type" : "MultiArray"
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"hasShapeFlexibility" : "0",
|
107 |
+
"isOptional" : "0",
|
108 |
+
"dataType" : "Float16",
|
109 |
+
"formattedType" : "MultiArray (Float16 2 × 1280)",
|
110 |
+
"shortDescription" : "",
|
111 |
+
"shape" : "[2, 1280]",
|
112 |
+
"name" : "text_embeds",
|
113 |
+
"type" : "MultiArray"
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"hasShapeFlexibility" : "0",
|
117 |
+
"isOptional" : "0",
|
118 |
+
"dataType" : "Float16",
|
119 |
+
"formattedType" : "MultiArray (Float16 2 × 320 × 128 × 128)",
|
120 |
+
"shortDescription" : "",
|
121 |
+
"shape" : "[2, 320, 128, 128]",
|
122 |
+
"name" : "additional_residual_0",
|
123 |
+
"type" : "MultiArray"
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"hasShapeFlexibility" : "0",
|
127 |
+
"isOptional" : "0",
|
128 |
+
"dataType" : "Float16",
|
129 |
+
"formattedType" : "MultiArray (Float16 2 × 320 × 128 × 128)",
|
130 |
+
"shortDescription" : "",
|
131 |
+
"shape" : "[2, 320, 128, 128]",
|
132 |
+
"name" : "additional_residual_1",
|
133 |
+
"type" : "MultiArray"
|
134 |
+
},
|
135 |
+
{
|
136 |
+
"hasShapeFlexibility" : "0",
|
137 |
+
"isOptional" : "0",
|
138 |
+
"dataType" : "Float16",
|
139 |
+
"formattedType" : "MultiArray (Float16 2 × 320 × 128 × 128)",
|
140 |
+
"shortDescription" : "",
|
141 |
+
"shape" : "[2, 320, 128, 128]",
|
142 |
+
"name" : "additional_residual_2",
|
143 |
+
"type" : "MultiArray"
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"hasShapeFlexibility" : "0",
|
147 |
+
"isOptional" : "0",
|
148 |
+
"dataType" : "Float16",
|
149 |
+
"formattedType" : "MultiArray (Float16 2 × 320 × 64 × 64)",
|
150 |
+
"shortDescription" : "",
|
151 |
+
"shape" : "[2, 320, 64, 64]",
|
152 |
+
"name" : "additional_residual_3",
|
153 |
+
"type" : "MultiArray"
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"hasShapeFlexibility" : "0",
|
157 |
+
"isOptional" : "0",
|
158 |
+
"dataType" : "Float16",
|
159 |
+
"formattedType" : "MultiArray (Float16 2 × 640 × 64 × 64)",
|
160 |
+
"shortDescription" : "",
|
161 |
+
"shape" : "[2, 640, 64, 64]",
|
162 |
+
"name" : "additional_residual_4",
|
163 |
+
"type" : "MultiArray"
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"hasShapeFlexibility" : "0",
|
167 |
+
"isOptional" : "0",
|
168 |
+
"dataType" : "Float16",
|
169 |
+
"formattedType" : "MultiArray (Float16 2 × 640 × 64 × 64)",
|
170 |
+
"shortDescription" : "",
|
171 |
+
"shape" : "[2, 640, 64, 64]",
|
172 |
+
"name" : "additional_residual_5",
|
173 |
+
"type" : "MultiArray"
|
174 |
+
},
|
175 |
+
{
|
176 |
+
"hasShapeFlexibility" : "0",
|
177 |
+
"isOptional" : "0",
|
178 |
+
"dataType" : "Float16",
|
179 |
+
"formattedType" : "MultiArray (Float16 2 × 640 × 32 × 32)",
|
180 |
+
"shortDescription" : "",
|
181 |
+
"shape" : "[2, 640, 32, 32]",
|
182 |
+
"name" : "additional_residual_6",
|
183 |
+
"type" : "MultiArray"
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"hasShapeFlexibility" : "0",
|
187 |
+
"isOptional" : "0",
|
188 |
+
"dataType" : "Float16",
|
189 |
+
"formattedType" : "MultiArray (Float16 2 × 1280 × 32 × 32)",
|
190 |
+
"shortDescription" : "",
|
191 |
+
"shape" : "[2, 1280, 32, 32]",
|
192 |
+
"name" : "additional_residual_7",
|
193 |
+
"type" : "MultiArray"
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"hasShapeFlexibility" : "0",
|
197 |
+
"isOptional" : "0",
|
198 |
+
"dataType" : "Float16",
|
199 |
+
"formattedType" : "MultiArray (Float16 2 × 1280 × 32 × 32)",
|
200 |
+
"shortDescription" : "",
|
201 |
+
"shape" : "[2, 1280, 32, 32]",
|
202 |
+
"name" : "additional_residual_8",
|
203 |
+
"type" : "MultiArray"
|
204 |
+
},
|
205 |
+
{
|
206 |
+
"hasShapeFlexibility" : "0",
|
207 |
+
"isOptional" : "0",
|
208 |
+
"dataType" : "Float16",
|
209 |
+
"formattedType" : "MultiArray (Float16 2 × 1280 × 32 × 32)",
|
210 |
+
"shortDescription" : "",
|
211 |
+
"shape" : "[2, 1280, 32, 32]",
|
212 |
+
"name" : "additional_residual_9",
|
213 |
+
"type" : "MultiArray"
|
214 |
+
}
|
215 |
+
],
|
216 |
+
"userDefinedMetadata" : {
|
217 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
218 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1",
|
219 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.0.0"
|
220 |
+
},
|
221 |
+
"generatedClassName" : "Stable_Diffusion_version_dreamshaper_xl_1_0a2_coreml_control_unet",
|
222 |
+
"method" : "predict"
|
223 |
+
}
|
224 |
+
]
|
compiled/ControlledUnet.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/ControlledUnet.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:889c54b97d648384153d21e3bf49fa231439a3054821ba37dfbe55ed2ba87a87
|
3 |
+
size 5135067072
|
compiled/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23721620c47f234c76ae9b5318609ac15d1770ced9c380ae4758be9616bf748f
|
3 |
+
size 243
|
compiled/TextEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:170d6dfaef52ae137561e31f9d31b02ab5ccb28104e80a12a84cb50e39bd3707
|
3 |
+
size 823
|
compiled/TextEncoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
4 |
+
"metadataOutputVersion" : "3.0",
|
5 |
+
"outputSchema" : [
|
6 |
+
{
|
7 |
+
"hasShapeFlexibility" : "0",
|
8 |
+
"isOptional" : "0",
|
9 |
+
"dataType" : "Float32",
|
10 |
+
"formattedType" : "MultiArray (Float32)",
|
11 |
+
"shortDescription" : "Hidden states after the encoder layers",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "hidden_embeds",
|
14 |
+
"type" : "MultiArray"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"hasShapeFlexibility" : "0",
|
18 |
+
"isOptional" : "0",
|
19 |
+
"dataType" : "Float32",
|
20 |
+
"formattedType" : "MultiArray (Float32)",
|
21 |
+
"shortDescription" : "The version of the `last_hidden_state` output after pooling",
|
22 |
+
"shape" : "[]",
|
23 |
+
"name" : "pooled_outputs",
|
24 |
+
"type" : "MultiArray"
|
25 |
+
}
|
26 |
+
],
|
27 |
+
"version" : "dreamshaper_xl_1.0a2_coreml",
|
28 |
+
"modelParameters" : [
|
29 |
+
|
30 |
+
],
|
31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/dreamshaper_xl_1.0a2_coreml",
|
32 |
+
"specificationVersion" : 7,
|
33 |
+
"storagePrecision" : "Float16",
|
34 |
+
"license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
|
35 |
+
"mlProgramOperationTypeHistogram" : {
|
36 |
+
"Ios16.cast" : 3,
|
37 |
+
"Ios16.mul" : 36,
|
38 |
+
"Ios16.layerNorm" : 25,
|
39 |
+
"Stack" : 1,
|
40 |
+
"Transpose" : 60,
|
41 |
+
"Ios16.sigmoid" : 12,
|
42 |
+
"Ios16.linear" : 72,
|
43 |
+
"Ios16.add" : 37,
|
44 |
+
"Ios16.matmul" : 24,
|
45 |
+
"Ios16.softmax" : 12,
|
46 |
+
"Ios16.gatherNd" : 1,
|
47 |
+
"Ios16.gather" : 1,
|
48 |
+
"Ios16.reshape" : 120,
|
49 |
+
"Ios16.reduceArgmax" : 1
|
50 |
+
},
|
51 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
52 |
+
"isUpdatable" : "0",
|
53 |
+
"availability" : {
|
54 |
+
"macOS" : "13.0",
|
55 |
+
"tvOS" : "16.0",
|
56 |
+
"visionOS" : "1.0",
|
57 |
+
"watchOS" : "9.0",
|
58 |
+
"iOS" : "16.0",
|
59 |
+
"macCatalyst" : "16.0"
|
60 |
+
},
|
61 |
+
"modelType" : {
|
62 |
+
"name" : "MLModelType_mlProgram"
|
63 |
+
},
|
64 |
+
"inputSchema" : [
|
65 |
+
{
|
66 |
+
"hasShapeFlexibility" : "0",
|
67 |
+
"isOptional" : "0",
|
68 |
+
"dataType" : "Float32",
|
69 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
70 |
+
"shortDescription" : "The token ids that represent the input text",
|
71 |
+
"shape" : "[1, 77]",
|
72 |
+
"name" : "input_ids",
|
73 |
+
"type" : "MultiArray"
|
74 |
+
}
|
75 |
+
],
|
76 |
+
"userDefinedMetadata" : {
|
77 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
78 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
79 |
+
},
|
80 |
+
"generatedClassName" : "Stable_Diffusion_version_dreamshaper_xl_1_0a2_coreml_text_encoder",
|
81 |
+
"method" : "predict"
|
82 |
+
}
|
83 |
+
]
|
compiled/TextEncoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/TextEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10043224678c8d565f5e3db31df23b3133ee3fdf5ef662a18cd36b7bf37a3005
|
3 |
+
size 246145536
|
compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b9774bc61aa543d7347dc656bfcaf9f7381a8310493a8fab14dba23bf21a4cc
|
3 |
+
size 243
|
compiled/TextEncoder2.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:170d6dfaef52ae137561e31f9d31b02ab5ccb28104e80a12a84cb50e39bd3707
|
3 |
+
size 823
|
compiled/TextEncoder2.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
4 |
+
"metadataOutputVersion" : "3.0",
|
5 |
+
"outputSchema" : [
|
6 |
+
{
|
7 |
+
"hasShapeFlexibility" : "0",
|
8 |
+
"isOptional" : "0",
|
9 |
+
"dataType" : "Float32",
|
10 |
+
"formattedType" : "MultiArray (Float32)",
|
11 |
+
"shortDescription" : "Hidden states after the encoder layers",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "hidden_embeds",
|
14 |
+
"type" : "MultiArray"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"hasShapeFlexibility" : "0",
|
18 |
+
"isOptional" : "0",
|
19 |
+
"dataType" : "Float32",
|
20 |
+
"formattedType" : "MultiArray (Float32)",
|
21 |
+
"shortDescription" : "The version of the `last_hidden_state` output after pooling",
|
22 |
+
"shape" : "[]",
|
23 |
+
"name" : "pooled_outputs",
|
24 |
+
"type" : "MultiArray"
|
25 |
+
}
|
26 |
+
],
|
27 |
+
"version" : "dreamshaper_xl_1.0a2_coreml",
|
28 |
+
"modelParameters" : [
|
29 |
+
|
30 |
+
],
|
31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/dreamshaper_xl_1.0a2_coreml",
|
32 |
+
"specificationVersion" : 7,
|
33 |
+
"storagePrecision" : "Float16",
|
34 |
+
"license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
|
35 |
+
"mlProgramOperationTypeHistogram" : {
|
36 |
+
"Ios16.cast" : 3,
|
37 |
+
"Ios16.mul" : 32,
|
38 |
+
"Ios16.layerNorm" : 65,
|
39 |
+
"Stack" : 1,
|
40 |
+
"Transpose" : 160,
|
41 |
+
"Ios16.linear" : 193,
|
42 |
+
"Ios16.add" : 97,
|
43 |
+
"Ios16.matmul" : 64,
|
44 |
+
"Ios16.gelu" : 32,
|
45 |
+
"Ios16.softmax" : 32,
|
46 |
+
"Ios16.gatherNd" : 1,
|
47 |
+
"Ios16.gather" : 1,
|
48 |
+
"Ios16.reshape" : 320,
|
49 |
+
"Ios16.reduceArgmax" : 1
|
50 |
+
},
|
51 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
52 |
+
"isUpdatable" : "0",
|
53 |
+
"availability" : {
|
54 |
+
"macOS" : "13.0",
|
55 |
+
"tvOS" : "16.0",
|
56 |
+
"visionOS" : "1.0",
|
57 |
+
"watchOS" : "9.0",
|
58 |
+
"iOS" : "16.0",
|
59 |
+
"macCatalyst" : "16.0"
|
60 |
+
},
|
61 |
+
"modelType" : {
|
62 |
+
"name" : "MLModelType_mlProgram"
|
63 |
+
},
|
64 |
+
"inputSchema" : [
|
65 |
+
{
|
66 |
+
"hasShapeFlexibility" : "0",
|
67 |
+
"isOptional" : "0",
|
68 |
+
"dataType" : "Float32",
|
69 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
70 |
+
"shortDescription" : "The token ids that represent the input text",
|
71 |
+
"shape" : "[1, 77]",
|
72 |
+
"name" : "input_ids",
|
73 |
+
"type" : "MultiArray"
|
74 |
+
}
|
75 |
+
],
|
76 |
+
"userDefinedMetadata" : {
|
77 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
78 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
79 |
+
},
|
80 |
+
"generatedClassName" : "Stable_Diffusion_version_dreamshaper_xl_1_0a2_coreml_text_encoder_2",
|
81 |
+
"method" : "predict"
|
82 |
+
}
|
83 |
+
]
|
compiled/TextEncoder2.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/TextEncoder2.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7a6256b939dc88f61379a7acd54a1a7340ac45d7c21a6520c4fc7b308e02d1c
|
3 |
+
size 1389367424
|
compiled/Unet.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08968588973d47e557815f9141d6836534e00716a1d4e2e4bcfbfed633e56690
|
3 |
+
size 243
|
compiled/Unet.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21775c117c33f31b77cca4e131cd762f54ee841396e84951b843d1e50899a082
|
3 |
+
size 1310
|
compiled/Unet.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
4 |
+
"metadataOutputVersion" : "3.0",
|
5 |
+
"outputSchema" : [
|
6 |
+
{
|
7 |
+
"hasShapeFlexibility" : "0",
|
8 |
+
"isOptional" : "0",
|
9 |
+
"dataType" : "Float32",
|
10 |
+
"formattedType" : "MultiArray (Float32)",
|
11 |
+
"shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "noise_pred",
|
14 |
+
"type" : "MultiArray"
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"version" : "dreamshaper_xl_1.0a2_coreml",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/dreamshaper_xl_1.0a2_coreml",
|
22 |
+
"specificationVersion" : 7,
|
23 |
+
"storagePrecision" : "Float16",
|
24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
25 |
+
"mlProgramOperationTypeHistogram" : {
|
26 |
+
"Transpose" : 140,
|
27 |
+
"UpsampleNearestNeighbor" : 2,
|
28 |
+
"Ios16.reduceMean" : 512,
|
29 |
+
"Ios16.sin" : 2,
|
30 |
+
"Ios16.softmax" : 2600,
|
31 |
+
"Split" : 70,
|
32 |
+
"Ios16.add" : 722,
|
33 |
+
"Concat" : 154,
|
34 |
+
"Ios16.realDiv" : 46,
|
35 |
+
"Ios16.square" : 46,
|
36 |
+
"ExpandDims" : 6,
|
37 |
+
"Ios16.sub" : 256,
|
38 |
+
"Ios16.cast" : 1,
|
39 |
+
"Ios16.conv" : 794,
|
40 |
+
"Ios16.einsum" : 5200,
|
41 |
+
"Ios16.gelu" : 70,
|
42 |
+
"Ios16.reshape" : 115,
|
43 |
+
"Ios16.batchNorm" : 46,
|
44 |
+
"Ios16.rsqrt" : 210,
|
45 |
+
"Ios16.silu" : 38,
|
46 |
+
"Ios16.sqrt" : 46,
|
47 |
+
"SliceByIndex" : 7804,
|
48 |
+
"Ios16.mul" : 3302,
|
49 |
+
"Ios16.cos" : 2
|
50 |
+
},
|
51 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
52 |
+
"isUpdatable" : "0",
|
53 |
+
"availability" : {
|
54 |
+
"macOS" : "13.0",
|
55 |
+
"tvOS" : "16.0",
|
56 |
+
"visionOS" : "1.0",
|
57 |
+
"watchOS" : "9.0",
|
58 |
+
"iOS" : "16.0",
|
59 |
+
"macCatalyst" : "16.0"
|
60 |
+
},
|
61 |
+
"modelType" : {
|
62 |
+
"name" : "MLModelType_mlProgram"
|
63 |
+
},
|
64 |
+
"inputSchema" : [
|
65 |
+
{
|
66 |
+
"hasShapeFlexibility" : "0",
|
67 |
+
"isOptional" : "0",
|
68 |
+
"dataType" : "Float16",
|
69 |
+
"formattedType" : "MultiArray (Float16 2 × 4 × 128 × 128)",
|
70 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
71 |
+
"shape" : "[2, 4, 128, 128]",
|
72 |
+
"name" : "sample",
|
73 |
+
"type" : "MultiArray"
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"hasShapeFlexibility" : "0",
|
77 |
+
"isOptional" : "0",
|
78 |
+
"dataType" : "Float16",
|
79 |
+
"formattedType" : "MultiArray (Float16 2)",
|
80 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
81 |
+
"shape" : "[2]",
|
82 |
+
"name" : "timestep",
|
83 |
+
"type" : "MultiArray"
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"hasShapeFlexibility" : "0",
|
87 |
+
"isOptional" : "0",
|
88 |
+
"dataType" : "Float16",
|
89 |
+
"formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
|
90 |
+
"shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
|
91 |
+
"shape" : "[2, 2048, 1, 77]",
|
92 |
+
"name" : "encoder_hidden_states",
|
93 |
+
"type" : "MultiArray"
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"hasShapeFlexibility" : "0",
|
97 |
+
"isOptional" : "0",
|
98 |
+
"dataType" : "Float16",
|
99 |
+
"formattedType" : "MultiArray (Float16 12)",
|
100 |
+
"shortDescription" : "",
|
101 |
+
"shape" : "[12]",
|
102 |
+
"name" : "time_ids",
|
103 |
+
"type" : "MultiArray"
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"hasShapeFlexibility" : "0",
|
107 |
+
"isOptional" : "0",
|
108 |
+
"dataType" : "Float16",
|
109 |
+
"formattedType" : "MultiArray (Float16 2 × 1280)",
|
110 |
+
"shortDescription" : "",
|
111 |
+
"shape" : "[2, 1280]",
|
112 |
+
"name" : "text_embeds",
|
113 |
+
"type" : "MultiArray"
|
114 |
+
}
|
115 |
+
],
|
116 |
+
"userDefinedMetadata" : {
|
117 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
118 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1",
|
119 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.0.0"
|
120 |
+
},
|
121 |
+
"generatedClassName" : "Stable_Diffusion_version_dreamshaper_xl_1_0a2_coreml_unet",
|
122 |
+
"method" : "predict"
|
123 |
+
}
|
124 |
+
]
|
compiled/Unet.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/Unet.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffb7d28782e884ef8a39e41e267d7b809554b5fcb53980d0cb68bce49c4ddc9d
|
3 |
+
size 5135067072
|
compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed46b23f8815658cad58047378348bfbfb92445c21a9f9f59d007a3b22e4c8af
|
3 |
+
size 243
|
compiled/VAEDecoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c52ddfe394d0b54514a65feb5f9dedc5dcffde0c15989367691a94861c2f747
|
3 |
+
size 751
|
compiled/VAEDecoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
4 |
+
"metadataOutputVersion" : "3.0",
|
5 |
+
"outputSchema" : [
|
6 |
+
{
|
7 |
+
"hasShapeFlexibility" : "0",
|
8 |
+
"isOptional" : "0",
|
9 |
+
"dataType" : "Float32",
|
10 |
+
"formattedType" : "MultiArray (Float32)",
|
11 |
+
"shortDescription" : "Generated image normalized to range [-1, 1]",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "image",
|
14 |
+
"type" : "MultiArray"
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"version" : "dreamshaper_xl_1.0a2_coreml",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/dreamshaper_xl_1.0a2_coreml",
|
22 |
+
"specificationVersion" : 7,
|
23 |
+
"storagePrecision" : "Float32",
|
24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
25 |
+
"mlProgramOperationTypeHistogram" : {
|
26 |
+
"Ios16.mul" : 2,
|
27 |
+
"Ios16.sqrt" : 30,
|
28 |
+
"Ios16.sub" : 30,
|
29 |
+
"Transpose" : 6,
|
30 |
+
"UpsampleNearestNeighbor" : 3,
|
31 |
+
"Ios16.conv" : 36,
|
32 |
+
"Ios16.add" : 46,
|
33 |
+
"Ios16.linear" : 4,
|
34 |
+
"Ios16.matmul" : 2,
|
35 |
+
"Ios16.realDiv" : 30,
|
36 |
+
"Ios16.reduceMean" : 60,
|
37 |
+
"Ios16.softmax" : 1,
|
38 |
+
"Ios16.batchNorm" : 29,
|
39 |
+
"Ios16.square" : 30,
|
40 |
+
"Ios16.reshape" : 65,
|
41 |
+
"Ios16.silu" : 29
|
42 |
+
},
|
43 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
44 |
+
"isUpdatable" : "0",
|
45 |
+
"availability" : {
|
46 |
+
"macOS" : "13.0",
|
47 |
+
"tvOS" : "16.0",
|
48 |
+
"visionOS" : "1.0",
|
49 |
+
"watchOS" : "9.0",
|
50 |
+
"iOS" : "16.0",
|
51 |
+
"macCatalyst" : "16.0"
|
52 |
+
},
|
53 |
+
"modelType" : {
|
54 |
+
"name" : "MLModelType_mlProgram"
|
55 |
+
},
|
56 |
+
"inputSchema" : [
|
57 |
+
{
|
58 |
+
"hasShapeFlexibility" : "0",
|
59 |
+
"isOptional" : "0",
|
60 |
+
"dataType" : "Float32",
|
61 |
+
"formattedType" : "MultiArray (Float32 1 × 4 × 128 × 128)",
|
62 |
+
"shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
|
63 |
+
"shape" : "[1, 4, 128, 128]",
|
64 |
+
"name" : "z",
|
65 |
+
"type" : "MultiArray"
|
66 |
+
}
|
67 |
+
],
|
68 |
+
"userDefinedMetadata" : {
|
69 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
70 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
71 |
+
},
|
72 |
+
"generatedClassName" : "Stable_Diffusion_version_dreamshaper_xl_1_0a2_coreml_vae_decoder",
|
73 |
+
"method" : "predict"
|
74 |
+
}
|
75 |
+
]
|
compiled/VAEDecoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/VAEDecoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b176513bdde8c16fdd92da0f7388e5ae0954245a81ee7f6cf7ea14c8e66031fd
|
3 |
+
size 197977216
|
compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f72c331aeebb86cea5b55fe5a7b5dc22bc89c00ad8b0082db7f68c8a227900ed
|
3 |
+
size 243
|
compiled/VAEEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17b0b6eeab54514cf3eb7103279b9e9839ed73e85dcbe04942a8b51b088bd116
|
3 |
+
size 755
|
compiled/VAEEncoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
4 |
+
"metadataOutputVersion" : "3.0",
|
5 |
+
"outputSchema" : [
|
6 |
+
{
|
7 |
+
"hasShapeFlexibility" : "0",
|
8 |
+
"isOptional" : "0",
|
9 |
+
"dataType" : "Float32",
|
10 |
+
"formattedType" : "MultiArray (Float32)",
|
11 |
+
"shortDescription" : "The latent embeddings from the unet model from the input image.",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "latent",
|
14 |
+
"type" : "MultiArray"
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"version" : "dreamshaper_xl_1.0a2_coreml",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/dreamshaper_xl_1.0a2_coreml",
|
22 |
+
"specificationVersion" : 7,
|
23 |
+
"storagePrecision" : "Float16",
|
24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
25 |
+
"mlProgramOperationTypeHistogram" : {
|
26 |
+
"Pad" : 3,
|
27 |
+
"Ios16.cast" : 1,
|
28 |
+
"Ios16.mul" : 2,
|
29 |
+
"Ios16.sqrt" : 22,
|
30 |
+
"Ios16.sub" : 22,
|
31 |
+
"Transpose" : 6,
|
32 |
+
"Ios16.conv" : 28,
|
33 |
+
"Ios16.add" : 34,
|
34 |
+
"Ios16.linear" : 4,
|
35 |
+
"Ios16.matmul" : 2,
|
36 |
+
"Ios16.realDiv" : 22,
|
37 |
+
"Ios16.reduceMean" : 44,
|
38 |
+
"Ios16.softmax" : 1,
|
39 |
+
"Ios16.batchNorm" : 21,
|
40 |
+
"Ios16.square" : 22,
|
41 |
+
"Ios16.reshape" : 49,
|
42 |
+
"Ios16.silu" : 21
|
43 |
+
},
|
44 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
45 |
+
"isUpdatable" : "0",
|
46 |
+
"availability" : {
|
47 |
+
"macOS" : "13.0",
|
48 |
+
"tvOS" : "16.0",
|
49 |
+
"visionOS" : "1.0",
|
50 |
+
"watchOS" : "9.0",
|
51 |
+
"iOS" : "16.0",
|
52 |
+
"macCatalyst" : "16.0"
|
53 |
+
},
|
54 |
+
"modelType" : {
|
55 |
+
"name" : "MLModelType_mlProgram"
|
56 |
+
},
|
57 |
+
"inputSchema" : [
|
58 |
+
{
|
59 |
+
"hasShapeFlexibility" : "0",
|
60 |
+
"isOptional" : "0",
|
61 |
+
"dataType" : "Float16",
|
62 |
+
"formattedType" : "MultiArray (Float16 1 × 3 × 1024 × 1024)",
|
63 |
+
"shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
|
64 |
+
"shape" : "[1, 3, 1024, 1024]",
|
65 |
+
"name" : "z",
|
66 |
+
"type" : "MultiArray"
|
67 |
+
}
|
68 |
+
],
|
69 |
+
"userDefinedMetadata" : {
|
70 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
71 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
72 |
+
},
|
73 |
+
"generatedClassName" : "Stable_Diffusion_version_dreamshaper_xl_1_0a2_coreml_vae_encoder",
|
74 |
+
"method" : "predict"
|
75 |
+
}
|
76 |
+
]
|
compiled/VAEEncoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/VAEEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b29687146770d54d5144d977bff518594aea3312dc64a0dce4285e61262d1b4a
|
3 |
+
size 68338112
|
compiled/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
coreml-dreamshaper-xl-1-0-a2-coreml_split_einsum_compiled.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f43ee2213565c939738a9d347fe706e3bc2f0f3937e7d181130a18c241a995e
|
3 |
+
size 6427214487
|
packages/.DS_Store
ADDED
Binary file (10.2 kB). View file
|
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_control-unet.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e87e4718178f4ca654da64e542d6bf3f309ed0183f89d6afa0279c42515db4b
|
3 |
+
size 9009015
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_control-unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:889c54b97d648384153d21e3bf49fa231439a3054821ba37dfbe55ed2ba87a87
|
3 |
+
size 5135067072
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_control-unet.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"221C6B9E-8880-4B3E-998D-7E4A31B6A6A7": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"A075F6E6-B075-4F10-9B71-7EB75F41AD5B": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Specification",
|
13 |
+
"name": "model.mlmodel",
|
14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "A075F6E6-B075-4F10-9B71-7EB75F41AD5B"
|
18 |
+
}
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77c032442e2be79551b072f2547bbec831d338a331be26b9b0b10b0cb29aea0f
|
3 |
+
size 161150
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10043224678c8d565f5e3db31df23b3133ee3fdf5ef662a18cd36b7bf37a3005
|
3 |
+
size 246145536
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"9D5FF691-7548-459D-A9D0-7807A77E8694": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"9FC0AB32-2068-44D5-BA66-6CD5544FAE56": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Specification",
|
13 |
+
"name": "model.mlmodel",
|
14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "9FC0AB32-2068-44D5-BA66-6CD5544FAE56"
|
18 |
+
}
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:443bc98905eb753d180b4219c6f515cd135b0e54ef3be3f8c8705f4256faa8e6
|
3 |
+
size 418211
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder_2.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7a6256b939dc88f61379a7acd54a1a7340ac45d7c21a6520c4fc7b308e02d1c
|
3 |
+
size 1389367424
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_text_encoder_2.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"2C3BA85A-428D-4829-8A90-BAA54F59E689": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"8373386A-A439-45C4-8B97-4C23F7EE16B7": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Specification",
|
13 |
+
"name": "model.mlmodel",
|
14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "8373386A-A439-45C4-8B97-4C23F7EE16B7"
|
18 |
+
}
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2c371ce913af7ac5c82246382283ac350355e325518f243efdec3a05cf6eb06
|
3 |
+
size 9006140
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffb7d28782e884ef8a39e41e267d7b809554b5fcb53980d0cb68bce49c4ddc9d
|
3 |
+
size 5135067072
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_unet.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"E699DC25-51F7-419B-BC05-DF105B7A0AAC": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"E6CA2D3B-3BF2-4869-A171-99763493207F": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Specification",
|
13 |
+
"name": "model.mlmodel",
|
14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "E6CA2D3B-3BF2-4869-A171-99763493207F"
|
18 |
+
}
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b13289533fd6c5526631ec51da8bdfda82a89d7ae218c1933d1064345370a3ba
|
3 |
+
size 143678
|
packages/Stable_Diffusion_version_dreamshaper_xl_1.0a2_coreml_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b176513bdde8c16fdd92da0f7388e5ae0954245a81ee7f6cf7ea14c8e66031fd
|
3 |
+
size 197977216
|