pcuenq HF staff commited on
Commit
874b462
1 Parent(s): 7d1d550

Add SPLIT_EINSUM variant.

Browse files
Files changed (50) hide show
  1. split_einsum/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  2. split_einsum/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  3. split_einsum/compiled/TextEncoder.mlmodelc/metadata.json +85 -0
  4. split_einsum/compiled/TextEncoder.mlmodelc/model.mil +3 -0
  5. split_einsum/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  6. split_einsum/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  7. split_einsum/compiled/Unet.mlmodelc/coremldata.bin +3 -0
  8. split_einsum/compiled/Unet.mlmodelc/metadata.json +102 -0
  9. split_einsum/compiled/Unet.mlmodelc/model.mil +3 -0
  10. split_einsum/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  11. split_einsum/compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
  12. split_einsum/compiled/UnetChunk1.mlmodelc/coremldata.bin +3 -0
  13. split_einsum/compiled/UnetChunk1.mlmodelc/metadata.json +216 -0
  14. split_einsum/compiled/UnetChunk1.mlmodelc/model.mil +3 -0
  15. split_einsum/compiled/UnetChunk1.mlmodelc/weights/weight.bin +3 -0
  16. split_einsum/compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin +3 -0
  17. split_einsum/compiled/UnetChunk2.mlmodelc/coremldata.bin +3 -0
  18. split_einsum/compiled/UnetChunk2.mlmodelc/metadata.json +204 -0
  19. split_einsum/compiled/UnetChunk2.mlmodelc/model.mil +3 -0
  20. split_einsum/compiled/UnetChunk2.mlmodelc/weights/weight.bin +3 -0
  21. split_einsum/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  22. split_einsum/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  23. split_einsum/compiled/VAEDecoder.mlmodelc/metadata.json +75 -0
  24. split_einsum/compiled/VAEDecoder.mlmodelc/model.mil +3 -0
  25. split_einsum/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  26. split_einsum/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  27. split_einsum/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
  28. split_einsum/compiled/VAEEncoder.mlmodelc/metadata.json +118 -0
  29. split_einsum/compiled/VAEEncoder.mlmodelc/model.mil +3 -0
  30. split_einsum/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
  31. split_einsum/compiled/merges.txt +0 -0
  32. split_einsum/compiled/vocab.json +0 -0
  33. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  34. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  35. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Manifest.json +18 -0
  36. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  37. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  38. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Manifest.json +18 -0
  39. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  40. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  41. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Manifest.json +18 -0
  42. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  43. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  44. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Manifest.json +18 -0
  45. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  46. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  47. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Manifest.json +18 -0
  48. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  49. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  50. split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_encoder.mlpackage/Manifest.json +18 -0
split_einsum/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ee59ccda5036f123131d35c0c7a96678b33c793cdf81379afede2950fdfbf17
3
+ size 207
split_einsum/compiled/TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ec66e4fac048e8836ac2cc5103bb66149958908bb06e293f0e55b7f792843dd
3
+ size 838
split_einsum/compiled/TextEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "The token embeddings as encoded by the Transformer model",
12
+ "shape" : "[]",
13
+ "name" : "last_hidden_state",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "stabilityai\/stable-diffusion-2-1-base",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-1-base",
32
+ "specificationVersion" : 7,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios16.cast" : 3,
37
+ "Ios16.mul" : 23,
38
+ "Ios16.layerNorm" : 47,
39
+ "Ios16.sub" : 1,
40
+ "BandPart" : 1,
41
+ "Stack" : 1,
42
+ "Transpose" : 115,
43
+ "Ios16.linear" : 138,
44
+ "Ios16.add" : 70,
45
+ "Ios16.matmul" : 46,
46
+ "Ios16.gelu" : 23,
47
+ "Ios16.softmax" : 23,
48
+ "ExpandDims" : 1,
49
+ "Ios16.gather" : 1,
50
+ "Ios16.gatherNd" : 1,
51
+ "Ios16.reshape" : 230,
52
+ "Ios16.reduceArgmax" : 1
53
+ },
54
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
55
+ "isUpdatable" : "0",
56
+ "availability" : {
57
+ "macOS" : "13.0",
58
+ "tvOS" : "16.0",
59
+ "watchOS" : "9.0",
60
+ "iOS" : "16.0",
61
+ "macCatalyst" : "16.0"
62
+ },
63
+ "modelType" : {
64
+ "name" : "MLModelType_mlProgram"
65
+ },
66
+ "inputSchema" : [
67
+ {
68
+ "hasShapeFlexibility" : "0",
69
+ "isOptional" : "0",
70
+ "dataType" : "Float32",
71
+ "formattedType" : "MultiArray (Float32 1 × 77)",
72
+ "shortDescription" : "The token ids that represent the input text",
73
+ "shape" : "[1, 77]",
74
+ "name" : "input_ids",
75
+ "type" : "MultiArray"
76
+ }
77
+ ],
78
+ "userDefinedMetadata" : {
79
+ "com.github.apple.coremltools.version" : "6.1",
80
+ "com.github.apple.coremltools.source" : "torch==1.13.1"
81
+ },
82
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_text_encoder",
83
+ "method" : "predict"
84
+ }
85
+ ]
split_einsum/compiled/TextEncoder.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a79b7a70cc6a8780549c65b6a80a36e30e126b2ac63a656fce104fbc7799d32c
3
+ size 320318
split_einsum/compiled/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8321973f654bd7c62070c79a32eb2dc8179aca16e5b7ebe16775fbc41260c082
3
+ size 680811520
split_einsum/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50ad9846ff88727fc5cff3e3944dd3f32fcf16e1879ae6f5ec6ab4576a08491c
3
+ size 207
split_einsum/compiled/Unet.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22c8cf48d32b10b2976f5b2aa15b2335fe7ff1541b7bb20dc0aaee5316db6a91
3
+ size 1220
split_einsum/compiled/Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
12
+ "shape" : "[]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "stabilityai\/stable-diffusion-2-1-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-1-base",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Transpose" : 32,
27
+ "UpsampleNearestNeighbor" : 3,
28
+ "Ios16.reduceMean" : 218,
29
+ "Ios16.sin" : 1,
30
+ "Ios16.softmax" : 390,
31
+ "Split" : 16,
32
+ "Ios16.add" : 265,
33
+ "Concat" : 46,
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.einsum" : 780,
41
+ "Ios16.gelu" : 16,
42
+ "Ios16.reshape" : 154,
43
+ "Ios16.batchNorm" : 61,
44
+ "Ios16.rsqrt" : 48,
45
+ "Ios16.silu" : 47,
46
+ "Ios16.sqrt" : 61,
47
+ "SliceByIndex" : 1172,
48
+ "Ios16.mul" : 551,
49
+ "Ios16.cos" : 1
50
+ },
51
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
52
+ "isUpdatable" : "0",
53
+ "availability" : {
54
+ "macOS" : "13.0",
55
+ "tvOS" : "16.0",
56
+ "watchOS" : "9.0",
57
+ "iOS" : "16.0",
58
+ "macCatalyst" : "16.0"
59
+ },
60
+ "modelType" : {
61
+ "name" : "MLModelType_mlProgram"
62
+ },
63
+ "inputSchema" : [
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float16",
68
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
69
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
70
+ "shape" : "[2, 4, 64, 64]",
71
+ "name" : "sample",
72
+ "type" : "MultiArray"
73
+ },
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float16",
78
+ "formattedType" : "MultiArray (Float16 2)",
79
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
80
+ "shape" : "[2]",
81
+ "name" : "timestep",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float16",
88
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
89
+ "shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
90
+ "shape" : "[2, 1024, 1, 77]",
91
+ "name" : "encoder_hidden_states",
92
+ "type" : "MultiArray"
93
+ }
94
+ ],
95
+ "userDefinedMetadata" : {
96
+ "com.github.apple.coremltools.version" : "6.1",
97
+ "com.github.apple.coremltools.source" : "torch==1.13.1"
98
+ },
99
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_unet",
100
+ "method" : "predict"
101
+ }
102
+ ]
split_einsum/compiled/Unet.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51498bdb1d2167f35a358a3bc5f2417b4ffc1fe4eb936f64ab1a6ba8c9ba108f
3
+ size 1889302
split_einsum/compiled/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82da2385e2d92ca3a96ea75d6f3ec2db6b04dfc4d1f4254ad9059643d9699a4
3
+ size 1732124416
split_einsum/compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0270221011227ad9debf43fb4675178091ef88baa9b0100b2c6b7768622b8b54
3
+ size 207
split_einsum/compiled/UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb7324b6d3791244534f175bc907aecbd5c4eb1691ac75310de194fce41bfd4c
3
+ size 528
split_einsum/compiled/UnetChunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_143_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_169_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_35_cast",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float32",
40
+ "formattedType" : "MultiArray (Float32)",
41
+ "shortDescription" : "",
42
+ "shape" : "[]",
43
+ "name" : "hidden_states_149_cast",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float32",
50
+ "formattedType" : "MultiArray (Float32)",
51
+ "shortDescription" : "",
52
+ "shape" : "[]",
53
+ "name" : "input_171_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_253_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_61_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_115_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_7_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_63_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_117_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_89_cast",
124
+ "type" : "MultiArray"
125
+ },
126
+ {
127
+ "hasShapeFlexibility" : "0",
128
+ "isOptional" : "0",
129
+ "dataType" : "Float32",
130
+ "formattedType" : "MultiArray (Float32)",
131
+ "shortDescription" : "",
132
+ "shape" : "[]",
133
+ "name" : "input_15_cast",
134
+ "type" : "MultiArray"
135
+ }
136
+ ],
137
+ "modelParameters" : [
138
+
139
+ ],
140
+ "specificationVersion" : 7,
141
+ "mlProgramOperationTypeHistogram" : {
142
+ "Transpose" : 14,
143
+ "Ios16.reduceMean" : 104,
144
+ "Ios16.sin" : 1,
145
+ "Ios16.softmax" : 180,
146
+ "Split" : 7,
147
+ "Ios16.add" : 124,
148
+ "Concat" : 18,
149
+ "Ios16.realDiv" : 31,
150
+ "Ios16.square" : 31,
151
+ "ExpandDims" : 3,
152
+ "Ios16.sub" : 52,
153
+ "Ios16.cast" : 13,
154
+ "Ios16.conv" : 129,
155
+ "Ios16.einsum" : 360,
156
+ "Ios16.gelu" : 7,
157
+ "Ios16.reshape" : 76,
158
+ "Ios16.batchNorm" : 31,
159
+ "Ios16.rsqrt" : 21,
160
+ "Ios16.silu" : 26,
161
+ "Ios16.sqrt" : 31,
162
+ "SliceByIndex" : 542,
163
+ "Ios16.mul" : 251,
164
+ "Ios16.cos" : 1
165
+ },
166
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
167
+ "isUpdatable" : "0",
168
+ "availability" : {
169
+ "macOS" : "13.0",
170
+ "tvOS" : "16.0",
171
+ "watchOS" : "9.0",
172
+ "iOS" : "16.0",
173
+ "macCatalyst" : "16.0"
174
+ },
175
+ "modelType" : {
176
+ "name" : "MLModelType_mlProgram"
177
+ },
178
+ "userDefinedMetadata" : {
179
+
180
+ },
181
+ "inputSchema" : [
182
+ {
183
+ "hasShapeFlexibility" : "0",
184
+ "isOptional" : "0",
185
+ "dataType" : "Float16",
186
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
187
+ "shortDescription" : "",
188
+ "shape" : "[2, 4, 64, 64]",
189
+ "name" : "sample",
190
+ "type" : "MultiArray"
191
+ },
192
+ {
193
+ "hasShapeFlexibility" : "0",
194
+ "isOptional" : "0",
195
+ "dataType" : "Float16",
196
+ "formattedType" : "MultiArray (Float16 2)",
197
+ "shortDescription" : "",
198
+ "shape" : "[2]",
199
+ "name" : "timestep",
200
+ "type" : "MultiArray"
201
+ },
202
+ {
203
+ "hasShapeFlexibility" : "0",
204
+ "isOptional" : "0",
205
+ "dataType" : "Float16",
206
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
207
+ "shortDescription" : "",
208
+ "shape" : "[2, 1024, 1, 77]",
209
+ "name" : "encoder_hidden_states",
210
+ "type" : "MultiArray"
211
+ }
212
+ ],
213
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_unet_chunk1",
214
+ "method" : "predict"
215
+ }
216
+ ]
split_einsum/compiled/UnetChunk1.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:345e510ac13f8ecd050cec2605cc22b11c8c57b6b2ac779c4f274bb15bb697c4
3
+ size 878526
split_einsum/compiled/UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4e1bd4282f3d3aaa886c3f1c9b1ff828300f7ce25d6435485cc268311a399b2
3
+ size 893578816
split_einsum/compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1db8fe4efdb9e86f734bc52b77394317840671d394b1dcb49ccf0461e2a72ebf
3
+ size 207
split_einsum/compiled/UnetChunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:546fb96be244e776a2daf18253690b64fd52b7077903b87d3f0280cf48b02438
3
+ size 594
split_einsum/compiled/UnetChunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "Transpose" : 18,
23
+ "UpsampleNearestNeighbor" : 3,
24
+ "Ios16.reduceMean" : 114,
25
+ "Ios16.softmax" : 210,
26
+ "Split" : 9,
27
+ "Ios16.add" : 141,
28
+ "Concat" : 28,
29
+ "Ios16.realDiv" : 30,
30
+ "Ios16.square" : 30,
31
+ "Ios16.sub" : 57,
32
+ "Ios16.cast" : 14,
33
+ "Ios16.conv" : 153,
34
+ "Ios16.einsum" : 420,
35
+ "Ios16.gelu" : 9,
36
+ "Ios16.reshape" : 78,
37
+ "Ios16.batchNorm" : 30,
38
+ "Ios16.rsqrt" : 27,
39
+ "Ios16.silu" : 21,
40
+ "Ios16.sqrt" : 30,
41
+ "SliceByIndex" : 630,
42
+ "Ios16.mul" : 300
43
+ },
44
+ "computePrecision" : "Mixed (Int32, Float16, Float32)",
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
+ "userDefinedMetadata" : {
57
+
58
+ },
59
+ "inputSchema" : [
60
+ {
61
+ "hasShapeFlexibility" : "0",
62
+ "isOptional" : "0",
63
+ "dataType" : "Float16",
64
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
65
+ "shortDescription" : "",
66
+ "shape" : "[2, 1024, 1, 77]",
67
+ "name" : "encoder_hidden_states",
68
+ "type" : "MultiArray"
69
+ },
70
+ {
71
+ "hasShapeFlexibility" : "0",
72
+ "isOptional" : "0",
73
+ "dataType" : "Float32",
74
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
75
+ "shortDescription" : "",
76
+ "shape" : "[2, 640, 16, 16]",
77
+ "name" : "input_117_cast",
78
+ "type" : "MultiArray"
79
+ },
80
+ {
81
+ "hasShapeFlexibility" : "0",
82
+ "isOptional" : "0",
83
+ "dataType" : "Float32",
84
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
85
+ "shortDescription" : "",
86
+ "shape" : "[2, 1280, 1, 1]",
87
+ "name" : "input_15_cast",
88
+ "type" : "MultiArray"
89
+ },
90
+ {
91
+ "hasShapeFlexibility" : "0",
92
+ "isOptional" : "0",
93
+ "dataType" : "Float32",
94
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
95
+ "shortDescription" : "",
96
+ "shape" : "[2, 320, 64, 64]",
97
+ "name" : "input_7_cast",
98
+ "type" : "MultiArray"
99
+ },
100
+ {
101
+ "hasShapeFlexibility" : "0",
102
+ "isOptional" : "0",
103
+ "dataType" : "Float32",
104
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
105
+ "shortDescription" : "",
106
+ "shape" : "[2, 640, 32, 32]",
107
+ "name" : "input_89_cast",
108
+ "type" : "MultiArray"
109
+ },
110
+ {
111
+ "hasShapeFlexibility" : "0",
112
+ "isOptional" : "0",
113
+ "dataType" : "Float32",
114
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
115
+ "shortDescription" : "",
116
+ "shape" : "[2, 320, 64, 64]",
117
+ "name" : "input_35_cast",
118
+ "type" : "MultiArray"
119
+ },
120
+ {
121
+ "hasShapeFlexibility" : "0",
122
+ "isOptional" : "0",
123
+ "dataType" : "Float32",
124
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
125
+ "shortDescription" : "",
126
+ "shape" : "[2, 320, 64, 64]",
127
+ "name" : "input_61_cast",
128
+ "type" : "MultiArray"
129
+ },
130
+ {
131
+ "hasShapeFlexibility" : "0",
132
+ "isOptional" : "0",
133
+ "dataType" : "Float32",
134
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
135
+ "shortDescription" : "",
136
+ "shape" : "[2, 320, 32, 32]",
137
+ "name" : "input_63_cast",
138
+ "type" : "MultiArray"
139
+ },
140
+ {
141
+ "hasShapeFlexibility" : "0",
142
+ "isOptional" : "0",
143
+ "dataType" : "Float32",
144
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
145
+ "shortDescription" : "",
146
+ "shape" : "[2, 1280, 16, 16]",
147
+ "name" : "input_143_cast",
148
+ "type" : "MultiArray"
149
+ },
150
+ {
151
+ "hasShapeFlexibility" : "0",
152
+ "isOptional" : "0",
153
+ "dataType" : "Float32",
154
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
155
+ "shortDescription" : "",
156
+ "shape" : "[2, 1280, 16, 16]",
157
+ "name" : "input_169_cast",
158
+ "type" : "MultiArray"
159
+ },
160
+ {
161
+ "hasShapeFlexibility" : "0",
162
+ "isOptional" : "0",
163
+ "dataType" : "Float32",
164
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
165
+ "shortDescription" : "",
166
+ "shape" : "[2, 1280, 8, 8]",
167
+ "name" : "hidden_states_149_cast",
168
+ "type" : "MultiArray"
169
+ },
170
+ {
171
+ "hasShapeFlexibility" : "0",
172
+ "isOptional" : "0",
173
+ "dataType" : "Float32",
174
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
175
+ "shortDescription" : "",
176
+ "shape" : "[2, 1280, 8, 8]",
177
+ "name" : "input_171_cast",
178
+ "type" : "MultiArray"
179
+ },
180
+ {
181
+ "hasShapeFlexibility" : "0",
182
+ "isOptional" : "0",
183
+ "dataType" : "Float32",
184
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 8 × 8)",
185
+ "shortDescription" : "",
186
+ "shape" : "[2, 2560, 8, 8]",
187
+ "name" : "input_253_cast",
188
+ "type" : "MultiArray"
189
+ },
190
+ {
191
+ "hasShapeFlexibility" : "0",
192
+ "isOptional" : "0",
193
+ "dataType" : "Float32",
194
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
195
+ "shortDescription" : "",
196
+ "shape" : "[2, 640, 32, 32]",
197
+ "name" : "input_115_cast",
198
+ "type" : "MultiArray"
199
+ }
200
+ ],
201
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_unet_chunk2",
202
+ "method" : "predict"
203
+ }
204
+ ]
split_einsum/compiled/UnetChunk2.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d9846f57d5585564dc70e68f8cf2243c17c9e38d5c1ac4494bce492d1647aad
3
+ size 1018022
split_einsum/compiled/UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da0c12de8817340c887604e3252d80ad8df1d38440e5bfa47e9b26609e52afd7
3
+ size 838545664
split_einsum/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1db010d53a60e24a3c7dbdf7b9d0ca6e9af87b95ec526c39a59cabcc3cf21461
3
+ size 207
split_einsum/compiled/VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f02192454e1eef80f93c2139aed5440dfd2704933b4354bfd22859abdadd1c16
3
+ size 768
split_einsum/compiled/VAEDecoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "Generated image normalized to range [-1, 1]",
12
+ "shape" : "[]",
13
+ "name" : "image",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "stabilityai\/stable-diffusion-2-1-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-1-base",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Ios16.cast" : 1,
27
+ "Ios16.mul" : 1,
28
+ "Ios16.sqrt" : 30,
29
+ "Ios16.sub" : 30,
30
+ "Transpose" : 7,
31
+ "UpsampleNearestNeighbor" : 3,
32
+ "Ios16.conv" : 36,
33
+ "Ios16.add" : 45,
34
+ "Ios16.linear" : 4,
35
+ "Ios16.matmul" : 2,
36
+ "Ios16.realDiv" : 30,
37
+ "Ios16.reduceMean" : 60,
38
+ "Ios16.softmax" : 1,
39
+ "Ios16.batchNorm" : 30,
40
+ "Ios16.square" : 30,
41
+ "Ios16.reshape" : 70,
42
+ "Ios16.silu" : 29
43
+ },
44
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
45
+ "isUpdatable" : "0",
46
+ "availability" : {
47
+ "macOS" : "13.0",
48
+ "tvOS" : "16.0",
49
+ "watchOS" : "9.0",
50
+ "iOS" : "16.0",
51
+ "macCatalyst" : "16.0"
52
+ },
53
+ "modelType" : {
54
+ "name" : "MLModelType_mlProgram"
55
+ },
56
+ "inputSchema" : [
57
+ {
58
+ "hasShapeFlexibility" : "0",
59
+ "isOptional" : "0",
60
+ "dataType" : "Float16",
61
+ "formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
62
+ "shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
63
+ "shape" : "[1, 4, 64, 64]",
64
+ "name" : "z",
65
+ "type" : "MultiArray"
66
+ }
67
+ ],
68
+ "userDefinedMetadata" : {
69
+ "com.github.apple.coremltools.version" : "6.1",
70
+ "com.github.apple.coremltools.source" : "torch==1.13.1"
71
+ },
72
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_vae_decoder",
73
+ "method" : "predict"
74
+ }
75
+ ]
split_einsum/compiled/VAEDecoder.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf6aa65536d1a72a18d2066a82e1ba5fb002583ae0482625f911d27a49a4f1f6
3
+ size 176862
split_einsum/compiled/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c25e5fc1dc7c96e447792dc68770929eb609167269e8e83d771744f83a16453a
3
+ size 99039232
split_einsum/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c368a34c610037cedd5e7ff5434cf0a5d59d57b62cb8fe2d753f9798f0c30e1
3
+ size 207
split_einsum/compiled/VAEEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e85251c72a334672f9e763a7a24fc551805007aa14ac144147adbc07ce23a90d
3
+ size 1288
split_einsum/compiled/VAEEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32)",
11
+ "shortDescription" : "The latent embeddings from the unet model from the input image.",
12
+ "shape" : "[]",
13
+ "name" : "latent_dist",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "stabilityai\/stable-diffusion-2-1-base",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-2-1-base",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Transpose" : 7,
27
+ "Ios16.exp" : 1,
28
+ "Ios16.reduceMean" : 44,
29
+ "Ios16.softmax" : 1,
30
+ "Split" : 1,
31
+ "Ios16.linear" : 4,
32
+ "Ios16.add" : 35,
33
+ "Ios16.realDiv" : 22,
34
+ "Ios16.square" : 22,
35
+ "Pad" : 3,
36
+ "Ios16.sub" : 22,
37
+ "Ios16.cast" : 1,
38
+ "Ios16.clip" : 1,
39
+ "Ios16.conv" : 28,
40
+ "Ios16.matmul" : 2,
41
+ "Ios16.reshape" : 54,
42
+ "Ios16.batchNorm" : 22,
43
+ "Ios16.silu" : 21,
44
+ "Ios16.sqrt" : 22,
45
+ "Ios16.mul" : 6
46
+ },
47
+ "computePrecision" : "Mixed (Float32, Float16, Int32)",
48
+ "isUpdatable" : "0",
49
+ "availability" : {
50
+ "macOS" : "13.0",
51
+ "tvOS" : "16.0",
52
+ "watchOS" : "9.0",
53
+ "iOS" : "16.0",
54
+ "macCatalyst" : "16.0"
55
+ },
56
+ "modelType" : {
57
+ "name" : "MLModelType_mlProgram"
58
+ },
59
+ "inputSchema" : [
60
+ {
61
+ "hasShapeFlexibility" : "0",
62
+ "isOptional" : "0",
63
+ "dataType" : "Float16",
64
+ "formattedType" : "MultiArray (Float16 1 × 3 × 512 × 512)",
65
+ "shortDescription" : "An image of the correct size to create the latent space with, image2image and in-painting.",
66
+ "shape" : "[1, 3, 512, 512]",
67
+ "name" : "sample",
68
+ "type" : "MultiArray"
69
+ },
70
+ {
71
+ "hasShapeFlexibility" : "0",
72
+ "isOptional" : "0",
73
+ "dataType" : "Float16",
74
+ "formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
75
+ "shortDescription" : "Latent noise for `DiagonalGaussianDistribution` operation.",
76
+ "shape" : "[1, 4, 64, 64]",
77
+ "name" : "diagonal_noise",
78
+ "type" : "MultiArray"
79
+ },
80
+ {
81
+ "hasShapeFlexibility" : "0",
82
+ "isOptional" : "0",
83
+ "dataType" : "Float16",
84
+ "formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
85
+ "shortDescription" : "Latent noise for use with strength parameter of image2image",
86
+ "shape" : "[1, 4, 64, 64]",
87
+ "name" : "noise",
88
+ "type" : "MultiArray"
89
+ },
90
+ {
91
+ "hasShapeFlexibility" : "0",
92
+ "isOptional" : "0",
93
+ "dataType" : "Float16",
94
+ "formattedType" : "MultiArray (Float16 1 × 1)",
95
+ "shortDescription" : "Precalculated `sqrt_alphas_cumprod` value based on strength and the current schedular's alphasCumprod values",
96
+ "shape" : "[1, 1]",
97
+ "name" : "sqrt_alphas_cumprod",
98
+ "type" : "MultiArray"
99
+ },
100
+ {
101
+ "hasShapeFlexibility" : "0",
102
+ "isOptional" : "0",
103
+ "dataType" : "Float16",
104
+ "formattedType" : "MultiArray (Float16 1 × 1)",
105
+ "shortDescription" : "Precalculated `sqrt_one_minus_alphas_cumprod` value based on strength and the current schedular's alphasCumprod values",
106
+ "shape" : "[1, 1]",
107
+ "name" : "sqrt_one_minus_alphas_cumprod",
108
+ "type" : "MultiArray"
109
+ }
110
+ ],
111
+ "userDefinedMetadata" : {
112
+ "com.github.apple.coremltools.version" : "6.1",
113
+ "com.github.apple.coremltools.source" : "torch==1.13.1"
114
+ },
115
+ "generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_2_1_base_vae_encoder",
116
+ "method" : "predict"
117
+ }
118
+ ]
split_einsum/compiled/VAEEncoder.mlmodelc/model.mil ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cd529b933adc7e28b4057051eb816d753241246416bceacf25eb844e2b64d4a
3
+ size 137752
split_einsum/compiled/VAEEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a426db5c4683418072eb114c571855373d8161a4a66a17f13666ac31e5fbe49
3
+ size 68370240
split_einsum/compiled/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum/compiled/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad495e8ec7e03084589f3f037ef507f881a1554ae193d388525df3920c3639ae
3
+ size 272312
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8321973f654bd7c62070c79a32eb2dc8179aca16e5b7ebe16775fbc41260c082
3
+ size 680811520
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "68704C24-A886-429D-A4FF-5EBFAB51C7A1": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "77100E23-571E-4D1A-B7DD-B06BB4841DD8": {
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": "77100E23-571E-4D1A-B7DD-B06BB4841DD8"
18
+ }
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17874541e2d46c52a809a3d2498e9920f8556801ae645e9c8526d4f7a6f503e7
3
+ size 1640010
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82da2385e2d92ca3a96ea75d6f3ec2db6b04dfc4d1f4254ad9059643d9699a4
3
+ size 1732124416
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "31609C42-0554-496A-82E9-9C43FC6E2F6F": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "5288BB4A-9079-491F-B580-94647E933B60": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "31609C42-0554-496A-82E9-9C43FC6E2F6F"
18
+ }
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:274a73cf5c7c08e716179e84ac7fe507f6fab5c8579771c38e3bae7a827a23fc
3
+ size 761806
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4e1bd4282f3d3aaa886c3f1c9b1ff828300f7ce25d6435485cc268311a399b2
3
+ size 893578816
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk1.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "4A43DB2E-1412-4D43-9668-B08163512BD0": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "7A358A50-B497-41F8-AB9D-91FBE3FCEA9C": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "4A43DB2E-1412-4D43-9668-B08163512BD0"
18
+ }
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4e6f75be4541e9165bd271a3ebc14f866f3edb3957efb913a5f21158c54d4ef
3
+ size 884523
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da0c12de8817340c887604e3252d80ad8df1d38440e5bfa47e9b26609e52afd7
3
+ size 838545664
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_unet_chunk2.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "091F66CF-129C-42D1-A5DD-EFBD005CF5BB": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "E8870E32-4708-4BF5-A91F-CEFD7B3174A4": {
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": "E8870E32-4708-4BF5-A91F-CEFD7B3174A4"
18
+ }
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31b00e2dc7274d47b8cf3d77501acbbc18970c61ce22dc89b2a197a1abf4a1f6
3
+ size 149800
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c25e5fc1dc7c96e447792dc68770929eb609167269e8e83d771744f83a16453a
3
+ size 99039232
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_decoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "052A4366-11AD-4F01-B0BD-7F22E071CE76": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "DF4CCEC4-9113-4D6E-8305-D0A78FDBB054": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "052A4366-11AD-4F01-B0BD-7F22E071CE76"
18
+ }
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44d30d1e5b083b72de0fe9b5bd11e5472efe8b70e583312657027d3737f0848b
3
+ size 117464
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a426db5c4683418072eb114c571855373d8161a4a66a17f13666ac31e5fbe49
3
+ size 68370240
split_einsum/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-2-1-base_vae_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "370605FE-15B3-4B65-B377-0CE007FCDD34": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "C6E3D00F-CABF-4AB6-8E2A-98A453A1FB89": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "370605FE-15B3-4B65-B377-0CE007FCDD34"
18
+ }