pcuenq HF staff commited on
Commit
5ffe9d5
1 Parent(s): 4ab1ccb

Add ORIGINAL variants.

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. .gitignore +2 -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 +85 -0
  6. original/compiled/TextEncoder.mlmodelc/model.mil +3 -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 +101 -0
  11. original/compiled/Unet.mlmodelc/model.mil +3 -0
  12. original/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  13. original/compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
  14. original/compiled/UnetChunk1.mlmodelc/coremldata.bin +3 -0
  15. original/compiled/UnetChunk1.mlmodelc/metadata.json +215 -0
  16. original/compiled/UnetChunk1.mlmodelc/model.mil +3 -0
  17. original/compiled/UnetChunk1.mlmodelc/weights/weight.bin +3 -0
  18. original/compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin +3 -0
  19. original/compiled/UnetChunk2.mlmodelc/coremldata.bin +3 -0
  20. original/compiled/UnetChunk2.mlmodelc/metadata.json +202 -0
  21. original/compiled/UnetChunk2.mlmodelc/model.mil +3 -0
  22. original/compiled/UnetChunk2.mlmodelc/weights/weight.bin +3 -0
  23. original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  24. original/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  25. original/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
  26. original/compiled/VAEDecoder.mlmodelc/model.mil +3 -0
  27. original/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  28. original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  29. original/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
  30. original/compiled/VAEEncoder.mlmodelc/metadata.json +118 -0
  31. original/compiled/VAEEncoder.mlmodelc/model.mil +3 -0
  32. original/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
  33. original/compiled/merges.txt +0 -0
  34. original/compiled/vocab.json +0 -0
  35. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  36. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  37. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Manifest.json +18 -0
  38. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  39. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  40. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Manifest.json +18 -0
  41. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  42. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  43. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Manifest.json +18 -0
  44. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  45. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  46. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Manifest.json +18 -0
  47. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  48. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  49. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Manifest.json +18 -0
  50. original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
.gitattributes CHANGED
@@ -8,6 +8,7 @@
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
 
11
  *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
  *.model filter=lfs diff=lfs merge=lfs -text
13
  *.msgpack filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mil filter=lfs diff=lfs merge=lfs -text
12
  *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
  *.model filter=lfs diff=lfs merge=lfs -text
14
  *.msgpack filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
1
+ .DS_Store
2
+
original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ee59ccda5036f123131d35c0c7a96678b33c793cdf81379afede2950fdfbf17
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:2ec66e4fac048e8836ac2cc5103bb66149958908bb06e293f0e55b7f792843dd
3
+ size 838
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" : "stabilityai\/stable-diffusion-2-1-base",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-1-base",
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" : 23,
38
+ "Ios16.layerNorm" : 47,
39
+ "Ios16.sub" : 1,
40
+ "BandPart" : 1,
41
+ "Stack" : 1,
42
+ "Transpose" : 115,
43
+ "Ios16.linear" : 138,
44
+ "Ios16.add" : 70,
45
+ "Ios16.matmul" : 46,
46
+ "Ios16.gelu" : 23,
47
+ "Ios16.softmax" : 23,
48
+ "ExpandDims" : 1,
49
+ "Ios16.gather" : 1,
50
+ "Ios16.gatherNd" : 1,
51
+ "Ios16.reshape" : 230,
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.1"
81
+ },
82
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_text_encoder",
83
+ "method" : "predict"
84
+ }
85
+ ]
original/compiled/TextEncoder.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a79b7a70cc6a8780549c65b6a80a36e30e126b2ac63a656fce104fbc7799d32c
3
+ size 320318
original/compiled/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8b2add9306db70961a5fcfbdcdb123a6a88fca15713bb0f56744e57d273817e
3
+ size 680811520
original/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea1118fb496b490008cbd51a114557e82290f19b72912063715c506227b9dbd7
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:22c8cf48d32b10b2976f5b2aa15b2335fe7ff1541b7bb20dc0aaee5316db6a91
3
+ size 1220
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 facilitate the reverse diffusion (denoising) process",
12
+ "shape" : "[]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "stabilityai\/stable-diffusion-2-1-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-1-base",
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 × 1024 × 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, 1024, 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.1"
97
+ },
98
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_unet",
99
+ "method" : "predict"
100
+ }
101
+ ]
original/compiled/Unet.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa4e516fbe2f1799af76f4f74578b1110d58bd4d9ca7d3e5904bfd72477d4ca6
3
+ size 842344
original/compiled/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb6d4c183e88a0bf65a632da4324105695b2eb1b60ea40744e7b1a2076657ce5
3
+ size 1732124416
original/compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5af976747837caa33ab041f354a4b82f052aae7c61a92de80b8ddaa62a5a1efa
3
+ size 207
original/compiled/UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f1a02c24056b9614d0835b13a11402306cfca44b199a6c0635fa9c54c66a55f
3
+ size 528
original/compiled/UnetChunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "",
12
+ "shape" : "[]",
13
+ "name" : "input_61_cast",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32)",
21
+ "shortDescription" : "",
22
+ "shape" : "[]",
23
+ "name" : "input_35_cast",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32)",
31
+ "shortDescription" : "",
32
+ "shape" : "[]",
33
+ "name" : "input_169_cast",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float32",
40
+ "formattedType" : "MultiArray (Float32)",
41
+ "shortDescription" : "",
42
+ "shape" : "[]",
43
+ "name" : "hidden_states_149_cast",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float32",
50
+ "formattedType" : "MultiArray (Float32)",
51
+ "shortDescription" : "",
52
+ "shape" : "[]",
53
+ "name" : "input_143_cast",
54
+ "type" : "MultiArray"
55
+ },
56
+ {
57
+ "hasShapeFlexibility" : "0",
58
+ "isOptional" : "0",
59
+ "dataType" : "Float32",
60
+ "formattedType" : "MultiArray (Float32)",
61
+ "shortDescription" : "",
62
+ "shape" : "[]",
63
+ "name" : "input_171_cast",
64
+ "type" : "MultiArray"
65
+ },
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float32",
70
+ "formattedType" : "MultiArray (Float32)",
71
+ "shortDescription" : "",
72
+ "shape" : "[]",
73
+ "name" : "input_63_cast",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float32",
80
+ "formattedType" : "MultiArray (Float32)",
81
+ "shortDescription" : "",
82
+ "shape" : "[]",
83
+ "name" : "input_253_cast",
84
+ "type" : "MultiArray"
85
+ },
86
+ {
87
+ "hasShapeFlexibility" : "0",
88
+ "isOptional" : "0",
89
+ "dataType" : "Float32",
90
+ "formattedType" : "MultiArray (Float32)",
91
+ "shortDescription" : "",
92
+ "shape" : "[]",
93
+ "name" : "input_89_cast",
94
+ "type" : "MultiArray"
95
+ },
96
+ {
97
+ "hasShapeFlexibility" : "0",
98
+ "isOptional" : "0",
99
+ "dataType" : "Float32",
100
+ "formattedType" : "MultiArray (Float32)",
101
+ "shortDescription" : "",
102
+ "shape" : "[]",
103
+ "name" : "input_115_cast",
104
+ "type" : "MultiArray"
105
+ },
106
+ {
107
+ "hasShapeFlexibility" : "0",
108
+ "isOptional" : "0",
109
+ "dataType" : "Float32",
110
+ "formattedType" : "MultiArray (Float32)",
111
+ "shortDescription" : "",
112
+ "shape" : "[]",
113
+ "name" : "input_15_cast",
114
+ "type" : "MultiArray"
115
+ },
116
+ {
117
+ "hasShapeFlexibility" : "0",
118
+ "isOptional" : "0",
119
+ "dataType" : "Float32",
120
+ "formattedType" : "MultiArray (Float32)",
121
+ "shortDescription" : "",
122
+ "shape" : "[]",
123
+ "name" : "input_7_cast",
124
+ "type" : "MultiArray"
125
+ },
126
+ {
127
+ "hasShapeFlexibility" : "0",
128
+ "isOptional" : "0",
129
+ "dataType" : "Float32",
130
+ "formattedType" : "MultiArray (Float32)",
131
+ "shortDescription" : "",
132
+ "shape" : "[]",
133
+ "name" : "input_117_cast",
134
+ "type" : "MultiArray"
135
+ }
136
+ ],
137
+ "modelParameters" : [
138
+
139
+ ],
140
+ "specificationVersion" : 7,
141
+ "mlProgramOperationTypeHistogram" : {
142
+ "Ios16.reduceMean" : 104,
143
+ "Ios16.sin" : 1,
144
+ "Ios16.softmax" : 14,
145
+ "Split" : 7,
146
+ "Ios16.add" : 124,
147
+ "Concat" : 4,
148
+ "Ios16.realDiv" : 31,
149
+ "Ios16.square" : 31,
150
+ "ExpandDims" : 3,
151
+ "Ios16.sub" : 52,
152
+ "Ios16.cast" : 13,
153
+ "Ios16.conv" : 129,
154
+ "Ios16.gelu" : 7,
155
+ "Ios16.matmul" : 28,
156
+ "Ios16.reshape" : 132,
157
+ "Ios16.batchNorm" : 31,
158
+ "Ios16.rsqrt" : 21,
159
+ "Ios16.silu" : 26,
160
+ "Ios16.sqrt" : 31,
161
+ "SliceByIndex" : 2,
162
+ "Ios16.mul" : 85,
163
+ "Ios16.cos" : 1
164
+ },
165
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
166
+ "isUpdatable" : "0",
167
+ "availability" : {
168
+ "macOS" : "13.0",
169
+ "tvOS" : "16.0",
170
+ "watchOS" : "9.0",
171
+ "iOS" : "16.0",
172
+ "macCatalyst" : "16.0"
173
+ },
174
+ "modelType" : {
175
+ "name" : "MLModelType_mlProgram"
176
+ },
177
+ "userDefinedMetadata" : {
178
+
179
+ },
180
+ "inputSchema" : [
181
+ {
182
+ "hasShapeFlexibility" : "0",
183
+ "isOptional" : "0",
184
+ "dataType" : "Float16",
185
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
186
+ "shortDescription" : "",
187
+ "shape" : "[2, 4, 64, 64]",
188
+ "name" : "sample",
189
+ "type" : "MultiArray"
190
+ },
191
+ {
192
+ "hasShapeFlexibility" : "0",
193
+ "isOptional" : "0",
194
+ "dataType" : "Float16",
195
+ "formattedType" : "MultiArray (Float16 2)",
196
+ "shortDescription" : "",
197
+ "shape" : "[2]",
198
+ "name" : "timestep",
199
+ "type" : "MultiArray"
200
+ },
201
+ {
202
+ "hasShapeFlexibility" : "0",
203
+ "isOptional" : "0",
204
+ "dataType" : "Float16",
205
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
206
+ "shortDescription" : "",
207
+ "shape" : "[2, 1024, 1, 77]",
208
+ "name" : "encoder_hidden_states",
209
+ "type" : "MultiArray"
210
+ }
211
+ ],
212
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_unet_chunk1",
213
+ "method" : "predict"
214
+ }
215
+ ]
original/compiled/UnetChunk1.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2b6a71af4bea885427f9c7e4a91ce4ca7213022ac8f0061986a9f995b403066
3
+ size 396377
original/compiled/UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d44f7aead9d9bf3e43e6b31828bf6a4d8a28ec46ea7d284ebc278102842ca5ba
3
+ size 893578816
original/compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90c0ce2c6ac0471875f61a5811246d53dcfd6fb4ef943a895bd54ea4ba80c013
3
+ size 207
original/compiled/UnetChunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6be2bb4f5e88875b598120018131aa1fe799a37812358ca537d1c30c6455a288
3
+ size 594
original/compiled/UnetChunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "",
12
+ "shape" : "[]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 7,
21
+ "mlProgramOperationTypeHistogram" : {
22
+ "Split" : 9,
23
+ "Concat" : 10,
24
+ "Ios16.cast" : 14,
25
+ "Ios16.mul" : 108,
26
+ "Ios16.rsqrt" : 27,
27
+ "Ios16.sqrt" : 30,
28
+ "Ios16.sub" : 57,
29
+ "UpsampleNearestNeighbor" : 3,
30
+ "Ios16.conv" : 153,
31
+ "Ios16.add" : 141,
32
+ "Ios16.realDiv" : 30,
33
+ "Ios16.matmul" : 36,
34
+ "Ios16.gelu" : 9,
35
+ "Ios16.reduceMean" : 114,
36
+ "Ios16.softmax" : 18,
37
+ "Ios16.batchNorm" : 30,
38
+ "Ios16.square" : 30,
39
+ "Ios16.reshape" : 150,
40
+ "Ios16.silu" : 21
41
+ },
42
+ "computePrecision" : "Mixed (Int32, Float16, Float32)",
43
+ "isUpdatable" : "0",
44
+ "availability" : {
45
+ "macOS" : "13.0",
46
+ "tvOS" : "16.0",
47
+ "watchOS" : "9.0",
48
+ "iOS" : "16.0",
49
+ "macCatalyst" : "16.0"
50
+ },
51
+ "modelType" : {
52
+ "name" : "MLModelType_mlProgram"
53
+ },
54
+ "userDefinedMetadata" : {
55
+
56
+ },
57
+ "inputSchema" : [
58
+ {
59
+ "hasShapeFlexibility" : "0",
60
+ "isOptional" : "0",
61
+ "dataType" : "Float16",
62
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
63
+ "shortDescription" : "",
64
+ "shape" : "[2, 1024, 1, 77]",
65
+ "name" : "encoder_hidden_states",
66
+ "type" : "MultiArray"
67
+ },
68
+ {
69
+ "hasShapeFlexibility" : "0",
70
+ "isOptional" : "0",
71
+ "dataType" : "Float32",
72
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
73
+ "shortDescription" : "",
74
+ "shape" : "[2, 320, 64, 64]",
75
+ "name" : "input_61_cast",
76
+ "type" : "MultiArray"
77
+ },
78
+ {
79
+ "hasShapeFlexibility" : "0",
80
+ "isOptional" : "0",
81
+ "dataType" : "Float32",
82
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
83
+ "shortDescription" : "",
84
+ "shape" : "[2, 1280, 8, 8]",
85
+ "name" : "input_171_cast",
86
+ "type" : "MultiArray"
87
+ },
88
+ {
89
+ "hasShapeFlexibility" : "0",
90
+ "isOptional" : "0",
91
+ "dataType" : "Float32",
92
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
93
+ "shortDescription" : "",
94
+ "shape" : "[2, 640, 32, 32]",
95
+ "name" : "input_115_cast",
96
+ "type" : "MultiArray"
97
+ },
98
+ {
99
+ "hasShapeFlexibility" : "0",
100
+ "isOptional" : "0",
101
+ "dataType" : "Float32",
102
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
103
+ "shortDescription" : "",
104
+ "shape" : "[2, 320, 32, 32]",
105
+ "name" : "input_63_cast",
106
+ "type" : "MultiArray"
107
+ },
108
+ {
109
+ "hasShapeFlexibility" : "0",
110
+ "isOptional" : "0",
111
+ "dataType" : "Float32",
112
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
113
+ "shortDescription" : "",
114
+ "shape" : "[2, 640, 16, 16]",
115
+ "name" : "input_117_cast",
116
+ "type" : "MultiArray"
117
+ },
118
+ {
119
+ "hasShapeFlexibility" : "0",
120
+ "isOptional" : "0",
121
+ "dataType" : "Float32",
122
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
123
+ "shortDescription" : "",
124
+ "shape" : "[2, 1280, 8, 8]",
125
+ "name" : "hidden_states_149_cast",
126
+ "type" : "MultiArray"
127
+ },
128
+ {
129
+ "hasShapeFlexibility" : "0",
130
+ "isOptional" : "0",
131
+ "dataType" : "Float32",
132
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
133
+ "shortDescription" : "",
134
+ "shape" : "[2, 320, 64, 64]",
135
+ "name" : "input_7_cast",
136
+ "type" : "MultiArray"
137
+ },
138
+ {
139
+ "hasShapeFlexibility" : "0",
140
+ "isOptional" : "0",
141
+ "dataType" : "Float32",
142
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
143
+ "shortDescription" : "",
144
+ "shape" : "[2, 320, 64, 64]",
145
+ "name" : "input_35_cast",
146
+ "type" : "MultiArray"
147
+ },
148
+ {
149
+ "hasShapeFlexibility" : "0",
150
+ "isOptional" : "0",
151
+ "dataType" : "Float32",
152
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
153
+ "shortDescription" : "",
154
+ "shape" : "[2, 640, 32, 32]",
155
+ "name" : "input_89_cast",
156
+ "type" : "MultiArray"
157
+ },
158
+ {
159
+ "hasShapeFlexibility" : "0",
160
+ "isOptional" : "0",
161
+ "dataType" : "Float32",
162
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
163
+ "shortDescription" : "",
164
+ "shape" : "[2, 1280, 16, 16]",
165
+ "name" : "input_143_cast",
166
+ "type" : "MultiArray"
167
+ },
168
+ {
169
+ "hasShapeFlexibility" : "0",
170
+ "isOptional" : "0",
171
+ "dataType" : "Float32",
172
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 8 × 8)",
173
+ "shortDescription" : "",
174
+ "shape" : "[2, 2560, 8, 8]",
175
+ "name" : "input_253_cast",
176
+ "type" : "MultiArray"
177
+ },
178
+ {
179
+ "hasShapeFlexibility" : "0",
180
+ "isOptional" : "0",
181
+ "dataType" : "Float32",
182
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
183
+ "shortDescription" : "",
184
+ "shape" : "[2, 1280, 1, 1]",
185
+ "name" : "input_15_cast",
186
+ "type" : "MultiArray"
187
+ },
188
+ {
189
+ "hasShapeFlexibility" : "0",
190
+ "isOptional" : "0",
191
+ "dataType" : "Float32",
192
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
193
+ "shortDescription" : "",
194
+ "shape" : "[2, 1280, 16, 16]",
195
+ "name" : "input_169_cast",
196
+ "type" : "MultiArray"
197
+ }
198
+ ],
199
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_unet_chunk2",
200
+ "method" : "predict"
201
+ }
202
+ ]
original/compiled/UnetChunk2.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8686d9e69308d8428e2de974eeba02ca50f5d59660700b5876a8905e5e215acd
3
+ size 453213
original/compiled/UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:243eb48ecf0cb884060b2b888ec7e4ae2212e89b9b301f56d963152ddf3dd448
3
+ size 838545664
original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1db010d53a60e24a3c7dbdf7b9d0ca6e9af87b95ec526c39a59cabcc3cf21461
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:f02192454e1eef80f93c2139aed5440dfd2704933b4354bfd22859abdadd1c16
3
+ size 768
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-1-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-1-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 (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.1"
71
+ },
72
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_vae_decoder",
73
+ "method" : "predict"
74
+ }
75
+ ]
original/compiled/VAEDecoder.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf6aa65536d1a72a18d2066a82e1ba5fb002583ae0482625f911d27a49a4f1f6
3
+ size 176862
original/compiled/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28f9df1d6be865745a68af92f05d4663ffd2a38dfe6d3f1ce3be51ed0444c479
3
+ size 99039232
original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c368a34c610037cedd5e7ff5434cf0a5d59d57b62cb8fe2d753f9798f0c30e1
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:e85251c72a334672f9e763a7a24fc551805007aa14ac144147adbc07ce23a90d
3
+ size 1288
original/compiled/VAEEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_dist",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "stabilityai\/stable-diffusion-2-1-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-1-base",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Transpose" : 7,
27
+ "Ios16.exp" : 1,
28
+ "Ios16.reduceMean" : 44,
29
+ "Ios16.softmax" : 1,
30
+ "Split" : 1,
31
+ "Ios16.linear" : 4,
32
+ "Ios16.add" : 35,
33
+ "Ios16.realDiv" : 22,
34
+ "Ios16.square" : 22,
35
+ "Pad" : 3,
36
+ "Ios16.sub" : 22,
37
+ "Ios16.cast" : 1,
38
+ "Ios16.clip" : 1,
39
+ "Ios16.conv" : 28,
40
+ "Ios16.matmul" : 2,
41
+ "Ios16.reshape" : 54,
42
+ "Ios16.batchNorm" : 22,
43
+ "Ios16.silu" : 21,
44
+ "Ios16.sqrt" : 22,
45
+ "Ios16.mul" : 6
46
+ },
47
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
48
+ "isUpdatable" : "0",
49
+ "availability" : {
50
+ "macOS" : "13.0",
51
+ "tvOS" : "16.0",
52
+ "watchOS" : "9.0",
53
+ "iOS" : "16.0",
54
+ "macCatalyst" : "16.0"
55
+ },
56
+ "modelType" : {
57
+ "name" : "MLModelType_mlProgram"
58
+ },
59
+ "inputSchema" : [
60
+ {
61
+ "hasShapeFlexibility" : "0",
62
+ "isOptional" : "0",
63
+ "dataType" : "Float16",
64
+ "formattedType" : "MultiArray (Float16 1 × 3 × 512 × 512)",
65
+ "shortDescription" : "An image of the correct size to create the latent space with, image2image and in-painting.",
66
+ "shape" : "[1, 3, 512, 512]",
67
+ "name" : "sample",
68
+ "type" : "MultiArray"
69
+ },
70
+ {
71
+ "hasShapeFlexibility" : "0",
72
+ "isOptional" : "0",
73
+ "dataType" : "Float16",
74
+ "formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
75
+ "shortDescription" : "Latent noise for `DiagonalGaussianDistribution` operation.",
76
+ "shape" : "[1, 4, 64, 64]",
77
+ "name" : "diagonal_noise",
78
+ "type" : "MultiArray"
79
+ },
80
+ {
81
+ "hasShapeFlexibility" : "0",
82
+ "isOptional" : "0",
83
+ "dataType" : "Float16",
84
+ "formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
85
+ "shortDescription" : "Latent noise for use with strength parameter of image2image",
86
+ "shape" : "[1, 4, 64, 64]",
87
+ "name" : "noise",
88
+ "type" : "MultiArray"
89
+ },
90
+ {
91
+ "hasShapeFlexibility" : "0",
92
+ "isOptional" : "0",
93
+ "dataType" : "Float16",
94
+ "formattedType" : "MultiArray (Float16 1 × 1)",
95
+ "shortDescription" : "Precalculated `sqrt_alphas_cumprod` value based on strength and the current schedular's alphasCumprod values",
96
+ "shape" : "[1, 1]",
97
+ "name" : "sqrt_alphas_cumprod",
98
+ "type" : "MultiArray"
99
+ },
100
+ {
101
+ "hasShapeFlexibility" : "0",
102
+ "isOptional" : "0",
103
+ "dataType" : "Float16",
104
+ "formattedType" : "MultiArray (Float16 1 × 1)",
105
+ "shortDescription" : "Precalculated `sqrt_one_minus_alphas_cumprod` value based on strength and the current schedular's alphasCumprod values",
106
+ "shape" : "[1, 1]",
107
+ "name" : "sqrt_one_minus_alphas_cumprod",
108
+ "type" : "MultiArray"
109
+ }
110
+ ],
111
+ "userDefinedMetadata" : {
112
+ "com.github.apple.coremltools.version" : "6.1",
113
+ "com.github.apple.coremltools.source" : "torch==1.13.1"
114
+ },
115
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_vae_encoder",
116
+ "method" : "predict"
117
+ }
118
+ ]
original/compiled/VAEEncoder.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cd529b933adc7e28b4057051eb816d753241246416bceacf25eb844e2b64d4a
3
+ size 137752
original/compiled/VAEEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d27435bc6359b4073dbaabef5fe38ac9c1b1edb5698310b51e5ed4b7ff4ef177
3
+ size 68370240
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-1-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:ad495e8ec7e03084589f3f037ef507f881a1554ae193d388525df3920c3639ae
3
+ size 272312
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-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:a8b2add9306db70961a5fcfbdcdb123a6a88fca15713bb0f56744e57d273817e
3
+ size 680811520
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "B62DCAF6-5C17-4C75-B6D0-D7491F313706": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "C0C6756B-8CD2-4596-AB6E-7782FB96F44D": {
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": "C0C6756B-8CD2-4596-AB6E-7782FB96F44D"
18
+ }
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-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:a445e3d1a97014d894035fe08e9f9680495aafc1ed21a952b0d68c50d430a706
3
+ size 723021
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-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:fb6d4c183e88a0bf65a632da4324105695b2eb1b60ea40744e7b1a2076657ce5
3
+ size 1732124416
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "440E3AA3-332A-4CCA-99A2-165455021199": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "8571F9FC-4133-42AD-B6E6-2FFD0566C7AF": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "440E3AA3-332A-4CCA-99A2-165455021199"
18
+ }
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26bc66ad04e705526bccbc0784ef745a8bb55f7116b3dae74825a32d12ef8308
3
+ size 339619
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.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:d44f7aead9d9bf3e43e6b31828bf6a4d8a28ec46ea7d284ebc278102842ca5ba
3
+ size 893578816
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "1AB54DB2-0E1F-4A0A-97BE-B7200A55A845": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "8C9C671B-9520-4506-8305-4F43F8EBA026": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "1AB54DB2-0E1F-4A0A-97BE-B7200A55A845"
18
+ }
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:411dff5b299e6032be2be37cb2ae4cd061e93ba28ca5e295f1924c9d5b62087e
3
+ size 389721
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.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:243eb48ecf0cb884060b2b888ec7e4ae2212e89b9b301f56d963152ddf3dd448
3
+ size 838545664
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "46C5930C-39D4-426A-B01F-8608A2CDF62E": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "5AF50B88-5E07-4E28-851A-9A3FBFF8A06A": {
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": "5AF50B88-5E07-4E28-851A-9A3FBFF8A06A"
18
+ }
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-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:31b00e2dc7274d47b8cf3d77501acbbc18970c61ce22dc89b2a197a1abf4a1f6
3
+ size 149800
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-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:28f9df1d6be865745a68af92f05d4663ffd2a38dfe6d3f1ce3be51ed0444c479
3
+ size 99039232
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "0CB2F752-88AB-4099-9BFB-A0E353C29DC8": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "F7B40B4E-CB36-4703-AF7F-459163390A6E": {
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": "F7B40B4E-CB36-4703-AF7F-459163390A6E"
18
+ }
original/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-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:44d30d1e5b083b72de0fe9b5bd11e5472efe8b70e583312657027d3737f0848b
3
+ size 117464