neonforestmist commited on
Commit
d5a927b
·
verified ·
1 Parent(s): 2408471

Publish shared-weight multifunction Core ML model

Browse files
Files changed (28) hide show
  1. multifunction-v2/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
  2. multifunction-v2/SafetyChecker.mlmodelc/coremldata.bin +3 -0
  3. multifunction-v2/SafetyChecker.mlmodelc/metadata.json +130 -0
  4. multifunction-v2/SafetyChecker.mlmodelc/model.mil +0 -0
  5. multifunction-v2/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
  6. multifunction-v2/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  7. multifunction-v2/TextEncoder.mlmodelc/coremldata.bin +3 -0
  8. multifunction-v2/TextEncoder.mlmodelc/metadata.json +90 -0
  9. multifunction-v2/TextEncoder.mlmodelc/model.mil +0 -0
  10. multifunction-v2/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  11. multifunction-v2/UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
  12. multifunction-v2/UnetChunk1.mlmodelc/coremldata.bin +3 -0
  13. multifunction-v2/UnetChunk1.mlmodelc/metadata.json +811 -0
  14. multifunction-v2/UnetChunk1.mlmodelc/model.mil +0 -0
  15. multifunction-v2/UnetChunk1.mlmodelc/weights/weight.bin +3 -0
  16. multifunction-v2/UnetChunk2.mlmodelc/analytics/coremldata.bin +3 -0
  17. multifunction-v2/UnetChunk2.mlmodelc/coremldata.bin +3 -0
  18. multifunction-v2/UnetChunk2.mlmodelc/metadata.json +751 -0
  19. multifunction-v2/UnetChunk2.mlmodelc/model.mil +0 -0
  20. multifunction-v2/UnetChunk2.mlmodelc/weights/weight.bin +3 -0
  21. multifunction-v2/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  22. multifunction-v2/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  23. multifunction-v2/VAEDecoder.mlmodelc/metadata.json +81 -0
  24. multifunction-v2/VAEDecoder.mlmodelc/model.mil +0 -0
  25. multifunction-v2/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  26. multifunction-v2/functions.json +9 -0
  27. multifunction-v2/merges.txt +0 -0
  28. multifunction-v2/vocab.json +0 -0
multifunction-v2/SafetyChecker.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50ceb36957f3cc1dc153e92f414faa56817cf7f38b5e72e98f62c6fd794950e0
3
+ size 243
multifunction-v2/SafetyChecker.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d5e9751fee4f5344434027fca19c5ae816131a8f9fd71f41fb60da578edb260
3
+ size 1533
multifunction-v2/SafetyChecker.mlmodelc/metadata.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 512 × 512 × 3)",
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" : "[1, 512, 512, 3]",
13
+ "name" : "filtered_images",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 1 × 1 × 1 × 1)",
21
+ "shortDescription" : "Indicates whether the safety checker model found any sensitive content in the given image",
22
+ "shape" : "[1, 1, 1, 1]",
23
+ "name" : "has_nsfw_concepts",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32 1 × 17)",
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" : "[1, 17]",
33
+ "name" : "concept_scores",
34
+ "type" : "MultiArray"
35
+ }
36
+ ],
37
+ "version" : "Clover-Image-Tiny-hf",
38
+ "modelParameters" : [
39
+
40
+ ],
41
+ "author" : "Please refer to the Model Card available at huggingface.co\/Clover-Image-Tiny-hf",
42
+ "specificationVersion" : 8,
43
+ "storagePrecision" : "Float16",
44
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
45
+ "mlProgramOperationTypeHistogram" : {
46
+ "Ios16.reduceL2Norm" : 1,
47
+ "NonZero" : 1,
48
+ "Ios17.equal" : 1,
49
+ "Ios17.reshape" : 97,
50
+ "Ios16.softmax" : 24,
51
+ "Ios17.matmul" : 48,
52
+ "Ios17.transpose" : 97,
53
+ "Ios17.maximum" : 1,
54
+ "Ios17.expandDims" : 4,
55
+ "Select" : 2,
56
+ "Ios17.add" : 52,
57
+ "Ios16.sigmoid" : 24,
58
+ "Ios17.sliceByIndex" : 2,
59
+ "Tile" : 4,
60
+ "Ios16.reduceSum" : 2,
61
+ "Shape" : 1,
62
+ "Ios17.scatterNd" : 1,
63
+ "Ios17.layerNorm" : 50,
64
+ "Ios17.conv" : 1,
65
+ "Ios17.cast" : 7,
66
+ "Ios17.realDiv" : 1,
67
+ "Ios17.linear" : 147,
68
+ "Ios17.concat" : 2,
69
+ "Ios17.greaterEqual" : 1,
70
+ "Ios17.greater" : 4,
71
+ "Ios17.mul" : 73
72
+ },
73
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
74
+ "stateSchema" : [
75
+
76
+ ],
77
+ "isUpdatable" : "0",
78
+ "availability" : {
79
+ "macOS" : "14.0",
80
+ "tvOS" : "17.0",
81
+ "visionOS" : "1.0",
82
+ "watchOS" : "10.0",
83
+ "iOS" : "17.0",
84
+ "macCatalyst" : "17.0"
85
+ },
86
+ "modelType" : {
87
+ "name" : "MLModelType_mlProgram"
88
+ },
89
+ "inputSchema" : [
90
+ {
91
+ "hasShapeFlexibility" : "0",
92
+ "isOptional" : "0",
93
+ "dataType" : "Float16",
94
+ "formattedType" : "MultiArray (Float16 1 × 3 × 224 × 224)",
95
+ "shortDescription" : "The normalized image input tensor resized to (224x224) in channels-first (BCHW) format",
96
+ "shape" : "[1, 3, 224, 224]",
97
+ "name" : "clip_input",
98
+ "type" : "MultiArray"
99
+ },
100
+ {
101
+ "hasShapeFlexibility" : "0",
102
+ "isOptional" : "0",
103
+ "dataType" : "Float16",
104
+ "formattedType" : "MultiArray (Float16 1 × 512 × 512 × 3)",
105
+ "shortDescription" : "Output of the vae_decoder (512x512) in channels-last (BHWC) format",
106
+ "shape" : "[1, 512, 512, 3]",
107
+ "name" : "images",
108
+ "type" : "MultiArray"
109
+ },
110
+ {
111
+ "hasShapeFlexibility" : "0",
112
+ "isOptional" : "0",
113
+ "dataType" : "Float16",
114
+ "formattedType" : "MultiArray (Float16 1)",
115
+ "shortDescription" : "Bias added to the concept scores to trade off increased recall for reduce precision in the safety checker classifier",
116
+ "shape" : "[1]",
117
+ "name" : "adjustment",
118
+ "type" : "MultiArray"
119
+ }
120
+ ],
121
+ "userDefinedMetadata" : {
122
+ "com.github.apple.coremltools.conversion_date" : "2026-07-30",
123
+ "com.github.apple.coremltools.source" : "torch==2.7.0",
124
+ "com.github.apple.coremltools.version" : "9.0",
125
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
126
+ },
127
+ "generatedClassName" : "Stable_Diffusion_version_Clover_Image_Tiny_hf_safety_checker",
128
+ "method" : "predict"
129
+ }
130
+ ]
multifunction-v2/SafetyChecker.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
multifunction-v2/SafetyChecker.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffdfb1a4774feb816dd2ccc3e304d109013bc9591e188dcab840789583fdc1b4
3
+ size 607990114
multifunction-v2/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbd390a8bdfdaf61fca8cbf0c01b4106f1d77e2e24b2864266a9db8729f48601
3
+ size 243
multifunction-v2/TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2347aa28f8e485dab81360deaa63a10a78445fe068244e15ec20b21efaa5404c
3
+ size 936
multifunction-v2/TextEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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" : "Clover-Image-Tiny-hf",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/Clover-Image-Tiny-hf",
32
+ "specificationVersion" : 8,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios17.mul" : 36,
37
+ "Ios17.reduceArgmax" : 1,
38
+ "Ios17.linear" : 72,
39
+ "Select" : 1,
40
+ "Ios17.transpose" : 48,
41
+ "Ios17.matmul" : 24,
42
+ "Stack" : 1,
43
+ "Ios17.gatherNd" : 1,
44
+ "Ios17.gather" : 1,
45
+ "Ios17.add" : 38,
46
+ "Ios16.sigmoid" : 12,
47
+ "Ios16.softmax" : 12,
48
+ "Ios17.greaterEqual" : 1,
49
+ "Ios17.cast" : 4,
50
+ "Ios17.layerNorm" : 25,
51
+ "Ios17.reshape" : 48
52
+ },
53
+ "computePrecision" : "Mixed (Float16, Float32, Int32, UInt16)",
54
+ "stateSchema" : [
55
+
56
+ ],
57
+ "isUpdatable" : "0",
58
+ "availability" : {
59
+ "macOS" : "14.0",
60
+ "tvOS" : "17.0",
61
+ "visionOS" : "1.0",
62
+ "watchOS" : "10.0",
63
+ "iOS" : "17.0",
64
+ "macCatalyst" : "17.0"
65
+ },
66
+ "modelType" : {
67
+ "name" : "MLModelType_mlProgram"
68
+ },
69
+ "inputSchema" : [
70
+ {
71
+ "hasShapeFlexibility" : "0",
72
+ "isOptional" : "0",
73
+ "dataType" : "Float32",
74
+ "formattedType" : "MultiArray (Float32 1 × 77)",
75
+ "shortDescription" : "The token ids that represent the input text",
76
+ "shape" : "[1, 77]",
77
+ "name" : "input_ids",
78
+ "type" : "MultiArray"
79
+ }
80
+ ],
81
+ "userDefinedMetadata" : {
82
+ "com.github.apple.coremltools.conversion_date" : "2026-07-30",
83
+ "com.github.apple.coremltools.source" : "torch==2.7.0",
84
+ "com.github.apple.coremltools.version" : "9.0",
85
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
86
+ },
87
+ "generatedClassName" : "Stable_Diffusion_version_Clover_Image_Tiny_hf_text_encoder",
88
+ "method" : "predict"
89
+ }
90
+ ]
multifunction-v2/TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
multifunction-v2/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3e8699e18a386ba82633384e0a6f5c090983f1c66b24a26fad3554fc2a12ddb
3
+ size 246145536
multifunction-v2/UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bd48f768aadaf03bac3ef513709561be1a07198e1694436004a70e64883355e
3
+ size 243
multifunction-v2/UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f48f79725e50938ba47dd119dd3d0efc47115daaee32be6dcaa26e6ddd790bc0
3
+ size 1937
multifunction-v2/UnetChunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,811 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 32 × 32)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 640, 32, 32]",
13
+ "name" : "input_63_cast_fp16",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
21
+ "shortDescription" : "",
22
+ "shape" : "[2, 10240, 1, 256]",
23
+ "name" : "var_2337_cast_fp16",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
31
+ "shortDescription" : "",
32
+ "shape" : "[2, 640, 16, 16]",
33
+ "name" : "input_65_cast_fp16",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float32",
40
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
41
+ "shortDescription" : "",
42
+ "shape" : "[2, 1280, 1, 256]",
43
+ "name" : "inputs_23_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" : "hidden_states_61_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 × 320 × 32 × 32)",
71
+ "shortDescription" : "",
72
+ "shape" : "[2, 320, 32, 32]",
73
+ "name" : "input_37_cast_fp16",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float32",
80
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
81
+ "shortDescription" : "",
82
+ "shape" : "[2, 1280, 1, 1]",
83
+ "name" : "input_15_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
+ "modelParameters" : [
98
+
99
+ ],
100
+ "specificationVersion" : 9,
101
+ "functions" : [
102
+ {
103
+ "inputSchema" : [
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float16",
108
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
109
+ "shortDescription" : "",
110
+ "shape" : "[2, 4, 64, 64]",
111
+ "name" : "sample",
112
+ "type" : "MultiArray"
113
+ },
114
+ {
115
+ "hasShapeFlexibility" : "0",
116
+ "isOptional" : "0",
117
+ "dataType" : "Float16",
118
+ "formattedType" : "MultiArray (Float16 2)",
119
+ "shortDescription" : "",
120
+ "shape" : "[2]",
121
+ "name" : "timestep",
122
+ "type" : "MultiArray"
123
+ },
124
+ {
125
+ "hasShapeFlexibility" : "0",
126
+ "isOptional" : "0",
127
+ "dataType" : "Float16",
128
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
129
+ "shortDescription" : "",
130
+ "shape" : "[2, 768, 1, 77]",
131
+ "name" : "encoder_hidden_states",
132
+ "type" : "MultiArray"
133
+ }
134
+ ],
135
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
136
+ "storagePrecision" : "Float16",
137
+ "stateSchema" : [
138
+
139
+ ],
140
+ "outputSchema" : [
141
+ {
142
+ "hasShapeFlexibility" : "0",
143
+ "isOptional" : "0",
144
+ "dataType" : "Float32",
145
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
146
+ "shortDescription" : "",
147
+ "shape" : "[2, 640, 32, 32]",
148
+ "name" : "input_63_cast_fp16",
149
+ "type" : "MultiArray"
150
+ },
151
+ {
152
+ "hasShapeFlexibility" : "0",
153
+ "isOptional" : "0",
154
+ "dataType" : "Float32",
155
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
156
+ "shortDescription" : "",
157
+ "shape" : "[2, 10240, 1, 256]",
158
+ "name" : "var_2337_cast_fp16",
159
+ "type" : "MultiArray"
160
+ },
161
+ {
162
+ "hasShapeFlexibility" : "0",
163
+ "isOptional" : "0",
164
+ "dataType" : "Float32",
165
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
166
+ "shortDescription" : "",
167
+ "shape" : "[2, 640, 16, 16]",
168
+ "name" : "input_65_cast_fp16",
169
+ "type" : "MultiArray"
170
+ },
171
+ {
172
+ "hasShapeFlexibility" : "0",
173
+ "isOptional" : "0",
174
+ "dataType" : "Float32",
175
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
176
+ "shortDescription" : "",
177
+ "shape" : "[2, 1280, 1, 256]",
178
+ "name" : "inputs_23_cast_fp16",
179
+ "type" : "MultiArray"
180
+ },
181
+ {
182
+ "hasShapeFlexibility" : "0",
183
+ "isOptional" : "0",
184
+ "dataType" : "Float32",
185
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
186
+ "shortDescription" : "",
187
+ "shape" : "[2, 1280, 16, 16]",
188
+ "name" : "hidden_states_61_cast_fp16",
189
+ "type" : "MultiArray"
190
+ },
191
+ {
192
+ "hasShapeFlexibility" : "0",
193
+ "isOptional" : "0",
194
+ "dataType" : "Float32",
195
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
196
+ "shortDescription" : "",
197
+ "shape" : "[2, 320, 64, 64]",
198
+ "name" : "input_35_cast_fp16",
199
+ "type" : "MultiArray"
200
+ },
201
+ {
202
+ "hasShapeFlexibility" : "0",
203
+ "isOptional" : "0",
204
+ "dataType" : "Float32",
205
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
206
+ "shortDescription" : "",
207
+ "shape" : "[2, 320, 32, 32]",
208
+ "name" : "input_37_cast_fp16",
209
+ "type" : "MultiArray"
210
+ },
211
+ {
212
+ "hasShapeFlexibility" : "0",
213
+ "isOptional" : "0",
214
+ "dataType" : "Float32",
215
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
216
+ "shortDescription" : "",
217
+ "shape" : "[2, 1280, 1, 1]",
218
+ "name" : "input_15_cast_fp16",
219
+ "type" : "MultiArray"
220
+ },
221
+ {
222
+ "hasShapeFlexibility" : "0",
223
+ "isOptional" : "0",
224
+ "dataType" : "Float32",
225
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
226
+ "shortDescription" : "",
227
+ "shape" : "[2, 320, 64, 64]",
228
+ "name" : "input_7_cast_fp16",
229
+ "type" : "MultiArray"
230
+ }
231
+ ],
232
+ "name" : "base",
233
+ "mlProgramOperationTypeHistogram" : {
234
+ "Ios18.expandDims" : 3,
235
+ "Ios18.softmax" : 64,
236
+ "Ios18.cos" : 1,
237
+ "Ios18.mul" : 68,
238
+ "Ios18.batchNorm" : 12,
239
+ "Ios16.reduceMean" : 24,
240
+ "Ios18.realDiv" : 12,
241
+ "Ios18.sin" : 1,
242
+ "Split" : 3,
243
+ "Ios18.add" : 34,
244
+ "Ios18.layerNorm" : 12,
245
+ "Ios18.reshape" : 31,
246
+ "Ios18.conv" : 66,
247
+ "Ios18.concat" : 11,
248
+ "Ios16.einsum" : 128,
249
+ "Ios18.sub" : 12,
250
+ "Ios18.silu" : 10,
251
+ "Ios18.transpose" : 8,
252
+ "Ios18.sqrt" : 12,
253
+ "Ios18.gelu" : 3,
254
+ "Ios18.square" : 12,
255
+ "Ios18.cast" : 9,
256
+ "Ios18.sliceByIndex" : 194
257
+ }
258
+ },
259
+ {
260
+ "inputSchema" : [
261
+ {
262
+ "hasShapeFlexibility" : "0",
263
+ "isOptional" : "0",
264
+ "dataType" : "Float16",
265
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
266
+ "shortDescription" : "",
267
+ "shape" : "[2, 4, 64, 64]",
268
+ "name" : "sample",
269
+ "type" : "MultiArray"
270
+ },
271
+ {
272
+ "hasShapeFlexibility" : "0",
273
+ "isOptional" : "0",
274
+ "dataType" : "Float16",
275
+ "formattedType" : "MultiArray (Float16 2)",
276
+ "shortDescription" : "",
277
+ "shape" : "[2]",
278
+ "name" : "timestep",
279
+ "type" : "MultiArray"
280
+ },
281
+ {
282
+ "hasShapeFlexibility" : "0",
283
+ "isOptional" : "0",
284
+ "dataType" : "Float16",
285
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
286
+ "shortDescription" : "",
287
+ "shape" : "[2, 768, 1, 77]",
288
+ "name" : "encoder_hidden_states",
289
+ "type" : "MultiArray"
290
+ }
291
+ ],
292
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
293
+ "storagePrecision" : "Float16",
294
+ "stateSchema" : [
295
+
296
+ ],
297
+ "outputSchema" : [
298
+ {
299
+ "hasShapeFlexibility" : "0",
300
+ "isOptional" : "0",
301
+ "dataType" : "Float32",
302
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
303
+ "shortDescription" : "",
304
+ "shape" : "[2, 1280, 1, 256]",
305
+ "name" : "inputs_23_cast_fp16",
306
+ "type" : "MultiArray"
307
+ },
308
+ {
309
+ "hasShapeFlexibility" : "0",
310
+ "isOptional" : "0",
311
+ "dataType" : "Float32",
312
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
313
+ "shortDescription" : "",
314
+ "shape" : "[2, 1280, 16, 16]",
315
+ "name" : "hidden_states_61_cast_fp16",
316
+ "type" : "MultiArray"
317
+ },
318
+ {
319
+ "hasShapeFlexibility" : "0",
320
+ "isOptional" : "0",
321
+ "dataType" : "Float32",
322
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
323
+ "shortDescription" : "",
324
+ "shape" : "[2, 1280, 1, 1]",
325
+ "name" : "input_15_cast_fp16",
326
+ "type" : "MultiArray"
327
+ },
328
+ {
329
+ "hasShapeFlexibility" : "0",
330
+ "isOptional" : "0",
331
+ "dataType" : "Float32",
332
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
333
+ "shortDescription" : "",
334
+ "shape" : "[2, 320, 32, 32]",
335
+ "name" : "input_53_cast_fp16",
336
+ "type" : "MultiArray"
337
+ },
338
+ {
339
+ "hasShapeFlexibility" : "0",
340
+ "isOptional" : "0",
341
+ "dataType" : "Float32",
342
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
343
+ "shortDescription" : "",
344
+ "shape" : "[2, 10240, 1, 256]",
345
+ "name" : "var_2913_cast_fp16",
346
+ "type" : "MultiArray"
347
+ },
348
+ {
349
+ "hasShapeFlexibility" : "0",
350
+ "isOptional" : "0",
351
+ "dataType" : "Float32",
352
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
353
+ "shortDescription" : "",
354
+ "shape" : "[2, 640, 32, 32]",
355
+ "name" : "input_95_cast_fp16",
356
+ "type" : "MultiArray"
357
+ },
358
+ {
359
+ "hasShapeFlexibility" : "0",
360
+ "isOptional" : "0",
361
+ "dataType" : "Float32",
362
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
363
+ "shortDescription" : "",
364
+ "shape" : "[2, 320, 64, 64]",
365
+ "name" : "input_7_cast_fp16",
366
+ "type" : "MultiArray"
367
+ },
368
+ {
369
+ "hasShapeFlexibility" : "0",
370
+ "isOptional" : "0",
371
+ "dataType" : "Float32",
372
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
373
+ "shortDescription" : "",
374
+ "shape" : "[2, 320, 64, 64]",
375
+ "name" : "input_51_cast_fp16",
376
+ "type" : "MultiArray"
377
+ },
378
+ {
379
+ "hasShapeFlexibility" : "0",
380
+ "isOptional" : "0",
381
+ "dataType" : "Float32",
382
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
383
+ "shortDescription" : "",
384
+ "shape" : "[2, 640, 16, 16]",
385
+ "name" : "input_97_cast_fp16",
386
+ "type" : "MultiArray"
387
+ }
388
+ ],
389
+ "name" : "monet",
390
+ "mlProgramOperationTypeHistogram" : {
391
+ "Ios18.expandDims" : 3,
392
+ "Ios18.softmax" : 64,
393
+ "Ios18.cos" : 1,
394
+ "Ios18.mul" : 68,
395
+ "Ios18.batchNorm" : 12,
396
+ "Ios16.reduceMean" : 24,
397
+ "Ios18.realDiv" : 12,
398
+ "Ios18.sin" : 1,
399
+ "Split" : 3,
400
+ "Ios18.add" : 66,
401
+ "Ios18.layerNorm" : 12,
402
+ "Ios18.reshape" : 31,
403
+ "Ios18.conv" : 130,
404
+ "Ios18.concat" : 11,
405
+ "Ios16.einsum" : 128,
406
+ "Ios18.sub" : 12,
407
+ "Ios18.silu" : 10,
408
+ "Ios18.transpose" : 8,
409
+ "Ios18.sqrt" : 12,
410
+ "Ios18.gelu" : 3,
411
+ "Ios18.square" : 12,
412
+ "Ios18.cast" : 9,
413
+ "Ios18.sliceByIndex" : 194
414
+ }
415
+ },
416
+ {
417
+ "inputSchema" : [
418
+ {
419
+ "hasShapeFlexibility" : "0",
420
+ "isOptional" : "0",
421
+ "dataType" : "Float16",
422
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
423
+ "shortDescription" : "",
424
+ "shape" : "[2, 4, 64, 64]",
425
+ "name" : "sample",
426
+ "type" : "MultiArray"
427
+ },
428
+ {
429
+ "hasShapeFlexibility" : "0",
430
+ "isOptional" : "0",
431
+ "dataType" : "Float16",
432
+ "formattedType" : "MultiArray (Float16 2)",
433
+ "shortDescription" : "",
434
+ "shape" : "[2]",
435
+ "name" : "timestep",
436
+ "type" : "MultiArray"
437
+ },
438
+ {
439
+ "hasShapeFlexibility" : "0",
440
+ "isOptional" : "0",
441
+ "dataType" : "Float16",
442
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
443
+ "shortDescription" : "",
444
+ "shape" : "[2, 768, 1, 77]",
445
+ "name" : "encoder_hidden_states",
446
+ "type" : "MultiArray"
447
+ }
448
+ ],
449
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
450
+ "storagePrecision" : "Float16",
451
+ "stateSchema" : [
452
+
453
+ ],
454
+ "outputSchema" : [
455
+ {
456
+ "hasShapeFlexibility" : "0",
457
+ "isOptional" : "0",
458
+ "dataType" : "Float32",
459
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
460
+ "shortDescription" : "",
461
+ "shape" : "[2, 320, 64, 64]",
462
+ "name" : "input_51_cast_fp16",
463
+ "type" : "MultiArray"
464
+ },
465
+ {
466
+ "hasShapeFlexibility" : "0",
467
+ "isOptional" : "0",
468
+ "dataType" : "Float32",
469
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
470
+ "shortDescription" : "",
471
+ "shape" : "[2, 1280, 1, 1]",
472
+ "name" : "input_15_cast_fp16",
473
+ "type" : "MultiArray"
474
+ },
475
+ {
476
+ "hasShapeFlexibility" : "0",
477
+ "isOptional" : "0",
478
+ "dataType" : "Float32",
479
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
480
+ "shortDescription" : "",
481
+ "shape" : "[2, 1280, 1, 256]",
482
+ "name" : "inputs_23_cast_fp16",
483
+ "type" : "MultiArray"
484
+ },
485
+ {
486
+ "hasShapeFlexibility" : "0",
487
+ "isOptional" : "0",
488
+ "dataType" : "Float32",
489
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
490
+ "shortDescription" : "",
491
+ "shape" : "[2, 320, 32, 32]",
492
+ "name" : "input_53_cast_fp16",
493
+ "type" : "MultiArray"
494
+ },
495
+ {
496
+ "hasShapeFlexibility" : "0",
497
+ "isOptional" : "0",
498
+ "dataType" : "Float32",
499
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
500
+ "shortDescription" : "",
501
+ "shape" : "[2, 320, 64, 64]",
502
+ "name" : "input_7_cast_fp16",
503
+ "type" : "MultiArray"
504
+ },
505
+ {
506
+ "hasShapeFlexibility" : "0",
507
+ "isOptional" : "0",
508
+ "dataType" : "Float32",
509
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
510
+ "shortDescription" : "",
511
+ "shape" : "[2, 1280, 16, 16]",
512
+ "name" : "hidden_states_61_cast_fp16",
513
+ "type" : "MultiArray"
514
+ },
515
+ {
516
+ "hasShapeFlexibility" : "0",
517
+ "isOptional" : "0",
518
+ "dataType" : "Float32",
519
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
520
+ "shortDescription" : "",
521
+ "shape" : "[2, 10240, 1, 256]",
522
+ "name" : "var_2913_cast_fp16",
523
+ "type" : "MultiArray"
524
+ },
525
+ {
526
+ "hasShapeFlexibility" : "0",
527
+ "isOptional" : "0",
528
+ "dataType" : "Float32",
529
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
530
+ "shortDescription" : "",
531
+ "shape" : "[2, 640, 32, 32]",
532
+ "name" : "input_95_cast_fp16",
533
+ "type" : "MultiArray"
534
+ },
535
+ {
536
+ "hasShapeFlexibility" : "0",
537
+ "isOptional" : "0",
538
+ "dataType" : "Float32",
539
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
540
+ "shortDescription" : "",
541
+ "shape" : "[2, 640, 16, 16]",
542
+ "name" : "input_97_cast_fp16",
543
+ "type" : "MultiArray"
544
+ }
545
+ ],
546
+ "name" : "pointillism",
547
+ "mlProgramOperationTypeHistogram" : {
548
+ "Ios18.expandDims" : 3,
549
+ "Ios18.softmax" : 64,
550
+ "Ios18.cos" : 1,
551
+ "Ios18.mul" : 68,
552
+ "Ios18.batchNorm" : 12,
553
+ "Ios16.reduceMean" : 24,
554
+ "Ios18.realDiv" : 12,
555
+ "Ios18.sin" : 1,
556
+ "Split" : 3,
557
+ "Ios18.add" : 66,
558
+ "Ios18.layerNorm" : 12,
559
+ "Ios18.reshape" : 31,
560
+ "Ios18.conv" : 130,
561
+ "Ios18.concat" : 11,
562
+ "Ios16.einsum" : 128,
563
+ "Ios18.sub" : 12,
564
+ "Ios18.silu" : 10,
565
+ "Ios18.transpose" : 8,
566
+ "Ios18.sqrt" : 12,
567
+ "Ios18.gelu" : 3,
568
+ "Ios18.square" : 12,
569
+ "Ios18.cast" : 9,
570
+ "Ios18.sliceByIndex" : 194
571
+ }
572
+ },
573
+ {
574
+ "inputSchema" : [
575
+ {
576
+ "hasShapeFlexibility" : "0",
577
+ "isOptional" : "0",
578
+ "dataType" : "Float16",
579
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
580
+ "shortDescription" : "",
581
+ "shape" : "[2, 4, 64, 64]",
582
+ "name" : "sample",
583
+ "type" : "MultiArray"
584
+ },
585
+ {
586
+ "hasShapeFlexibility" : "0",
587
+ "isOptional" : "0",
588
+ "dataType" : "Float16",
589
+ "formattedType" : "MultiArray (Float16 2)",
590
+ "shortDescription" : "",
591
+ "shape" : "[2]",
592
+ "name" : "timestep",
593
+ "type" : "MultiArray"
594
+ },
595
+ {
596
+ "hasShapeFlexibility" : "0",
597
+ "isOptional" : "0",
598
+ "dataType" : "Float16",
599
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
600
+ "shortDescription" : "",
601
+ "shape" : "[2, 768, 1, 77]",
602
+ "name" : "encoder_hidden_states",
603
+ "type" : "MultiArray"
604
+ }
605
+ ],
606
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
607
+ "storagePrecision" : "Float16",
608
+ "stateSchema" : [
609
+
610
+ ],
611
+ "outputSchema" : [
612
+ {
613
+ "hasShapeFlexibility" : "0",
614
+ "isOptional" : "0",
615
+ "dataType" : "Float32",
616
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
617
+ "shortDescription" : "",
618
+ "shape" : "[2, 1280, 16, 16]",
619
+ "name" : "hidden_states_61_cast_fp16",
620
+ "type" : "MultiArray"
621
+ },
622
+ {
623
+ "hasShapeFlexibility" : "0",
624
+ "isOptional" : "0",
625
+ "dataType" : "Float32",
626
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
627
+ "shortDescription" : "",
628
+ "shape" : "[2, 320, 64, 64]",
629
+ "name" : "input_51_cast_fp16",
630
+ "type" : "MultiArray"
631
+ },
632
+ {
633
+ "hasShapeFlexibility" : "0",
634
+ "isOptional" : "0",
635
+ "dataType" : "Float32",
636
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
637
+ "shortDescription" : "",
638
+ "shape" : "[2, 640, 16, 16]",
639
+ "name" : "input_97_cast_fp16",
640
+ "type" : "MultiArray"
641
+ },
642
+ {
643
+ "hasShapeFlexibility" : "0",
644
+ "isOptional" : "0",
645
+ "dataType" : "Float32",
646
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
647
+ "shortDescription" : "",
648
+ "shape" : "[2, 1280, 1, 256]",
649
+ "name" : "inputs_23_cast_fp16",
650
+ "type" : "MultiArray"
651
+ },
652
+ {
653
+ "hasShapeFlexibility" : "0",
654
+ "isOptional" : "0",
655
+ "dataType" : "Float32",
656
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
657
+ "shortDescription" : "",
658
+ "shape" : "[2, 10240, 1, 256]",
659
+ "name" : "var_2913_cast_fp16",
660
+ "type" : "MultiArray"
661
+ },
662
+ {
663
+ "hasShapeFlexibility" : "0",
664
+ "isOptional" : "0",
665
+ "dataType" : "Float32",
666
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
667
+ "shortDescription" : "",
668
+ "shape" : "[2, 640, 32, 32]",
669
+ "name" : "input_95_cast_fp16",
670
+ "type" : "MultiArray"
671
+ },
672
+ {
673
+ "hasShapeFlexibility" : "0",
674
+ "isOptional" : "0",
675
+ "dataType" : "Float32",
676
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
677
+ "shortDescription" : "",
678
+ "shape" : "[2, 320, 64, 64]",
679
+ "name" : "input_7_cast_fp16",
680
+ "type" : "MultiArray"
681
+ },
682
+ {
683
+ "hasShapeFlexibility" : "0",
684
+ "isOptional" : "0",
685
+ "dataType" : "Float32",
686
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
687
+ "shortDescription" : "",
688
+ "shape" : "[2, 1280, 1, 1]",
689
+ "name" : "input_15_cast_fp16",
690
+ "type" : "MultiArray"
691
+ },
692
+ {
693
+ "hasShapeFlexibility" : "0",
694
+ "isOptional" : "0",
695
+ "dataType" : "Float32",
696
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
697
+ "shortDescription" : "",
698
+ "shape" : "[2, 320, 32, 32]",
699
+ "name" : "input_53_cast_fp16",
700
+ "type" : "MultiArray"
701
+ }
702
+ ],
703
+ "name" : "watercolor_anime",
704
+ "mlProgramOperationTypeHistogram" : {
705
+ "Ios18.expandDims" : 3,
706
+ "Ios18.softmax" : 64,
707
+ "Ios18.cos" : 1,
708
+ "Ios18.mul" : 68,
709
+ "Ios18.batchNorm" : 12,
710
+ "Ios16.reduceMean" : 24,
711
+ "Ios18.realDiv" : 12,
712
+ "Ios18.sin" : 1,
713
+ "Split" : 3,
714
+ "Ios18.add" : 66,
715
+ "Ios18.layerNorm" : 12,
716
+ "Ios18.reshape" : 31,
717
+ "Ios18.conv" : 130,
718
+ "Ios18.concat" : 11,
719
+ "Ios16.einsum" : 128,
720
+ "Ios18.sub" : 12,
721
+ "Ios18.silu" : 10,
722
+ "Ios18.transpose" : 8,
723
+ "Ios18.sqrt" : 12,
724
+ "Ios18.gelu" : 3,
725
+ "Ios18.square" : 12,
726
+ "Ios18.cast" : 9,
727
+ "Ios18.sliceByIndex" : 194
728
+ }
729
+ }
730
+ ],
731
+ "mlProgramOperationTypeHistogram" : {
732
+ "Ios18.expandDims" : 3,
733
+ "Ios18.softmax" : 64,
734
+ "Ios18.cos" : 1,
735
+ "Ios18.mul" : 68,
736
+ "Ios18.batchNorm" : 12,
737
+ "Ios16.reduceMean" : 24,
738
+ "Ios18.realDiv" : 12,
739
+ "Ios18.sin" : 1,
740
+ "Split" : 3,
741
+ "Ios18.add" : 34,
742
+ "Ios18.layerNorm" : 12,
743
+ "Ios18.reshape" : 31,
744
+ "Ios18.conv" : 66,
745
+ "Ios18.concat" : 11,
746
+ "Ios16.einsum" : 128,
747
+ "Ios18.sub" : 12,
748
+ "Ios18.silu" : 10,
749
+ "Ios18.transpose" : 8,
750
+ "Ios18.sqrt" : 12,
751
+ "Ios18.gelu" : 3,
752
+ "Ios18.square" : 12,
753
+ "Ios18.cast" : 9,
754
+ "Ios18.sliceByIndex" : 194
755
+ },
756
+ "isUpdatable" : "0",
757
+ "stateSchema" : [
758
+
759
+ ],
760
+ "availability" : {
761
+ "macOS" : "15.0",
762
+ "tvOS" : "18.0",
763
+ "visionOS" : "2.0",
764
+ "watchOS" : "11.0",
765
+ "iOS" : "18.0",
766
+ "macCatalyst" : "18.0"
767
+ },
768
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
769
+ "modelType" : {
770
+ "name" : "MLModelType_mlProgram"
771
+ },
772
+ "inputSchema" : [
773
+ {
774
+ "hasShapeFlexibility" : "0",
775
+ "isOptional" : "0",
776
+ "dataType" : "Float16",
777
+ "formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
778
+ "shortDescription" : "",
779
+ "shape" : "[2, 4, 64, 64]",
780
+ "name" : "sample",
781
+ "type" : "MultiArray"
782
+ },
783
+ {
784
+ "hasShapeFlexibility" : "0",
785
+ "isOptional" : "0",
786
+ "dataType" : "Float16",
787
+ "formattedType" : "MultiArray (Float16 2)",
788
+ "shortDescription" : "",
789
+ "shape" : "[2]",
790
+ "name" : "timestep",
791
+ "type" : "MultiArray"
792
+ },
793
+ {
794
+ "hasShapeFlexibility" : "0",
795
+ "isOptional" : "0",
796
+ "dataType" : "Float16",
797
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
798
+ "shortDescription" : "",
799
+ "shape" : "[2, 768, 1, 77]",
800
+ "name" : "encoder_hidden_states",
801
+ "type" : "MultiArray"
802
+ }
803
+ ],
804
+ "defaultFunctionName" : "base",
805
+ "generatedClassName" : "UnetChunk1",
806
+ "userDefinedMetadata" : {
807
+
808
+ },
809
+ "method" : "predict"
810
+ }
811
+ ]
multifunction-v2/UnetChunk1.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
multifunction-v2/UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:415e2d482d52de7164c4672316d8ab3c9a6fbfa0cb9552c29013961570537b9d
3
+ size 329955776
multifunction-v2/UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef98c106ac95f78c95641bcddc74fcf930326bda3de6bd31e76351e9cc17f4ee
3
+ size 243
multifunction-v2/UnetChunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a539fef29c6a292f589468ce57182e14d1c171849f3a6c355902095e9561906
3
+ size 1861
multifunction-v2/UnetChunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,751 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 4 × 64 × 64)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 4, 64, 64]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 9,
21
+ "functions" : [
22
+ {
23
+ "inputSchema" : [
24
+ {
25
+ "hasShapeFlexibility" : "0",
26
+ "isOptional" : "0",
27
+ "dataType" : "Float16",
28
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
29
+ "shortDescription" : "",
30
+ "shape" : "[2, 768, 1, 77]",
31
+ "name" : "encoder_hidden_states",
32
+ "type" : "MultiArray"
33
+ },
34
+ {
35
+ "hasShapeFlexibility" : "0",
36
+ "isOptional" : "0",
37
+ "dataType" : "Float32",
38
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
39
+ "shortDescription" : "",
40
+ "shape" : "[2, 1280, 1, 256]",
41
+ "name" : "inputs_23_cast_fp16",
42
+ "type" : "MultiArray"
43
+ },
44
+ {
45
+ "hasShapeFlexibility" : "0",
46
+ "isOptional" : "0",
47
+ "dataType" : "Float32",
48
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
49
+ "shortDescription" : "",
50
+ "shape" : "[2, 320, 64, 64]",
51
+ "name" : "input_35_cast_fp16",
52
+ "type" : "MultiArray"
53
+ },
54
+ {
55
+ "hasShapeFlexibility" : "0",
56
+ "isOptional" : "0",
57
+ "dataType" : "Float32",
58
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
59
+ "shortDescription" : "",
60
+ "shape" : "[2, 10240, 1, 256]",
61
+ "name" : "var_2337_cast_fp16",
62
+ "type" : "MultiArray"
63
+ },
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float32",
68
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
69
+ "shortDescription" : "",
70
+ "shape" : "[2, 320, 32, 32]",
71
+ "name" : "input_37_cast_fp16",
72
+ "type" : "MultiArray"
73
+ },
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float32",
78
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
79
+ "shortDescription" : "",
80
+ "shape" : "[2, 640, 32, 32]",
81
+ "name" : "input_63_cast_fp16",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float32",
88
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
89
+ "shortDescription" : "",
90
+ "shape" : "[2, 1280, 1, 1]",
91
+ "name" : "input_15_cast_fp16",
92
+ "type" : "MultiArray"
93
+ },
94
+ {
95
+ "hasShapeFlexibility" : "0",
96
+ "isOptional" : "0",
97
+ "dataType" : "Float32",
98
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
99
+ "shortDescription" : "",
100
+ "shape" : "[2, 320, 64, 64]",
101
+ "name" : "input_7_cast_fp16",
102
+ "type" : "MultiArray"
103
+ },
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float32",
108
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
109
+ "shortDescription" : "",
110
+ "shape" : "[2, 640, 16, 16]",
111
+ "name" : "input_65_cast_fp16",
112
+ "type" : "MultiArray"
113
+ },
114
+ {
115
+ "hasShapeFlexibility" : "0",
116
+ "isOptional" : "0",
117
+ "dataType" : "Float32",
118
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
119
+ "shortDescription" : "",
120
+ "shape" : "[2, 1280, 16, 16]",
121
+ "name" : "hidden_states_61_cast_fp16",
122
+ "type" : "MultiArray"
123
+ }
124
+ ],
125
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
126
+ "storagePrecision" : "Float16",
127
+ "stateSchema" : [
128
+
129
+ ],
130
+ "outputSchema" : [
131
+ {
132
+ "hasShapeFlexibility" : "0",
133
+ "isOptional" : "0",
134
+ "dataType" : "Float32",
135
+ "formattedType" : "MultiArray (Float32 2 × 4 × 64 × 64)",
136
+ "shortDescription" : "",
137
+ "shape" : "[2, 4, 64, 64]",
138
+ "name" : "noise_pred",
139
+ "type" : "MultiArray"
140
+ }
141
+ ],
142
+ "name" : "base",
143
+ "mlProgramOperationTypeHistogram" : {
144
+ "Ios18.softmax" : 80,
145
+ "Ios18.mul" : 86,
146
+ "UpsampleNearestNeighbor" : 2,
147
+ "Ios18.batchNorm" : 16,
148
+ "Ios16.reduceMean" : 32,
149
+ "Ios18.realDiv" : 16,
150
+ "Split" : 6,
151
+ "Ios18.add" : 48,
152
+ "Ios18.layerNorm" : 15,
153
+ "Ios18.reshape" : 43,
154
+ "Ios18.conv" : 85,
155
+ "Ios18.gelu" : 6,
156
+ "Ios18.concat" : 15,
157
+ "Ios18.sub" : 16,
158
+ "Ios16.einsum" : 160,
159
+ "Ios18.silu" : 11,
160
+ "Ios18.cast" : 10,
161
+ "Ios18.transpose" : 10,
162
+ "Ios18.square" : 16,
163
+ "Ios18.sqrt" : 16,
164
+ "Ios18.sliceByIndex" : 240
165
+ }
166
+ },
167
+ {
168
+ "inputSchema" : [
169
+ {
170
+ "hasShapeFlexibility" : "0",
171
+ "isOptional" : "0",
172
+ "dataType" : "Float16",
173
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
174
+ "shortDescription" : "",
175
+ "shape" : "[2, 768, 1, 77]",
176
+ "name" : "encoder_hidden_states",
177
+ "type" : "MultiArray"
178
+ },
179
+ {
180
+ "hasShapeFlexibility" : "0",
181
+ "isOptional" : "0",
182
+ "dataType" : "Float32",
183
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
184
+ "shortDescription" : "",
185
+ "shape" : "[2, 320, 32, 32]",
186
+ "name" : "input_53_cast_fp16",
187
+ "type" : "MultiArray"
188
+ },
189
+ {
190
+ "hasShapeFlexibility" : "0",
191
+ "isOptional" : "0",
192
+ "dataType" : "Float32",
193
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
194
+ "shortDescription" : "",
195
+ "shape" : "[2, 1280, 1, 1]",
196
+ "name" : "input_15_cast_fp16",
197
+ "type" : "MultiArray"
198
+ },
199
+ {
200
+ "hasShapeFlexibility" : "0",
201
+ "isOptional" : "0",
202
+ "dataType" : "Float32",
203
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
204
+ "shortDescription" : "",
205
+ "shape" : "[2, 10240, 1, 256]",
206
+ "name" : "var_2913_cast_fp16",
207
+ "type" : "MultiArray"
208
+ },
209
+ {
210
+ "hasShapeFlexibility" : "0",
211
+ "isOptional" : "0",
212
+ "dataType" : "Float32",
213
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
214
+ "shortDescription" : "",
215
+ "shape" : "[2, 320, 64, 64]",
216
+ "name" : "input_51_cast_fp16",
217
+ "type" : "MultiArray"
218
+ },
219
+ {
220
+ "hasShapeFlexibility" : "0",
221
+ "isOptional" : "0",
222
+ "dataType" : "Float32",
223
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
224
+ "shortDescription" : "",
225
+ "shape" : "[2, 640, 32, 32]",
226
+ "name" : "input_95_cast_fp16",
227
+ "type" : "MultiArray"
228
+ },
229
+ {
230
+ "hasShapeFlexibility" : "0",
231
+ "isOptional" : "0",
232
+ "dataType" : "Float32",
233
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
234
+ "shortDescription" : "",
235
+ "shape" : "[2, 320, 64, 64]",
236
+ "name" : "input_7_cast_fp16",
237
+ "type" : "MultiArray"
238
+ },
239
+ {
240
+ "hasShapeFlexibility" : "0",
241
+ "isOptional" : "0",
242
+ "dataType" : "Float32",
243
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
244
+ "shortDescription" : "",
245
+ "shape" : "[2, 1280, 1, 256]",
246
+ "name" : "inputs_23_cast_fp16",
247
+ "type" : "MultiArray"
248
+ },
249
+ {
250
+ "hasShapeFlexibility" : "0",
251
+ "isOptional" : "0",
252
+ "dataType" : "Float32",
253
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
254
+ "shortDescription" : "",
255
+ "shape" : "[2, 640, 16, 16]",
256
+ "name" : "input_97_cast_fp16",
257
+ "type" : "MultiArray"
258
+ },
259
+ {
260
+ "hasShapeFlexibility" : "0",
261
+ "isOptional" : "0",
262
+ "dataType" : "Float32",
263
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
264
+ "shortDescription" : "",
265
+ "shape" : "[2, 1280, 16, 16]",
266
+ "name" : "hidden_states_61_cast_fp16",
267
+ "type" : "MultiArray"
268
+ }
269
+ ],
270
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
271
+ "storagePrecision" : "Float16",
272
+ "stateSchema" : [
273
+
274
+ ],
275
+ "outputSchema" : [
276
+ {
277
+ "hasShapeFlexibility" : "0",
278
+ "isOptional" : "0",
279
+ "dataType" : "Float32",
280
+ "formattedType" : "MultiArray (Float32 2 × 4 × 64 × 64)",
281
+ "shortDescription" : "",
282
+ "shape" : "[2, 4, 64, 64]",
283
+ "name" : "noise_pred",
284
+ "type" : "MultiArray"
285
+ }
286
+ ],
287
+ "name" : "monet",
288
+ "mlProgramOperationTypeHistogram" : {
289
+ "Ios18.softmax" : 80,
290
+ "Ios18.mul" : 86,
291
+ "UpsampleNearestNeighbor" : 2,
292
+ "Ios18.batchNorm" : 16,
293
+ "Ios16.reduceMean" : 32,
294
+ "Ios18.realDiv" : 16,
295
+ "Split" : 6,
296
+ "Ios18.add" : 88,
297
+ "Ios18.layerNorm" : 15,
298
+ "Ios18.reshape" : 43,
299
+ "Ios18.conv" : 165,
300
+ "Ios18.gelu" : 6,
301
+ "Ios18.concat" : 15,
302
+ "Ios18.sub" : 16,
303
+ "Ios16.einsum" : 160,
304
+ "Ios18.silu" : 11,
305
+ "Ios18.cast" : 10,
306
+ "Ios18.transpose" : 10,
307
+ "Ios18.square" : 16,
308
+ "Ios18.sqrt" : 16,
309
+ "Ios18.sliceByIndex" : 240
310
+ }
311
+ },
312
+ {
313
+ "inputSchema" : [
314
+ {
315
+ "hasShapeFlexibility" : "0",
316
+ "isOptional" : "0",
317
+ "dataType" : "Float16",
318
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
319
+ "shortDescription" : "",
320
+ "shape" : "[2, 768, 1, 77]",
321
+ "name" : "encoder_hidden_states",
322
+ "type" : "MultiArray"
323
+ },
324
+ {
325
+ "hasShapeFlexibility" : "0",
326
+ "isOptional" : "0",
327
+ "dataType" : "Float32",
328
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
329
+ "shortDescription" : "",
330
+ "shape" : "[2, 1280, 1, 256]",
331
+ "name" : "inputs_23_cast_fp16",
332
+ "type" : "MultiArray"
333
+ },
334
+ {
335
+ "hasShapeFlexibility" : "0",
336
+ "isOptional" : "0",
337
+ "dataType" : "Float32",
338
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
339
+ "shortDescription" : "",
340
+ "shape" : "[2, 1280, 1, 1]",
341
+ "name" : "input_15_cast_fp16",
342
+ "type" : "MultiArray"
343
+ },
344
+ {
345
+ "hasShapeFlexibility" : "0",
346
+ "isOptional" : "0",
347
+ "dataType" : "Float32",
348
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
349
+ "shortDescription" : "",
350
+ "shape" : "[2, 10240, 1, 256]",
351
+ "name" : "var_2913_cast_fp16",
352
+ "type" : "MultiArray"
353
+ },
354
+ {
355
+ "hasShapeFlexibility" : "0",
356
+ "isOptional" : "0",
357
+ "dataType" : "Float32",
358
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
359
+ "shortDescription" : "",
360
+ "shape" : "[2, 640, 32, 32]",
361
+ "name" : "input_95_cast_fp16",
362
+ "type" : "MultiArray"
363
+ },
364
+ {
365
+ "hasShapeFlexibility" : "0",
366
+ "isOptional" : "0",
367
+ "dataType" : "Float32",
368
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
369
+ "shortDescription" : "",
370
+ "shape" : "[2, 640, 16, 16]",
371
+ "name" : "input_97_cast_fp16",
372
+ "type" : "MultiArray"
373
+ },
374
+ {
375
+ "hasShapeFlexibility" : "0",
376
+ "isOptional" : "0",
377
+ "dataType" : "Float32",
378
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
379
+ "shortDescription" : "",
380
+ "shape" : "[2, 320, 64, 64]",
381
+ "name" : "input_51_cast_fp16",
382
+ "type" : "MultiArray"
383
+ },
384
+ {
385
+ "hasShapeFlexibility" : "0",
386
+ "isOptional" : "0",
387
+ "dataType" : "Float32",
388
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
389
+ "shortDescription" : "",
390
+ "shape" : "[2, 320, 64, 64]",
391
+ "name" : "input_7_cast_fp16",
392
+ "type" : "MultiArray"
393
+ },
394
+ {
395
+ "hasShapeFlexibility" : "0",
396
+ "isOptional" : "0",
397
+ "dataType" : "Float32",
398
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
399
+ "shortDescription" : "",
400
+ "shape" : "[2, 320, 32, 32]",
401
+ "name" : "input_53_cast_fp16",
402
+ "type" : "MultiArray"
403
+ },
404
+ {
405
+ "hasShapeFlexibility" : "0",
406
+ "isOptional" : "0",
407
+ "dataType" : "Float32",
408
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
409
+ "shortDescription" : "",
410
+ "shape" : "[2, 1280, 16, 16]",
411
+ "name" : "hidden_states_61_cast_fp16",
412
+ "type" : "MultiArray"
413
+ }
414
+ ],
415
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
416
+ "storagePrecision" : "Float16",
417
+ "stateSchema" : [
418
+
419
+ ],
420
+ "outputSchema" : [
421
+ {
422
+ "hasShapeFlexibility" : "0",
423
+ "isOptional" : "0",
424
+ "dataType" : "Float32",
425
+ "formattedType" : "MultiArray (Float32 2 × 4 × 64 × 64)",
426
+ "shortDescription" : "",
427
+ "shape" : "[2, 4, 64, 64]",
428
+ "name" : "noise_pred",
429
+ "type" : "MultiArray"
430
+ }
431
+ ],
432
+ "name" : "pointillism",
433
+ "mlProgramOperationTypeHistogram" : {
434
+ "Ios18.softmax" : 80,
435
+ "Ios18.mul" : 86,
436
+ "UpsampleNearestNeighbor" : 2,
437
+ "Ios18.batchNorm" : 16,
438
+ "Ios16.reduceMean" : 32,
439
+ "Ios18.realDiv" : 16,
440
+ "Split" : 6,
441
+ "Ios18.add" : 88,
442
+ "Ios18.layerNorm" : 15,
443
+ "Ios18.reshape" : 43,
444
+ "Ios18.conv" : 165,
445
+ "Ios18.gelu" : 6,
446
+ "Ios18.concat" : 15,
447
+ "Ios18.sub" : 16,
448
+ "Ios16.einsum" : 160,
449
+ "Ios18.silu" : 11,
450
+ "Ios18.cast" : 10,
451
+ "Ios18.transpose" : 10,
452
+ "Ios18.square" : 16,
453
+ "Ios18.sqrt" : 16,
454
+ "Ios18.sliceByIndex" : 240
455
+ }
456
+ },
457
+ {
458
+ "inputSchema" : [
459
+ {
460
+ "hasShapeFlexibility" : "0",
461
+ "isOptional" : "0",
462
+ "dataType" : "Float16",
463
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
464
+ "shortDescription" : "",
465
+ "shape" : "[2, 768, 1, 77]",
466
+ "name" : "encoder_hidden_states",
467
+ "type" : "MultiArray"
468
+ },
469
+ {
470
+ "hasShapeFlexibility" : "0",
471
+ "isOptional" : "0",
472
+ "dataType" : "Float32",
473
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
474
+ "shortDescription" : "",
475
+ "shape" : "[2, 10240, 1, 256]",
476
+ "name" : "var_2913_cast_fp16",
477
+ "type" : "MultiArray"
478
+ },
479
+ {
480
+ "hasShapeFlexibility" : "0",
481
+ "isOptional" : "0",
482
+ "dataType" : "Float32",
483
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
484
+ "shortDescription" : "",
485
+ "shape" : "[2, 640, 32, 32]",
486
+ "name" : "input_95_cast_fp16",
487
+ "type" : "MultiArray"
488
+ },
489
+ {
490
+ "hasShapeFlexibility" : "0",
491
+ "isOptional" : "0",
492
+ "dataType" : "Float32",
493
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
494
+ "shortDescription" : "",
495
+ "shape" : "[2, 320, 64, 64]",
496
+ "name" : "input_51_cast_fp16",
497
+ "type" : "MultiArray"
498
+ },
499
+ {
500
+ "hasShapeFlexibility" : "0",
501
+ "isOptional" : "0",
502
+ "dataType" : "Float32",
503
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
504
+ "shortDescription" : "",
505
+ "shape" : "[2, 320, 64, 64]",
506
+ "name" : "input_7_cast_fp16",
507
+ "type" : "MultiArray"
508
+ },
509
+ {
510
+ "hasShapeFlexibility" : "0",
511
+ "isOptional" : "0",
512
+ "dataType" : "Float32",
513
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
514
+ "shortDescription" : "",
515
+ "shape" : "[2, 320, 32, 32]",
516
+ "name" : "input_53_cast_fp16",
517
+ "type" : "MultiArray"
518
+ },
519
+ {
520
+ "hasShapeFlexibility" : "0",
521
+ "isOptional" : "0",
522
+ "dataType" : "Float32",
523
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
524
+ "shortDescription" : "",
525
+ "shape" : "[2, 640, 16, 16]",
526
+ "name" : "input_97_cast_fp16",
527
+ "type" : "MultiArray"
528
+ },
529
+ {
530
+ "hasShapeFlexibility" : "0",
531
+ "isOptional" : "0",
532
+ "dataType" : "Float32",
533
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
534
+ "shortDescription" : "",
535
+ "shape" : "[2, 1280, 16, 16]",
536
+ "name" : "hidden_states_61_cast_fp16",
537
+ "type" : "MultiArray"
538
+ },
539
+ {
540
+ "hasShapeFlexibility" : "0",
541
+ "isOptional" : "0",
542
+ "dataType" : "Float32",
543
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
544
+ "shortDescription" : "",
545
+ "shape" : "[2, 1280, 1, 256]",
546
+ "name" : "inputs_23_cast_fp16",
547
+ "type" : "MultiArray"
548
+ },
549
+ {
550
+ "hasShapeFlexibility" : "0",
551
+ "isOptional" : "0",
552
+ "dataType" : "Float32",
553
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
554
+ "shortDescription" : "",
555
+ "shape" : "[2, 1280, 1, 1]",
556
+ "name" : "input_15_cast_fp16",
557
+ "type" : "MultiArray"
558
+ }
559
+ ],
560
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
561
+ "storagePrecision" : "Float16",
562
+ "stateSchema" : [
563
+
564
+ ],
565
+ "outputSchema" : [
566
+ {
567
+ "hasShapeFlexibility" : "0",
568
+ "isOptional" : "0",
569
+ "dataType" : "Float32",
570
+ "formattedType" : "MultiArray (Float32 2 × 4 × 64 × 64)",
571
+ "shortDescription" : "",
572
+ "shape" : "[2, 4, 64, 64]",
573
+ "name" : "noise_pred",
574
+ "type" : "MultiArray"
575
+ }
576
+ ],
577
+ "name" : "watercolor_anime",
578
+ "mlProgramOperationTypeHistogram" : {
579
+ "Ios18.softmax" : 80,
580
+ "Ios18.mul" : 86,
581
+ "UpsampleNearestNeighbor" : 2,
582
+ "Ios18.batchNorm" : 16,
583
+ "Ios16.reduceMean" : 32,
584
+ "Ios18.realDiv" : 16,
585
+ "Split" : 6,
586
+ "Ios18.add" : 88,
587
+ "Ios18.layerNorm" : 15,
588
+ "Ios18.reshape" : 43,
589
+ "Ios18.conv" : 165,
590
+ "Ios18.gelu" : 6,
591
+ "Ios18.concat" : 15,
592
+ "Ios18.sub" : 16,
593
+ "Ios16.einsum" : 160,
594
+ "Ios18.silu" : 11,
595
+ "Ios18.cast" : 10,
596
+ "Ios18.transpose" : 10,
597
+ "Ios18.square" : 16,
598
+ "Ios18.sqrt" : 16,
599
+ "Ios18.sliceByIndex" : 240
600
+ }
601
+ }
602
+ ],
603
+ "mlProgramOperationTypeHistogram" : {
604
+ "Ios18.softmax" : 80,
605
+ "Ios18.mul" : 86,
606
+ "UpsampleNearestNeighbor" : 2,
607
+ "Ios18.batchNorm" : 16,
608
+ "Ios16.reduceMean" : 32,
609
+ "Ios18.realDiv" : 16,
610
+ "Split" : 6,
611
+ "Ios18.add" : 48,
612
+ "Ios18.layerNorm" : 15,
613
+ "Ios18.reshape" : 43,
614
+ "Ios18.conv" : 85,
615
+ "Ios18.gelu" : 6,
616
+ "Ios18.concat" : 15,
617
+ "Ios18.sub" : 16,
618
+ "Ios16.einsum" : 160,
619
+ "Ios18.silu" : 11,
620
+ "Ios18.cast" : 10,
621
+ "Ios18.transpose" : 10,
622
+ "Ios18.square" : 16,
623
+ "Ios18.sqrt" : 16,
624
+ "Ios18.sliceByIndex" : 240
625
+ },
626
+ "isUpdatable" : "0",
627
+ "stateSchema" : [
628
+
629
+ ],
630
+ "availability" : {
631
+ "macOS" : "15.0",
632
+ "tvOS" : "18.0",
633
+ "visionOS" : "2.0",
634
+ "watchOS" : "11.0",
635
+ "iOS" : "18.0",
636
+ "macCatalyst" : "18.0"
637
+ },
638
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
639
+ "modelType" : {
640
+ "name" : "MLModelType_mlProgram"
641
+ },
642
+ "inputSchema" : [
643
+ {
644
+ "hasShapeFlexibility" : "0",
645
+ "isOptional" : "0",
646
+ "dataType" : "Float16",
647
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
648
+ "shortDescription" : "",
649
+ "shape" : "[2, 768, 1, 77]",
650
+ "name" : "encoder_hidden_states",
651
+ "type" : "MultiArray"
652
+ },
653
+ {
654
+ "hasShapeFlexibility" : "0",
655
+ "isOptional" : "0",
656
+ "dataType" : "Float32",
657
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 256)",
658
+ "shortDescription" : "",
659
+ "shape" : "[2, 1280, 1, 256]",
660
+ "name" : "inputs_23_cast_fp16",
661
+ "type" : "MultiArray"
662
+ },
663
+ {
664
+ "hasShapeFlexibility" : "0",
665
+ "isOptional" : "0",
666
+ "dataType" : "Float32",
667
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
668
+ "shortDescription" : "",
669
+ "shape" : "[2, 320, 64, 64]",
670
+ "name" : "input_35_cast_fp16",
671
+ "type" : "MultiArray"
672
+ },
673
+ {
674
+ "hasShapeFlexibility" : "0",
675
+ "isOptional" : "0",
676
+ "dataType" : "Float32",
677
+ "formattedType" : "MultiArray (Float32 2 × 10240 × 1 × 256)",
678
+ "shortDescription" : "",
679
+ "shape" : "[2, 10240, 1, 256]",
680
+ "name" : "var_2337_cast_fp16",
681
+ "type" : "MultiArray"
682
+ },
683
+ {
684
+ "hasShapeFlexibility" : "0",
685
+ "isOptional" : "0",
686
+ "dataType" : "Float32",
687
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
688
+ "shortDescription" : "",
689
+ "shape" : "[2, 320, 32, 32]",
690
+ "name" : "input_37_cast_fp16",
691
+ "type" : "MultiArray"
692
+ },
693
+ {
694
+ "hasShapeFlexibility" : "0",
695
+ "isOptional" : "0",
696
+ "dataType" : "Float32",
697
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
698
+ "shortDescription" : "",
699
+ "shape" : "[2, 640, 32, 32]",
700
+ "name" : "input_63_cast_fp16",
701
+ "type" : "MultiArray"
702
+ },
703
+ {
704
+ "hasShapeFlexibility" : "0",
705
+ "isOptional" : "0",
706
+ "dataType" : "Float32",
707
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
708
+ "shortDescription" : "",
709
+ "shape" : "[2, 1280, 1, 1]",
710
+ "name" : "input_15_cast_fp16",
711
+ "type" : "MultiArray"
712
+ },
713
+ {
714
+ "hasShapeFlexibility" : "0",
715
+ "isOptional" : "0",
716
+ "dataType" : "Float32",
717
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
718
+ "shortDescription" : "",
719
+ "shape" : "[2, 320, 64, 64]",
720
+ "name" : "input_7_cast_fp16",
721
+ "type" : "MultiArray"
722
+ },
723
+ {
724
+ "hasShapeFlexibility" : "0",
725
+ "isOptional" : "0",
726
+ "dataType" : "Float32",
727
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
728
+ "shortDescription" : "",
729
+ "shape" : "[2, 640, 16, 16]",
730
+ "name" : "input_65_cast_fp16",
731
+ "type" : "MultiArray"
732
+ },
733
+ {
734
+ "hasShapeFlexibility" : "0",
735
+ "isOptional" : "0",
736
+ "dataType" : "Float32",
737
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
738
+ "shortDescription" : "",
739
+ "shape" : "[2, 1280, 16, 16]",
740
+ "name" : "hidden_states_61_cast_fp16",
741
+ "type" : "MultiArray"
742
+ }
743
+ ],
744
+ "defaultFunctionName" : "base",
745
+ "generatedClassName" : "UnetChunk2",
746
+ "userDefinedMetadata" : {
747
+
748
+ },
749
+ "method" : "predict"
750
+ }
751
+ ]
multifunction-v2/UnetChunk2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
multifunction-v2/UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ea16a6337cc3f98d06b7de62b1fdafc3c45869fb61f0a6d259ecfbca20a2ca8
3
+ size 327264768
multifunction-v2/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f8912f9da50503cb2d735a6773c4e4d9450f19114f0e279a9dc70b0be435aaa
3
+ size 243
multifunction-v2/VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdd2981b2f40b2255006f546f180155e0ea08e0ae5ffd245919dfdf7b27a2bb0
3
+ size 863
multifunction-v2/VAEDecoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 3 × 512 × 512)",
11
+ "shortDescription" : "Generated image normalized to range [-1, 1]",
12
+ "shape" : "[1, 3, 512, 512]",
13
+ "name" : "image",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "Clover-Image-Tiny-hf",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/Clover-Image-Tiny-hf",
22
+ "specificationVersion" : 8,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Ios17.mul" : 2,
27
+ "Ios17.sqrt" : 30,
28
+ "Ios17.square" : 30,
29
+ "Ios17.transpose" : 6,
30
+ "Ios17.sub" : 30,
31
+ "Ios17.linear" : 4,
32
+ "Ios17.conv" : 36,
33
+ "Ios17.matmul" : 2,
34
+ "Ios17.add" : 46,
35
+ "Ios17.realDiv" : 30,
36
+ "Ios16.reduceMean" : 60,
37
+ "Ios17.batchNorm" : 29,
38
+ "Ios16.softmax" : 1,
39
+ "UpsampleNearestNeighbor" : 3,
40
+ "Ios17.reshape" : 65,
41
+ "Ios17.cast" : 1,
42
+ "Ios16.silu" : 29
43
+ },
44
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
45
+ "stateSchema" : [
46
+
47
+ ],
48
+ "isUpdatable" : "0",
49
+ "availability" : {
50
+ "macOS" : "14.0",
51
+ "tvOS" : "17.0",
52
+ "visionOS" : "1.0",
53
+ "watchOS" : "10.0",
54
+ "iOS" : "17.0",
55
+ "macCatalyst" : "17.0"
56
+ },
57
+ "modelType" : {
58
+ "name" : "MLModelType_mlProgram"
59
+ },
60
+ "inputSchema" : [
61
+ {
62
+ "hasShapeFlexibility" : "0",
63
+ "isOptional" : "0",
64
+ "dataType" : "Float16",
65
+ "formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
66
+ "shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
67
+ "shape" : "[1, 4, 64, 64]",
68
+ "name" : "z",
69
+ "type" : "MultiArray"
70
+ }
71
+ ],
72
+ "userDefinedMetadata" : {
73
+ "com.github.apple.coremltools.conversion_date" : "2026-07-30",
74
+ "com.github.apple.coremltools.source" : "torch==2.7.0",
75
+ "com.github.apple.coremltools.version" : "9.0",
76
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
77
+ },
78
+ "generatedClassName" : "Stable_Diffusion_version_Clover_Image_Tiny_hf_vae_decoder",
79
+ "method" : "predict"
80
+ }
81
+ ]
multifunction-v2/VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
multifunction-v2/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca45a093443d3a9719c5f7c61010315e94ffc8019eff27a0eeb52075a05ac752
3
+ size 98993280
multifunction-v2/functions.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "functions": {
4
+ "base": "base",
5
+ "monet": "monet",
6
+ "pointillism": "pointillism",
7
+ "watercolor-anime": "watercolor_anime"
8
+ }
9
+ }
multifunction-v2/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
multifunction-v2/vocab.json ADDED
The diff for this file is too large to render. See raw diff