johnkillington commited on
Commit
371702a
·
verified ·
1 Parent(s): f5d2c61

Add CoreML conversion for RealCartoon3D_v18

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. Resources/.DS_Store +0 -0
  2. Resources/Resources/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
  3. Resources/Resources/SafetyChecker.mlmodelc/coremldata.bin +3 -0
  4. Resources/Resources/SafetyChecker.mlmodelc/metadata.json +126 -0
  5. Resources/Resources/SafetyChecker.mlmodelc/model.mil +0 -0
  6. Resources/Resources/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
  7. Resources/Resources/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  8. Resources/Resources/TextEncoder.mlmodelc/coremldata.bin +3 -0
  9. Resources/Resources/TextEncoder.mlmodelc/metadata.json +87 -0
  10. Resources/Resources/TextEncoder.mlmodelc/model.mil +0 -0
  11. Resources/Resources/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  12. Resources/Resources/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  13. Resources/Resources/Unet.mlmodelc/coremldata.bin +3 -0
  14. Resources/Resources/Unet.mlmodelc/metadata.json +108 -0
  15. Resources/Resources/Unet.mlmodelc/model.mil +0 -0
  16. Resources/Resources/Unet.mlmodelc/weights/weight.bin +3 -0
  17. Resources/Resources/UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
  18. Resources/Resources/UnetChunk1.mlmodelc/coremldata.bin +3 -0
  19. Resources/Resources/UnetChunk1.mlmodelc/metadata.json +220 -0
  20. Resources/Resources/UnetChunk1.mlmodelc/model.mil +0 -0
  21. Resources/Resources/UnetChunk1.mlmodelc/weights/weight.bin +3 -0
  22. Resources/Resources/UnetChunk2.mlmodelc/analytics/coremldata.bin +3 -0
  23. Resources/Resources/UnetChunk2.mlmodelc/coremldata.bin +3 -0
  24. Resources/Resources/UnetChunk2.mlmodelc/metadata.json +208 -0
  25. Resources/Resources/UnetChunk2.mlmodelc/model.mil +0 -0
  26. Resources/Resources/UnetChunk2.mlmodelc/weights/weight.bin +3 -0
  27. Resources/Resources/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  28. Resources/Resources/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  29. Resources/Resources/VAEDecoder.mlmodelc/metadata.json +80 -0
  30. Resources/Resources/VAEDecoder.mlmodelc/model.mil +0 -0
  31. Resources/Resources/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  32. Resources/Resources/merges.txt +0 -0
  33. Resources/Resources/vocab.json +0 -0
  34. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_safety_checker.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  35. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_safety_checker.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  36. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_safety_checker.mlpackage/Manifest.json +18 -0
  37. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  38. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  39. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_text_encoder.mlpackage/Manifest.json +18 -0
  40. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  41. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  42. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet.mlpackage/Manifest.json +18 -0
  43. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk1.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  44. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk1.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  45. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk1.mlpackage/Manifest.json +18 -0
  46. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  47. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  48. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk2.mlpackage/Manifest.json +18 -0
  49. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  50. Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
Resources/.DS_Store ADDED
Binary file (12.3 kB). View file
 
Resources/Resources/SafetyChecker.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2c6947cc80b86e23e41c93ee2684902543590767ea5d44299cb5a5abe17f04e
3
+ size 243
Resources/Resources/SafetyChecker.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1790297b95d33d8718495f38f9cefd51a7142ee66c172e17b5eb69d5592d1edc
3
+ size 1502
Resources/Resources/SafetyChecker.mlmodelc/metadata.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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" : "models\/Diffusers\/RealCartoon3D_v18",
38
+ "modelParameters" : [
39
+
40
+ ],
41
+ "author" : "Please refer to the Model Card available at huggingface.co\/models\/Diffusers\/RealCartoon3D_v18",
42
+ "specificationVersion" : 7,
43
+ "storagePrecision" : "Float16",
44
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
45
+ "mlProgramOperationTypeHistogram" : {
46
+ "Transpose" : 97,
47
+ "Ios16.scatterNd" : 1,
48
+ "Ios16.softmax" : 24,
49
+ "Ios16.linear" : 147,
50
+ "Ios16.add" : 51,
51
+ "Concat" : 2,
52
+ "Ios16.realDiv" : 1,
53
+ "Ios16.sigmoid" : 24,
54
+ "Tile" : 4,
55
+ "Ios16.reduceSum" : 2,
56
+ "Ios16.greater" : 4,
57
+ "Shape" : 1,
58
+ "ExpandDims" : 4,
59
+ "Ios16.cast" : 7,
60
+ "Ios16.conv" : 1,
61
+ "Ios16.matmul" : 48,
62
+ "Ios16.reshape" : 97,
63
+ "Ios16.layerNorm" : 50,
64
+ "SliceByIndex" : 2,
65
+ "Ios16.maximum" : 1,
66
+ "Ios16.mul" : 73,
67
+ "NonZero" : 1,
68
+ "Ios16.reduceL2Norm" : 1
69
+ },
70
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
71
+ "stateSchema" : [
72
+
73
+ ],
74
+ "isUpdatable" : "0",
75
+ "availability" : {
76
+ "macOS" : "13.0",
77
+ "tvOS" : "16.0",
78
+ "visionOS" : "1.0",
79
+ "watchOS" : "9.0",
80
+ "iOS" : "16.0",
81
+ "macCatalyst" : "16.0"
82
+ },
83
+ "modelType" : {
84
+ "name" : "MLModelType_mlProgram"
85
+ },
86
+ "inputSchema" : [
87
+ {
88
+ "hasShapeFlexibility" : "0",
89
+ "isOptional" : "0",
90
+ "dataType" : "Float16",
91
+ "formattedType" : "MultiArray (Float16 1 × 3 × 224 × 224)",
92
+ "shortDescription" : "The normalized image input tensor resized to (224x224) in channels-first (BCHW) format",
93
+ "shape" : "[1, 3, 224, 224]",
94
+ "name" : "clip_input",
95
+ "type" : "MultiArray"
96
+ },
97
+ {
98
+ "hasShapeFlexibility" : "0",
99
+ "isOptional" : "0",
100
+ "dataType" : "Float16",
101
+ "formattedType" : "MultiArray (Float16 1 × 512 × 512 × 3)",
102
+ "shortDescription" : "Output of the vae_decoder (512x512) in channels-last (BHWC) format",
103
+ "shape" : "[1, 512, 512, 3]",
104
+ "name" : "images",
105
+ "type" : "MultiArray"
106
+ },
107
+ {
108
+ "hasShapeFlexibility" : "0",
109
+ "isOptional" : "0",
110
+ "dataType" : "Float16",
111
+ "formattedType" : "MultiArray (Float16 1)",
112
+ "shortDescription" : "Bias added to the concept scores to trade off increased recall for reduce precision in the safety checker classifier",
113
+ "shape" : "[1]",
114
+ "name" : "adjustment",
115
+ "type" : "MultiArray"
116
+ }
117
+ ],
118
+ "userDefinedMetadata" : {
119
+ "com.github.apple.coremltools.version" : "8.3.0",
120
+ "com.github.apple.coremltools.source" : "torch==2.8.0",
121
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
122
+ },
123
+ "generatedClassName" : "Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_safety_checker",
124
+ "method" : "predict"
125
+ }
126
+ ]
Resources/Resources/SafetyChecker.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
Resources/Resources/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
Resources/Resources/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5a6dcf39c5651617c09c5392c0b9b0345866e99674740c3cea25dd3ab0ee92b
3
+ size 243
Resources/Resources/TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f52bc8fe8fb588eb931180148d1fd98884e654d009937c3f72629345abb82e9
3
+ size 905
Resources/Resources/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" : "models\/Diffusers\/RealCartoon3D_v18",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/models\/Diffusers\/RealCartoon3D_v18",
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_models_Diffusers_RealCartoon3D_v18_text_encoder",
85
+ "method" : "predict"
86
+ }
87
+ ]
Resources/Resources/TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
Resources/Resources/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41dc5b8f139ddec1700b3f245bf81697fa9b5b8e1d9dcb70853775d962dc2289
3
+ size 246145536
Resources/Resources/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6b2bddae8084d3b2fecb4f2578a856f10927fb1f7175feb32150e737aacab87
3
+ size 243
Resources/Resources/Unet.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2abb4c990af9a56091a3ce69989a49b92c44a307a70b6facdd1d55bfc63a75c
3
+ size 1338
Resources/Resources/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" : "models\/Diffusers\/RealCartoon3D_v18",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/models\/Diffusers\/RealCartoon3D_v18",
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_models_Diffusers_RealCartoon3D_v18_unet",
106
+ "method" : "predict"
107
+ }
108
+ ]
Resources/Resources/Unet.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
Resources/Resources/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8444f3b09cbdfd3960eaed4300145bc21e2ba9802e97bf49868c4849c7afb39
3
+ size 1719117696
Resources/Resources/UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbb64b34866670ffa1ce15d0926e192509c458637fb935c01a561080a93085f2
3
+ size 243
Resources/Resources/UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f17723959dfa6f61de8f18e7c354a195d52243ee419853150af3502067b04481
3
+ size 684
Resources/Resources/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 × 320 × 64 × 64)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 320, 64, 64]",
13
+ "name" : "input_35_cast_fp16",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
21
+ "shortDescription" : "",
22
+ "shape" : "[2, 1280, 16, 16]",
23
+ "name" : "input_169_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 × 1280 × 8 × 8)",
41
+ "shortDescription" : "",
42
+ "shape" : "[2, 1280, 8, 8]",
43
+ "name" : "input_171_cast_fp16",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float32",
50
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
51
+ "shortDescription" : "",
52
+ "shape" : "[2, 640, 32, 32]",
53
+ "name" : "input_115_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_61_cast_fp16",
64
+ "type" : "MultiArray"
65
+ },
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float32",
70
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
71
+ "shortDescription" : "",
72
+ "shape" : "[2, 640, 16, 16]",
73
+ "name" : "input_117_cast_fp16",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float32",
80
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
81
+ "shortDescription" : "",
82
+ "shape" : "[2, 1280, 8, 8]",
83
+ "name" : "hidden_states_149_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 × 2560 × 8 × 8)",
101
+ "shortDescription" : "",
102
+ "shape" : "[2, 2560, 8, 8]",
103
+ "name" : "input_253_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_89_cast_fp16",
114
+ "type" : "MultiArray"
115
+ },
116
+ {
117
+ "hasShapeFlexibility" : "0",
118
+ "isOptional" : "0",
119
+ "dataType" : "Float32",
120
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
121
+ "shortDescription" : "",
122
+ "shape" : "[2, 1280, 16, 16]",
123
+ "name" : "input_143_cast_fp16",
124
+ "type" : "MultiArray"
125
+ },
126
+ {
127
+ "hasShapeFlexibility" : "0",
128
+ "isOptional" : "0",
129
+ "dataType" : "Float32",
130
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
131
+ "shortDescription" : "",
132
+ "shape" : "[2, 1280, 1, 1]",
133
+ "name" : "input_15_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_models_Diffusers_RealCartoon3D_v18_unet_chunk1",
218
+ "method" : "predict"
219
+ }
220
+ ]
Resources/Resources/UnetChunk1.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
Resources/Resources/UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e427a3509f27a9402aaa050c954e1fc4908ab78547de45fd784cd1d110bc2411
3
+ size 887569600
Resources/Resources/UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb065c4b6f3fc41caf81d9831bdc37c4b1d7f6c901a4178cae7057fce2a83176
3
+ size 243
Resources/Resources/UnetChunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6924b95af966c3472c9a33649e13922c7e9a5a7ea4f465bf07d7f2adceb3e46d
3
+ size 665
Resources/Resources/UnetChunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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" : 7,
21
+ "mlProgramOperationTypeHistogram" : {
22
+ "Transpose" : 18,
23
+ "UpsampleNearestNeighbor" : 3,
24
+ "Ios16.reduceMean" : 60,
25
+ "Ios16.softmax" : 528,
26
+ "Split" : 9,
27
+ "Ios16.add" : 87,
28
+ "Concat" : 124,
29
+ "Ios16.realDiv" : 30,
30
+ "Ios16.square" : 30,
31
+ "Ios16.sub" : 30,
32
+ "Ios16.cast" : 14,
33
+ "Ios16.sqrt" : 30,
34
+ "Ios16.einsum" : 1056,
35
+ "Ios16.conv" : 153,
36
+ "Ios16.layerNorm" : 27,
37
+ "SliceByIndex" : 912,
38
+ "Ios16.batchNorm" : 30,
39
+ "Ios16.reshape" : 78,
40
+ "Ios16.silu" : 21,
41
+ "Ios16.gelu" : 9,
42
+ "Ios16.mul" : 537
43
+ },
44
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
45
+ "isUpdatable" : "0",
46
+ "stateSchema" : [
47
+
48
+ ],
49
+ "availability" : {
50
+ "macOS" : "13.0",
51
+ "tvOS" : "16.0",
52
+ "visionOS" : "1.0",
53
+ "watchOS" : "9.0",
54
+ "iOS" : "16.0",
55
+ "macCatalyst" : "16.0"
56
+ },
57
+ "modelType" : {
58
+ "name" : "MLModelType_mlProgram"
59
+ },
60
+ "userDefinedMetadata" : {
61
+
62
+ },
63
+ "inputSchema" : [
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float16",
68
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
69
+ "shortDescription" : "",
70
+ "shape" : "[2, 768, 1, 77]",
71
+ "name" : "encoder_hidden_states",
72
+ "type" : "MultiArray"
73
+ },
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float32",
78
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
79
+ "shortDescription" : "",
80
+ "shape" : "[2, 1280, 16, 16]",
81
+ "name" : "input_169_cast_fp16",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float32",
88
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
89
+ "shortDescription" : "",
90
+ "shape" : "[2, 1280, 8, 8]",
91
+ "name" : "input_171_cast_fp16",
92
+ "type" : "MultiArray"
93
+ },
94
+ {
95
+ "hasShapeFlexibility" : "0",
96
+ "isOptional" : "0",
97
+ "dataType" : "Float32",
98
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
99
+ "shortDescription" : "",
100
+ "shape" : "[2, 640, 32, 32]",
101
+ "name" : "input_115_cast_fp16",
102
+ "type" : "MultiArray"
103
+ },
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float32",
108
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
109
+ "shortDescription" : "",
110
+ "shape" : "[2, 320, 64, 64]",
111
+ "name" : "input_7_cast_fp16",
112
+ "type" : "MultiArray"
113
+ },
114
+ {
115
+ "hasShapeFlexibility" : "0",
116
+ "isOptional" : "0",
117
+ "dataType" : "Float32",
118
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 8 × 8)",
119
+ "shortDescription" : "",
120
+ "shape" : "[2, 2560, 8, 8]",
121
+ "name" : "input_253_cast_fp16",
122
+ "type" : "MultiArray"
123
+ },
124
+ {
125
+ "hasShapeFlexibility" : "0",
126
+ "isOptional" : "0",
127
+ "dataType" : "Float32",
128
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
129
+ "shortDescription" : "",
130
+ "shape" : "[2, 320, 64, 64]",
131
+ "name" : "input_61_cast_fp16",
132
+ "type" : "MultiArray"
133
+ },
134
+ {
135
+ "hasShapeFlexibility" : "0",
136
+ "isOptional" : "0",
137
+ "dataType" : "Float32",
138
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
139
+ "shortDescription" : "",
140
+ "shape" : "[2, 320, 64, 64]",
141
+ "name" : "input_35_cast_fp16",
142
+ "type" : "MultiArray"
143
+ },
144
+ {
145
+ "hasShapeFlexibility" : "0",
146
+ "isOptional" : "0",
147
+ "dataType" : "Float32",
148
+ "formattedType" : "MultiArray (Float32 2 × 640 × 16 × 16)",
149
+ "shortDescription" : "",
150
+ "shape" : "[2, 640, 16, 16]",
151
+ "name" : "input_117_cast_fp16",
152
+ "type" : "MultiArray"
153
+ },
154
+ {
155
+ "hasShapeFlexibility" : "0",
156
+ "isOptional" : "0",
157
+ "dataType" : "Float32",
158
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 8 × 8)",
159
+ "shortDescription" : "",
160
+ "shape" : "[2, 1280, 8, 8]",
161
+ "name" : "hidden_states_149_cast_fp16",
162
+ "type" : "MultiArray"
163
+ },
164
+ {
165
+ "hasShapeFlexibility" : "0",
166
+ "isOptional" : "0",
167
+ "dataType" : "Float32",
168
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
169
+ "shortDescription" : "",
170
+ "shape" : "[2, 1280, 1, 1]",
171
+ "name" : "input_15_cast_fp16",
172
+ "type" : "MultiArray"
173
+ },
174
+ {
175
+ "hasShapeFlexibility" : "0",
176
+ "isOptional" : "0",
177
+ "dataType" : "Float32",
178
+ "formattedType" : "MultiArray (Float32 2 × 320 × 32 × 32)",
179
+ "shortDescription" : "",
180
+ "shape" : "[2, 320, 32, 32]",
181
+ "name" : "input_63_cast_fp16",
182
+ "type" : "MultiArray"
183
+ },
184
+ {
185
+ "hasShapeFlexibility" : "0",
186
+ "isOptional" : "0",
187
+ "dataType" : "Float32",
188
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
189
+ "shortDescription" : "",
190
+ "shape" : "[2, 640, 32, 32]",
191
+ "name" : "input_89_cast_fp16",
192
+ "type" : "MultiArray"
193
+ },
194
+ {
195
+ "hasShapeFlexibility" : "0",
196
+ "isOptional" : "0",
197
+ "dataType" : "Float32",
198
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 16 × 16)",
199
+ "shortDescription" : "",
200
+ "shape" : "[2, 1280, 16, 16]",
201
+ "name" : "input_143_cast_fp16",
202
+ "type" : "MultiArray"
203
+ }
204
+ ],
205
+ "generatedClassName" : "Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk2",
206
+ "method" : "predict"
207
+ }
208
+ ]
Resources/Resources/UnetChunk2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
Resources/Resources/UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac70309903967eb7e68b3cee6236a13fd996f48629acd9cb6fab7bd5d77b3049
3
+ size 831567872
Resources/Resources/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:952742de1b2192ae8a0885e65f0230528fefcc00adbbc940938f862838e2c920
3
+ size 243
Resources/Resources/VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:282f9e2faf5d837ac49427e02bed89a553e9cdc41d1c8d76547b3d389bd41130
3
+ size 832
Resources/Resources/VAEDecoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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" : "models\/Diffusers\/RealCartoon3D_v18",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/models\/Diffusers\/RealCartoon3D_v18",
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" : 2,
28
+ "Ios16.sub" : 30,
29
+ "Transpose" : 6,
30
+ "Ios16.sqrt" : 30,
31
+ "UpsampleNearestNeighbor" : 3,
32
+ "Ios16.square" : 30,
33
+ "Ios16.add" : 46,
34
+ "Ios16.reduceMean" : 60,
35
+ "Ios16.realDiv" : 30,
36
+ "Ios16.conv" : 36,
37
+ "Ios16.linear" : 4,
38
+ "Ios16.matmul" : 2,
39
+ "Ios16.batchNorm" : 29,
40
+ "Ios16.softmax" : 1,
41
+ "Ios16.reshape" : 65,
42
+ "Ios16.silu" : 29
43
+ },
44
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
45
+ "stateSchema" : [
46
+
47
+ ],
48
+ "isUpdatable" : "0",
49
+ "availability" : {
50
+ "macOS" : "13.0",
51
+ "tvOS" : "16.0",
52
+ "visionOS" : "1.0",
53
+ "watchOS" : "9.0",
54
+ "iOS" : "16.0",
55
+ "macCatalyst" : "16.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.version" : "8.3.0",
74
+ "com.github.apple.coremltools.source" : "torch==2.8.0",
75
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
76
+ },
77
+ "generatedClassName" : "Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_vae_decoder",
78
+ "method" : "predict"
79
+ }
80
+ ]
Resources/Resources/VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
Resources/Resources/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c82c58d79c8f612c14437df9b7d354c68c66061242f2e9d9cbfedd1e2b2264e
3
+ size 98993280
Resources/Resources/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
Resources/Resources/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_safety_checker.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f638178b2fc6e26878fd484800890e01325bc8a47989d48e1053a17d9e67527f
3
+ size 298447
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_safety_checker.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffdfb1a4774feb816dd2ccc3e304d109013bc9591e188dcab840789583fdc1b4
3
+ size 607990114
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_safety_checker.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "599A350C-409D-403F-A09E-D4C1914C3FEE": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "C5089A81-4BDA-4D1A-A114-A5DE716525D9": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "599A350C-409D-403F-A09E-D4C1914C3FEE"
18
+ }
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:9c0def4aaeaecb0c34e07092efea75fcd206f8a1806cca1e23e55df9185fa27f
3
+ size 144955
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:41dc5b8f139ddec1700b3f245bf81697fa9b5b8e1d9dcb70853775d962dc2289
3
+ size 246145536
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "3F56C952-0DB4-4192-9DF2-92E47A4169C5": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "E20995FB-2EE2-49E0-8D35-FC27ECF25C9F": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "3F56C952-0DB4-4192-9DF2-92E47A4169C5"
18
+ }
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:1bcd3270709596d4f553a252c4f96d2e6c7d29e9ac3f1b87bc31ca23f3654ca1
3
+ size 2693228
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:b8444f3b09cbdfd3960eaed4300145bc21e2ba9802e97bf49868c4849c7afb39
3
+ size 1719117696
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "533FD3CC-5740-4A9E-AEA7-2470C5E540D1": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "A52BA81A-53EE-48A3-B8BF-F7D1CC9F92F3": {
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": "A52BA81A-53EE-48A3-B8BF-F7D1CC9F92F3"
18
+ }
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:4474f19f6170f8912c6506745c3da15ef199043fc96883da1eb0ac8721946505
3
+ size 1150272
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:e427a3509f27a9402aaa050c954e1fc4908ab78547de45fd784cd1d110bc2411
3
+ size 887569600
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk1.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "C25943E1-6BE6-4AF1-9403-9097C853F14D": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "C7034950-983B-4767-8126-133206F5F1CB": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "C25943E1-6BE6-4AF1-9403-9097C853F14D"
18
+ }
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:23efe43a7ffbbfb5e9ae0f4c9c77aadd81ef298eedb1fa3f349f27509c14deeb
3
+ size 1551794
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:ac70309903967eb7e68b3cee6236a13fd996f48629acd9cb6fab7bd5d77b3049
3
+ size 831567872
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_unet_chunk2.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "02208CE6-6A81-4A99-9604-F1097594EF29": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "CF3AFB63-B53F-4F14-9F5A-E7C71D138401": {
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": "CF3AFB63-B53F-4F14-9F5A-E7C71D138401"
18
+ }
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:9cdadca51857779d6d038a361970de8b88d5588894491e5fab6c637972da0f2f
3
+ size 169679
Resources/Stable_Diffusion_version_models_Diffusers_RealCartoon3D_v18_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:7c82c58d79c8f612c14437df9b7d354c68c66061242f2e9d9cbfedd1e2b2264e
3
+ size 98993280