neonforestmist commited on
Commit
520eb94
·
verified ·
1 Parent(s): 332ad84

Add files using upload-large-folder tool

Browse files
SafetyChecker.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ce84e71c14d26c8d655425ebd3299692f1948e213228e9f427f9d7831cc5963
3
+ size 243
SafetyChecker.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7425b537a536549ab5db59f87b7cde670cfaf1636a64f424710cbeeb70b893b0
3
+ size 1543
SafetyChecker.mlmodelc/metadata.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 512 × 512 × 3)",
11
+ "shortDescription" : "Identical to the input `images`. If safety checker detected any sensitive content, the corresponding image is replaced with a blank image (zeros)",
12
+ "shape" : "[1, 512, 512, 3]",
13
+ "name" : "filtered_images",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 1 × 1 × 1 × 1)",
21
+ "shortDescription" : "Indicates whether the safety checker model found any sensitive content in the given image",
22
+ "shape" : "[1, 1, 1, 1]",
23
+ "name" : "has_nsfw_concepts",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32 1 × 17)",
31
+ "shortDescription" : "Concept scores are the scores before thresholding at zero yields the `has_nsfw_concepts` output. These scores can be used to tune the `adjustment` input",
32
+ "shape" : "[1, 17]",
33
+ "name" : "concept_scores",
34
+ "type" : "MultiArray"
35
+ }
36
+ ],
37
+ "version" : "clover-image-tiny-inpaint",
38
+ "modelParameters" : [
39
+
40
+ ],
41
+ "author" : "Please refer to the Model Card available at huggingface.co\/clover-image-tiny-inpaint",
42
+ "specificationVersion" : 9,
43
+ "storagePrecision" : "Float16",
44
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
45
+ "mlProgramOperationTypeHistogram" : {
46
+ "Ios18.expandDims" : 4,
47
+ "Ios18.softmax" : 24,
48
+ "Ios18.mul" : 73,
49
+ "Ios18.matmul" : 48,
50
+ "Ios18.realDiv" : 1,
51
+ "Ios18.sigmoid" : 24,
52
+ "Ios18.equal" : 1,
53
+ "Ios18.greaterEqual" : 1,
54
+ "Select" : 2,
55
+ "Ios18.greater" : 4,
56
+ "Tile" : 4,
57
+ "Ios16.reduceSum" : 2,
58
+ "Ios18.add" : 52,
59
+ "Ios18.layerNorm" : 50,
60
+ "Ios18.scatterNd" : 1,
61
+ "Ios18.reshape" : 97,
62
+ "Shape" : 1,
63
+ "Ios18.maximum" : 1,
64
+ "Ios18.linear" : 147,
65
+ "Ios18.conv" : 1,
66
+ "Ios18.concat" : 2,
67
+ "Ios18.transpose" : 97,
68
+ "Ios18.cast" : 7,
69
+ "Ios18.sliceByIndex" : 2,
70
+ "NonZero" : 1,
71
+ "Ios16.reduceL2Norm" : 1
72
+ },
73
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
74
+ "stateSchema" : [
75
+
76
+ ],
77
+ "isUpdatable" : "0",
78
+ "availability" : {
79
+ "macOS" : "15.0",
80
+ "tvOS" : "18.0",
81
+ "visionOS" : "2.0",
82
+ "watchOS" : "11.0",
83
+ "iOS" : "18.0",
84
+ "macCatalyst" : "18.0"
85
+ },
86
+ "modelType" : {
87
+ "name" : "MLModelType_mlProgram"
88
+ },
89
+ "inputSchema" : [
90
+ {
91
+ "hasShapeFlexibility" : "0",
92
+ "isOptional" : "0",
93
+ "dataType" : "Float16",
94
+ "formattedType" : "MultiArray (Float16 1 × 3 × 224 × 224)",
95
+ "shortDescription" : "The normalized image input tensor resized to (224x224) in channels-first (BCHW) format",
96
+ "shape" : "[1, 3, 224, 224]",
97
+ "name" : "clip_input",
98
+ "type" : "MultiArray"
99
+ },
100
+ {
101
+ "hasShapeFlexibility" : "0",
102
+ "isOptional" : "0",
103
+ "dataType" : "Float16",
104
+ "formattedType" : "MultiArray (Float16 1 × 512 × 512 × 3)",
105
+ "shortDescription" : "Output of the vae_decoder (512x512) in channels-last (BHWC) format",
106
+ "shape" : "[1, 512, 512, 3]",
107
+ "name" : "images",
108
+ "type" : "MultiArray"
109
+ },
110
+ {
111
+ "hasShapeFlexibility" : "0",
112
+ "isOptional" : "0",
113
+ "dataType" : "Float16",
114
+ "formattedType" : "MultiArray (Float16 1)",
115
+ "shortDescription" : "Bias added to the concept scores to trade off increased recall for reduce precision in the safety checker classifier",
116
+ "shape" : "[1]",
117
+ "name" : "adjustment",
118
+ "type" : "MultiArray"
119
+ }
120
+ ],
121
+ "userDefinedMetadata" : {
122
+ "com.github.apple.coremltools.conversion_date" : "2026-08-10",
123
+ "com.github.apple.coremltools.source" : "torch==2.7.0",
124
+ "com.github.apple.coremltools.version" : "9.0",
125
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
126
+ },
127
+ "generatedClassName" : "Stable_Diffusion_version_clover_image_tiny_inpaint_safety_checker",
128
+ "method" : "predict"
129
+ }
130
+ ]
SafetyChecker.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
SafetyChecker.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffdfb1a4774feb816dd2ccc3e304d109013bc9591e188dcab840789583fdc1b4
3
+ size 607990114
TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:933b2c64d95e0816d52c0b77bd714a0f6e6a2ce7f11219521d8f130ab6adc696
3
+ size 243
TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ce87b6dd6d848c36fefaf1a6808a1bf80839f3eb8d621eb8fdcb6a1077bc5f4
3
+ size 946
TextEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 77 × 768)",
11
+ "shortDescription" : "The token embeddings as encoded by the Transformer model",
12
+ "shape" : "[1, 77, 768]",
13
+ "name" : "last_hidden_state",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 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" : "clover-image-tiny-inpaint",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/clover-image-tiny-inpaint",
32
+ "specificationVersion" : 9,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios18.linear" : 71,
37
+ "Ios18.matmul" : 24,
38
+ "Select" : 1,
39
+ "Ios18.reduceArgmax" : 1,
40
+ "Ios18.gather" : 1,
41
+ "Ios18.sigmoid" : 12,
42
+ "Ios18.add" : 38,
43
+ "Stack" : 1,
44
+ "Ios18.softmax" : 12,
45
+ "Ios18.layerNorm" : 25,
46
+ "Ios18.transpose" : 48,
47
+ "Ios18.cast" : 4,
48
+ "Ios18.gatherNd" : 1,
49
+ "Ios18.reshape" : 47,
50
+ "Ios18.greaterEqual" : 1,
51
+ "Ios18.mul" : 36
52
+ },
53
+ "computePrecision" : "Mixed (Float16, Float32, Int32, UInt16)",
54
+ "stateSchema" : [
55
+
56
+ ],
57
+ "isUpdatable" : "0",
58
+ "availability" : {
59
+ "macOS" : "15.0",
60
+ "tvOS" : "18.0",
61
+ "visionOS" : "2.0",
62
+ "watchOS" : "11.0",
63
+ "iOS" : "18.0",
64
+ "macCatalyst" : "18.0"
65
+ },
66
+ "modelType" : {
67
+ "name" : "MLModelType_mlProgram"
68
+ },
69
+ "inputSchema" : [
70
+ {
71
+ "hasShapeFlexibility" : "0",
72
+ "isOptional" : "0",
73
+ "dataType" : "Float32",
74
+ "formattedType" : "MultiArray (Float32 1 × 77)",
75
+ "shortDescription" : "The token ids that represent the input text",
76
+ "shape" : "[1, 77]",
77
+ "name" : "input_ids",
78
+ "type" : "MultiArray"
79
+ }
80
+ ],
81
+ "userDefinedMetadata" : {
82
+ "com.github.apple.coremltools.conversion_date" : "2026-08-10",
83
+ "com.github.apple.coremltools.source" : "torch==2.7.0",
84
+ "com.github.apple.coremltools.version" : "9.0",
85
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
86
+ },
87
+ "generatedClassName" : "Stable_Diffusion_version_clover_image_tiny_inpaint_text_encoder",
88
+ "method" : "predict"
89
+ }
90
+ ]
TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79b9260c79cbb5b3ed22088fd2765aa5fc1b4b1c24a688537c2439276798ab0c
3
+ size 244957824
UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c79e4e6107a0878b51625390eb1389466e2df8b0ca2436f477dc6a2935484c9
3
+ size 243
UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f78341f190d8fd01269c31f7d0a7576f3df9cafa007f7dcf47915d9d598d4da
3
+ size 532
UnetChunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 1 × 640 × 16 × 16)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1, 640, 16, 16]",
13
+ "name" : "input_65_cast_fp16",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 1 × 1280 × 1 × 256)",
21
+ "shortDescription" : "",
22
+ "shape" : "[1, 1280, 1, 256]",
23
+ "name" : "inputs_23_cast_fp16",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32 1 × 10240 × 1 × 256)",
31
+ "shortDescription" : "",
32
+ "shape" : "[1, 10240, 1, 256]",
33
+ "name" : "var_2337_cast_fp16",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float32",
40
+ "formattedType" : "MultiArray (Float32 1 × 1280 × 1 × 1)",
41
+ "shortDescription" : "",
42
+ "shape" : "[1, 1280, 1, 1]",
43
+ "name" : "input_15_cast_fp16",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float32",
50
+ "formattedType" : "MultiArray (Float32 1 × 320 × 64 × 64)",
51
+ "shortDescription" : "",
52
+ "shape" : "[1, 320, 64, 64]",
53
+ "name" : "input_7_cast_fp16",
54
+ "type" : "MultiArray"
55
+ },
56
+ {
57
+ "hasShapeFlexibility" : "0",
58
+ "isOptional" : "0",
59
+ "dataType" : "Float32",
60
+ "formattedType" : "MultiArray (Float32 1 × 1280 × 16 × 16)",
61
+ "shortDescription" : "",
62
+ "shape" : "[1, 1280, 16, 16]",
63
+ "name" : "hidden_states_61_cast_fp16",
64
+ "type" : "MultiArray"
65
+ },
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float32",
70
+ "formattedType" : "MultiArray (Float32 1 × 320 × 64 × 64)",
71
+ "shortDescription" : "",
72
+ "shape" : "[1, 320, 64, 64]",
73
+ "name" : "input_35_cast_fp16",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float32",
80
+ "formattedType" : "MultiArray (Float32 1 × 640 × 32 × 32)",
81
+ "shortDescription" : "",
82
+ "shape" : "[1, 640, 32, 32]",
83
+ "name" : "input_63_cast_fp16",
84
+ "type" : "MultiArray"
85
+ },
86
+ {
87
+ "hasShapeFlexibility" : "0",
88
+ "isOptional" : "0",
89
+ "dataType" : "Float32",
90
+ "formattedType" : "MultiArray (Float32 1 × 320 × 32 × 32)",
91
+ "shortDescription" : "",
92
+ "shape" : "[1, 320, 32, 32]",
93
+ "name" : "input_37_cast_fp16",
94
+ "type" : "MultiArray"
95
+ }
96
+ ],
97
+ "modelParameters" : [
98
+
99
+ ],
100
+ "specificationVersion" : 9,
101
+ "mlProgramOperationTypeHistogram" : {
102
+ "Ios18.expandDims" : 3,
103
+ "Ios18.softmax" : 64,
104
+ "Ios18.cos" : 1,
105
+ "Ios18.mul" : 68,
106
+ "Ios18.batchNorm" : 12,
107
+ "Ios16.reduceMean" : 24,
108
+ "Ios18.realDiv" : 12,
109
+ "Ios18.sin" : 1,
110
+ "Split" : 3,
111
+ "Ios18.add" : 34,
112
+ "Ios18.layerNorm" : 12,
113
+ "Ios18.reshape" : 31,
114
+ "Ios18.conv" : 66,
115
+ "Ios18.concat" : 11,
116
+ "Ios16.einsum" : 128,
117
+ "Ios18.sub" : 12,
118
+ "Ios18.silu" : 10,
119
+ "Ios18.transpose" : 8,
120
+ "Ios18.sqrt" : 12,
121
+ "Ios18.gelu" : 3,
122
+ "Ios18.square" : 12,
123
+ "Ios18.cast" : 9,
124
+ "Ios18.sliceByIndex" : 194
125
+ },
126
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
127
+ "isUpdatable" : "0",
128
+ "stateSchema" : [
129
+
130
+ ],
131
+ "availability" : {
132
+ "macOS" : "15.0",
133
+ "tvOS" : "18.0",
134
+ "visionOS" : "2.0",
135
+ "watchOS" : "11.0",
136
+ "iOS" : "18.0",
137
+ "macCatalyst" : "18.0"
138
+ },
139
+ "modelType" : {
140
+ "name" : "MLModelType_mlProgram"
141
+ },
142
+ "userDefinedMetadata" : {
143
+
144
+ },
145
+ "inputSchema" : [
146
+ {
147
+ "hasShapeFlexibility" : "0",
148
+ "isOptional" : "0",
149
+ "dataType" : "Float16",
150
+ "formattedType" : "MultiArray (Float16 1 × 9 × 64 × 64)",
151
+ "shortDescription" : "",
152
+ "shape" : "[1, 9, 64, 64]",
153
+ "name" : "sample",
154
+ "type" : "MultiArray"
155
+ },
156
+ {
157
+ "hasShapeFlexibility" : "0",
158
+ "isOptional" : "0",
159
+ "dataType" : "Float16",
160
+ "formattedType" : "MultiArray (Float16 1)",
161
+ "shortDescription" : "",
162
+ "shape" : "[1]",
163
+ "name" : "timestep",
164
+ "type" : "MultiArray"
165
+ },
166
+ {
167
+ "hasShapeFlexibility" : "0",
168
+ "isOptional" : "0",
169
+ "dataType" : "Float16",
170
+ "formattedType" : "MultiArray (Float16 1 × 768 × 1 × 77)",
171
+ "shortDescription" : "",
172
+ "shape" : "[1, 768, 1, 77]",
173
+ "name" : "encoder_hidden_states",
174
+ "type" : "MultiArray"
175
+ }
176
+ ],
177
+ "generatedClassName" : "Stable_Diffusion_version_clover_image_tiny_inpaint_unet_chunk1",
178
+ "method" : "predict"
179
+ }
180
+ ]
UnetChunk1.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15d72e32d29f8aa5813a0bc9fca0ccdf1063411b91c496ec20fa6a25af8fdc13
3
+ size 324651584
UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a468503aee82948546a734364424194ba66fe01ca5d4fd403fc75f7569234ed
3
+ size 243
UnetChunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45154abdc0829837df1817882dc4d6fe759241b60a55a316f735785999e3daac
3
+ size 513
UnetChunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 1 × 4 × 64 × 64)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1, 4, 64, 64]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 9,
21
+ "mlProgramOperationTypeHistogram" : {
22
+ "Ios18.softmax" : 80,
23
+ "Ios18.mul" : 86,
24
+ "UpsampleNearestNeighbor" : 2,
25
+ "Ios18.batchNorm" : 16,
26
+ "Ios16.reduceMean" : 32,
27
+ "Ios18.realDiv" : 16,
28
+ "Split" : 6,
29
+ "Ios18.add" : 48,
30
+ "Ios18.layerNorm" : 15,
31
+ "Ios18.reshape" : 43,
32
+ "Ios18.conv" : 85,
33
+ "Ios18.gelu" : 6,
34
+ "Ios18.concat" : 15,
35
+ "Ios18.sub" : 16,
36
+ "Ios16.einsum" : 160,
37
+ "Ios18.silu" : 11,
38
+ "Ios18.cast" : 10,
39
+ "Ios18.transpose" : 10,
40
+ "Ios18.square" : 16,
41
+ "Ios18.sqrt" : 16,
42
+ "Ios18.sliceByIndex" : 240
43
+ },
44
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
45
+ "isUpdatable" : "0",
46
+ "stateSchema" : [
47
+
48
+ ],
49
+ "availability" : {
50
+ "macOS" : "15.0",
51
+ "tvOS" : "18.0",
52
+ "visionOS" : "2.0",
53
+ "watchOS" : "11.0",
54
+ "iOS" : "18.0",
55
+ "macCatalyst" : "18.0"
56
+ },
57
+ "modelType" : {
58
+ "name" : "MLModelType_mlProgram"
59
+ },
60
+ "userDefinedMetadata" : {
61
+
62
+ },
63
+ "inputSchema" : [
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float16",
68
+ "formattedType" : "MultiArray (Float16 1 × 768 × 1 × 77)",
69
+ "shortDescription" : "",
70
+ "shape" : "[1, 768, 1, 77]",
71
+ "name" : "encoder_hidden_states",
72
+ "type" : "MultiArray"
73
+ },
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float32",
78
+ "formattedType" : "MultiArray (Float32 1 × 320 × 64 × 64)",
79
+ "shortDescription" : "",
80
+ "shape" : "[1, 320, 64, 64]",
81
+ "name" : "input_7_cast_fp16",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float32",
88
+ "formattedType" : "MultiArray (Float32 1 × 640 × 16 × 16)",
89
+ "shortDescription" : "",
90
+ "shape" : "[1, 640, 16, 16]",
91
+ "name" : "input_65_cast_fp16",
92
+ "type" : "MultiArray"
93
+ },
94
+ {
95
+ "hasShapeFlexibility" : "0",
96
+ "isOptional" : "0",
97
+ "dataType" : "Float32",
98
+ "formattedType" : "MultiArray (Float32 1 × 1280 × 1 × 256)",
99
+ "shortDescription" : "",
100
+ "shape" : "[1, 1280, 1, 256]",
101
+ "name" : "inputs_23_cast_fp16",
102
+ "type" : "MultiArray"
103
+ },
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float32",
108
+ "formattedType" : "MultiArray (Float32 1 × 1280 × 1 × 1)",
109
+ "shortDescription" : "",
110
+ "shape" : "[1, 1280, 1, 1]",
111
+ "name" : "input_15_cast_fp16",
112
+ "type" : "MultiArray"
113
+ },
114
+ {
115
+ "hasShapeFlexibility" : "0",
116
+ "isOptional" : "0",
117
+ "dataType" : "Float32",
118
+ "formattedType" : "MultiArray (Float32 1 × 1280 × 16 × 16)",
119
+ "shortDescription" : "",
120
+ "shape" : "[1, 1280, 16, 16]",
121
+ "name" : "hidden_states_61_cast_fp16",
122
+ "type" : "MultiArray"
123
+ },
124
+ {
125
+ "hasShapeFlexibility" : "0",
126
+ "isOptional" : "0",
127
+ "dataType" : "Float32",
128
+ "formattedType" : "MultiArray (Float32 1 × 320 × 64 × 64)",
129
+ "shortDescription" : "",
130
+ "shape" : "[1, 320, 64, 64]",
131
+ "name" : "input_35_cast_fp16",
132
+ "type" : "MultiArray"
133
+ },
134
+ {
135
+ "hasShapeFlexibility" : "0",
136
+ "isOptional" : "0",
137
+ "dataType" : "Float32",
138
+ "formattedType" : "MultiArray (Float32 1 × 10240 × 1 × 256)",
139
+ "shortDescription" : "",
140
+ "shape" : "[1, 10240, 1, 256]",
141
+ "name" : "var_2337_cast_fp16",
142
+ "type" : "MultiArray"
143
+ },
144
+ {
145
+ "hasShapeFlexibility" : "0",
146
+ "isOptional" : "0",
147
+ "dataType" : "Float32",
148
+ "formattedType" : "MultiArray (Float32 1 × 320 × 32 × 32)",
149
+ "shortDescription" : "",
150
+ "shape" : "[1, 320, 32, 32]",
151
+ "name" : "input_37_cast_fp16",
152
+ "type" : "MultiArray"
153
+ },
154
+ {
155
+ "hasShapeFlexibility" : "0",
156
+ "isOptional" : "0",
157
+ "dataType" : "Float32",
158
+ "formattedType" : "MultiArray (Float32 1 × 640 × 32 × 32)",
159
+ "shortDescription" : "",
160
+ "shape" : "[1, 640, 32, 32]",
161
+ "name" : "input_63_cast_fp16",
162
+ "type" : "MultiArray"
163
+ }
164
+ ],
165
+ "generatedClassName" : "Stable_Diffusion_version_clover_image_tiny_inpaint_unet_chunk2",
166
+ "method" : "predict"
167
+ }
168
+ ]
UnetChunk2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06720754c9b2d5f1165a7989f07be3cb8a879f68363b27f85820afb47ce9353d
3
+ size 322211328
VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd5e8ee0e1e8766ed20fc56a213be2a7319998d4603fad7d5d3fbf11f74b0fea
3
+ size 243
VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5871a4489e3fe7daf6244257e715f27c55281affea5d6fa0de0caefc8092615
3
+ size 873
VAEDecoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 512 × 512)",
11
+ "shortDescription" : "Generated image normalized to range [-1, 1]",
12
+ "shape" : "[1, 3, 512, 512]",
13
+ "name" : "image",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "clover-image-tiny-inpaint",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/clover-image-tiny-inpaint",
22
+ "specificationVersion" : 9,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Ios18.square" : 30,
27
+ "Ios18.batchNorm" : 29,
28
+ "Ios18.conv" : 36,
29
+ "Ios18.sub" : 30,
30
+ "Ios18.linear" : 4,
31
+ "Ios18.scaledDotProductAttention" : 1,
32
+ "Ios18.add" : 46,
33
+ "Ios18.realDiv" : 30,
34
+ "Ios18.silu" : 29,
35
+ "Ios16.reduceMean" : 60,
36
+ "UpsampleNearestNeighbor" : 3,
37
+ "Ios18.transpose" : 6,
38
+ "Ios18.cast" : 1,
39
+ "Ios18.reshape" : 65,
40
+ "Ios18.sqrt" : 30,
41
+ "Ios18.mul" : 1
42
+ },
43
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
44
+ "stateSchema" : [
45
+
46
+ ],
47
+ "isUpdatable" : "0",
48
+ "availability" : {
49
+ "macOS" : "15.0",
50
+ "tvOS" : "18.0",
51
+ "visionOS" : "2.0",
52
+ "watchOS" : "11.0",
53
+ "iOS" : "18.0",
54
+ "macCatalyst" : "18.0"
55
+ },
56
+ "modelType" : {
57
+ "name" : "MLModelType_mlProgram"
58
+ },
59
+ "inputSchema" : [
60
+ {
61
+ "hasShapeFlexibility" : "0",
62
+ "isOptional" : "0",
63
+ "dataType" : "Float16",
64
+ "formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
65
+ "shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
66
+ "shape" : "[1, 4, 64, 64]",
67
+ "name" : "z",
68
+ "type" : "MultiArray"
69
+ }
70
+ ],
71
+ "userDefinedMetadata" : {
72
+ "com.github.apple.coremltools.conversion_date" : "2026-08-10",
73
+ "com.github.apple.coremltools.source" : "torch==2.7.0",
74
+ "com.github.apple.coremltools.version" : "9.0",
75
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
76
+ },
77
+ "generatedClassName" : "Stable_Diffusion_version_clover_image_tiny_inpaint_vae_decoder",
78
+ "method" : "predict"
79
+ }
80
+ ]
VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca45a093443d3a9719c5f7c61010315e94ffc8019eff27a0eeb52075a05ac752
3
+ size 98993280
VAEEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e060c88a7c335fc597b5a583d7e43da35ab398819dbfed9e57f5a02c28cffb15
3
+ size 243
VAEEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4a4dfa8b3370da5e69a7ad0c14d06b3e1ce550a32ccc8dabb1f60e68ae53d0c
3
+ size 877
VAEEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 8 × 64 × 64)",
11
+ "shortDescription" : "The latent embeddings from the unet model from the input image.",
12
+ "shape" : "[1, 8, 64, 64]",
13
+ "name" : "latent",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "clover-image-tiny-inpaint",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/clover-image-tiny-inpaint",
22
+ "specificationVersion" : 9,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Ios18.square" : 22,
27
+ "Ios18.batchNorm" : 21,
28
+ "Ios18.mul" : 1,
29
+ "Ios18.sub" : 22,
30
+ "Ios18.conv" : 28,
31
+ "Ios18.linear" : 4,
32
+ "Ios18.scaledDotProductAttention" : 1,
33
+ "Ios18.add" : 34,
34
+ "Ios18.realDiv" : 22,
35
+ "Ios18.silu" : 21,
36
+ "Ios16.reduceMean" : 44,
37
+ "Ios18.transpose" : 6,
38
+ "Ios18.cast" : 1,
39
+ "Ios18.reshape" : 49,
40
+ "Ios18.sqrt" : 22,
41
+ "Pad" : 3
42
+ },
43
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
44
+ "stateSchema" : [
45
+
46
+ ],
47
+ "isUpdatable" : "0",
48
+ "availability" : {
49
+ "macOS" : "15.0",
50
+ "tvOS" : "18.0",
51
+ "visionOS" : "2.0",
52
+ "watchOS" : "11.0",
53
+ "iOS" : "18.0",
54
+ "macCatalyst" : "18.0"
55
+ },
56
+ "modelType" : {
57
+ "name" : "MLModelType_mlProgram"
58
+ },
59
+ "inputSchema" : [
60
+ {
61
+ "hasShapeFlexibility" : "0",
62
+ "isOptional" : "0",
63
+ "dataType" : "Float16",
64
+ "formattedType" : "MultiArray (Float16 1 × 3 × 512 × 512)",
65
+ "shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
66
+ "shape" : "[1, 3, 512, 512]",
67
+ "name" : "x",
68
+ "type" : "MultiArray"
69
+ }
70
+ ],
71
+ "userDefinedMetadata" : {
72
+ "com.github.apple.coremltools.conversion_date" : "2026-08-10",
73
+ "com.github.apple.coremltools.source" : "torch==2.7.0",
74
+ "com.github.apple.coremltools.version" : "9.0",
75
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
76
+ },
77
+ "generatedClassName" : "Stable_Diffusion_version_clover_image_tiny_inpaint_vae_encoder",
78
+ "method" : "predict"
79
+ }
80
+ ]
VAEEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
VAEEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71bf826e5ee1b455462aff0b34e3a469f5f58955ae715708962b1d81db92dc64
3
+ size 68338112
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
vocab.json ADDED
The diff for this file is too large to render. See raw diff