Add files for stable-diffusion-1-4-palettized
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- coreml-stable-diffusion-1-4-palettized_original_compiled.zip +3 -0
- coreml-stable-diffusion-1-4-palettized_split_einsum_v2_compiled.zip +3 -0
- original/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/SafetyChecker.mlmodelc/coremldata.bin +3 -0
- original/compiled/SafetyChecker.mlmodelc/metadata.json +122 -0
- original/compiled/SafetyChecker.mlmodelc/model.mil +0 -0
- original/compiled/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
- original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
- original/compiled/TextEncoder.mlmodelc/metadata.json +83 -0
- original/compiled/TextEncoder.mlmodelc/model.mil +0 -0
- original/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
- original/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/Unet.mlmodelc/coremldata.bin +3 -0
- original/compiled/Unet.mlmodelc/metadata.json +102 -0
- original/compiled/Unet.mlmodelc/model.mil +0 -0
- original/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
- original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
- original/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
- original/compiled/VAEDecoder.mlmodelc/model.mil +0 -0
- original/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
- original/compiled/VAEEncoder.mlmodelc/metadata.json +75 -0
- original/compiled/VAEEncoder.mlmodelc/model.mil +0 -0
- original/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
- original/compiled/merges.txt +0 -0
- original/compiled/vocab.json +0 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_safety_checker.mlpackage/Manifest.json +18 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_text_encoder.mlpackage/Manifest.json +18 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_unet.mlpackage/Manifest.json +18 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_decoder.mlpackage/Manifest.json +18 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_encoder.mlpackage/Manifest.json +18 -0
- split_einsum_v2/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
- split_einsum_v2/compiled/SafetyChecker.mlmodelc/coremldata.bin +3 -0
- split_einsum_v2/compiled/SafetyChecker.mlmodelc/metadata.json +122 -0
- split_einsum_v2/compiled/SafetyChecker.mlmodelc/model.mil +0 -0
- split_einsum_v2/compiled/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
- split_einsum_v2/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
coreml-stable-diffusion-1-4-palettized_original_compiled.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9523a8d63dfee7f8044e62fa636c6945b859bbaebd388685088a33c1cfe07e7d
|
3 |
+
size 1563648735
|
coreml-stable-diffusion-1-4-palettized_split_einsum_v2_compiled.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fabf8f28478473abcf1c6288d35cc6faf1a399b09cb4813a8cb8bc44de2b734e
|
3 |
+
size 1565721660
|
original/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a9069793905bd64c61471662d247051f975c417659c7a9dd4ed535bb9f09563
|
3 |
+
size 207
|
original/compiled/SafetyChecker.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb231ab31095b3b27b7f8e4b94b2554adcc3def4c6c486b6b6da81b55207a616
|
3 |
+
size 1413
|
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" : 7,
|
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 (Float16, Float32, 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" : "7.0b1",
|
117 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
118 |
+
},
|
119 |
+
"generatedClassName" : "Stable_Diffusion_version_CompVis_stable_diffusion_v1_4_safety_checker",
|
120 |
+
"method" : "predict"
|
121 |
+
}
|
122 |
+
]
|
original/compiled/SafetyChecker.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
original/compiled/SafetyChecker.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5fc2c3d772614a206c40e0b0bb6202bcbc429df958d0f1d2ec59c8275869097
|
3 |
+
size 607990114
|
original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:270b2f4719eeacb851afbd8e0b6b1945050a6ffee57f04ec85227727e8bf5e04
|
3 |
+
size 207
|
original/compiled/TextEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad93f2ba70a018ed815f96bc3353134260a67adb0eec25e729f45941f1370233
|
3 |
+
size 823
|
original/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" : "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" : "Mixed (Float16, Palettized (6 bits))",
|
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.constexprLutToDense" : 86,
|
40 |
+
"Stack" : 1,
|
41 |
+
"Transpose" : 60,
|
42 |
+
"Ios16.sigmoid" : 12,
|
43 |
+
"Ios16.linear" : 72,
|
44 |
+
"Ios16.add" : 37,
|
45 |
+
"Ios16.matmul" : 24,
|
46 |
+
"Ios16.softmax" : 12,
|
47 |
+
"Ios16.gatherNd" : 1,
|
48 |
+
"Ios16.gather" : 1,
|
49 |
+
"Ios16.reshape" : 120,
|
50 |
+
"Ios16.reduceArgmax" : 1
|
51 |
+
},
|
52 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
53 |
+
"isUpdatable" : "0",
|
54 |
+
"availability" : {
|
55 |
+
"macOS" : "13.0",
|
56 |
+
"tvOS" : "16.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_CompVis_stable_diffusion_v1_4_text_encoder",
|
81 |
+
"method" : "predict"
|
82 |
+
}
|
83 |
+
]
|
original/compiled/TextEncoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
original/compiled/TextEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16d832c2bdadc6d96cd14ed8b6894087751bbc1c37eb3429aecfa0ca027c79a5
|
3 |
+
size 139866304
|
original/compiled/Unet.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b5bef2e6bb8b2c406480292c435d3ff26f887c78994f858289206a7bdcb3fa3
|
3 |
+
size 207
|
original/compiled/Unet.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7326bbcb8bd21b4e6708c398c897a22138037ace2f7ed254e93865499fd230e3
|
3 |
+
size 1205
|
original/compiled/Unet.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" : "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" : "Mixed (Float16, Palettized (6 bits))",
|
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.constexprLutToDense" : 310,
|
40 |
+
"Ios16.gelu" : 16,
|
41 |
+
"Ios16.matmul" : 64,
|
42 |
+
"Ios16.batchNorm" : 61,
|
43 |
+
"Ios16.reshape" : 282,
|
44 |
+
"Ios16.rsqrt" : 48,
|
45 |
+
"Ios16.silu" : 47,
|
46 |
+
"Ios16.sqrt" : 61,
|
47 |
+
"Ios16.mul" : 193,
|
48 |
+
"Ios16.cos" : 1,
|
49 |
+
"SliceByIndex" : 2
|
50 |
+
},
|
51 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
52 |
+
"isUpdatable" : "0",
|
53 |
+
"availability" : {
|
54 |
+
"macOS" : "13.0",
|
55 |
+
"tvOS" : "16.0",
|
56 |
+
"watchOS" : "9.0",
|
57 |
+
"iOS" : "16.0",
|
58 |
+
"macCatalyst" : "16.0"
|
59 |
+
},
|
60 |
+
"modelType" : {
|
61 |
+
"name" : "MLModelType_mlProgram"
|
62 |
+
},
|
63 |
+
"inputSchema" : [
|
64 |
+
{
|
65 |
+
"hasShapeFlexibility" : "0",
|
66 |
+
"isOptional" : "0",
|
67 |
+
"dataType" : "Float16",
|
68 |
+
"formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
|
69 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
70 |
+
"shape" : "[2, 4, 64, 64]",
|
71 |
+
"name" : "sample",
|
72 |
+
"type" : "MultiArray"
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"hasShapeFlexibility" : "0",
|
76 |
+
"isOptional" : "0",
|
77 |
+
"dataType" : "Float16",
|
78 |
+
"formattedType" : "MultiArray (Float16 2)",
|
79 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
80 |
+
"shape" : "[2]",
|
81 |
+
"name" : "timestep",
|
82 |
+
"type" : "MultiArray"
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"hasShapeFlexibility" : "0",
|
86 |
+
"isOptional" : "0",
|
87 |
+
"dataType" : "Float16",
|
88 |
+
"formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
|
89 |
+
"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.",
|
90 |
+
"shape" : "[2, 768, 1, 77]",
|
91 |
+
"name" : "encoder_hidden_states",
|
92 |
+
"type" : "MultiArray"
|
93 |
+
}
|
94 |
+
],
|
95 |
+
"userDefinedMetadata" : {
|
96 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
97 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
98 |
+
},
|
99 |
+
"generatedClassName" : "Stable_Diffusion_version_CompVis_stable_diffusion_v1_4_unet",
|
100 |
+
"method" : "predict"
|
101 |
+
}
|
102 |
+
]
|
original/compiled/Unet.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
original/compiled/Unet.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1ddc23a22d36976ef9f3aa7a3e0beeae533a51c4ebd46599f16f0b256b4e7e3
|
3 |
+
size 645167616
|
original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f19eed961c0dd59703cc3d761df7de50759835a065caa165f50d13fed19fd7b3
|
3 |
+
size 207
|
original/compiled/VAEDecoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5fbe012c1925cee16f8490b1b342ff87f5dc9c8b1569ec15a81b0ab8db12134d
|
3 |
+
size 753
|
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" : 7,
|
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" : 70,
|
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 |
+
"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" : "7.0b1",
|
70 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
71 |
+
},
|
72 |
+
"generatedClassName" : "Stable_Diffusion_version_CompVis_stable_diffusion_v1_4_vae_decoder",
|
73 |
+
"method" : "predict"
|
74 |
+
}
|
75 |
+
]
|
original/compiled/VAEDecoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
original/compiled/VAEDecoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fcb7ec979c9067bf1e3a25928e02df738f4c34ecb4a6de4ec657c25475851d3
|
3 |
+
size 98993280
|
original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18cd21de2cf3de6163f4b61bbbcf75ee60239a26067a44767ec3c6275ba53070
|
3 |
+
size 207
|
original/compiled/VAEEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29273c145926933c9b20973beda0064ccefb537fac7743c700e11596bb11e92e
|
3 |
+
size 759
|
original/compiled/VAEEncoder.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" : "The latent embeddings from the unet model from the input image.",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "latent",
|
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 |
+
"Pad" : 3,
|
27 |
+
"Ios16.cast" : 1,
|
28 |
+
"Ios16.mul" : 1,
|
29 |
+
"Ios16.sqrt" : 22,
|
30 |
+
"Ios16.sub" : 22,
|
31 |
+
"Transpose" : 7,
|
32 |
+
"Ios16.conv" : 28,
|
33 |
+
"Ios16.add" : 33,
|
34 |
+
"Ios16.linear" : 4,
|
35 |
+
"Ios16.matmul" : 2,
|
36 |
+
"Ios16.realDiv" : 22,
|
37 |
+
"Ios16.reduceMean" : 44,
|
38 |
+
"Ios16.softmax" : 1,
|
39 |
+
"Ios16.batchNorm" : 22,
|
40 |
+
"Ios16.square" : 22,
|
41 |
+
"Ios16.reshape" : 54,
|
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 |
+
"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 × 3 × 512 × 512)",
|
62 |
+
"shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
|
63 |
+
"shape" : "[1, 3, 512, 512]",
|
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_CompVis_stable_diffusion_v1_4_vae_encoder",
|
73 |
+
"method" : "predict"
|
74 |
+
}
|
75 |
+
]
|
original/compiled/VAEEncoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
original/compiled/VAEEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa4cfc0f490c3d5f3c14d3046b35de4f4d2fb553351f2f552656c40a61cc2cd1
|
3 |
+
size 68338112
|
original/compiled/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
original/compiled/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
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:10e6833d6fec4a1fbc394fd135ac77401f7a2c3cb48036ff3b6f85a713771f4e
|
3 |
+
size 319163
|
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:a5fc2c3d772614a206c40e0b0bb6202bcbc429df958d0f1d2ec59c8275869097
|
3 |
+
size 607990114
|
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 |
+
"A425DC83-318C-4D07-A405-9FDE9CAB1497": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"DF944445-24E2-4231-BEE1-48CF0817E853": {
|
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": "DF944445-24E2-4231-BEE1-48CF0817E853"
|
18 |
+
}
|
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:323ef5b7416de3b25b370fd43645849e4a2166622bbe74bbba27843b9f927f5a
|
3 |
+
size 174141
|
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:16d832c2bdadc6d96cd14ed8b6894087751bbc1c37eb3429aecfa0ca027c79a5
|
3 |
+
size 139866304
|
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 |
+
"8236094C-73BB-4C6B-8A08-1CDFD1B83108": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"9F51C68A-8A14-459A-B832-0FAE6FC3F130": {
|
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": "9F51C68A-8A14-459A-B832-0FAE6FC3F130"
|
18 |
+
}
|
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:d121bf489e7808748a49c82e55dbbc9b761719ac3ecdafbcfb2aefa45732aecb
|
3 |
+
size 822616
|
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:a1ddc23a22d36976ef9f3aa7a3e0beeae533a51c4ebd46599f16f0b256b4e7e3
|
3 |
+
size 645167616
|
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 |
+
"4F0632EB-C2D8-4F4E-A452-2D3CCDE99DE1": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Specification",
|
7 |
+
"name": "model.mlmodel",
|
8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
9 |
+
},
|
10 |
+
"86303345-1359-4F60-B769-2BE1E0EDB222": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Weights",
|
13 |
+
"name": "weights",
|
14 |
+
"path": "com.apple.CoreML/weights"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "4F0632EB-C2D8-4F4E-A452-2D3CCDE99DE1"
|
18 |
+
}
|
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:060d79be82c2f22f453b8b9b9744623caf7b6bad7070caa37de5ce7e2ebeddec
|
3 |
+
size 156810
|
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:3fcb7ec979c9067bf1e3a25928e02df738f4c34ecb4a6de4ec657c25475851d3
|
3 |
+
size 98993280
|
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 |
+
"7F1E9335-2C45-4345-B0F3-C813658B2A17": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Specification",
|
7 |
+
"name": "model.mlmodel",
|
8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
9 |
+
},
|
10 |
+
"8A5BE951-F50F-40C8-B9FB-3D8FB0DD7BFA": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Weights",
|
13 |
+
"name": "weights",
|
14 |
+
"path": "com.apple.CoreML/weights"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
"rootModelIdentifier": "7F1E9335-2C45-4345-B0F3-C813658B2A17"
|
18 |
+
}
|
original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_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:20e23068aa1c9252c34a1f025b8ebb5cdd394af2a3a2ed0c3d46a67454b7af89
|
3 |
+
size 120679
|
original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_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:aa4cfc0f490c3d5f3c14d3046b35de4f4d2fb553351f2f552656c40a61cc2cd1
|
3 |
+
size 68338112
|
original/packages/Stable_Diffusion_version_CompVis_stable-diffusion-v1-4_vae_encoder.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"155D7B02-326E-4795-B625-92CCDC5BB42A": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"90BF0499-C384-44F1-8626-6B8A06CE606E": {
|
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": "90BF0499-C384-44F1-8626-6B8A06CE606E"
|
18 |
+
}
|
split_einsum_v2/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a9069793905bd64c61471662d247051f975c417659c7a9dd4ed535bb9f09563
|
3 |
+
size 207
|
split_einsum_v2/compiled/SafetyChecker.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb231ab31095b3b27b7f8e4b94b2554adcc3def4c6c486b6b6da81b55207a616
|
3 |
+
size 1413
|
split_einsum_v2/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" : 7,
|
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 (Float16, Float32, 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" : "7.0b1",
|
117 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
118 |
+
},
|
119 |
+
"generatedClassName" : "Stable_Diffusion_version_CompVis_stable_diffusion_v1_4_safety_checker",
|
120 |
+
"method" : "predict"
|
121 |
+
}
|
122 |
+
]
|
split_einsum_v2/compiled/SafetyChecker.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
split_einsum_v2/compiled/SafetyChecker.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01d6b7eb1e335140c10536c384a610aa05a0c21b01242eed905bca5abc64667c
|
3 |
+
size 607990114
|
split_einsum_v2/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:270b2f4719eeacb851afbd8e0b6b1945050a6ffee57f04ec85227727e8bf5e04
|
3 |
+
size 207
|