pcuenq HF staff commited on
Commit
d807b46
1 Parent(s): 7955372

Add split_einsum_v2 palettized files.

Browse files
Files changed (43) hide show
  1. coreml-stable-diffusion-v1-5-palettized_split_einsum_v2_compiled.zip +3 -0
  2. split_einsum_v2/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
  3. split_einsum_v2/compiled/SafetyChecker.mlmodelc/coremldata.bin +3 -0
  4. split_einsum_v2/compiled/SafetyChecker.mlmodelc/metadata.json +122 -0
  5. split_einsum_v2/compiled/SafetyChecker.mlmodelc/model.mil +0 -0
  6. split_einsum_v2/compiled/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
  7. split_einsum_v2/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  8. split_einsum_v2/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  9. split_einsum_v2/compiled/TextEncoder.mlmodelc/metadata.json +83 -0
  10. split_einsum_v2/compiled/TextEncoder.mlmodelc/model.mil +0 -0
  11. split_einsum_v2/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  12. split_einsum_v2/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  13. split_einsum_v2/compiled/Unet.mlmodelc/coremldata.bin +3 -0
  14. split_einsum_v2/compiled/Unet.mlmodelc/metadata.json +103 -0
  15. split_einsum_v2/compiled/Unet.mlmodelc/model.mil +0 -0
  16. split_einsum_v2/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  17. split_einsum_v2/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  18. split_einsum_v2/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  19. split_einsum_v2/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
  20. split_einsum_v2/compiled/VAEDecoder.mlmodelc/model.mil +0 -0
  21. split_einsum_v2/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  22. split_einsum_v2/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  23. split_einsum_v2/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
  24. split_einsum_v2/compiled/VAEEncoder.mlmodelc/metadata.json +75 -0
  25. split_einsum_v2/compiled/VAEEncoder.mlmodelc/model.mil +0 -0
  26. split_einsum_v2/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
  27. split_einsum_v2/compiled/merges.txt +0 -0
  28. split_einsum_v2/compiled/vocab.json +0 -0
  29. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  30. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  31. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_safety_checker.mlpackage/Manifest.json +18 -0
  32. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  33. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  34. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_text_encoder.mlpackage/Manifest.json +18 -0
  35. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  36. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  37. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_unet.mlpackage/Manifest.json +18 -0
  38. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  39. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  40. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_decoder.mlpackage/Manifest.json +18 -0
  41. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  42. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  43. split_einsum_v2/packages/Stable_Diffusion_version_runwayml_stable-diffusion-v1-5_vae_encoder.mlpackage/Manifest.json +18 -0
coreml-stable-diffusion-v1-5-palettized_split_einsum_v2_compiled.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49a6ac1f62e12a2b3e426730d686fa466e30cba11c03b85305775714fb9814ec
3
+ size 1565721769
split_einsum_v2/compiled/SafetyChecker.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5313a2952e9fdd2176fe73515948010bb67111d1bfb7493c9238612def13aeb1
3
+ size 207
split_einsum_v2/compiled/SafetyChecker.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21b71f80cc9f964e46bea09bbfde5cdf903c99cdbe3e08ea9fa2134eda284108
3
+ size 1415
split_einsum_v2/compiled/SafetyChecker.mlmodelc/metadata.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "Identical to the input `images`. If safety checker detected any sensitive content, the corresponding image is replaced with a blank image (zeros)",
12
+ "shape" : "[]",
13
+ "name" : "filtered_images",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32)",
21
+ "shortDescription" : "Indicates whether the safety checker model found any sensitive content in the given image",
22
+ "shape" : "[]",
23
+ "name" : "has_nsfw_concepts",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32)",
31
+ "shortDescription" : "Concept scores are the scores before thresholding at zero yields the `has_nsfw_concepts` output. These scores can be used to tune the `adjustment` input",
32
+ "shape" : "[]",
33
+ "name" : "concept_scores",
34
+ "type" : "MultiArray"
35
+ }
36
+ ],
37
+ "version" : "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
+ ]
split_einsum_v2/compiled/SafetyChecker.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/compiled/SafetyChecker.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fee6f3d20d12e008bcbfbfd8be1c922f5f936722d96a37c51e6e86270bc1698c
3
+ size 607990114
split_einsum_v2/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:988cd33580bb5c09498f19a846dba6cd34ac01f41683271dadef857ef74f3a67
3
+ size 207
split_einsum_v2/compiled/TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ed65fe33a7fdc432b88d6ec82934011db501c93ba7b4277a801f2e36e054d8b
3
+ size 825
split_einsum_v2/compiled/TextEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "The token embeddings as encoded by the Transformer model",
12
+ "shape" : "[]",
13
+ "name" : "last_hidden_state",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "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
+ ]
split_einsum_v2/compiled/TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/compiled/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24f28d2ddfcd5bf5e5484e13e4ea7a2fcf10d3979c65c1c319aa06efbaa209bb
3
+ size 139866304
split_einsum_v2/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:492ef32357f349b7e3683e6ae823721dbf3f0461024c8cb9e467de1838395ea3
3
+ size 207
split_einsum_v2/compiled/Unet.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2932318a18ec5ea96e21fdaa24b97a48eb0114230bb41f7f1df973418a1acb42
3
+ size 1207
split_einsum_v2/compiled/Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
12
+ "shape" : "[]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "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
+ "Transpose" : 32,
27
+ "UpsampleNearestNeighbor" : 3,
28
+ "Ios16.reduceMean" : 218,
29
+ "Ios16.sin" : 1,
30
+ "Ios16.softmax" : 896,
31
+ "Split" : 16,
32
+ "Ios16.add" : 265,
33
+ "Concat" : 206,
34
+ "Ios16.realDiv" : 61,
35
+ "Ios16.square" : 61,
36
+ "ExpandDims" : 3,
37
+ "Ios16.sub" : 109,
38
+ "Ios16.cast" : 1,
39
+ "Ios16.conv" : 282,
40
+ "Ios16.constexprLutToDense" : 310,
41
+ "Ios16.einsum" : 1792,
42
+ "Ios16.gelu" : 16,
43
+ "Ios16.batchNorm" : 61,
44
+ "Ios16.reshape" : 154,
45
+ "Ios16.rsqrt" : 48,
46
+ "Ios16.silu" : 47,
47
+ "Ios16.sqrt" : 61,
48
+ "Ios16.mul" : 1057,
49
+ "Ios16.cos" : 1,
50
+ "SliceByIndex" : 1570
51
+ },
52
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
53
+ "isUpdatable" : "0",
54
+ "availability" : {
55
+ "macOS" : "13.0",
56
+ "tvOS" : "16.0",
57
+ "watchOS" : "9.0",
58
+ "iOS" : "16.0",
59
+ "macCatalyst" : "16.0"
60
+ },
61
+ "modelType" : {
62
+ "name" : "MLModelType_mlProgram"
63
+ },
64
+ "inputSchema" : [
65
+ {
66
+ "hasShapeFlexibility" : "0",
67
+ "isOptional" : "0",
68
+ "dataType" : "Float16",
69
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
70
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
71
+ "shape" : "[2, 4, 64, 64]",
72
+ "name" : "sample",
73
+ "type" : "MultiArray"
74
+ },
75
+ {
76
+ "hasShapeFlexibility" : "0",
77
+ "isOptional" : "0",
78
+ "dataType" : "Float16",
79
+ "formattedType" : "MultiArray (Float16 2)",
80
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
81
+ "shape" : "[2]",
82
+ "name" : "timestep",
83
+ "type" : "MultiArray"
84
+ },
85
+ {
86
+ "hasShapeFlexibility" : "0",
87
+ "isOptional" : "0",
88
+ "dataType" : "Float16",
89
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
90
+ "shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
91
+ "shape" : "[2, 768, 1, 77]",
92
+ "name" : "encoder_hidden_states",
93
+ "type" : "MultiArray"
94
+ }
95
+ ],
96
+ "userDefinedMetadata" : {
97
+ "com.github.apple.coremltools.version" : "7.0b1",
98
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
99
+ },
100
+ "generatedClassName" : "Stable_Diffusion_version_runwayml_stable_diffusion_v1_5_unet",
101
+ "method" : "predict"
102
+ }
103
+ ]
split_einsum_v2/compiled/Unet.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/compiled/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a278b99498e4f87e32e5e4faf05d576ad768a071bdce16741debf507439cd6dc
3
+ size 645167616
split_einsum_v2/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a9d135ee5dbd3b459b0f29834916205c6b4209e48e865837d0d99c221b29702
3
+ size 207
split_einsum_v2/compiled/VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a270b3c9dc565d860744d442e8927cf9c65bc5b17667a0489a7b857620ddbe65
3
+ size 755
split_einsum_v2/compiled/VAEDecoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "Generated image normalized to range [-1, 1]",
12
+ "shape" : "[]",
13
+ "name" : "image",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "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
+ ]
split_einsum_v2/compiled/VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/compiled/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bde01e1323a5e756198ef2ae52331f04f9c3043df796b0ccc7ca541321c0fde3
3
+ size 98993280
split_einsum_v2/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
split_einsum_v2/compiled/VAEEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1038a67b5829a8ab067ccabee5fb542117ba733bd516216225f3dd7e80143d7
3
+ size 761
split_einsum_v2/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
+ ]
split_einsum_v2/compiled/VAEEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/compiled/VAEEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1cf43e550e49a14d795b3402f07ece9a7cfbf405734dd73ce30881a8df6d771
3
+ size 68338112
split_einsum_v2/compiled/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/compiled/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum_v2/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
split_einsum_v2/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:fee6f3d20d12e008bcbfbfd8be1c922f5f936722d96a37c51e6e86270bc1698c
3
+ size 607990114
split_einsum_v2/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
+ "047B868E-425F-4B90-A221-C0E0424F3C07": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "1BA68070-3B86-4256-AC1F-D5E6EB974081": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "047B868E-425F-4B90-A221-C0E0424F3C07"
18
+ }
split_einsum_v2/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
split_einsum_v2/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:24f28d2ddfcd5bf5e5484e13e4ea7a2fcf10d3979c65c1c319aa06efbaa209bb
3
+ size 139866304
split_einsum_v2/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
+ "0E486DB0-59A7-4FD4-AF3C-C5F0A2F34C65": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "904C14A3-9D50-4589-8A0D-2E183F03B7BD": {
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": "904C14A3-9D50-4589-8A0D-2E183F03B7BD"
18
+ }
split_einsum_v2/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:12d0fd4793c11ca204792935e6896c5cbfa6ed75d22278b947d44846cd77c64b
3
+ size 2641718
split_einsum_v2/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:a278b99498e4f87e32e5e4faf05d576ad768a071bdce16741debf507439cd6dc
3
+ size 645167616
split_einsum_v2/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
+ "005A86A8-1B06-48D7-8986-29629F4BD6BD": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "1AAE7B15-6910-4DB3-9897-17F80AB55367": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "005A86A8-1B06-48D7-8986-29629F4BD6BD"
18
+ }
split_einsum_v2/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
split_einsum_v2/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:bde01e1323a5e756198ef2ae52331f04f9c3043df796b0ccc7ca541321c0fde3
3
+ size 98993280
split_einsum_v2/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
+ "74DF8316-3976-446F-9C2E-F4ADC1C17D39": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "B73CB428-2BE5-461F-BB3E-30CC67EABEBF": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "74DF8316-3976-446F-9C2E-F4ADC1C17D39"
18
+ }
split_einsum_v2/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
split_einsum_v2/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:a1cf43e550e49a14d795b3402f07ece9a7cfbf405734dd73ce30881a8df6d771
3
+ size 68338112
split_einsum_v2/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
+ "56EBFA7D-372E-4E50-A5DC-E3B7260794FF": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "E81D58C2-EC8B-434E-8D8C-B73D59A80624": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "56EBFA7D-372E-4E50-A5DC-E3B7260794FF"
18
+ }