pcuenq HF staff commited on
Commit
6e5a6b3
1 Parent(s): 27429e2

Add model weights.

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. original/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
  2. original/compiled/SafetyChecker.mlmodelc/coremldata.bin +3 -0
  3. original/compiled/SafetyChecker.mlmodelc/metadata.json +122 -0
  4. original/compiled/SafetyChecker.mlmodelc/model.mil +3 -0
  5. original/compiled/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
  6. original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  7. original/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  8. original/compiled/TextEncoder.mlmodelc/metadata.json +85 -0
  9. original/compiled/TextEncoder.mlmodelc/model.mil +3 -0
  10. original/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  11. original/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  12. original/compiled/Unet.mlmodelc/coremldata.bin +3 -0
  13. original/compiled/Unet.mlmodelc/metadata.json +101 -0
  14. original/compiled/Unet.mlmodelc/model.mil +3 -0
  15. original/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  16. original/compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
  17. original/compiled/UnetChunk1.mlmodelc/coremldata.bin +3 -0
  18. original/compiled/UnetChunk1.mlmodelc/metadata.json +215 -0
  19. original/compiled/UnetChunk1.mlmodelc/model.mil +3 -0
  20. original/compiled/UnetChunk1.mlmodelc/weights/weight.bin +3 -0
  21. original/compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin +3 -0
  22. original/compiled/UnetChunk2.mlmodelc/coremldata.bin +3 -0
  23. original/compiled/UnetChunk2.mlmodelc/metadata.json +202 -0
  24. original/compiled/UnetChunk2.mlmodelc/model.mil +3 -0
  25. original/compiled/UnetChunk2.mlmodelc/weights/weight.bin +3 -0
  26. original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  27. original/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  28. original/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
  29. original/compiled/VAEDecoder.mlmodelc/model.mil +3 -0
  30. original/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  31. original/compiled/merges.txt +0 -0
  32. original/compiled/vocab.json +0 -0
  33. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  34. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  35. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Manifest.json +18 -0
  36. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  37. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  38. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Manifest.json +18 -0
  39. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  40. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  41. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet.mlpackage/Manifest.json +18 -0
  42. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet_chunk1.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  43. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet_chunk1.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  44. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet_chunk1.mlpackage/Manifest.json +18 -0
  45. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet_chunk2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  46. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet_chunk2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  47. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet_chunk2.mlpackage/Manifest.json +18 -0
  48. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  49. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  50. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Manifest.json +18 -0
original/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:251f866b15422f387c4c787e5facb959abb76017a9e4a7df5783e7fd2a7fbaa9
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:093155766aa7fc2c8fd77a8f52f6118acaa726c4c366ef1558d76a45dafacba3
3
+ size 1414
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" : "runwayml\/stable-diffusion-v1-5",
38
+ "modelParameters" : [
39
+
40
+ ],
41
+ "author" : "Please refer to the Model Card available at huggingface.co\/runwayml\/stable-diffusion-v1-5",
42
+ "specificationVersion" : 7,
43
+ "storagePrecision" : "Float16",
44
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
45
+ "mlProgramOperationTypeHistogram" : {
46
+ "Transpose" : 121,
47
+ "Ios16.scatterNd" : 1,
48
+ "Ios16.softmax" : 24,
49
+ "Ios16.linear" : 147,
50
+ "Ios16.add" : 51,
51
+ "Concat" : 1,
52
+ "Ios16.realDiv" : 1,
53
+ "Ios16.sigmoid" : 24,
54
+ "Ios16.reduceSum" : 3,
55
+ "Tile" : 4,
56
+ "Ios16.greater" : 4,
57
+ "Shape" : 1,
58
+ "ExpandDims" : 5,
59
+ "Ios16.cast" : 9,
60
+ "Ios16.clip" : 1,
61
+ "Ios16.conv" : 1,
62
+ "Ios16.abs" : 1,
63
+ "Ios16.layerNorm" : 50,
64
+ "Ios16.matmul" : 48,
65
+ "Ios16.pow" : 2,
66
+ "Ios16.reshape" : 193,
67
+ "SliceByIndex" : 2,
68
+ "Ios16.mul" : 73,
69
+ "NonZero" : 1
70
+ },
71
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
72
+ "isUpdatable" : "0",
73
+ "availability" : {
74
+ "macOS" : "13.0",
75
+ "tvOS" : "16.0",
76
+ "watchOS" : "9.0",
77
+ "iOS" : "16.0",
78
+ "macCatalyst" : "16.0"
79
+ },
80
+ "modelType" : {
81
+ "name" : "MLModelType_mlProgram"
82
+ },
83
+ "inputSchema" : [
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float16",
88
+ "formattedType" : "MultiArray (Float16 1 × 3 × 224 × 224)",
89
+ "shortDescription" : "The normalized image input tensor resized to (224x224) in channels-first (BCHW) format",
90
+ "shape" : "[1, 3, 224, 224]",
91
+ "name" : "clip_input",
92
+ "type" : "MultiArray"
93
+ },
94
+ {
95
+ "hasShapeFlexibility" : "0",
96
+ "isOptional" : "0",
97
+ "dataType" : "Float16",
98
+ "formattedType" : "MultiArray (Float16 1 × 512 × 512 × 3)",
99
+ "shortDescription" : "Output of the vae_decoder (512x512) in channels-last (BHWC) format",
100
+ "shape" : "[1, 512, 512, 3]",
101
+ "name" : "images",
102
+ "type" : "MultiArray"
103
+ },
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float16",
108
+ "formattedType" : "MultiArray (Float16 1)",
109
+ "shortDescription" : "Bias added to the concept scores to trade off increased recall for reduce precision in the safety checker classifier",
110
+ "shape" : "[1]",
111
+ "name" : "adjustment",
112
+ "type" : "MultiArray"
113
+ }
114
+ ],
115
+ "userDefinedMetadata" : {
116
+ "com.github.apple.coremltools.version" : "6.1",
117
+ "com.github.apple.coremltools.source" : "torch==1.13.0"
118
+ },
119
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_safety_checker",
120
+ "method" : "predict"
121
+ }
122
+ ]
original/compiled/SafetyChecker.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:faa294d6af6b89866f8b087a01425c3b360b31a6cb8d83558a8aa864d983bd16
3
+ size 339498
original/compiled/SafetyChecker.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe63b0b363ad33dae5806efd74c4c51537d218a32e5b0c9672aee6d1e98dcfb0
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:8bc3f275b30918dddd91e7930f680f7d6b5845e89b54a975e0c954224bd8b971
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:28b16dfd8857a6aceca18baa860826f33cdf224f4f6d97561e617ae83c4ad506
3
+ size 824
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" : "runwayml\/stable-diffusion-v1-5",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/runwayml\/stable-diffusion-v1-5",
32
+ "specificationVersion" : 7,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios16.cast" : 3,
37
+ "Ios16.mul" : 36,
38
+ "Ios16.layerNorm" : 25,
39
+ "Ios16.sub" : 1,
40
+ "BandPart" : 1,
41
+ "Stack" : 1,
42
+ "Ios16.sigmoid" : 12,
43
+ "Transpose" : 60,
44
+ "Ios16.linear" : 72,
45
+ "Ios16.add" : 37,
46
+ "Ios16.matmul" : 24,
47
+ "Ios16.softmax" : 12,
48
+ "ExpandDims" : 1,
49
+ "Ios16.gather" : 1,
50
+ "Ios16.gatherNd" : 1,
51
+ "Ios16.reshape" : 120,
52
+ "Ios16.reduceArgmax" : 1
53
+ },
54
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
55
+ "isUpdatable" : "0",
56
+ "availability" : {
57
+ "macOS" : "13.0",
58
+ "tvOS" : "16.0",
59
+ "watchOS" : "9.0",
60
+ "iOS" : "16.0",
61
+ "macCatalyst" : "16.0"
62
+ },
63
+ "modelType" : {
64
+ "name" : "MLModelType_mlProgram"
65
+ },
66
+ "inputSchema" : [
67
+ {
68
+ "hasShapeFlexibility" : "0",
69
+ "isOptional" : "0",
70
+ "dataType" : "Float32",
71
+ "formattedType" : "MultiArray (Float32 1 × 77)",
72
+ "shortDescription" : "The token ids that represent the input text",
73
+ "shape" : "[1, 77]",
74
+ "name" : "input_ids",
75
+ "type" : "MultiArray"
76
+ }
77
+ ],
78
+ "userDefinedMetadata" : {
79
+ "com.github.apple.coremltools.version" : "6.1",
80
+ "com.github.apple.coremltools.source" : "torch==1.13.0"
81
+ },
82
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_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:574d578c3e43ad460332ef2638c8d6107f87b712529b2bf7fc9ebd7cca58988c
3
+ size 170475
original/compiled/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f06d5f26514329e65730f88457ee6185e3f210fa94188a4265a781a075b92c9
3
+ size 246145536
original/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f937ca721b6cbe7afe1d36e95b16dda802569d6e879476606d6038c3bafa63c3
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:cb9c3c58ae1b100bc47810c777ee623812a7730235019b61d08f903b77e236a2
3
+ size 1205
original/compiled/Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to faciliate the reverse diffusion (denoising) process",
12
+ "shape" : "[]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "runwayml\/stable-diffusion-v1-5",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/runwayml\/stable-diffusion-v1-5",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "UpsampleNearestNeighbor" : 3,
27
+ "Ios16.reduceMean" : 218,
28
+ "Ios16.sin" : 1,
29
+ "Ios16.softmax" : 32,
30
+ "Split" : 16,
31
+ "Ios16.add" : 265,
32
+ "Concat" : 14,
33
+ "Ios16.realDiv" : 61,
34
+ "Ios16.square" : 61,
35
+ "ExpandDims" : 3,
36
+ "Ios16.sub" : 109,
37
+ "Ios16.cast" : 1,
38
+ "Ios16.conv" : 282,
39
+ "Ios16.gelu" : 16,
40
+ "Ios16.matmul" : 64,
41
+ "Ios16.reshape" : 282,
42
+ "Ios16.batchNorm" : 61,
43
+ "Ios16.rsqrt" : 48,
44
+ "Ios16.silu" : 47,
45
+ "Ios16.sqrt" : 61,
46
+ "SliceByIndex" : 2,
47
+ "Ios16.mul" : 193,
48
+ "Ios16.cos" : 1
49
+ },
50
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
51
+ "isUpdatable" : "0",
52
+ "availability" : {
53
+ "macOS" : "13.0",
54
+ "tvOS" : "16.0",
55
+ "watchOS" : "9.0",
56
+ "iOS" : "16.0",
57
+ "macCatalyst" : "16.0"
58
+ },
59
+ "modelType" : {
60
+ "name" : "MLModelType_mlProgram"
61
+ },
62
+ "inputSchema" : [
63
+ {
64
+ "hasShapeFlexibility" : "0",
65
+ "isOptional" : "0",
66
+ "dataType" : "Float16",
67
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
68
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
69
+ "shape" : "[2, 4, 64, 64]",
70
+ "name" : "sample",
71
+ "type" : "MultiArray"
72
+ },
73
+ {
74
+ "hasShapeFlexibility" : "0",
75
+ "isOptional" : "0",
76
+ "dataType" : "Float16",
77
+ "formattedType" : "MultiArray (Float16 2)",
78
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
79
+ "shape" : "[2]",
80
+ "name" : "timestep",
81
+ "type" : "MultiArray"
82
+ },
83
+ {
84
+ "hasShapeFlexibility" : "0",
85
+ "isOptional" : "0",
86
+ "dataType" : "Float16",
87
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
88
+ "shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
89
+ "shape" : "[2, 768, 1, 77]",
90
+ "name" : "encoder_hidden_states",
91
+ "type" : "MultiArray"
92
+ }
93
+ ],
94
+ "userDefinedMetadata" : {
95
+ "com.github.apple.coremltools.version" : "6.1",
96
+ "com.github.apple.coremltools.source" : "torch==1.13.0"
97
+ },
98
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_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:fc21825c0f50185d06bd7ce4acea98c3b95405138b033635787d53ef16a8202a
3
+ size 842166
original/compiled/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8ce9f96e76f15405a593260cad28891853ab07838d17aa48aac2d84c7391ad7
3
+ size 1719344896
original/compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e15512ba29b357024ae785d731376b214f844214dac2ceac443cf34b8cb35f7
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:d5c2ef142d8dd750946024b7a4a894272d9aa563eff06a606ad2ba17dc074fed
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_171_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_15_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_115_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" : "input_253_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_61_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_117_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_143_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_169_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_63_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_89_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_7_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_35_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" : "hidden_states_149_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 × 768 × 1 × 77)",
206
+ "shortDescription" : "",
207
+ "shape" : "[2, 768, 1, 77]",
208
+ "name" : "encoder_hidden_states",
209
+ "type" : "MultiArray"
210
+ }
211
+ ],
212
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_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:a81cf9f44a33a876300a8ec70b0d0b05df5416c31ba774f8ede4d450f752bac9
3
+ size 396299
original/compiled/UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25e36225483190f8078081e45670130337cf7909113a838a18ae45fe10376222
3
+ size 887680576
original/compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a5c4137d5002be4c170c2de220c6a516fba2d350b36e42ab3b6799fe4849549
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:4eab18a66c1d11de21b7fb24d28258c32de753621dcd985ed02419d4c943d611
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 × 768 × 1 × 77)",
63
+ "shortDescription" : "",
64
+ "shape" : "[2, 768, 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 × 1280 × 8 × 8)",
73
+ "shortDescription" : "",
74
+ "shape" : "[2, 1280, 8, 8]",
75
+ "name" : "input_171_cast",
76
+ "type" : "MultiArray"
77
+ },
78
+ {
79
+ "hasShapeFlexibility" : "0",
80
+ "isOptional" : "0",
81
+ "dataType" : "Float32",
82
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
83
+ "shortDescription" : "",
84
+ "shape" : "[2, 320, 64, 64]",
85
+ "name" : "input_61_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 × 1280 × 16 × 16)",
113
+ "shortDescription" : "",
114
+ "shape" : "[2, 1280, 16, 16]",
115
+ "name" : "input_143_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 × 640 × 16 × 16)",
133
+ "shortDescription" : "",
134
+ "shape" : "[2, 640, 16, 16]",
135
+ "name" : "input_117_cast",
136
+ "type" : "MultiArray"
137
+ },
138
+ {
139
+ "hasShapeFlexibility" : "0",
140
+ "isOptional" : "0",
141
+ "dataType" : "Float32",
142
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
143
+ "shortDescription" : "",
144
+ "shape" : "[2, 1280, 16, 16]",
145
+ "name" : "input_169_cast",
146
+ "type" : "MultiArray"
147
+ },
148
+ {
149
+ "hasShapeFlexibility" : "0",
150
+ "isOptional" : "0",
151
+ "dataType" : "Float32",
152
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 8 × 8)",
153
+ "shortDescription" : "",
154
+ "shape" : "[2, 2560, 8, 8]",
155
+ "name" : "input_253_cast",
156
+ "type" : "MultiArray"
157
+ },
158
+ {
159
+ "hasShapeFlexibility" : "0",
160
+ "isOptional" : "0",
161
+ "dataType" : "Float32",
162
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
163
+ "shortDescription" : "",
164
+ "shape" : "[2, 640, 32, 32]",
165
+ "name" : "input_89_cast",
166
+ "type" : "MultiArray"
167
+ },
168
+ {
169
+ "hasShapeFlexibility" : "0",
170
+ "isOptional" : "0",
171
+ "dataType" : "Float32",
172
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
173
+ "shortDescription" : "",
174
+ "shape" : "[2, 320, 64, 64]",
175
+ "name" : "input_35_cast",
176
+ "type" : "MultiArray"
177
+ },
178
+ {
179
+ "hasShapeFlexibility" : "0",
180
+ "isOptional" : "0",
181
+ "dataType" : "Float32",
182
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
183
+ "shortDescription" : "",
184
+ "shape" : "[2, 320, 64, 64]",
185
+ "name" : "input_7_cast",
186
+ "type" : "MultiArray"
187
+ },
188
+ {
189
+ "hasShapeFlexibility" : "0",
190
+ "isOptional" : "0",
191
+ "dataType" : "Float32",
192
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
193
+ "shortDescription" : "",
194
+ "shape" : "[2, 1280, 1, 1]",
195
+ "name" : "input_15_cast",
196
+ "type" : "MultiArray"
197
+ }
198
+ ],
199
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_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:2947e65157c9c1955cffaf525ded9f3f6b78be64512867b8d8aa28b5f41e8b68
3
+ size 453112
original/compiled/UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:141138d2bc02196c8480645538b635fdf177d5e174d3a47ccb866e0d89893635
3
+ size 831664384
original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c055db5bcfd110de9caf775217990bc8a6fc8fe1de05642ef7299399d90f9ea
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:114d6143d9b5e7a34c40e627fcc6b6a65b50fd5c8cc2a27bab75ee7d50b91c09
3
+ size 754
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" : "runwayml\/stable-diffusion-v1-5",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/runwayml\/stable-diffusion-v1-5",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Ios16.cast" : 1,
27
+ "Ios16.mul" : 1,
28
+ "Ios16.sqrt" : 30,
29
+ "Ios16.sub" : 30,
30
+ "Transpose" : 3,
31
+ "UpsampleNearestNeighbor" : 3,
32
+ "Ios16.conv" : 36,
33
+ "Ios16.add" : 45,
34
+ "Ios16.linear" : 4,
35
+ "Ios16.matmul" : 2,
36
+ "Ios16.realDiv" : 30,
37
+ "Ios16.reduceMean" : 60,
38
+ "Ios16.softmax" : 1,
39
+ "Ios16.batchNorm" : 30,
40
+ "Ios16.square" : 30,
41
+ "Ios16.reshape" : 62,
42
+ "Ios16.silu" : 29
43
+ },
44
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
45
+ "isUpdatable" : "0",
46
+ "availability" : {
47
+ "macOS" : "13.0",
48
+ "tvOS" : "16.0",
49
+ "watchOS" : "9.0",
50
+ "iOS" : "16.0",
51
+ "macCatalyst" : "16.0"
52
+ },
53
+ "modelType" : {
54
+ "name" : "MLModelType_mlProgram"
55
+ },
56
+ "inputSchema" : [
57
+ {
58
+ "hasShapeFlexibility" : "0",
59
+ "isOptional" : "0",
60
+ "dataType" : "Float16",
61
+ "formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
62
+ "shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
63
+ "shape" : "[1, 4, 64, 64]",
64
+ "name" : "z",
65
+ "type" : "MultiArray"
66
+ }
67
+ ],
68
+ "userDefinedMetadata" : {
69
+ "com.github.apple.coremltools.version" : "6.1",
70
+ "com.github.apple.coremltools.source" : "torch==1.13.0"
71
+ },
72
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_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:5dc9e06601d2e01831cb578154e1061929bdae37fee1d5dc5878eba7b7bfd859
3
+ size 174067
original/compiled/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62acfdfc8411f4effaec4a56c0271220161bf769db00d5c683126fc8e8ba070c
3
+ size 99039232
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_runwayml_stable-diffusion-v1-5_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:a74049aaec509c6f0beee85699964250de4a4a1cef3524e873b74ab3d5018ed8
3
+ size 289348
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:fe63b0b363ad33dae5806efd74c4c51537d218a32e5b0c9672aee6d1e98dcfb0
3
+ size 607990114
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "3AB86FAC-CF7E-4916-B5E2-FCE3697A0E46": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "834AC14E-8A03-49B1-B846-4E9A715090AD": {
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": "834AC14E-8A03-49B1-B846-4E9A715090AD"
18
+ }
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:ca7992a4064483732ec6c22df5ee88fb13f00dc1ef8df87c2274592fe021932e
3
+ size 145741
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:5f06d5f26514329e65730f88457ee6185e3f210fa94188a4265a781a075b92c9
3
+ size 246145536
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "72B5886B-8719-4B9E-9EE8-8D8EAF1DD1FF": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "A6D2B4C6-E4A5-4166-9B24-978A472A431A": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "72B5886B-8719-4B9E-9EE8-8D8EAF1DD1FF"
18
+ }
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:19046fa941803184e4c1772cc022c75fb351af137c0cda824a772e382ba74624
3
+ size 723090
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:d8ce9f96e76f15405a593260cad28891853ab07838d17aa48aac2d84c7391ad7
3
+ size 1719344896
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "78A20CD8-C297-474C-8647-98B0B4B07B2A": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "90C8FDDA-B9D4-4536-8C5D-062A5A49C40C": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "78A20CD8-C297-474C-8647-98B0B4B07B2A"
18
+ }
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:d5d1f802fec88407985f1af09fdbf8ac71f30c3ce9486787aa3ac8964fa45a3b
3
+ size 339661
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:25e36225483190f8078081e45670130337cf7909113a838a18ae45fe10376222
3
+ size 887680576
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet_chunk1.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "8388F55D-1FC8-4BB1-9A77-FB9DAF0B56E2": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "D96A8C83-B111-43EA-9BED-D2DE75275117": {
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": "D96A8C83-B111-43EA-9BED-D2DE75275117"
18
+ }
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:3b24546c654652d3d0e86b53219276f1bdab5a1e4c7439e9c8feb630ad2d41c9
3
+ size 389763
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:141138d2bc02196c8480645538b635fdf177d5e174d3a47ccb866e0d89893635
3
+ size 831664384
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet_chunk2.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "6D2C842E-509D-47F7-AC71-614393FECDF4": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "7EB69EB8-0F09-4CD7-92D7-B7C5437BCA6D": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "6D2C842E-509D-47F7-AC71-614393FECDF4"
18
+ }
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:a62e9affa18dc3eb2dba3790f144c734fc2a850180801c33a749d5b746e325b7
3
+ size 147320
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:62acfdfc8411f4effaec4a56c0271220161bf769db00d5c683126fc8e8ba070c
3
+ size 99039232
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "10BC6CB0-43A8-46C1-9D6F-19F301FE6D46": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "26E088D0-3EC3-4F6C-9D7D-FFD478AD4A12": {
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": "26E088D0-3EC3-4F6C-9D7D-FFD478AD4A12"
18
+ }