pcuenq HF staff commited on
Commit
ad12c4f
1 Parent(s): f9f6c6a

Palettized files for ORIGINAL attention

Browse files
Files changed (47) hide show
  1. coreml-stable-diffusion-v1-5-palettized_original.zip +3 -0
  2. original/.DS_Store +0 -0
  3. original/compiled/.DS_Store +0 -0
  4. original/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
  5. original/compiled/SafetyChecker.mlmodelc/coremldata.bin +3 -0
  6. original/compiled/SafetyChecker.mlmodelc/metadata.json +122 -0
  7. original/compiled/SafetyChecker.mlmodelc/model.mil +0 -0
  8. original/compiled/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
  9. original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  10. original/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  11. original/compiled/TextEncoder.mlmodelc/metadata.json +83 -0
  12. original/compiled/TextEncoder.mlmodelc/model.mil +0 -0
  13. original/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  14. original/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  15. original/compiled/Unet.mlmodelc/coremldata.bin +3 -0
  16. original/compiled/Unet.mlmodelc/metadata.json +102 -0
  17. original/compiled/Unet.mlmodelc/model.mil +0 -0
  18. original/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  19. original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  20. original/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  21. original/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
  22. original/compiled/VAEDecoder.mlmodelc/model.mil +0 -0
  23. original/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  24. original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  25. original/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
  26. original/compiled/VAEEncoder.mlmodelc/metadata.json +75 -0
  27. original/compiled/VAEEncoder.mlmodelc/model.mil +0 -0
  28. original/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
  29. original/compiled/merges.txt +0 -0
  30. original/compiled/vocab.json +0 -0
  31. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  32. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  33. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Manifest.json +18 -0
  34. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +18 -0
  35. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -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 +30 -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_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  43. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  44. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Manifest.json +18 -0
  45. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  46. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  47. original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_encoder.mlpackage/Manifest.json +18 -0
coreml-stable-diffusion-v1-5-palettized_original.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edc4a86d7c13d222a5c207ce9fbc109168eeb2e37bc90a4d689fca800b70a3e3
3
+ size 1563656510
original/.DS_Store ADDED
Binary file (10.2 kB). View file
 
original/compiled/.DS_Store ADDED
Binary file (8.2 kB). View file
 
original/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5313a2952e9fdd2176fe73515948010bb67111d1bfb7493c9238612def13aeb1
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:21b71f80cc9f964e46bea09bbfde5cdf903c99cdbe3e08ea9fa2134eda284108
3
+ size 1415
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" : 7,
60
+ "Ios16.clip" : 1,
61
+ "Ios16.conv" : 1,
62
+ "Ios16.abs" : 1,
63
+ "Ios16.layerNorm" : 50,
64
+ "Ios16.matmul" : 48,
65
+ "Ios16.pow" : 2,
66
+ "Ios16.reshape" : 193,
67
+ "SliceByIndex" : 2,
68
+ "Ios16.mul" : 73,
69
+ "NonZero" : 1
70
+ },
71
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
72
+ "isUpdatable" : "0",
73
+ "availability" : {
74
+ "macOS" : "13.0",
75
+ "tvOS" : "16.0",
76
+ "watchOS" : "9.0",
77
+ "iOS" : "16.0",
78
+ "macCatalyst" : "16.0"
79
+ },
80
+ "modelType" : {
81
+ "name" : "MLModelType_mlProgram"
82
+ },
83
+ "inputSchema" : [
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float16",
88
+ "formattedType" : "MultiArray (Float16 1 × 3 × 224 × 224)",
89
+ "shortDescription" : "The normalized image input tensor resized to (224x224) in channels-first (BCHW) format",
90
+ "shape" : "[1, 3, 224, 224]",
91
+ "name" : "clip_input",
92
+ "type" : "MultiArray"
93
+ },
94
+ {
95
+ "hasShapeFlexibility" : "0",
96
+ "isOptional" : "0",
97
+ "dataType" : "Float16",
98
+ "formattedType" : "MultiArray (Float16 1 × 512 × 512 × 3)",
99
+ "shortDescription" : "Output of the vae_decoder (512x512) in channels-last (BHWC) format",
100
+ "shape" : "[1, 512, 512, 3]",
101
+ "name" : "images",
102
+ "type" : "MultiArray"
103
+ },
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float16",
108
+ "formattedType" : "MultiArray (Float16 1)",
109
+ "shortDescription" : "Bias added to the concept scores to trade off increased recall for reduce precision in the safety checker classifier",
110
+ "shape" : "[1]",
111
+ "name" : "adjustment",
112
+ "type" : "MultiArray"
113
+ }
114
+ ],
115
+ "userDefinedMetadata" : {
116
+ "com.github.apple.coremltools.version" : "7.0b1",
117
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
118
+ },
119
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_safety_checker",
120
+ "method" : "predict"
121
+ }
122
+ ]
original/compiled/SafetyChecker.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
original/compiled/SafetyChecker.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9277859577b9607c9f88c3a4430d6df0ba7f033c98df3c3e1b6190ffa8f2af91
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:988cd33580bb5c09498f19a846dba6cd34ac01f41683271dadef857ef74f3a67
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:3ed65fe33a7fdc432b88d6ec82934011db501c93ba7b4277a801f2e36e054d8b
3
+ size 825
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" : "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" : "Mixed (Float16, Palettized (6 bits))",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios16.cast" : 3,
37
+ "Ios16.mul" : 36,
38
+ "Ios16.layerNorm" : 25,
39
+ "Ios16.constexprLutToDense" : 86,
40
+ "Stack" : 1,
41
+ "Transpose" : 60,
42
+ "Ios16.sigmoid" : 12,
43
+ "Ios16.linear" : 72,
44
+ "Ios16.add" : 37,
45
+ "Ios16.matmul" : 24,
46
+ "Ios16.softmax" : 12,
47
+ "Ios16.gatherNd" : 1,
48
+ "Ios16.gather" : 1,
49
+ "Ios16.reshape" : 120,
50
+ "Ios16.reduceArgmax" : 1
51
+ },
52
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
53
+ "isUpdatable" : "0",
54
+ "availability" : {
55
+ "macOS" : "13.0",
56
+ "tvOS" : "16.0",
57
+ "watchOS" : "9.0",
58
+ "iOS" : "16.0",
59
+ "macCatalyst" : "16.0"
60
+ },
61
+ "modelType" : {
62
+ "name" : "MLModelType_mlProgram"
63
+ },
64
+ "inputSchema" : [
65
+ {
66
+ "hasShapeFlexibility" : "0",
67
+ "isOptional" : "0",
68
+ "dataType" : "Float32",
69
+ "formattedType" : "MultiArray (Float32 1 × 77)",
70
+ "shortDescription" : "The token ids that represent the input text",
71
+ "shape" : "[1, 77]",
72
+ "name" : "input_ids",
73
+ "type" : "MultiArray"
74
+ }
75
+ ],
76
+ "userDefinedMetadata" : {
77
+ "com.github.apple.coremltools.version" : "7.0b1",
78
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
79
+ },
80
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_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:ebd9843fac9887f345c781938b4fb4c8fe2774ccf8f0a5e36a2e3ee97393d657
3
+ size 139866304
original/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c65bffd838df077cdb2ba5beb5d1550c32f25c792fb719666b59056250896cf
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:2932318a18ec5ea96e21fdaa24b97a48eb0114230bb41f7f1df973418a1acb42
3
+ size 1207
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" : "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" : "Mixed (Float16, Palettized (6 bits))",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "UpsampleNearestNeighbor" : 3,
27
+ "Ios16.reduceMean" : 218,
28
+ "Ios16.sin" : 1,
29
+ "Ios16.softmax" : 32,
30
+ "Split" : 16,
31
+ "Ios16.add" : 265,
32
+ "Concat" : 14,
33
+ "Ios16.realDiv" : 61,
34
+ "Ios16.square" : 61,
35
+ "ExpandDims" : 3,
36
+ "Ios16.sub" : 109,
37
+ "Ios16.cast" : 1,
38
+ "Ios16.conv" : 282,
39
+ "Ios16.constexprLutToDense" : 310,
40
+ "Ios16.gelu" : 16,
41
+ "Ios16.matmul" : 64,
42
+ "Ios16.batchNorm" : 61,
43
+ "Ios16.reshape" : 282,
44
+ "Ios16.rsqrt" : 48,
45
+ "Ios16.silu" : 47,
46
+ "Ios16.sqrt" : 61,
47
+ "Ios16.mul" : 193,
48
+ "Ios16.cos" : 1,
49
+ "SliceByIndex" : 2
50
+ },
51
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
52
+ "isUpdatable" : "0",
53
+ "availability" : {
54
+ "macOS" : "13.0",
55
+ "tvOS" : "16.0",
56
+ "watchOS" : "9.0",
57
+ "iOS" : "16.0",
58
+ "macCatalyst" : "16.0"
59
+ },
60
+ "modelType" : {
61
+ "name" : "MLModelType_mlProgram"
62
+ },
63
+ "inputSchema" : [
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float16",
68
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
69
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
70
+ "shape" : "[2, 4, 64, 64]",
71
+ "name" : "sample",
72
+ "type" : "MultiArray"
73
+ },
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float16",
78
+ "formattedType" : "MultiArray (Float16 2)",
79
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
80
+ "shape" : "[2]",
81
+ "name" : "timestep",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float16",
88
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
89
+ "shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
90
+ "shape" : "[2, 768, 1, 77]",
91
+ "name" : "encoder_hidden_states",
92
+ "type" : "MultiArray"
93
+ }
94
+ ],
95
+ "userDefinedMetadata" : {
96
+ "com.github.apple.coremltools.version" : "7.0b1",
97
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
98
+ },
99
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_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:dd0ffa7166c63f95e4613e3a11fb7aebae06e6814a0e03ee1bc0478f4f409eb5
3
+ size 645167616
original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a9d135ee5dbd3b459b0f29834916205c6b4209e48e865837d0d99c221b29702
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:a270b3c9dc565d860744d442e8927cf9c65bc5b17667a0489a7b857620ddbe65
3
+ size 755
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" : 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_runwayml_stable_diffusion_v1_5_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:41ca3cdb7f972aac490671b5aa72d7234d6fbd6f480beabd0cbbeabe2cddbb72
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:0911ab2348b7f2c228b1ffd421fbf834751773e5d3174a3dffa8584255b31ec7
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:65342b64c8eff0ec646844fc42a5b0efc671e6ec92a646a2b97b887cecf22d40
3
+ size 761
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" : "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
+ "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_runwayml_stable_diffusion_v1_5_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:754609f992945aa3af689ad8d7a74a3c4b3922abbd4a0fed4a4b84d2f25b8860
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_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:a9c09d11dd3c9ee8a55a5a8fd0bac924206008f6a56da79e7ffca01651ffc7a7
3
+ size 319165
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:9277859577b9607c9f88c3a4430d6df0ba7f033c98df3c3e1b6190ffa8f2af91
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
+ "3D6B3FC6-09D3-4A29-A6B1-CD42203D45BE": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "4E0BDAF2-5DC9-4F62-B4FC-95B71ED835E6": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "3D6B3FC6-09D3-4A29-A6B1-CD42203D45BE"
18
+ }
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Outputs" : {
3
+ "pooled_outputs" : {
4
+ "MLFeatureShortDescription" : "The version of the `last_hidden_state` output after pooling"
5
+ },
6
+ "last_hidden_state" : {
7
+ "MLFeatureShortDescription" : "The token embeddings as encoded by the Transformer model"
8
+ }
9
+ },
10
+ "Inputs" : {
11
+ "input_ids" : {
12
+ "MLFeatureShortDescription" : "The token ids that represent the input text"
13
+ }
14
+ },
15
+ "TrainingInputs" : {
16
+
17
+ }
18
+ }
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "MLModelVersionStringKey" : "runwayml\/stable-diffusion-v1-5",
3
+ "MLModelDescriptionKey" : "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
+ "MLModelCreatorDefinedKey" : {
5
+ "com.github.apple.coremltools.version" : "7.0b1",
6
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
7
+ },
8
+ "MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/runwayml\/stable-diffusion-v1-5",
9
+ "MLModelLicenseKey" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)"
10
+ }
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:b706e9bbf95f6f157e79c8546e607bf7936e526ad2f23df57ffc2be38b3afd90
3
+ size 174143
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:ebd9843fac9887f345c781938b4fb4c8fe2774ccf8f0a5e36a2e3ee97393d657
3
+ size 139866304
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "0D49E676-ECAF-4F20-9807-4A026361E9BC": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "4C946AB6-A174-4EDF-A352-47420EFDA5AA": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "External FeatureDescription Overlay",
13
+ "name": "FeatureDescriptions.json",
14
+ "path": "com.apple.CoreML/FeatureDescriptions.json"
15
+ },
16
+ "AB30F44C-1BED-4879-9118-7AC35449F28A": {
17
+ "author": "com.apple.CoreML",
18
+ "description": "External Metadata Overlay",
19
+ "name": "Metadata.json",
20
+ "path": "com.apple.CoreML/Metadata.json"
21
+ },
22
+ "BA77C9F9-10A2-484C-90AB-11F7FD01CE6D": {
23
+ "author": "com.apple.CoreML",
24
+ "description": "CoreML Model Specification",
25
+ "name": "model.mlmodel",
26
+ "path": "com.apple.CoreML/model.mlmodel"
27
+ }
28
+ },
29
+ "rootModelIdentifier": "BA77C9F9-10A2-484C-90AB-11F7FD01CE6D"
30
+ }
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:293ed48f7d793964495d5706c14f7a8f1205e908afe88d98bbc3126561fb4086
3
+ size 822618
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:dd0ffa7166c63f95e4613e3a11fb7aebae06e6814a0e03ee1bc0478f4f409eb5
3
+ size 645167616
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
+ "2CD3D5F9-E121-43F4-9471-962C2ECD0853": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "E946CA4A-00EA-44D4-ADAE-3636F4B738A8": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "2CD3D5F9-E121-43F4-9471-962C2ECD0853"
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:2277cbbf302f318ad5d1af88ed99a6f0caef98ed6911b7eeef1530fa97d625d1
3
+ size 156812
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:41ca3cdb7f972aac490671b5aa72d7234d6fbd6f480beabd0cbbeabe2cddbb72
3
+ size 98993280
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
+ "B3EFF7DB-7BB4-4280-979C-A3264199FADF": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "CA366CBD-BFB1-4E08-8784-88D35442513C": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "B3EFF7DB-7BB4-4280-979C-A3264199FADF"
18
+ }
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:3c42792dba194eef7f0621880e50b911cdf7bc31943acf00c4037061f809fe34
3
+ size 120681
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_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:754609f992945aa3af689ad8d7a74a3c4b3922abbd4a0fed4a4b84d2f25b8860
3
+ size 68338112
original/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "BA8B0668-BE1E-40B3-BB5F-60D324480978": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "F9AAA8EF-E4C2-4153-B871-3E10C6D3F6A2": {
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": "F9AAA8EF-E4C2-4153-B871-3E10C6D3F6A2"
18
+ }