pcuenq HF staff commited on
Commit
0259e81
1 Parent(s): ef2d115

Upload folder using huggingface_hub

Browse files
Files changed (28) hide show
  1. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled.zip +3 -0
  2. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  3. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  4. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/metadata.json +83 -0
  5. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/model.mil +0 -0
  6. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  7. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin +3 -0
  8. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/coremldata.bin +3 -0
  9. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/metadata.json +83 -0
  10. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/model.mil +0 -0
  11. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/weights/weight.bin +3 -0
  12. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
  13. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/coremldata.bin +3 -0
  14. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/metadata.json +229 -0
  15. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/model.mil +0 -0
  16. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/weights/weight.bin +3 -0
  17. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin +3 -0
  18. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/coremldata.bin +3 -0
  19. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/metadata.json +197 -0
  20. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/model.mil +0 -0
  21. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/weights/weight.bin +3 -0
  22. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  23. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  24. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/metadata.json +76 -0
  25. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/model.mil +0 -0
  26. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  27. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/merges.txt +0 -0
  28. coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/vocab.json +0 -0
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e6b8d0ae7a1990f0cd31b5bbc8de600c096e54369add395ef21042832424faa
3
+ size 3052964832
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba0cd4cdb851a15a59e0610f198aeb8dbe24cc758d99922e65955a44f79dfc9f
3
+ size 243
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dce008301b82a1598022040d02303a414be207b0b12cd4510432281b6678a5f5
3
+ size 860
coreml-stable-diffusion-xl-base-ios_split_einsum_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" : "Float16",
10
+ "formattedType" : "MultiArray (Float16 1 × 77 × 768)",
11
+ "shortDescription" : "Hidden states after the encoder layers",
12
+ "shape" : "[1, 77, 768]",
13
+ "name" : "hidden_embeds",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float16",
20
+ "formattedType" : "MultiArray (Float16 1 × 768)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[1, 768]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "stabilityai\/stable-diffusion-xl-base-1.0",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
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" : 1,
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.0b2",
78
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
79
+ },
80
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_1_0_text_encoder",
81
+ "method" : "predict"
82
+ }
83
+ ]
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72a0d48befc2a65462b0c320927d31b4b0c8bdcae383d357f4209de9bbc4d6d5
3
+ size 246145536
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6c5f66dbbbb69b15ab440424185a2775026f6661723158140531d0a8caf11a2
3
+ size 243
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70b1249456151731abd5a48006cd0d08a424172fdeb104e59099e182882d13d0
3
+ size 860
coreml-stable-diffusion-xl-base-ios_split_einsum_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" : "Float16",
10
+ "formattedType" : "MultiArray (Float16 1 × 77 × 1280)",
11
+ "shortDescription" : "Hidden states after the encoder layers",
12
+ "shape" : "[1, 77, 1280]",
13
+ "name" : "hidden_embeds",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float16",
20
+ "formattedType" : "MultiArray (Float16 1 × 1280)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[1, 1280]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "stabilityai\/stable-diffusion-xl-base-1.0",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
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" : 1,
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.0b2",
78
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
79
+ },
80
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_1_0_text_encoder_2",
81
+ "method" : "predict"
82
+ }
83
+ ]
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/TextEncoder2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73ade7c979ddd33a1af71ecc581bdf4c5a5695f4c6adf6450ad0a914930d1459
3
+ size 1389367424
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6911510036e3a9f3df8544d6f451625e8faa8dc9f9f4c024ae5e88cf9b170c5
3
+ size 243
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4544dad1a05973f5c9298509782061ae5a6ccedf1cfce1dbf18e46735906863e
3
+ size 743
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Palettized (1 bits), Palettized (2 bits), Palettized (4 bits), Palettized (6 bits), Palettized (8 bits))",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 24 × 24)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 1280, 24, 24]",
13
+ "name" : "input_213_cast",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 2 × 320 × 96 × 96)",
21
+ "shortDescription" : "",
22
+ "shape" : "[2, 320, 96, 96]",
23
+ "name" : "input_43_cast",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32 2 × 640 × 48 × 48)",
31
+ "shortDescription" : "",
32
+ "shape" : "[2, 640, 48, 48]",
33
+ "name" : "input_113_cast",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float32",
40
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
41
+ "shortDescription" : "",
42
+ "shape" : "[2, 1280, 1, 1]",
43
+ "name" : "input_21_cast",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float32",
50
+ "formattedType" : "MultiArray (Float32 2 × 320 × 96 × 96)",
51
+ "shortDescription" : "",
52
+ "shape" : "[2, 320, 96, 96]",
53
+ "name" : "input_13_cast",
54
+ "type" : "MultiArray"
55
+ },
56
+ {
57
+ "hasShapeFlexibility" : "0",
58
+ "isOptional" : "0",
59
+ "dataType" : "Float32",
60
+ "formattedType" : "MultiArray (Float32 2 × 320 × 48 × 48)",
61
+ "shortDescription" : "",
62
+ "shape" : "[2, 320, 48, 48]",
63
+ "name" : "input_45_cast",
64
+ "type" : "MultiArray"
65
+ },
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float32",
70
+ "formattedType" : "MultiArray (Float32 2 × 320 × 96 × 96)",
71
+ "shortDescription" : "",
72
+ "shape" : "[2, 320, 96, 96]",
73
+ "name" : "input_29_cast",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float32",
80
+ "formattedType" : "MultiArray (Float32 2 × 640 × 24 × 24)",
81
+ "shortDescription" : "",
82
+ "shape" : "[2, 640, 24, 24]",
83
+ "name" : "input_115_cast",
84
+ "type" : "MultiArray"
85
+ },
86
+ {
87
+ "hasShapeFlexibility" : "0",
88
+ "isOptional" : "0",
89
+ "dataType" : "Float32",
90
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 576)",
91
+ "shortDescription" : "",
92
+ "shape" : "[2, 1280, 1, 576]",
93
+ "name" : "inputs_251_cast",
94
+ "type" : "MultiArray"
95
+ },
96
+ {
97
+ "hasShapeFlexibility" : "0",
98
+ "isOptional" : "0",
99
+ "dataType" : "Float32",
100
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 576)",
101
+ "shortDescription" : "",
102
+ "shape" : "[2, 10240, 1, 576]",
103
+ "name" : "var_37735_cast",
104
+ "type" : "MultiArray"
105
+ },
106
+ {
107
+ "hasShapeFlexibility" : "0",
108
+ "isOptional" : "0",
109
+ "dataType" : "Float32",
110
+ "formattedType" : "MultiArray (Float32 2 × 640 × 48 × 48)",
111
+ "shortDescription" : "",
112
+ "shape" : "[2, 640, 48, 48]",
113
+ "name" : "input_79_cast",
114
+ "type" : "MultiArray"
115
+ },
116
+ {
117
+ "hasShapeFlexibility" : "0",
118
+ "isOptional" : "0",
119
+ "dataType" : "Float32",
120
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 24 × 24)",
121
+ "shortDescription" : "",
122
+ "shape" : "[2, 1280, 24, 24]",
123
+ "name" : "hidden_states_283_cast",
124
+ "type" : "MultiArray"
125
+ }
126
+ ],
127
+ "modelParameters" : [
128
+
129
+ ],
130
+ "specificationVersion" : 7,
131
+ "mlProgramOperationTypeHistogram" : {
132
+ "Transpose" : 84,
133
+ "Ios16.reduceMean" : 300,
134
+ "Ios16.sin" : 2,
135
+ "Ios16.softmax" : 1600,
136
+ "Split" : 41,
137
+ "Ios16.add" : 425,
138
+ "Concat" : 90,
139
+ "Ios16.realDiv" : 24,
140
+ "Ios16.square" : 24,
141
+ "ExpandDims" : 6,
142
+ "Ios16.sub" : 150,
143
+ "Ios16.cast" : 12,
144
+ "Ios16.conv" : 467,
145
+ "Ios16.constexprLutToDense" : 463,
146
+ "Ios16.einsum" : 3200,
147
+ "Ios16.gelu" : 41,
148
+ "Ios16.batchNorm" : 24,
149
+ "Ios16.reshape" : 61,
150
+ "Ios16.rsqrt" : 126,
151
+ "Ios16.silu" : 21,
152
+ "Ios16.sqrt" : 24,
153
+ "Ios16.mul" : 2021,
154
+ "Ios16.cos" : 2,
155
+ "SliceByIndex" : 4804
156
+ },
157
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
158
+ "isUpdatable" : "0",
159
+ "availability" : {
160
+ "macOS" : "13.0",
161
+ "tvOS" : "16.0",
162
+ "visionOS" : "1.0",
163
+ "watchOS" : "9.0",
164
+ "iOS" : "16.0",
165
+ "macCatalyst" : "16.0"
166
+ },
167
+ "modelType" : {
168
+ "name" : "MLModelType_mlProgram"
169
+ },
170
+ "userDefinedMetadata" : {
171
+ "com.github.apple.coremltools.version" : "7.0b2",
172
+ "com.github.apple.coremltools.source" : "milinternal"
173
+ },
174
+ "inputSchema" : [
175
+ {
176
+ "hasShapeFlexibility" : "0",
177
+ "isOptional" : "0",
178
+ "dataType" : "Float16",
179
+ "formattedType" : "MultiArray (Float16 2 × 4 × 96 × 96)",
180
+ "shortDescription" : "",
181
+ "shape" : "[2, 4, 96, 96]",
182
+ "name" : "sample",
183
+ "type" : "MultiArray"
184
+ },
185
+ {
186
+ "hasShapeFlexibility" : "0",
187
+ "isOptional" : "0",
188
+ "dataType" : "Float16",
189
+ "formattedType" : "MultiArray (Float16 2)",
190
+ "shortDescription" : "",
191
+ "shape" : "[2]",
192
+ "name" : "timestep",
193
+ "type" : "MultiArray"
194
+ },
195
+ {
196
+ "hasShapeFlexibility" : "0",
197
+ "isOptional" : "0",
198
+ "dataType" : "Float16",
199
+ "formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
200
+ "shortDescription" : "",
201
+ "shape" : "[2, 2048, 1, 77]",
202
+ "name" : "encoder_hidden_states",
203
+ "type" : "MultiArray"
204
+ },
205
+ {
206
+ "hasShapeFlexibility" : "0",
207
+ "isOptional" : "0",
208
+ "dataType" : "Float16",
209
+ "formattedType" : "MultiArray (Float16 2 × 6)",
210
+ "shortDescription" : "",
211
+ "shape" : "[2, 6]",
212
+ "name" : "time_ids",
213
+ "type" : "MultiArray"
214
+ },
215
+ {
216
+ "hasShapeFlexibility" : "0",
217
+ "isOptional" : "0",
218
+ "dataType" : "Float16",
219
+ "formattedType" : "MultiArray (Float16 2 × 1280)",
220
+ "shortDescription" : "",
221
+ "shape" : "[2, 1280]",
222
+ "name" : "text_embeds",
223
+ "type" : "MultiArray"
224
+ }
225
+ ],
226
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_1_0_unet_chunk1",
227
+ "method" : "predict"
228
+ }
229
+ ]
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3157612374be1fdf8e5e61dbf6b8c2138fdc81dd70c8ed08e785e62657d85fa
3
+ size 653930048
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:338113769e38ebc471eb63a83b2a3a2497b8f0cc059a08c10cb3e6852896c75f
3
+ size 243
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1301537bd8ad0f89575f8c2b1398664df2d05032d38113bc3e85288b645ab466
3
+ size 672
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Palettized (1 bits), Palettized (2 bits), Palettized (4 bits), Palettized (6 bits), Palettized (8 bits))",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float16",
10
+ "formattedType" : "MultiArray (Float16 2 × 4 × 96 × 96)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 4, 96, 96]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 7,
21
+ "mlProgramOperationTypeHistogram" : {
22
+ "Transpose" : 56,
23
+ "UpsampleNearestNeighbor" : 2,
24
+ "Ios16.reduceMean" : 212,
25
+ "Ios16.softmax" : 1000,
26
+ "Split" : 29,
27
+ "Ios16.add" : 297,
28
+ "Concat" : 64,
29
+ "Ios16.realDiv" : 22,
30
+ "Ios16.square" : 22,
31
+ "Ios16.sub" : 106,
32
+ "Ios16.cast" : 12,
33
+ "Ios16.conv" : 327,
34
+ "Ios16.constexprLutToDense" : 319,
35
+ "Ios16.einsum" : 2000,
36
+ "Ios16.gelu" : 29,
37
+ "Ios16.batchNorm" : 22,
38
+ "Ios16.reshape" : 55,
39
+ "Ios16.rsqrt" : 84,
40
+ "Ios16.silu" : 17,
41
+ "Ios16.sqrt" : 22,
42
+ "Ios16.mul" : 1281,
43
+ "SliceByIndex" : 3000
44
+ },
45
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
46
+ "isUpdatable" : "0",
47
+ "availability" : {
48
+ "macOS" : "13.0",
49
+ "tvOS" : "16.0",
50
+ "visionOS" : "1.0",
51
+ "watchOS" : "9.0",
52
+ "iOS" : "16.0",
53
+ "macCatalyst" : "16.0"
54
+ },
55
+ "modelType" : {
56
+ "name" : "MLModelType_mlProgram"
57
+ },
58
+ "userDefinedMetadata" : {
59
+ "com.github.apple.coremltools.version" : "7.0b2",
60
+ "com.github.apple.coremltools.source" : "milinternal"
61
+ },
62
+ "inputSchema" : [
63
+ {
64
+ "hasShapeFlexibility" : "0",
65
+ "isOptional" : "0",
66
+ "dataType" : "Float16",
67
+ "formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
68
+ "shortDescription" : "",
69
+ "shape" : "[2, 2048, 1, 77]",
70
+ "name" : "encoder_hidden_states",
71
+ "type" : "MultiArray"
72
+ },
73
+ {
74
+ "hasShapeFlexibility" : "0",
75
+ "isOptional" : "0",
76
+ "dataType" : "Float32",
77
+ "formattedType" : "MultiArray (Float32 2 × 640 × 48 × 48)",
78
+ "shortDescription" : "",
79
+ "shape" : "[2, 640, 48, 48]",
80
+ "name" : "input_79_cast",
81
+ "type" : "MultiArray"
82
+ },
83
+ {
84
+ "hasShapeFlexibility" : "0",
85
+ "isOptional" : "0",
86
+ "dataType" : "Float32",
87
+ "formattedType" : "MultiArray (Float32 2 × 640 × 48 × 48)",
88
+ "shortDescription" : "",
89
+ "shape" : "[2, 640, 48, 48]",
90
+ "name" : "input_113_cast",
91
+ "type" : "MultiArray"
92
+ },
93
+ {
94
+ "hasShapeFlexibility" : "0",
95
+ "isOptional" : "0",
96
+ "dataType" : "Float32",
97
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 24 × 24)",
98
+ "shortDescription" : "",
99
+ "shape" : "[2, 1280, 24, 24]",
100
+ "name" : "hidden_states_283_cast",
101
+ "type" : "MultiArray"
102
+ },
103
+ {
104
+ "hasShapeFlexibility" : "0",
105
+ "isOptional" : "0",
106
+ "dataType" : "Float32",
107
+ "formattedType" : "MultiArray (Float32 2 × 320 × 96 × 96)",
108
+ "shortDescription" : "",
109
+ "shape" : "[2, 320, 96, 96]",
110
+ "name" : "input_43_cast",
111
+ "type" : "MultiArray"
112
+ },
113
+ {
114
+ "hasShapeFlexibility" : "0",
115
+ "isOptional" : "0",
116
+ "dataType" : "Float32",
117
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 24 × 24)",
118
+ "shortDescription" : "",
119
+ "shape" : "[2, 1280, 24, 24]",
120
+ "name" : "input_213_cast",
121
+ "type" : "MultiArray"
122
+ },
123
+ {
124
+ "hasShapeFlexibility" : "0",
125
+ "isOptional" : "0",
126
+ "dataType" : "Float32",
127
+ "formattedType" : "MultiArray (Float32 2 × 320 × 96 × 96)",
128
+ "shortDescription" : "",
129
+ "shape" : "[2, 320, 96, 96]",
130
+ "name" : "input_13_cast",
131
+ "type" : "MultiArray"
132
+ },
133
+ {
134
+ "hasShapeFlexibility" : "0",
135
+ "isOptional" : "0",
136
+ "dataType" : "Float32",
137
+ "formattedType" : "MultiArray (Float32 2 × 640 × 24 × 24)",
138
+ "shortDescription" : "",
139
+ "shape" : "[2, 640, 24, 24]",
140
+ "name" : "input_115_cast",
141
+ "type" : "MultiArray"
142
+ },
143
+ {
144
+ "hasShapeFlexibility" : "0",
145
+ "isOptional" : "0",
146
+ "dataType" : "Float32",
147
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 576)",
148
+ "shortDescription" : "",
149
+ "shape" : "[2, 10240, 1, 576]",
150
+ "name" : "var_37735_cast",
151
+ "type" : "MultiArray"
152
+ },
153
+ {
154
+ "hasShapeFlexibility" : "0",
155
+ "isOptional" : "0",
156
+ "dataType" : "Float32",
157
+ "formattedType" : "MultiArray (Float32 2 × 320 × 96 × 96)",
158
+ "shortDescription" : "",
159
+ "shape" : "[2, 320, 96, 96]",
160
+ "name" : "input_29_cast",
161
+ "type" : "MultiArray"
162
+ },
163
+ {
164
+ "hasShapeFlexibility" : "0",
165
+ "isOptional" : "0",
166
+ "dataType" : "Float32",
167
+ "formattedType" : "MultiArray (Float32 2 × 320 × 48 × 48)",
168
+ "shortDescription" : "",
169
+ "shape" : "[2, 320, 48, 48]",
170
+ "name" : "input_45_cast",
171
+ "type" : "MultiArray"
172
+ },
173
+ {
174
+ "hasShapeFlexibility" : "0",
175
+ "isOptional" : "0",
176
+ "dataType" : "Float32",
177
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
178
+ "shortDescription" : "",
179
+ "shape" : "[2, 1280, 1, 1]",
180
+ "name" : "input_21_cast",
181
+ "type" : "MultiArray"
182
+ },
183
+ {
184
+ "hasShapeFlexibility" : "0",
185
+ "isOptional" : "0",
186
+ "dataType" : "Float32",
187
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 576)",
188
+ "shortDescription" : "",
189
+ "shape" : "[2, 1280, 1, 576]",
190
+ "name" : "inputs_251_cast",
191
+ "type" : "MultiArray"
192
+ }
193
+ ],
194
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_1_0_unet_chunk2",
195
+ "method" : "predict"
196
+ }
197
+ ]
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3187aa81e7258dae2d80e0cb1060416f25265ea920e9be72642c24970caf9c52
3
+ size 651783424
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:055c412933973d54894c58716cd08be44f50057a7f37e17be97b2e93b64b6321
3
+ size 243
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4492ee202d19fc3ed370a137f408e887fcf7ccf1fe957da9ed97bb7c9f9cab22
3
+ size 809
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.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 1 × 3 × 768 × 768)",
11
+ "shortDescription" : "Generated image normalized to range [-1, 1]",
12
+ "shape" : "[1, 3, 768, 768]",
13
+ "name" : "image",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "stabilityai\/stable-diffusion-xl-base-1.0",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Ios16.cast" : 1,
27
+ "Ios16.mul" : 2,
28
+ "Ios16.sqrt" : 30,
29
+ "Ios16.sub" : 30,
30
+ "Transpose" : 6,
31
+ "UpsampleNearestNeighbor" : 3,
32
+ "Ios16.conv" : 36,
33
+ "Ios16.add" : 46,
34
+ "Ios16.linear" : 4,
35
+ "Ios16.matmul" : 2,
36
+ "Ios16.realDiv" : 30,
37
+ "Ios16.reduceMean" : 60,
38
+ "Ios16.softmax" : 1,
39
+ "Ios16.batchNorm" : 29,
40
+ "Ios16.square" : 30,
41
+ "Ios16.reshape" : 65,
42
+ "Ios16.silu" : 29
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 × 4 × 96 × 96)",
63
+ "shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
64
+ "shape" : "[1, 4, 96, 96]",
65
+ "name" : "z",
66
+ "type" : "MultiArray"
67
+ }
68
+ ],
69
+ "userDefinedMetadata" : {
70
+ "com.github.apple.coremltools.version" : "7.0b2",
71
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
72
+ },
73
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_1_0_vae_decoder",
74
+ "method" : "predict"
75
+ }
76
+ ]
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9de777d8a5be28417a49a2a284749105d97d2a1eb56d2bdb448d511c82061b3e
3
+ size 98993280
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base-ios_split_einsum_compiled/vocab.json ADDED
The diff for this file is too large to render. See raw diff