pcuenq HF staff commited on
Commit
87861a7
1 Parent(s): d48a12a

Add files for stable-diffusion-2-base-palettized

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. coreml-stable-diffusion-2-base-palettized_original_compiled.zip +3 -0
  2. coreml-stable-diffusion-2-base-palettized_split_einsum_v2_compiled.zip +3 -0
  3. original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  4. original/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  5. original/compiled/TextEncoder.mlmodelc/metadata.json +83 -0
  6. original/compiled/TextEncoder.mlmodelc/model.mil +0 -0
  7. original/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  8. original/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  9. original/compiled/Unet.mlmodelc/coremldata.bin +3 -0
  10. original/compiled/Unet.mlmodelc/metadata.json +102 -0
  11. original/compiled/Unet.mlmodelc/model.mil +0 -0
  12. original/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  13. original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  14. original/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  15. original/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
  16. original/compiled/VAEDecoder.mlmodelc/model.mil +0 -0
  17. original/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  18. original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  19. original/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
  20. original/compiled/VAEEncoder.mlmodelc/metadata.json +75 -0
  21. original/compiled/VAEEncoder.mlmodelc/model.mil +0 -0
  22. original/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
  23. original/compiled/merges.txt +0 -0
  24. original/compiled/vocab.json +0 -0
  25. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  26. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  27. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_text_encoder.mlpackage/Manifest.json +18 -0
  28. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  29. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  30. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_unet.mlpackage/Manifest.json +18 -0
  31. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  32. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  33. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_vae_decoder.mlpackage/Manifest.json +18 -0
  34. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  35. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_vae_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  36. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_vae_encoder.mlpackage/Manifest.json +18 -0
  37. split_einsum_v2/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  38. split_einsum_v2/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  39. split_einsum_v2/compiled/TextEncoder.mlmodelc/metadata.json +83 -0
  40. split_einsum_v2/compiled/TextEncoder.mlmodelc/model.mil +0 -0
  41. split_einsum_v2/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  42. split_einsum_v2/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  43. split_einsum_v2/compiled/Unet.mlmodelc/coremldata.bin +3 -0
  44. split_einsum_v2/compiled/Unet.mlmodelc/metadata.json +103 -0
  45. split_einsum_v2/compiled/Unet.mlmodelc/model.mil +0 -0
  46. split_einsum_v2/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  47. split_einsum_v2/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  48. split_einsum_v2/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  49. split_einsum_v2/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
  50. split_einsum_v2/compiled/VAEDecoder.mlmodelc/model.mil +0 -0
coreml-stable-diffusion-2-base-palettized_original_compiled.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b73c8f81e62bcd2cfd4dbf68e10d91a20b284cc31d6f7e339f28cd1e27db2b74
3
+ size 1139245802
coreml-stable-diffusion-2-base-palettized_split_einsum_v2_compiled.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5545cdf6ce5522492e8e8ccd728ab99a55791d27354b33245d4c07e764eaf482
3
+ size 1141379758
original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0431845986cba60d242f9be3649527d1bc6d4cb82bf2381872644cb2c4789f62
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:1cf6c4f047f7103c6437ac9b7297823ffe7138739eb846876b5ead6e4714b996
3
+ size 835
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" : "stabilityai\/stable-diffusion-2-base",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-base",
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" : 23,
38
+ "Ios16.layerNorm" : 47,
39
+ "Ios16.constexprLutToDense" : 163,
40
+ "Stack" : 1,
41
+ "Transpose" : 115,
42
+ "Ios16.linear" : 138,
43
+ "Ios16.add" : 70,
44
+ "Ios16.matmul" : 46,
45
+ "Ios16.gelu" : 23,
46
+ "Ios16.softmax" : 23,
47
+ "Ios16.gatherNd" : 1,
48
+ "Ios16.gather" : 1,
49
+ "Ios16.reshape" : 230,
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_stabilityai_stable_diffusion_2_base_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:9abc6d3e741658781daaac18e1ffd38bb0f30bd35c356d6663c41c0e8eb68a90
3
+ size 318860352
original/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de06e760abe679664322a9c242576d0da2747eee379aa051b4103c3d700d3efc
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:986d0c5877b85f3709d189d74f53e1102beff3d92b0bb0663d28102f822e86ae
3
+ size 1217
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" : "stabilityai\/stable-diffusion-2-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-base",
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 × 1024 × 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, 1024, 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_stabilityai_stable_diffusion_2_base_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:7b2c00676d1077ebebb058e7583a2d298108e30aa591def960e265037fd200c9
3
+ size 649959936
original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8fcfa118a6931ed3f8c07e13b781944624a75ec8bfeae4ee094b254140cab99
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:aa1ba56db27eb45028eaebd71d2ce3254e045091c7a5cdff021e03172d93af56
3
+ size 765
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" : "stabilityai\/stable-diffusion-2-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-base",
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_stabilityai_stable_diffusion_2_base_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:fb25e5210d77dc98e5033cfc6f28821a41276b221bd89cd878acc5fe2b310fed
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:6cd33ff6c5fe90f608ae8b48c648241375b40821d130801ca716895e29414bba
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:329f0ad93bd816efec23dd7be182612242fe4ae08ceeeb8bcd9f71501a24c22f
3
+ size 771
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" : "stabilityai\/stable-diffusion-2-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-base",
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_stabilityai_stable_diffusion_2_base_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:60074344c97e31db7bc88cc926db2d9bdc58ead35f16abd57d17d79129771878
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_stabilityai_stable-diffusion-2-base_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:a073f0b133a13c1b3c592a3c0d107e69c65ebd9196bed5dce49fb728b481fab8
3
+ size 325424
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_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:9abc6d3e741658781daaac18e1ffd38bb0f30bd35c356d6663c41c0e8eb68a90
3
+ size 318860352
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "1CD3E628-3058-4F3A-B69B-517C30D01DBD": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "B45D74BD-DCF2-4CC7-BF0B-E363902665CD": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "1CD3E628-3058-4F3A-B69B-517C30D01DBD"
18
+ }
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_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:9b532d2c9628b24ae97b5e3053fcbe99798f1af791041b61cc9761394a5b36f5
3
+ size 822544
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_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:7b2c00676d1077ebebb058e7583a2d298108e30aa591def960e265037fd200c9
3
+ size 649959936
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_unet.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "C223F1B5-9494-44C5-931E-090BA88280A3": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "EED9FB0E-5AE4-41A3-BF4E-B5668F1BDCCD": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "C223F1B5-9494-44C5-931E-090BA88280A3"
18
+ }
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_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:48b44c70fc18f85d35abb828de36915cd764639bf68d8e8c766139fb53ac50aa
3
+ size 156822
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_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:fb25e5210d77dc98e5033cfc6f28821a41276b221bd89cd878acc5fe2b310fed
3
+ size 98993280
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_vae_decoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "2AB125C1-0138-45B7-AE3F-59C1FE820485": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "9D3C33AF-E6AE-47EF-B91D-27ABB55EE89C": {
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": "9D3C33AF-E6AE-47EF-B91D-27ABB55EE89C"
18
+ }
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_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:b319dd3432a46e53cda58752bb3e275d4cbe6e58008310b4aa7d7c6a7755f661
3
+ size 120691
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_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:60074344c97e31db7bc88cc926db2d9bdc58ead35f16abd57d17d79129771878
3
+ size 68338112
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-base_vae_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "EECC8955-8AA8-4E9C-9D91-9B9C10FBE31F": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "F6BBBECA-AF22-4D39-8F8D-57E33927F075": {
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": "F6BBBECA-AF22-4D39-8F8D-57E33927F075"
18
+ }
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:0431845986cba60d242f9be3649527d1bc6d4cb82bf2381872644cb2c4789f62
3
+ size 207
split_einsum_v2/compiled/TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86b6872bfed203eb5a0ef0c249cb192ba77072dbaf36f098707497b0ba6525c4
3
+ size 835
split_einsum_v2/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" : "stabilityai\/stable-diffusion-2-base",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-base",
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" : 23,
38
+ "Ios16.layerNorm" : 47,
39
+ "Ios16.constexprLutToDense" : 163,
40
+ "Stack" : 1,
41
+ "Transpose" : 115,
42
+ "Ios16.linear" : 138,
43
+ "Ios16.add" : 70,
44
+ "Ios16.matmul" : 46,
45
+ "Ios16.gelu" : 23,
46
+ "Ios16.softmax" : 23,
47
+ "Ios16.gatherNd" : 1,
48
+ "Ios16.gather" : 1,
49
+ "Ios16.reshape" : 230,
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_stabilityai_stable_diffusion_2_base_text_encoder",
81
+ "method" : "predict"
82
+ }
83
+ ]
split_einsum_v2/compiled/TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/compiled/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40054ae1634a1c4e2c4a9b1885c8155d8aa331fdc667fbd98a01a47701b4269e
3
+ size 318860352
split_einsum_v2/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef2b66960656c51807f3ae9f62c4ced3d2f44a07b6b77aa78a059eb4c947d1a1
3
+ size 207
split_einsum_v2/compiled/Unet.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:986d0c5877b85f3709d189d74f53e1102beff3d92b0bb0663d28102f822e86ae
3
+ size 1217
split_einsum_v2/compiled/Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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" : "stabilityai\/stable-diffusion-2-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-base",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Mixed (Float16, Palettized (6 bits))",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Transpose" : 32,
27
+ "UpsampleNearestNeighbor" : 3,
28
+ "Ios16.reduceMean" : 218,
29
+ "Ios16.sin" : 1,
30
+ "Ios16.softmax" : 840,
31
+ "Split" : 16,
32
+ "Ios16.add" : 265,
33
+ "Concat" : 196,
34
+ "Ios16.realDiv" : 61,
35
+ "Ios16.square" : 61,
36
+ "ExpandDims" : 3,
37
+ "Ios16.sub" : 109,
38
+ "Ios16.cast" : 1,
39
+ "Ios16.conv" : 282,
40
+ "Ios16.constexprLutToDense" : 310,
41
+ "Ios16.einsum" : 1680,
42
+ "Ios16.gelu" : 16,
43
+ "Ios16.batchNorm" : 61,
44
+ "Ios16.reshape" : 154,
45
+ "Ios16.rsqrt" : 48,
46
+ "Ios16.silu" : 47,
47
+ "Ios16.sqrt" : 61,
48
+ "Ios16.mul" : 1001,
49
+ "Ios16.cos" : 1,
50
+ "SliceByIndex" : 1772
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" : "Float16",
69
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
70
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
71
+ "shape" : "[2, 4, 64, 64]",
72
+ "name" : "sample",
73
+ "type" : "MultiArray"
74
+ },
75
+ {
76
+ "hasShapeFlexibility" : "0",
77
+ "isOptional" : "0",
78
+ "dataType" : "Float16",
79
+ "formattedType" : "MultiArray (Float16 2)",
80
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
81
+ "shape" : "[2]",
82
+ "name" : "timestep",
83
+ "type" : "MultiArray"
84
+ },
85
+ {
86
+ "hasShapeFlexibility" : "0",
87
+ "isOptional" : "0",
88
+ "dataType" : "Float16",
89
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
90
+ "shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
91
+ "shape" : "[2, 1024, 1, 77]",
92
+ "name" : "encoder_hidden_states",
93
+ "type" : "MultiArray"
94
+ }
95
+ ],
96
+ "userDefinedMetadata" : {
97
+ "com.github.apple.coremltools.version" : "7.0b1",
98
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
99
+ },
100
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_base_unet",
101
+ "method" : "predict"
102
+ }
103
+ ]
split_einsum_v2/compiled/Unet.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/compiled/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a68e223be97c28ce6828997b50d62c36fa6b93b5747eb366d98216a297918cda
3
+ size 649959936
split_einsum_v2/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8fcfa118a6931ed3f8c07e13b781944624a75ec8bfeae4ee094b254140cab99
3
+ size 207
split_einsum_v2/compiled/VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa1ba56db27eb45028eaebd71d2ce3254e045091c7a5cdff021e03172d93af56
3
+ size 765
split_einsum_v2/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" : "stabilityai\/stable-diffusion-2-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-base",
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_stabilityai_stable_diffusion_2_base_vae_decoder",
73
+ "method" : "predict"
74
+ }
75
+ ]
split_einsum_v2/compiled/VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff