johnkillington commited on
Commit
91d62eb
·
verified ·
1 Parent(s): 2cc961b

Automated CoreML conversion

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. ._TextEncoder.mlmodelc +0 -0
  2. ._Unet.mlmodelc +0 -0
  3. ._UnetChunk1.mlmodelc +0 -0
  4. ._UnetChunk2.mlmodelc +0 -0
  5. ._VAEDecoder.mlmodelc +0 -0
  6. ._VAEEncoder.mlmodelc +0 -0
  7. ._merges.txt +0 -0
  8. ._vocab.json +0 -0
  9. TextEncoder.mlmodelc/._analytics +0 -0
  10. TextEncoder.mlmodelc/._coremldata.bin +3 -0
  11. TextEncoder.mlmodelc/._metadata.json +0 -0
  12. TextEncoder.mlmodelc/._model.mil +0 -0
  13. TextEncoder.mlmodelc/._weights +0 -0
  14. TextEncoder.mlmodelc/analytics/._coremldata.bin +3 -0
  15. TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  16. TextEncoder.mlmodelc/coremldata.bin +3 -0
  17. TextEncoder.mlmodelc/metadata.json +87 -0
  18. TextEncoder.mlmodelc/model.mil +0 -0
  19. TextEncoder.mlmodelc/weights/._weight.bin +3 -0
  20. TextEncoder.mlmodelc/weights/weight.bin +3 -0
  21. Unet.mlmodelc/._analytics +0 -0
  22. Unet.mlmodelc/._coremldata.bin +3 -0
  23. Unet.mlmodelc/._metadata.json +0 -0
  24. Unet.mlmodelc/._model.mil +0 -0
  25. Unet.mlmodelc/._weights +0 -0
  26. Unet.mlmodelc/analytics/._coremldata.bin +3 -0
  27. Unet.mlmodelc/analytics/coremldata.bin +3 -0
  28. Unet.mlmodelc/coremldata.bin +3 -0
  29. Unet.mlmodelc/metadata.json +108 -0
  30. Unet.mlmodelc/model.mil +0 -0
  31. Unet.mlmodelc/weights/._weight.bin +3 -0
  32. Unet.mlmodelc/weights/weight.bin +3 -0
  33. UnetChunk1.mlmodelc/._analytics +0 -0
  34. UnetChunk1.mlmodelc/._coremldata.bin +3 -0
  35. UnetChunk1.mlmodelc/._metadata.json +0 -0
  36. UnetChunk1.mlmodelc/._model.mil +0 -0
  37. UnetChunk1.mlmodelc/._weights +0 -0
  38. UnetChunk1.mlmodelc/analytics/._coremldata.bin +3 -0
  39. UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
  40. UnetChunk1.mlmodelc/coremldata.bin +3 -0
  41. UnetChunk1.mlmodelc/metadata.json +220 -0
  42. UnetChunk1.mlmodelc/model.mil +0 -0
  43. UnetChunk1.mlmodelc/weights/._weight.bin +3 -0
  44. UnetChunk1.mlmodelc/weights/weight.bin +3 -0
  45. UnetChunk2.mlmodelc/._analytics +0 -0
  46. UnetChunk2.mlmodelc/._coremldata.bin +3 -0
  47. UnetChunk2.mlmodelc/._metadata.json +0 -0
  48. UnetChunk2.mlmodelc/._model.mil +0 -0
  49. UnetChunk2.mlmodelc/._weights +0 -0
  50. UnetChunk2.mlmodelc/analytics/._coremldata.bin +3 -0
._TextEncoder.mlmodelc ADDED
Binary file (4.1 kB). View file
 
._Unet.mlmodelc ADDED
Binary file (4.1 kB). View file
 
._UnetChunk1.mlmodelc ADDED
Binary file (4.1 kB). View file
 
._UnetChunk2.mlmodelc ADDED
Binary file (4.1 kB). View file
 
._VAEDecoder.mlmodelc ADDED
Binary file (4.1 kB). View file
 
._VAEEncoder.mlmodelc ADDED
Binary file (4.1 kB). View file
 
._merges.txt ADDED
Binary file (4.1 kB). View file
 
._vocab.json ADDED
Binary file (4.1 kB). View file
 
TextEncoder.mlmodelc/._analytics ADDED
Binary file (4.1 kB). View file
 
TextEncoder.mlmodelc/._coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
TextEncoder.mlmodelc/._metadata.json ADDED
Binary file (4.1 kB). View file
 
TextEncoder.mlmodelc/._model.mil ADDED
Binary file (4.1 kB). View file
 
TextEncoder.mlmodelc/._weights ADDED
Binary file (4.1 kB). View file
 
TextEncoder.mlmodelc/analytics/._coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b57af1deeaa8109ec88e5265189ee9396a24a6bbc6a991e9b693fcc53bd192f4
3
+ size 243
TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0b82ee4ea1c0df9e022c5fd01f8713f1522dd87c49efc957dd7ac40af4a600f
3
+ size 984
TextEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 1 × 77 × 768)",
11
+ "shortDescription" : "The token embeddings as encoded by the Transformer model",
12
+ "shape" : "[1, 77, 768]",
13
+ "name" : "last_hidden_state",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 1 × 768)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[1, 768]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "\/Volumes\/ShadowKey\/ConversionWorkspace\/perfectdeliberate_v5sd15\/Diffusers",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/\/Volumes\/ShadowKey\/ConversionWorkspace\/perfectdeliberate_v5sd15\/Diffusers",
32
+ "specificationVersion" : 7,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios16.cast" : 3,
37
+ "Ios16.mul" : 36,
38
+ "Ios16.layerNorm" : 25,
39
+ "Transpose" : 48,
40
+ "Stack" : 1,
41
+ "Ios16.sigmoid" : 12,
42
+ "Ios16.linear" : 72,
43
+ "Ios16.add" : 37,
44
+ "Ios16.softmax" : 12,
45
+ "Ios16.matmul" : 24,
46
+ "Ios16.gatherNd" : 1,
47
+ "Ios16.gather" : 1,
48
+ "Ios16.reshape" : 48,
49
+ "Ios16.reduceArgmax" : 1
50
+ },
51
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
52
+ "stateSchema" : [
53
+
54
+ ],
55
+ "isUpdatable" : "0",
56
+ "availability" : {
57
+ "macOS" : "13.0",
58
+ "tvOS" : "16.0",
59
+ "visionOS" : "1.0",
60
+ "watchOS" : "9.0",
61
+ "iOS" : "16.0",
62
+ "macCatalyst" : "16.0"
63
+ },
64
+ "modelType" : {
65
+ "name" : "MLModelType_mlProgram"
66
+ },
67
+ "inputSchema" : [
68
+ {
69
+ "hasShapeFlexibility" : "0",
70
+ "isOptional" : "0",
71
+ "dataType" : "Float32",
72
+ "formattedType" : "MultiArray (Float32 1 × 77)",
73
+ "shortDescription" : "The token ids that represent the input text",
74
+ "shape" : "[1, 77]",
75
+ "name" : "input_ids",
76
+ "type" : "MultiArray"
77
+ }
78
+ ],
79
+ "userDefinedMetadata" : {
80
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
81
+ "com.github.apple.coremltools.source" : "torch==2.8.0",
82
+ "com.github.apple.coremltools.version" : "8.3.0"
83
+ },
84
+ "generatedClassName" : "Stable_Diffusion_version__Volumes_ShadowKey_ConversionWorkspace_perfectdeliberate_v5sd15_Diffusers_text_encoder",
85
+ "method" : "predict"
86
+ }
87
+ ]
TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
TextEncoder.mlmodelc/weights/._weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d851dfa8b9ced7545f178065ee84865163f3829c42f2c1f4847ccc973e67b5e4
3
+ size 246145536
Unet.mlmodelc/._analytics ADDED
Binary file (4.1 kB). View file
 
Unet.mlmodelc/._coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
Unet.mlmodelc/._metadata.json ADDED
Binary file (4.1 kB). View file
 
Unet.mlmodelc/._model.mil ADDED
Binary file (4.1 kB). View file
 
Unet.mlmodelc/._weights ADDED
Binary file (4.1 kB). View file
 
Unet.mlmodelc/analytics/._coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:892fb02d80e9591fce01cf6a3216ed19648cdab7155031ea223d06c935bb0b00
3
+ size 243
Unet.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5528df759a080292e2b38877c88aa5331529c5895342790a065b4b8c9d55ea24
3
+ size 1417
Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 2 × 4 × 64 × 64)",
11
+ "shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
12
+ "shape" : "[2, 4, 64, 64]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "\/Volumes\/ShadowKey\/ConversionWorkspace\/perfectdeliberate_v5sd15\/Diffusers",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/\/Volumes\/ShadowKey\/ConversionWorkspace\/perfectdeliberate_v5sd15\/Diffusers",
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" : 122,
29
+ "Ios16.sin" : 1,
30
+ "Ios16.softmax" : 896,
31
+ "Split" : 16,
32
+ "Ios16.add" : 169,
33
+ "Concat" : 206,
34
+ "Ios16.realDiv" : 61,
35
+ "Ios16.square" : 61,
36
+ "ExpandDims" : 3,
37
+ "Ios16.sub" : 61,
38
+ "Ios16.sqrt" : 61,
39
+ "Ios16.einsum" : 1792,
40
+ "Ios16.conv" : 282,
41
+ "Ios16.reshape" : 154,
42
+ "Ios16.layerNorm" : 48,
43
+ "SliceByIndex" : 1570,
44
+ "Ios16.batchNorm" : 61,
45
+ "Ios16.silu" : 47,
46
+ "Ios16.gelu" : 16,
47
+ "Ios16.cast" : 1,
48
+ "Ios16.mul" : 913,
49
+ "Ios16.cos" : 1
50
+ },
51
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
52
+ "stateSchema" : [
53
+
54
+ ],
55
+ "isUpdatable" : "0",
56
+ "availability" : {
57
+ "macOS" : "13.0",
58
+ "tvOS" : "16.0",
59
+ "visionOS" : "1.0",
60
+ "watchOS" : "9.0",
61
+ "iOS" : "16.0",
62
+ "macCatalyst" : "16.0"
63
+ },
64
+ "modelType" : {
65
+ "name" : "MLModelType_mlProgram"
66
+ },
67
+ "inputSchema" : [
68
+ {
69
+ "hasShapeFlexibility" : "0",
70
+ "isOptional" : "0",
71
+ "dataType" : "Float16",
72
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
73
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
74
+ "shape" : "[2, 4, 64, 64]",
75
+ "name" : "sample",
76
+ "type" : "MultiArray"
77
+ },
78
+ {
79
+ "hasShapeFlexibility" : "0",
80
+ "isOptional" : "0",
81
+ "dataType" : "Float16",
82
+ "formattedType" : "MultiArray (Float16 2)",
83
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
84
+ "shape" : "[2]",
85
+ "name" : "timestep",
86
+ "type" : "MultiArray"
87
+ },
88
+ {
89
+ "hasShapeFlexibility" : "0",
90
+ "isOptional" : "0",
91
+ "dataType" : "Float16",
92
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
93
+ "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.",
94
+ "shape" : "[2, 768, 1, 77]",
95
+ "name" : "encoder_hidden_states",
96
+ "type" : "MultiArray"
97
+ }
98
+ ],
99
+ "userDefinedMetadata" : {
100
+ "com.github.apple.ml-stable-diffusion.version" : "1.1.0",
101
+ "com.github.apple.coremltools.source" : "torch==2.8.0",
102
+ "com.github.apple.coremltools.version" : "8.3.0",
103
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
104
+ },
105
+ "generatedClassName" : "Stable_Diffusion_version__Volumes_ShadowKey_ConversionWorkspace_perfectdeliberate_v5sd15_Diffusers_unet",
106
+ "method" : "predict"
107
+ }
108
+ ]
Unet.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
Unet.mlmodelc/weights/._weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65a45a7a61ab8487c7b676de26468e12b5b93a29d3f9320596237fbc75433cea
3
+ size 1719117696
UnetChunk1.mlmodelc/._analytics ADDED
Binary file (4.1 kB). View file
 
UnetChunk1.mlmodelc/._coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
UnetChunk1.mlmodelc/._metadata.json ADDED
Binary file (4.1 kB). View file
 
UnetChunk1.mlmodelc/._model.mil ADDED
Binary file (4.1 kB). View file
 
UnetChunk1.mlmodelc/._weights ADDED
Binary file (4.1 kB). View file
 
UnetChunk1.mlmodelc/analytics/._coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aa54940b6a1c88a1cf7e93ffcddf5ddcebc7405425ef8ea6510e2ceeabcce4d
3
+ size 243
UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c9334a4d4fd9cc7abf64950dae49428b6bcfb6668550b5ae79c64ae08c3e101
3
+ size 684
UnetChunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 2 × 640 × 16 × 16)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 640, 16, 16]",
13
+ "name" : "input_117_cast_fp16",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
21
+ "shortDescription" : "",
22
+ "shape" : "[2, 1280, 8, 8]",
23
+ "name" : "hidden_states_149_cast_fp16",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
31
+ "shortDescription" : "",
32
+ "shape" : "[2, 320, 32, 32]",
33
+ "name" : "input_63_cast_fp16",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float32",
40
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
41
+ "shortDescription" : "",
42
+ "shape" : "[2, 640, 32, 32]",
43
+ "name" : "input_89_cast_fp16",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float32",
50
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
51
+ "shortDescription" : "",
52
+ "shape" : "[2, 1280, 16, 16]",
53
+ "name" : "input_143_cast_fp16",
54
+ "type" : "MultiArray"
55
+ },
56
+ {
57
+ "hasShapeFlexibility" : "0",
58
+ "isOptional" : "0",
59
+ "dataType" : "Float32",
60
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
61
+ "shortDescription" : "",
62
+ "shape" : "[2, 320, 64, 64]",
63
+ "name" : "input_35_cast_fp16",
64
+ "type" : "MultiArray"
65
+ },
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float32",
70
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
71
+ "shortDescription" : "",
72
+ "shape" : "[2, 1280, 1, 1]",
73
+ "name" : "input_15_cast_fp16",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float32",
80
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
81
+ "shortDescription" : "",
82
+ "shape" : "[2, 1280, 16, 16]",
83
+ "name" : "input_169_cast_fp16",
84
+ "type" : "MultiArray"
85
+ },
86
+ {
87
+ "hasShapeFlexibility" : "0",
88
+ "isOptional" : "0",
89
+ "dataType" : "Float32",
90
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
91
+ "shortDescription" : "",
92
+ "shape" : "[2, 320, 64, 64]",
93
+ "name" : "input_7_cast_fp16",
94
+ "type" : "MultiArray"
95
+ },
96
+ {
97
+ "hasShapeFlexibility" : "0",
98
+ "isOptional" : "0",
99
+ "dataType" : "Float32",
100
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
101
+ "shortDescription" : "",
102
+ "shape" : "[2, 1280, 8, 8]",
103
+ "name" : "input_171_cast_fp16",
104
+ "type" : "MultiArray"
105
+ },
106
+ {
107
+ "hasShapeFlexibility" : "0",
108
+ "isOptional" : "0",
109
+ "dataType" : "Float32",
110
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
111
+ "shortDescription" : "",
112
+ "shape" : "[2, 640, 32, 32]",
113
+ "name" : "input_115_cast_fp16",
114
+ "type" : "MultiArray"
115
+ },
116
+ {
117
+ "hasShapeFlexibility" : "0",
118
+ "isOptional" : "0",
119
+ "dataType" : "Float32",
120
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 8 × 8)",
121
+ "shortDescription" : "",
122
+ "shape" : "[2, 2560, 8, 8]",
123
+ "name" : "input_253_cast_fp16",
124
+ "type" : "MultiArray"
125
+ },
126
+ {
127
+ "hasShapeFlexibility" : "0",
128
+ "isOptional" : "0",
129
+ "dataType" : "Float32",
130
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
131
+ "shortDescription" : "",
132
+ "shape" : "[2, 320, 64, 64]",
133
+ "name" : "input_61_cast_fp16",
134
+ "type" : "MultiArray"
135
+ }
136
+ ],
137
+ "modelParameters" : [
138
+
139
+ ],
140
+ "specificationVersion" : 7,
141
+ "mlProgramOperationTypeHistogram" : {
142
+ "Transpose" : 14,
143
+ "Ios16.reduceMean" : 62,
144
+ "Ios16.sin" : 1,
145
+ "Ios16.softmax" : 368,
146
+ "Split" : 7,
147
+ "Ios16.add" : 82,
148
+ "Concat" : 82,
149
+ "Ios16.realDiv" : 31,
150
+ "Ios16.square" : 31,
151
+ "ExpandDims" : 3,
152
+ "Ios16.sub" : 31,
153
+ "Ios16.sqrt" : 31,
154
+ "Ios16.einsum" : 736,
155
+ "Ios16.conv" : 129,
156
+ "Ios16.reshape" : 76,
157
+ "Ios16.layerNorm" : 21,
158
+ "SliceByIndex" : 658,
159
+ "Ios16.batchNorm" : 31,
160
+ "Ios16.silu" : 26,
161
+ "Ios16.gelu" : 7,
162
+ "Ios16.cast" : 13,
163
+ "Ios16.mul" : 376,
164
+ "Ios16.cos" : 1
165
+ },
166
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
167
+ "isUpdatable" : "0",
168
+ "stateSchema" : [
169
+
170
+ ],
171
+ "availability" : {
172
+ "macOS" : "13.0",
173
+ "tvOS" : "16.0",
174
+ "visionOS" : "1.0",
175
+ "watchOS" : "9.0",
176
+ "iOS" : "16.0",
177
+ "macCatalyst" : "16.0"
178
+ },
179
+ "modelType" : {
180
+ "name" : "MLModelType_mlProgram"
181
+ },
182
+ "userDefinedMetadata" : {
183
+
184
+ },
185
+ "inputSchema" : [
186
+ {
187
+ "hasShapeFlexibility" : "0",
188
+ "isOptional" : "0",
189
+ "dataType" : "Float16",
190
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
191
+ "shortDescription" : "",
192
+ "shape" : "[2, 4, 64, 64]",
193
+ "name" : "sample",
194
+ "type" : "MultiArray"
195
+ },
196
+ {
197
+ "hasShapeFlexibility" : "0",
198
+ "isOptional" : "0",
199
+ "dataType" : "Float16",
200
+ "formattedType" : "MultiArray (Float16 2)",
201
+ "shortDescription" : "",
202
+ "shape" : "[2]",
203
+ "name" : "timestep",
204
+ "type" : "MultiArray"
205
+ },
206
+ {
207
+ "hasShapeFlexibility" : "0",
208
+ "isOptional" : "0",
209
+ "dataType" : "Float16",
210
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
211
+ "shortDescription" : "",
212
+ "shape" : "[2, 768, 1, 77]",
213
+ "name" : "encoder_hidden_states",
214
+ "type" : "MultiArray"
215
+ }
216
+ ],
217
+ "generatedClassName" : "Stable_Diffusion_version__Volumes_ShadowKey_ConversionWorkspace_perfectdeliberate_v5sd15_Diffusers_unet_chunk1",
218
+ "method" : "predict"
219
+ }
220
+ ]
UnetChunk1.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
UnetChunk1.mlmodelc/weights/._weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:291e14ce6b791844800c14e5c165d50902d6d837d01de72af4ecd027c3831a7c
3
+ size 887569600
UnetChunk2.mlmodelc/._analytics ADDED
Binary file (4.1 kB). View file
 
UnetChunk2.mlmodelc/._coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096
UnetChunk2.mlmodelc/._metadata.json ADDED
Binary file (4.1 kB). View file
 
UnetChunk2.mlmodelc/._model.mil ADDED
Binary file (4.1 kB). View file
 
UnetChunk2.mlmodelc/._weights ADDED
Binary file (4.1 kB). View file
 
UnetChunk2.mlmodelc/analytics/._coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3b99f3bf21b54dcb8386ca6156717439ceef73cfb7c48c06cc93cbf3e62c1
3
+ size 4096