keijiro-tk commited on
Commit
641dd6b
1 Parent(s): d6e0f72

initial commit

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +12 -0
  2. original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  3. original/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  4. original/compiled/TextEncoder.mlmodelc/metadata.json +84 -0
  5. original/compiled/TextEncoder.mlmodelc/model.mil +0 -0
  6. original/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  7. original/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  8. original/compiled/Unet.mlmodelc/coremldata.bin +3 -0
  9. original/compiled/Unet.mlmodelc/metadata.json +104 -0
  10. original/compiled/Unet.mlmodelc/model.mil +0 -0
  11. original/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  12. original/compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
  13. original/compiled/UnetChunk1.mlmodelc/coremldata.bin +3 -0
  14. original/compiled/UnetChunk1.mlmodelc/metadata.json +217 -0
  15. original/compiled/UnetChunk1.mlmodelc/model.mil +0 -0
  16. original/compiled/UnetChunk1.mlmodelc/weights/weight.bin +3 -0
  17. original/compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin +3 -0
  18. original/compiled/UnetChunk2.mlmodelc/coremldata.bin +3 -0
  19. original/compiled/UnetChunk2.mlmodelc/metadata.json +204 -0
  20. original/compiled/UnetChunk2.mlmodelc/model.mil +0 -0
  21. original/compiled/UnetChunk2.mlmodelc/weights/weight.bin +3 -0
  22. original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  23. original/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  24. original/compiled/VAEDecoder.mlmodelc/metadata.json +77 -0
  25. original/compiled/VAEDecoder.mlmodelc/model.mil +0 -0
  26. original/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  27. original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  28. original/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
  29. original/compiled/VAEEncoder.mlmodelc/metadata.json +77 -0
  30. original/compiled/VAEEncoder.mlmodelc/model.mil +0 -0
  31. original/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
  32. original/compiled/merges.txt +0 -0
  33. original/compiled/vocab.json +0 -0
  34. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  35. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  36. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_text_encoder.mlpackage/Manifest.json +18 -0
  37. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  38. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  39. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet.mlpackage/Manifest.json +18 -0
  40. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet_chunk1.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  41. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet_chunk1.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  42. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet_chunk1.mlpackage/Manifest.json +18 -0
  43. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet_chunk2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  44. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet_chunk2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  45. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet_chunk2.mlpackage/Manifest.json +18 -0
  46. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  47. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  48. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_vae_decoder.mlpackage/Manifest.json +18 -0
  49. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  50. original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_vae_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Core ML SD-Turbo (640x384)
2
+
3
+ This repository contains pre-converted Core ML models of SD-Turbo for use on
4
+ Apple silicon devices. I changed the resolution to make it handy for generating
5
+ widescreen images.
6
+
7
+ - Original model: [SD-Turbo]
8
+ - Image resolution: 640x384
9
+ - Tested on [keijiro/ml-stable-diffusion] v1.2.0
10
+
11
+ [SD-Turbo]: https://huggingface.co/stabilityai/sd-turbo
12
+ [keijiro/ml-stable-diffusion]: https://github.com/keijiro/ml-stable-diffusion
original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:920ce4c4b8e64b36950857debdfb2c770c3cbfccdde2c7b5088411f96163e1e2
3
+ size 243
original/compiled/TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74e23873394ad211ea22dcd3653e626f57353af8b938ffc07899daf1e44596a4
3
+ size 933
original/compiled/TextEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 1024)",
11
+ "shortDescription" : "The token embeddings as encoded by the Transformer model",
12
+ "shape" : "[1, 77, 1024]",
13
+ "name" : "last_hidden_state",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 1 × 1024)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[1, 1024]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "\/Users\/keijiro\/Documents\/StableDiffusion\/sd-turbo",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/\/Users\/keijiro\/Documents\/StableDiffusion\/sd-turbo",
32
+ "specificationVersion" : 7,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios16.cast" : 3,
37
+ "Ios16.mul" : 23,
38
+ "Ios16.layerNorm" : 47,
39
+ "Stack" : 1,
40
+ "Transpose" : 115,
41
+ "Ios16.linear" : 138,
42
+ "Ios16.add" : 70,
43
+ "Ios16.matmul" : 46,
44
+ "Ios16.gelu" : 23,
45
+ "Ios16.softmax" : 23,
46
+ "Ios16.gatherNd" : 1,
47
+ "Ios16.gather" : 1,
48
+ "Ios16.reshape" : 230,
49
+ "Ios16.reduceArgmax" : 1
50
+ },
51
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
52
+ "isUpdatable" : "0",
53
+ "availability" : {
54
+ "macOS" : "13.0",
55
+ "tvOS" : "16.0",
56
+ "visionOS" : "1.0",
57
+ "watchOS" : "9.0",
58
+ "iOS" : "16.0",
59
+ "macCatalyst" : "16.0"
60
+ },
61
+ "modelType" : {
62
+ "name" : "MLModelType_mlProgram"
63
+ },
64
+ "inputSchema" : [
65
+ {
66
+ "hasShapeFlexibility" : "0",
67
+ "isOptional" : "0",
68
+ "dataType" : "Float32",
69
+ "formattedType" : "MultiArray (Float32 1 × 77)",
70
+ "shortDescription" : "The token ids that represent the input text",
71
+ "shape" : "[1, 77]",
72
+ "name" : "input_ids",
73
+ "type" : "MultiArray"
74
+ }
75
+ ],
76
+ "userDefinedMetadata" : {
77
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
78
+ "com.github.apple.coremltools.source" : "torch==2.1.2",
79
+ "com.github.apple.coremltools.version" : "7.1"
80
+ },
81
+ "generatedClassName" : "Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd_turbo_text_encoder",
82
+ "method" : "predict"
83
+ }
84
+ ]
original/compiled/TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
original/compiled/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b462f569021a6c18123a53ace80df1bf3ebb7d76c830b5394e37463af5a3969
3
+ size 680811520
original/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2240ec844eced7b3018d6fd983d1779ea2376085ca080a8a3faa34f4f9515286
3
+ size 243
original/compiled/Unet.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f3ab6e861de0e74e94260a3a09196826b8652e0d3b15e6d17e743e2d5e05e0e
3
+ size 1366
original/compiled/Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 48 × 80)",
11
+ "shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
12
+ "shape" : "[2, 4, 48, 80]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "\/Users\/keijiro\/Documents\/StableDiffusion\/sd-turbo",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/\/Users\/keijiro\/Documents\/StableDiffusion\/sd-turbo",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "UpsampleNearestNeighbor" : 3,
27
+ "Ios16.reduceMean" : 218,
28
+ "Ios16.sin" : 1,
29
+ "Ios16.softmax" : 32,
30
+ "Split" : 16,
31
+ "Ios16.add" : 265,
32
+ "Concat" : 14,
33
+ "Ios16.realDiv" : 61,
34
+ "Ios16.square" : 61,
35
+ "ExpandDims" : 3,
36
+ "Ios16.sub" : 109,
37
+ "Ios16.cast" : 1,
38
+ "Ios16.conv" : 282,
39
+ "Ios16.gelu" : 16,
40
+ "Ios16.matmul" : 64,
41
+ "Ios16.reshape" : 282,
42
+ "Ios16.batchNorm" : 61,
43
+ "Ios16.rsqrt" : 48,
44
+ "Ios16.silu" : 47,
45
+ "Ios16.sqrt" : 61,
46
+ "SliceByIndex" : 2,
47
+ "Ios16.mul" : 193,
48
+ "Ios16.cos" : 1
49
+ },
50
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
51
+ "isUpdatable" : "0",
52
+ "availability" : {
53
+ "macOS" : "13.0",
54
+ "tvOS" : "16.0",
55
+ "visionOS" : "1.0",
56
+ "watchOS" : "9.0",
57
+ "iOS" : "16.0",
58
+ "macCatalyst" : "16.0"
59
+ },
60
+ "modelType" : {
61
+ "name" : "MLModelType_mlProgram"
62
+ },
63
+ "inputSchema" : [
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float16",
68
+ "formattedType" : "MultiArray (Float16 2 × 4 × 48 × 80)",
69
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
70
+ "shape" : "[2, 4, 48, 80]",
71
+ "name" : "sample",
72
+ "type" : "MultiArray"
73
+ },
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float16",
78
+ "formattedType" : "MultiArray (Float16 2)",
79
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
80
+ "shape" : "[2]",
81
+ "name" : "timestep",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float16",
88
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
89
+ "shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
90
+ "shape" : "[2, 1024, 1, 77]",
91
+ "name" : "encoder_hidden_states",
92
+ "type" : "MultiArray"
93
+ }
94
+ ],
95
+ "userDefinedMetadata" : {
96
+ "com.github.apple.ml-stable-diffusion.version" : "1.1.0",
97
+ "com.github.apple.coremltools.source" : "torch==2.1.2",
98
+ "com.github.apple.coremltools.version" : "7.1",
99
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
100
+ },
101
+ "generatedClassName" : "Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd_turbo_unet",
102
+ "method" : "predict"
103
+ }
104
+ ]
original/compiled/Unet.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
original/compiled/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8679eecc6eb9650d756f5eccbe737bea7c170edeff4dd7b29e056895edea8e69
3
+ size 1731897216
original/compiled/UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db1705b215a906dd84f7bd68f20e59da0b62f5302626abddf756f8e3a59ba247
3
+ size 243
original/compiled/UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff00c69b6d8b0fa01cb5e4dfc0958096e1c994ec2bbb370151285d06717bb431
3
+ size 783
original/compiled/UnetChunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 48 × 80)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 320, 48, 80]",
13
+ "name" : "input_61_cast_fp16",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 6 × 10)",
21
+ "shortDescription" : "",
22
+ "shape" : "[2, 1280, 6, 10]",
23
+ "name" : "hidden_states_149_cast_fp16",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
31
+ "shortDescription" : "",
32
+ "shape" : "[2, 1280, 1, 1]",
33
+ "name" : "input_15_cast_fp16",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float32",
40
+ "formattedType" : "MultiArray (Float32 2 × 640 × 12 × 20)",
41
+ "shortDescription" : "",
42
+ "shape" : "[2, 640, 12, 20]",
43
+ "name" : "input_117_cast_fp16",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float32",
50
+ "formattedType" : "MultiArray (Float32 2 × 640 × 24 × 40)",
51
+ "shortDescription" : "",
52
+ "shape" : "[2, 640, 24, 40]",
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 × 48 × 80)",
61
+ "shortDescription" : "",
62
+ "shape" : "[2, 320, 48, 80]",
63
+ "name" : "input_7_cast_fp16",
64
+ "type" : "MultiArray"
65
+ },
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float32",
70
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 6 × 10)",
71
+ "shortDescription" : "",
72
+ "shape" : "[2, 1280, 6, 10]",
73
+ "name" : "input_171_cast_fp16",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float32",
80
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 12 × 20)",
81
+ "shortDescription" : "",
82
+ "shape" : "[2, 1280, 12, 20]",
83
+ "name" : "input_169_cast_fp16",
84
+ "type" : "MultiArray"
85
+ },
86
+ {
87
+ "hasShapeFlexibility" : "0",
88
+ "isOptional" : "0",
89
+ "dataType" : "Float32",
90
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 6 × 10)",
91
+ "shortDescription" : "",
92
+ "shape" : "[2, 2560, 6, 10]",
93
+ "name" : "input_253_cast_fp16",
94
+ "type" : "MultiArray"
95
+ },
96
+ {
97
+ "hasShapeFlexibility" : "0",
98
+ "isOptional" : "0",
99
+ "dataType" : "Float32",
100
+ "formattedType" : "MultiArray (Float32 2 × 320 × 48 × 80)",
101
+ "shortDescription" : "",
102
+ "shape" : "[2, 320, 48, 80]",
103
+ "name" : "input_35_cast_fp16",
104
+ "type" : "MultiArray"
105
+ },
106
+ {
107
+ "hasShapeFlexibility" : "0",
108
+ "isOptional" : "0",
109
+ "dataType" : "Float32",
110
+ "formattedType" : "MultiArray (Float32 2 × 640 × 24 × 40)",
111
+ "shortDescription" : "",
112
+ "shape" : "[2, 640, 24, 40]",
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 × 12 × 20)",
121
+ "shortDescription" : "",
122
+ "shape" : "[2, 1280, 12, 20]",
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 × 320 × 24 × 40)",
131
+ "shortDescription" : "",
132
+ "shape" : "[2, 320, 24, 40]",
133
+ "name" : "input_63_cast_fp16",
134
+ "type" : "MultiArray"
135
+ }
136
+ ],
137
+ "modelParameters" : [
138
+
139
+ ],
140
+ "specificationVersion" : 7,
141
+ "mlProgramOperationTypeHistogram" : {
142
+ "Ios16.reduceMean" : 104,
143
+ "Ios16.sin" : 1,
144
+ "Ios16.softmax" : 14,
145
+ "Split" : 7,
146
+ "Ios16.add" : 124,
147
+ "Concat" : 4,
148
+ "Ios16.realDiv" : 31,
149
+ "Ios16.square" : 31,
150
+ "ExpandDims" : 3,
151
+ "Ios16.sub" : 52,
152
+ "Ios16.cast" : 13,
153
+ "Ios16.conv" : 129,
154
+ "Ios16.gelu" : 7,
155
+ "Ios16.matmul" : 28,
156
+ "Ios16.reshape" : 132,
157
+ "Ios16.batchNorm" : 31,
158
+ "Ios16.rsqrt" : 21,
159
+ "Ios16.silu" : 26,
160
+ "Ios16.sqrt" : 31,
161
+ "SliceByIndex" : 2,
162
+ "Ios16.mul" : 85,
163
+ "Ios16.cos" : 1
164
+ },
165
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
166
+ "isUpdatable" : "0",
167
+ "availability" : {
168
+ "macOS" : "13.0",
169
+ "tvOS" : "16.0",
170
+ "visionOS" : "1.0",
171
+ "watchOS" : "9.0",
172
+ "iOS" : "16.0",
173
+ "macCatalyst" : "16.0"
174
+ },
175
+ "modelType" : {
176
+ "name" : "MLModelType_mlProgram"
177
+ },
178
+ "userDefinedMetadata" : {
179
+ "com.github.apple.coremltools.version" : "7.1",
180
+ "com.github.apple.coremltools.source" : "milinternal"
181
+ },
182
+ "inputSchema" : [
183
+ {
184
+ "hasShapeFlexibility" : "0",
185
+ "isOptional" : "0",
186
+ "dataType" : "Float16",
187
+ "formattedType" : "MultiArray (Float16 2 × 4 × 48 × 80)",
188
+ "shortDescription" : "",
189
+ "shape" : "[2, 4, 48, 80]",
190
+ "name" : "sample",
191
+ "type" : "MultiArray"
192
+ },
193
+ {
194
+ "hasShapeFlexibility" : "0",
195
+ "isOptional" : "0",
196
+ "dataType" : "Float16",
197
+ "formattedType" : "MultiArray (Float16 2)",
198
+ "shortDescription" : "",
199
+ "shape" : "[2]",
200
+ "name" : "timestep",
201
+ "type" : "MultiArray"
202
+ },
203
+ {
204
+ "hasShapeFlexibility" : "0",
205
+ "isOptional" : "0",
206
+ "dataType" : "Float16",
207
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
208
+ "shortDescription" : "",
209
+ "shape" : "[2, 1024, 1, 77]",
210
+ "name" : "encoder_hidden_states",
211
+ "type" : "MultiArray"
212
+ }
213
+ ],
214
+ "generatedClassName" : "Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd_turbo_unet_chunk1",
215
+ "method" : "predict"
216
+ }
217
+ ]
original/compiled/UnetChunk1.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
original/compiled/UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3a9500cf3bae788e238558bbd67c60636ef1d05bbee12d37b821633e3a50d
3
+ size 893467840
original/compiled/UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec93d1b49276c8e187d539a2ef823cf6d424ed1eeef7948d262dede80162b7f9
3
+ size 243
original/compiled/UnetChunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2ce21144c753fcf1fd3f6848620443891d3991e6a61f76e08253ee5ee5f12ad
3
+ size 764
original/compiled/UnetChunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 2 × 4 × 48 × 80)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 4, 48, 80]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 7,
21
+ "mlProgramOperationTypeHistogram" : {
22
+ "Split" : 9,
23
+ "Concat" : 10,
24
+ "Ios16.cast" : 14,
25
+ "Ios16.mul" : 108,
26
+ "Ios16.rsqrt" : 27,
27
+ "Ios16.sqrt" : 30,
28
+ "Ios16.sub" : 57,
29
+ "UpsampleNearestNeighbor" : 3,
30
+ "Ios16.conv" : 153,
31
+ "Ios16.add" : 141,
32
+ "Ios16.realDiv" : 30,
33
+ "Ios16.matmul" : 36,
34
+ "Ios16.gelu" : 9,
35
+ "Ios16.reduceMean" : 114,
36
+ "Ios16.softmax" : 18,
37
+ "Ios16.batchNorm" : 30,
38
+ "Ios16.square" : 30,
39
+ "Ios16.reshape" : 150,
40
+ "Ios16.silu" : 21
41
+ },
42
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
43
+ "isUpdatable" : "0",
44
+ "availability" : {
45
+ "macOS" : "13.0",
46
+ "tvOS" : "16.0",
47
+ "visionOS" : "1.0",
48
+ "watchOS" : "9.0",
49
+ "iOS" : "16.0",
50
+ "macCatalyst" : "16.0"
51
+ },
52
+ "modelType" : {
53
+ "name" : "MLModelType_mlProgram"
54
+ },
55
+ "userDefinedMetadata" : {
56
+ "com.github.apple.coremltools.version" : "7.1",
57
+ "com.github.apple.coremltools.source" : "milinternal"
58
+ },
59
+ "inputSchema" : [
60
+ {
61
+ "hasShapeFlexibility" : "0",
62
+ "isOptional" : "0",
63
+ "dataType" : "Float16",
64
+ "formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)",
65
+ "shortDescription" : "",
66
+ "shape" : "[2, 1024, 1, 77]",
67
+ "name" : "encoder_hidden_states",
68
+ "type" : "MultiArray"
69
+ },
70
+ {
71
+ "hasShapeFlexibility" : "0",
72
+ "isOptional" : "0",
73
+ "dataType" : "Float32",
74
+ "formattedType" : "MultiArray (Float32 2 × 320 × 48 × 80)",
75
+ "shortDescription" : "",
76
+ "shape" : "[2, 320, 48, 80]",
77
+ "name" : "input_7_cast_fp16",
78
+ "type" : "MultiArray"
79
+ },
80
+ {
81
+ "hasShapeFlexibility" : "0",
82
+ "isOptional" : "0",
83
+ "dataType" : "Float32",
84
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 6 × 10)",
85
+ "shortDescription" : "",
86
+ "shape" : "[2, 2560, 6, 10]",
87
+ "name" : "input_253_cast_fp16",
88
+ "type" : "MultiArray"
89
+ },
90
+ {
91
+ "hasShapeFlexibility" : "0",
92
+ "isOptional" : "0",
93
+ "dataType" : "Float32",
94
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 12 × 20)",
95
+ "shortDescription" : "",
96
+ "shape" : "[2, 1280, 12, 20]",
97
+ "name" : "input_143_cast_fp16",
98
+ "type" : "MultiArray"
99
+ },
100
+ {
101
+ "hasShapeFlexibility" : "0",
102
+ "isOptional" : "0",
103
+ "dataType" : "Float32",
104
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 12 × 20)",
105
+ "shortDescription" : "",
106
+ "shape" : "[2, 1280, 12, 20]",
107
+ "name" : "input_169_cast_fp16",
108
+ "type" : "MultiArray"
109
+ },
110
+ {
111
+ "hasShapeFlexibility" : "0",
112
+ "isOptional" : "0",
113
+ "dataType" : "Float32",
114
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 6 × 10)",
115
+ "shortDescription" : "",
116
+ "shape" : "[2, 1280, 6, 10]",
117
+ "name" : "input_171_cast_fp16",
118
+ "type" : "MultiArray"
119
+ },
120
+ {
121
+ "hasShapeFlexibility" : "0",
122
+ "isOptional" : "0",
123
+ "dataType" : "Float32",
124
+ "formattedType" : "MultiArray (Float32 2 × 320 × 48 × 80)",
125
+ "shortDescription" : "",
126
+ "shape" : "[2, 320, 48, 80]",
127
+ "name" : "input_35_cast_fp16",
128
+ "type" : "MultiArray"
129
+ },
130
+ {
131
+ "hasShapeFlexibility" : "0",
132
+ "isOptional" : "0",
133
+ "dataType" : "Float32",
134
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 6 × 10)",
135
+ "shortDescription" : "",
136
+ "shape" : "[2, 1280, 6, 10]",
137
+ "name" : "hidden_states_149_cast_fp16",
138
+ "type" : "MultiArray"
139
+ },
140
+ {
141
+ "hasShapeFlexibility" : "0",
142
+ "isOptional" : "0",
143
+ "dataType" : "Float32",
144
+ "formattedType" : "MultiArray (Float32 2 × 640 × 24 × 40)",
145
+ "shortDescription" : "",
146
+ "shape" : "[2, 640, 24, 40]",
147
+ "name" : "input_89_cast_fp16",
148
+ "type" : "MultiArray"
149
+ },
150
+ {
151
+ "hasShapeFlexibility" : "0",
152
+ "isOptional" : "0",
153
+ "dataType" : "Float32",
154
+ "formattedType" : "MultiArray (Float32 2 × 320 × 24 × 40)",
155
+ "shortDescription" : "",
156
+ "shape" : "[2, 320, 24, 40]",
157
+ "name" : "input_63_cast_fp16",
158
+ "type" : "MultiArray"
159
+ },
160
+ {
161
+ "hasShapeFlexibility" : "0",
162
+ "isOptional" : "0",
163
+ "dataType" : "Float32",
164
+ "formattedType" : "MultiArray (Float32 2 × 320 × 48 × 80)",
165
+ "shortDescription" : "",
166
+ "shape" : "[2, 320, 48, 80]",
167
+ "name" : "input_61_cast_fp16",
168
+ "type" : "MultiArray"
169
+ },
170
+ {
171
+ "hasShapeFlexibility" : "0",
172
+ "isOptional" : "0",
173
+ "dataType" : "Float32",
174
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
175
+ "shortDescription" : "",
176
+ "shape" : "[2, 1280, 1, 1]",
177
+ "name" : "input_15_cast_fp16",
178
+ "type" : "MultiArray"
179
+ },
180
+ {
181
+ "hasShapeFlexibility" : "0",
182
+ "isOptional" : "0",
183
+ "dataType" : "Float32",
184
+ "formattedType" : "MultiArray (Float32 2 × 640 × 12 × 20)",
185
+ "shortDescription" : "",
186
+ "shape" : "[2, 640, 12, 20]",
187
+ "name" : "input_117_cast_fp16",
188
+ "type" : "MultiArray"
189
+ },
190
+ {
191
+ "hasShapeFlexibility" : "0",
192
+ "isOptional" : "0",
193
+ "dataType" : "Float32",
194
+ "formattedType" : "MultiArray (Float32 2 × 640 × 24 × 40)",
195
+ "shortDescription" : "",
196
+ "shape" : "[2, 640, 24, 40]",
197
+ "name" : "input_115_cast_fp16",
198
+ "type" : "MultiArray"
199
+ }
200
+ ],
201
+ "generatedClassName" : "Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd_turbo_unet_chunk2",
202
+ "method" : "predict"
203
+ }
204
+ ]
original/compiled/UnetChunk2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
original/compiled/UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c73b29d6f4f6869e8bd429ecc623ddb942c09a58ddaf28c45c29bd980f91dd2f
3
+ size 838449152
original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e78bc1d11a1933a094c31087b6e0777ae9507f41910157d93acd5543d0b2c66
3
+ size 243
original/compiled/VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afa3328453c68eb0fcc87764eb793b6c596df47086a7d8e4d6ab821647a92c83
3
+ size 860
original/compiled/VAEDecoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 384 × 640)",
11
+ "shortDescription" : "Generated image normalized to range [-1, 1]",
12
+ "shape" : "[1, 3, 384, 640]",
13
+ "name" : "image",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "\/Users\/keijiro\/Documents\/StableDiffusion\/sd-turbo",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/\/Users\/keijiro\/Documents\/StableDiffusion\/sd-turbo",
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.sqrt" : 30,
29
+ "Ios16.sub" : 30,
30
+ "Transpose" : 6,
31
+ "UpsampleNearestNeighbor" : 3,
32
+ "Ios16.conv" : 36,
33
+ "Ios16.add" : 46,
34
+ "Ios16.linear" : 4,
35
+ "Ios16.matmul" : 2,
36
+ "Ios16.realDiv" : 30,
37
+ "Ios16.reduceMean" : 60,
38
+ "Ios16.softmax" : 1,
39
+ "Ios16.batchNorm" : 29,
40
+ "Ios16.square" : 30,
41
+ "Ios16.reshape" : 65,
42
+ "Ios16.silu" : 29
43
+ },
44
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
45
+ "isUpdatable" : "0",
46
+ "availability" : {
47
+ "macOS" : "13.0",
48
+ "tvOS" : "16.0",
49
+ "visionOS" : "1.0",
50
+ "watchOS" : "9.0",
51
+ "iOS" : "16.0",
52
+ "macCatalyst" : "16.0"
53
+ },
54
+ "modelType" : {
55
+ "name" : "MLModelType_mlProgram"
56
+ },
57
+ "inputSchema" : [
58
+ {
59
+ "hasShapeFlexibility" : "0",
60
+ "isOptional" : "0",
61
+ "dataType" : "Float16",
62
+ "formattedType" : "MultiArray (Float16 1 × 4 × 48 × 80)",
63
+ "shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
64
+ "shape" : "[1, 4, 48, 80]",
65
+ "name" : "z",
66
+ "type" : "MultiArray"
67
+ }
68
+ ],
69
+ "userDefinedMetadata" : {
70
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
71
+ "com.github.apple.coremltools.version" : "7.1",
72
+ "com.github.apple.coremltools.source" : "torch==2.1.2"
73
+ },
74
+ "generatedClassName" : "Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd_turbo_vae_decoder",
75
+ "method" : "predict"
76
+ }
77
+ ]
original/compiled/VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
original/compiled/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5dd566219d197b1c1529f562512ad3d62938d69f9d677ba2ccbab2115fa1b17
3
+ size 98993280
original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6af42e2250346e84df8eb6b54e2b3ed32baf91ee09f45a7988e0d61b76e1529d
3
+ size 243
original/compiled/VAEEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54e9255078ca27443e6e6462e3e66cdeb07e1605ce4903e43374e519de342225
3
+ size 864
original/compiled/VAEEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 8 × 48 × 80)",
11
+ "shortDescription" : "The latent embeddings from the unet model from the input image.",
12
+ "shape" : "[1, 8, 48, 80]",
13
+ "name" : "latent",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "\/Users\/keijiro\/Documents\/StableDiffusion\/sd-turbo",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/\/Users\/keijiro\/Documents\/StableDiffusion\/sd-turbo",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Pad" : 3,
27
+ "Ios16.cast" : 1,
28
+ "Ios16.mul" : 2,
29
+ "Ios16.sqrt" : 22,
30
+ "Ios16.sub" : 22,
31
+ "Transpose" : 6,
32
+ "Ios16.conv" : 28,
33
+ "Ios16.add" : 34,
34
+ "Ios16.linear" : 4,
35
+ "Ios16.matmul" : 2,
36
+ "Ios16.realDiv" : 22,
37
+ "Ios16.reduceMean" : 44,
38
+ "Ios16.softmax" : 1,
39
+ "Ios16.batchNorm" : 21,
40
+ "Ios16.square" : 22,
41
+ "Ios16.reshape" : 49,
42
+ "Ios16.silu" : 21
43
+ },
44
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
45
+ "isUpdatable" : "0",
46
+ "availability" : {
47
+ "macOS" : "13.0",
48
+ "tvOS" : "16.0",
49
+ "visionOS" : "1.0",
50
+ "watchOS" : "9.0",
51
+ "iOS" : "16.0",
52
+ "macCatalyst" : "16.0"
53
+ },
54
+ "modelType" : {
55
+ "name" : "MLModelType_mlProgram"
56
+ },
57
+ "inputSchema" : [
58
+ {
59
+ "hasShapeFlexibility" : "0",
60
+ "isOptional" : "0",
61
+ "dataType" : "Float16",
62
+ "formattedType" : "MultiArray (Float16 1 × 3 × 384 × 640)",
63
+ "shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
64
+ "shape" : "[1, 3, 384, 640]",
65
+ "name" : "x",
66
+ "type" : "MultiArray"
67
+ }
68
+ ],
69
+ "userDefinedMetadata" : {
70
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
71
+ "com.github.apple.coremltools.source" : "torch==2.1.2",
72
+ "com.github.apple.coremltools.version" : "7.1"
73
+ },
74
+ "generatedClassName" : "Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd_turbo_vae_encoder",
75
+ "method" : "predict"
76
+ }
77
+ ]
original/compiled/VAEEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
original/compiled/VAEEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcdc23bf9f08f08d6f0ab3e7ea9754d6f141a9e6a6793754ec5345dc0a1d26bc
3
+ size 68338112
original/compiled/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
original/compiled/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:d669b52e19ada32ceaca821008075594b76f94bc3733ad63ba1546843fd30c39
3
+ size 309358
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:4b462f569021a6c18123a53ace80df1bf3ebb7d76c830b5394e37463af5a3969
3
+ size 680811520
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "36025034-B2D3-4233-AD02-0DB1B77DDB1E": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "375B9A50-6755-4DF5-A753-A79C660637E3": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "36025034-B2D3-4233-AD02-0DB1B77DDB1E"
18
+ }
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:be92f1bd1d9b91160157b48d1f9dc6c7bc6e5614c53ac009664045f46df86d4d
3
+ size 807015
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:8679eecc6eb9650d756f5eccbe737bea7c170edeff4dd7b29e056895edea8e69
3
+ size 1731897216
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "7357471B-94B4-4242-8053-8D0335F1AF68": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "8B6BF4A3-F240-463D-A7D3-AF14E0FAA622": {
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": "8B6BF4A3-F240-463D-A7D3-AF14E0FAA622"
18
+ }
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:76e3de5f70f656ed5a591778749043487aa152110a82c567e427c6c8aa0974e5
3
+ size 379601
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:8cc3a9500cf3bae788e238558bbd67c60636ef1d05bbee12d37b821633e3a50d
3
+ size 893467840
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet_chunk1.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "7315655F-F31F-413A-8312-2DBD905B2D6A": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "D88B01D3-3A62-48E7-9909-FD4AEEE75890": {
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": "D88B01D3-3A62-48E7-9909-FD4AEEE75890"
18
+ }
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:f60d4220145874c2a87ad7e0b7578d5a08176b64e3b43e8f20bf405721144879
3
+ size 436776
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:c73b29d6f4f6869e8bd429ecc623ddb942c09a58ddaf28c45c29bd980f91dd2f
3
+ size 838449152
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_unet_chunk2.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "3A5B6AC1-ACDF-40CA-B731-326D0D840196": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "C0C4827C-2628-4DA0-9254-71BEBB465B93": {
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": "C0C4827C-2628-4DA0-9254-71BEBB465B93"
18
+ }
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:80da90d966a924a0f84fd70125bb21b3761a6ff3c301c14aea6e03d2709dd928
3
+ size 162330
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_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:b5dd566219d197b1c1529f562512ad3d62938d69f9d677ba2ccbab2115fa1b17
3
+ size 98993280
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_vae_decoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "AEC14DF1-68C4-4AFA-917B-31B4C4290E65": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "E98CE0C7-337B-405F-80F3-396902C9F63E": {
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": "E98CE0C7-337B-405F-80F3-396902C9F63E"
18
+ }
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75d0d3ce669646ce11e686878b221e28f6189f27e44ae587150c74610511e432
3
+ size 124327
original/packages/Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd-turbo_vae_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcdc23bf9f08f08d6f0ab3e7ea9754d6f141a9e6a6793754ec5345dc0a1d26bc
3
+ size 68338112