Add models for unchunked/original variants.
Browse files- unchunked/original/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
- unchunked/original/compiled/SafetyChecker.mlmodelc/coremldata.bin +3 -0
- unchunked/original/compiled/SafetyChecker.mlmodelc/metadata.json +122 -0
- unchunked/original/compiled/SafetyChecker.mlmodelc/model.mil +3 -0
- unchunked/original/compiled/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
- unchunked/original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- unchunked/original/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
- unchunked/original/compiled/TextEncoder.mlmodelc/metadata.json +85 -0
- unchunked/original/compiled/TextEncoder.mlmodelc/model.mil +3 -0
- unchunked/original/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
- unchunked/original/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
- unchunked/original/compiled/Unet.mlmodelc/coremldata.bin +3 -0
- unchunked/original/compiled/Unet.mlmodelc/metadata.json +101 -0
- unchunked/original/compiled/Unet.mlmodelc/model.mil +3 -0
- unchunked/original/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
- unchunked/original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- unchunked/original/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
- unchunked/original/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
- unchunked/original/compiled/VAEDecoder.mlmodelc/model.mil +3 -0
- unchunked/original/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- unchunked/original/compiled/merges.txt +0 -0
- unchunked/original/compiled/vocab.json +0 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.mlpackage/Manifest.json +18 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_text_encoder.mlpackage/Manifest.json +18 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_unet.mlpackage/Manifest.json +18 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_decoder.mlpackage/Manifest.json +18 -0
unchunked/original/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bea6d5521d498b5373807adbeac4c1dc7ee6d958fc0069834d6394f78692677
|
3 |
+
size 207
|
unchunked/original/compiled/SafetyChecker.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e410c00389354978c5610f602b807a7cc7aa91f67f9ab2a9b6af3bc07a27b494
|
3 |
+
size 1412
|
unchunked/original/compiled/SafetyChecker.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" : "Identical to the input `images`. If safety checker detected any sensitive content, the corresponding image is replaced with a blank image (zeros)",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "filtered_images",
|
14 |
+
"type" : "MultiArray"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"hasShapeFlexibility" : "0",
|
18 |
+
"isOptional" : "0",
|
19 |
+
"dataType" : "Float32",
|
20 |
+
"formattedType" : "MultiArray (Float32)",
|
21 |
+
"shortDescription" : "Indicates whether the safety checker model found any sensitive content in the given image",
|
22 |
+
"shape" : "[]",
|
23 |
+
"name" : "has_nsfw_concepts",
|
24 |
+
"type" : "MultiArray"
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"hasShapeFlexibility" : "0",
|
28 |
+
"isOptional" : "0",
|
29 |
+
"dataType" : "Float32",
|
30 |
+
"formattedType" : "MultiArray (Float32)",
|
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" : "[]",
|
33 |
+
"name" : "concept_scores",
|
34 |
+
"type" : "MultiArray"
|
35 |
+
}
|
36 |
+
],
|
37 |
+
"version" : "CompVis\/stable-diffusion-v1-4",
|
38 |
+
"modelParameters" : [
|
39 |
+
|
40 |
+
],
|
41 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/CompVis\/stable-diffusion-v1-4",
|
42 |
+
"specificationVersion" : 7,
|
43 |
+
"storagePrecision" : "Float16",
|
44 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
45 |
+
"mlProgramOperationTypeHistogram" : {
|
46 |
+
"Transpose" : 121,
|
47 |
+
"Ios16.scatterNd" : 1,
|
48 |
+
"Ios16.softmax" : 24,
|
49 |
+
"Ios16.linear" : 147,
|
50 |
+
"Ios16.add" : 51,
|
51 |
+
"Concat" : 1,
|
52 |
+
"Ios16.realDiv" : 1,
|
53 |
+
"Ios16.sigmoid" : 24,
|
54 |
+
"Ios16.reduceSum" : 3,
|
55 |
+
"Tile" : 4,
|
56 |
+
"Ios16.greater" : 4,
|
57 |
+
"Shape" : 1,
|
58 |
+
"ExpandDims" : 5,
|
59 |
+
"Ios16.cast" : 9,
|
60 |
+
"Ios16.clip" : 1,
|
61 |
+
"Ios16.conv" : 1,
|
62 |
+
"Ios16.abs" : 1,
|
63 |
+
"Ios16.layerNorm" : 50,
|
64 |
+
"Ios16.matmul" : 48,
|
65 |
+
"Ios16.pow" : 2,
|
66 |
+
"Ios16.reshape" : 193,
|
67 |
+
"SliceByIndex" : 2,
|
68 |
+
"Ios16.mul" : 73,
|
69 |
+
"NonZero" : 1
|
70 |
+
},
|
71 |
+
"computePrecision" : "Mixed (Float32, Float16, Int32)",
|
72 |
+
"isUpdatable" : "0",
|
73 |
+
"availability" : {
|
74 |
+
"macOS" : "13.0",
|
75 |
+
"tvOS" : "16.0",
|
76 |
+
"watchOS" : "9.0",
|
77 |
+
"iOS" : "16.0",
|
78 |
+
"macCatalyst" : "16.0"
|
79 |
+
},
|
80 |
+
"modelType" : {
|
81 |
+
"name" : "MLModelType_mlProgram"
|
82 |
+
},
|
83 |
+
"inputSchema" : [
|
84 |
+
{
|
85 |
+
"hasShapeFlexibility" : "0",
|
86 |
+
"isOptional" : "0",
|
87 |
+
"dataType" : "Float16",
|
88 |
+
"formattedType" : "MultiArray (Float16 1 × 3 × 224 × 224)",
|
89 |
+
"shortDescription" : "The normalized image input tensor resized to (224x224) in channels-first (BCHW) format",
|
90 |
+
"shape" : "[1, 3, 224, 224]",
|
91 |
+
"name" : "clip_input",
|
92 |
+
"type" : "MultiArray"
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"hasShapeFlexibility" : "0",
|
96 |
+
"isOptional" : "0",
|
97 |
+
"dataType" : "Float16",
|
98 |
+
"formattedType" : "MultiArray (Float16 1 × 512 × 512 × 3)",
|
99 |
+
"shortDescription" : "Output of the vae_decoder (512x512) in channels-last (BHWC) format",
|
100 |
+
"shape" : "[1, 512, 512, 3]",
|
101 |
+
"name" : "images",
|
102 |
+
"type" : "MultiArray"
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"hasShapeFlexibility" : "0",
|
106 |
+
"isOptional" : "0",
|
107 |
+
"dataType" : "Float16",
|
108 |
+
"formattedType" : "MultiArray (Float16 1)",
|
109 |
+
"shortDescription" : "Bias added to the concept scores to trade off increased recall for reduce precision in the safety checker classifier",
|
110 |
+
"shape" : "[1]",
|
111 |
+
"name" : "adjustment",
|
112 |
+
"type" : "MultiArray"
|
113 |
+
}
|
114 |
+
],
|
115 |
+
"userDefinedMetadata" : {
|
116 |
+
"com.github.apple.coremltools.version" : "6.1",
|
117 |
+
"com.github.apple.coremltools.source" : "torch==1.13.0"
|
118 |
+
},
|
119 |
+
"generatedClassName" : "Stable_Diffusion_version_CompVis_stable_diffusion_v1_4_safety_checker",
|
120 |
+
"method" : "predict"
|
121 |
+
}
|
122 |
+
]
|
unchunked/original/compiled/SafetyChecker.mlmodelc/model.mil
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:faa294d6af6b89866f8b087a01425c3b360b31a6cb8d83558a8aa864d983bd16
|
3 |
+
size 339498
|
unchunked/original/compiled/SafetyChecker.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9247becdae958a018b45745003ec208353a707da3934b177f744e85824b6a6c
|
3 |
+
size 607990114
|
unchunked/original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1adc4b000e1d3ac996fc66f3f781d47498a38d2fe9c1edc0af29870b86555e0d
|
3 |
+
size 207
|
unchunked/original/compiled/TextEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06bf95e0b4324b72134409e617fe38ce39f39026e1dd3a19121cbc6411df43d1
|
3 |
+
size 822
|
unchunked/original/compiled/TextEncoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 token embeddings as encoded by the Transformer model",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "last_hidden_state",
|
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" : "CompVis\/stable-diffusion-v1-4",
|
28 |
+
"modelParameters" : [
|
29 |
+
|
30 |
+
],
|
31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/CompVis\/stable-diffusion-v1-4",
|
32 |
+
"specificationVersion" : 7,
|
33 |
+
"storagePrecision" : "Float16",
|
34 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
35 |
+
"mlProgramOperationTypeHistogram" : {
|
36 |
+
"Ios16.cast" : 3,
|
37 |
+
"Ios16.mul" : 36,
|
38 |
+
"Ios16.layerNorm" : 25,
|
39 |
+
"Ios16.sub" : 1,
|
40 |
+
"BandPart" : 1,
|
41 |
+
"Stack" : 1,
|
42 |
+
"Ios16.sigmoid" : 12,
|
43 |
+
"Transpose" : 60,
|
44 |
+
"Ios16.linear" : 72,
|
45 |
+
"Ios16.add" : 37,
|
46 |
+
"Ios16.matmul" : 24,
|
47 |
+
"Ios16.softmax" : 12,
|
48 |
+
"ExpandDims" : 1,
|
49 |
+
"Ios16.gather" : 1,
|
50 |
+
"Ios16.gatherNd" : 1,
|
51 |
+
"Ios16.reshape" : 120,
|
52 |
+
"Ios16.reduceArgmax" : 1
|
53 |
+
},
|
54 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
55 |
+
"isUpdatable" : "0",
|
56 |
+
"availability" : {
|
57 |
+
"macOS" : "13.0",
|
58 |
+
"tvOS" : "16.0",
|
59 |
+
"watchOS" : "9.0",
|
60 |
+
"iOS" : "16.0",
|
61 |
+
"macCatalyst" : "16.0"
|
62 |
+
},
|
63 |
+
"modelType" : {
|
64 |
+
"name" : "MLModelType_mlProgram"
|
65 |
+
},
|
66 |
+
"inputSchema" : [
|
67 |
+
{
|
68 |
+
"hasShapeFlexibility" : "0",
|
69 |
+
"isOptional" : "0",
|
70 |
+
"dataType" : "Float32",
|
71 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
72 |
+
"shortDescription" : "The token ids that represent the input text",
|
73 |
+
"shape" : "[1, 77]",
|
74 |
+
"name" : "input_ids",
|
75 |
+
"type" : "MultiArray"
|
76 |
+
}
|
77 |
+
],
|
78 |
+
"userDefinedMetadata" : {
|
79 |
+
"com.github.apple.coremltools.version" : "6.1",
|
80 |
+
"com.github.apple.coremltools.source" : "torch==1.13.0"
|
81 |
+
},
|
82 |
+
"generatedClassName" : "Stable_Diffusion_version_CompVis_stable_diffusion_v1_4_text_encoder",
|
83 |
+
"method" : "predict"
|
84 |
+
}
|
85 |
+
]
|
unchunked/original/compiled/TextEncoder.mlmodelc/model.mil
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:574d578c3e43ad460332ef2638c8d6107f87b712529b2bf7fc9ebd7cca58988c
|
3 |
+
size 170475
|
unchunked/original/compiled/TextEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61924738b11b3ea1589744354e5615959b8fd14025e537cfec3d38afd553529b
|
3 |
+
size 246145536
|
unchunked/original/compiled/Unet.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c3061513d08eea3eb20cf27803c396e9aade3a3f95d037e2643185dc26441fe
|
3 |
+
size 207
|
unchunked/original/compiled/Unet.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2c5386340c36f66774bfcd79603ad23e3ba5d3c690073a25019396ec3ac9558
|
3 |
+
size 1203
|
unchunked/original/compiled/Unet.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 faciliate the reverse diffusion (denoising) process",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "noise_pred",
|
14 |
+
"type" : "MultiArray"
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"version" : "CompVis\/stable-diffusion-v1-4",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/CompVis\/stable-diffusion-v1-4",
|
22 |
+
"specificationVersion" : 7,
|
23 |
+
"storagePrecision" : "Float16",
|
24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
25 |
+
"mlProgramOperationTypeHistogram" : {
|
26 |
+
"UpsampleNearestNeighbor" : 3,
|
27 |
+
"Ios16.reduceMean" : 218,
|
28 |
+
"Ios16.sin" : 1,
|
29 |
+
"Ios16.softmax" : 32,
|
30 |
+
"Split" : 16,
|
31 |
+
"Ios16.add" : 265,
|
32 |
+
"Concat" : 14,
|
33 |
+
"Ios16.realDiv" : 61,
|
34 |
+
"Ios16.square" : 61,
|
35 |
+
"ExpandDims" : 3,
|
36 |
+
"Ios16.sub" : 109,
|
37 |
+
"Ios16.cast" : 1,
|
38 |
+
"Ios16.conv" : 282,
|
39 |
+
"Ios16.gelu" : 16,
|
40 |
+
"Ios16.matmul" : 64,
|
41 |
+
"Ios16.reshape" : 282,
|
42 |
+
"Ios16.batchNorm" : 61,
|
43 |
+
"Ios16.rsqrt" : 48,
|
44 |
+
"Ios16.silu" : 47,
|
45 |
+
"Ios16.sqrt" : 61,
|
46 |
+
"SliceByIndex" : 2,
|
47 |
+
"Ios16.mul" : 193,
|
48 |
+
"Ios16.cos" : 1
|
49 |
+
},
|
50 |
+
"computePrecision" : "Mixed (Float32, Float16, Int32)",
|
51 |
+
"isUpdatable" : "0",
|
52 |
+
"availability" : {
|
53 |
+
"macOS" : "13.0",
|
54 |
+
"tvOS" : "16.0",
|
55 |
+
"watchOS" : "9.0",
|
56 |
+
"iOS" : "16.0",
|
57 |
+
"macCatalyst" : "16.0"
|
58 |
+
},
|
59 |
+
"modelType" : {
|
60 |
+
"name" : "MLModelType_mlProgram"
|
61 |
+
},
|
62 |
+
"inputSchema" : [
|
63 |
+
{
|
64 |
+
"hasShapeFlexibility" : "0",
|
65 |
+
"isOptional" : "0",
|
66 |
+
"dataType" : "Float16",
|
67 |
+
"formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
|
68 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
69 |
+
"shape" : "[2, 4, 64, 64]",
|
70 |
+
"name" : "sample",
|
71 |
+
"type" : "MultiArray"
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"hasShapeFlexibility" : "0",
|
75 |
+
"isOptional" : "0",
|
76 |
+
"dataType" : "Float16",
|
77 |
+
"formattedType" : "MultiArray (Float16 2)",
|
78 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
79 |
+
"shape" : "[2]",
|
80 |
+
"name" : "timestep",
|
81 |
+
"type" : "MultiArray"
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"hasShapeFlexibility" : "0",
|
85 |
+
"isOptional" : "0",
|
86 |
+
"dataType" : "Float16",
|
87 |
+
"formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
|
88 |
+
"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.",
|
89 |
+
"shape" : "[2, 768, 1, 77]",
|
90 |
+
"name" : "encoder_hidden_states",
|
91 |
+
"type" : "MultiArray"
|
92 |
+
}
|
93 |
+
],
|
94 |
+
"userDefinedMetadata" : {
|
95 |
+
"com.github.apple.coremltools.version" : "6.1",
|
96 |
+
"com.github.apple.coremltools.source" : "torch==1.13.0"
|
97 |
+
},
|
98 |
+
"generatedClassName" : "Stable_Diffusion_version_CompVis_stable_diffusion_v1_4_unet",
|
99 |
+
"method" : "predict"
|
100 |
+
}
|
101 |
+
]
|
unchunked/original/compiled/Unet.mlmodelc/model.mil
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56d9567510d356db9eaa53712f79acd5d380701c49acfddd40973fe55900bcc4
|
3 |
+
size 842168
|
unchunked/original/compiled/Unet.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79779689f50c35dc4d04e89f7fe309db6aaddef853693a2361d8c66fa4260583
|
3 |
+
size 1719344896
|
unchunked/original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:970d7de0da7d467855f1bf6fbb72109e4841986e8bfe665b5f4a1f9c5ba011ff
|
3 |
+
size 207
|
unchunked/original/compiled/VAEDecoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb5af780e81cb72ddc4a58390b185b61b467db6ef1c60120aaaee301221de9e5
|
3 |
+
size 752
|
unchunked/original/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" : "CompVis\/stable-diffusion-v1-4",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/CompVis\/stable-diffusion-v1-4",
|
22 |
+
"specificationVersion" : 7,
|
23 |
+
"storagePrecision" : "Float16",
|
24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
25 |
+
"mlProgramOperationTypeHistogram" : {
|
26 |
+
"Ios16.cast" : 1,
|
27 |
+
"Ios16.mul" : 1,
|
28 |
+
"Ios16.sqrt" : 30,
|
29 |
+
"Ios16.sub" : 30,
|
30 |
+
"Transpose" : 3,
|
31 |
+
"UpsampleNearestNeighbor" : 3,
|
32 |
+
"Ios16.conv" : 36,
|
33 |
+
"Ios16.add" : 45,
|
34 |
+
"Ios16.linear" : 4,
|
35 |
+
"Ios16.matmul" : 2,
|
36 |
+
"Ios16.realDiv" : 30,
|
37 |
+
"Ios16.reduceMean" : 60,
|
38 |
+
"Ios16.softmax" : 1,
|
39 |
+
"Ios16.batchNorm" : 30,
|
40 |
+
"Ios16.square" : 30,
|
41 |
+
"Ios16.reshape" : 62,
|
42 |
+
"Ios16.silu" : 29
|
43 |
+
},
|
44 |
+
"computePrecision" : "Mixed (Float32, Float16, Int32)",
|
45 |
+
"isUpdatable" : "0",
|
46 |
+
"availability" : {
|
47 |
+
"macOS" : "13.0",
|
48 |
+
"tvOS" : "16.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" : "Float16",
|
61 |
+
"formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
|
62 |
+
"shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
|
63 |
+
"shape" : "[1, 4, 64, 64]",
|
64 |
+
"name" : "z",
|
65 |
+
"type" : "MultiArray"
|
66 |
+
}
|
67 |
+
],
|
68 |
+
"userDefinedMetadata" : {
|
69 |
+
"com.github.apple.coremltools.version" : "6.1",
|
70 |
+
"com.github.apple.coremltools.source" : "torch==1.13.0"
|
71 |
+
},
|
72 |
+
"generatedClassName" : "Stable_Diffusion_version_CompVis_stable_diffusion_v1_4_vae_decoder",
|
73 |
+
"method" : "predict"
|
74 |
+
}
|
75 |
+
]
|
unchunked/original/compiled/VAEDecoder.mlmodelc/model.mil
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5dc9e06601d2e01831cb578154e1061929bdae37fee1d5dc5878eba7b7bfd859
|
3 |
+
size 174067
|
unchunked/original/compiled/VAEDecoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e84dbc1a44f1d64dacfac1d84d3f92ec93e8562698b8595a7f2638bf31519f97
|
3 |
+
size 99039232
|
unchunked/original/compiled/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
unchunked/original/compiled/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:212a807b78b0ddd29401ecf746063a4845242323761e0c9ae5bf48183f0ff3e6
|
3 |
+
size 289346
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.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:c9247becdae958a018b45745003ec208353a707da3934b177f744e85824b6a6c
|
3 |
+
size 607990114
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"2B0711AD-9C3B-4F00-A308-9B47F4F145B7": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Specification",
|
7 |
+
"name": "model.mlmodel",
|
8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
9 |
+
},
|
10 |
+
"CF48C413-21C6-42F9-970A-8560846DCB11": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Weights",
|
13 |
+
"name": "weights",
|
14 |
+
"path": "com.apple.CoreML/weights"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "2B0711AD-9C3B-4F00-A308-9B47F4F145B7"
|
18 |
+
}
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_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:1860d44b84015c1acb733852ffd251004d4da2d1b007f91708438052d15b3477
|
3 |
+
size 145739
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_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:61924738b11b3ea1589744354e5615959b8fd14025e537cfec3d38afd553529b
|
3 |
+
size 246145536
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_text_encoder.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"77429F11-57E0-4AB9-B5AC-DA9C8B4F8B17": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Specification",
|
7 |
+
"name": "model.mlmodel",
|
8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
9 |
+
},
|
10 |
+
"D8A2065D-7B1E-4480-8F18-BD9DD0787700": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Weights",
|
13 |
+
"name": "weights",
|
14 |
+
"path": "com.apple.CoreML/weights"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "77429F11-57E0-4AB9-B5AC-DA9C8B4F8B17"
|
18 |
+
}
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_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:42b1d50782b2cfa582b44252bcc52a4d81e52418676c614501371d850f14f526
|
3 |
+
size 723088
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_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:79779689f50c35dc4d04e89f7fe309db6aaddef853693a2361d8c66fa4260583
|
3 |
+
size 1719344896
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_unet.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"73A9A694-2E80-4270-89BF-0D1B6BF0224B": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"8FA36517-FDF1-4B70-8453-839302E1D378": {
|
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": "8FA36517-FDF1-4B70-8453-839302E1D378"
|
18 |
+
}
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_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:acf544862be42881bd5a9db621b480f7c53bd3103af2bbf38196ec3f80e90856
|
3 |
+
size 147318
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_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:e84dbc1a44f1d64dacfac1d84d3f92ec93e8562698b8595a7f2638bf31519f97
|
3 |
+
size 99039232
|
unchunked/original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_decoder.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"255F9513-369C-443A-B789-3BF75513EB52": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Specification",
|
7 |
+
"name": "model.mlmodel",
|
8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
9 |
+
},
|
10 |
+
"5709E1FC-2E5E-439E-94AF-9BC547678428": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Weights",
|
13 |
+
"name": "weights",
|
14 |
+
"path": "com.apple.CoreML/weights"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "255F9513-369C-443A-B789-3BF75513EB52"
|
18 |
+
}
|