Devserhii commited on
Commit
e4881a6
·
verified ·
1 Parent(s): 0d8ff74

Publish exact Juggernaut XI Lightning iOS Core ML artifact

Browse files
ARTIFACT_MANIFEST.json ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schemaVersion": 1,
3
+ "source": {
4
+ "civitaiModelId": 133005,
5
+ "civitaiModelVersionId": 920957,
6
+ "fileName": "juggernautXL_juggXILightningByRD.safetensors",
7
+ "sizeBytes": 7105348616,
8
+ "sha256": "609fde646e7fc60a259ad67351e02258ac7929a0a1f5040049dfec6a15f37b1a",
9
+ "configRepository": "RunDiffusion/Juggernaut-XL-Lightning",
10
+ "configRevision": "9c35e7ca1112b7e567ae7b24400b83935909916d",
11
+ "configManifestSha256": "4b05f6a337bcdf1a319054b9ad4493021993aea6d2760c774b7944e865d59481"
12
+ },
13
+ "conversion": {
14
+ "converterRepository": "apple/ml-stable-diffusion",
15
+ "converterRevision": "e12202c1f6405b83918b58a5d097cd61e3e1f702",
16
+ "resolution": [
17
+ 1024,
18
+ 1024
19
+ ],
20
+ "latentResolution": [
21
+ 128,
22
+ 128
23
+ ],
24
+ "unetPalettizationBits": 6,
25
+ "textEncoderPalettizationBits": 0,
26
+ "textEncoder2PalettizationBits": 8,
27
+ "attentionImplementation": "SPLIT_EINSUM",
28
+ "minimumDeploymentTarget": "iOS17"
29
+ },
30
+ "payloadSizeBytes": 3280558280,
31
+ "files": [
32
+ {
33
+ "path": "TextEncoder.mlmodelc/analytics/coremldata.bin",
34
+ "sizeBytes": 243,
35
+ "sha256": "602a85b45781ed333697143782d61de4bfa9d8ab58d1e1652a7e75797dfb1030"
36
+ },
37
+ {
38
+ "path": "TextEncoder.mlmodelc/coremldata.bin",
39
+ "sizeBytes": 911,
40
+ "sha256": "830d36583840d1b8db098c03fc47304bb4484b401d2a5b6dd3bfe2d6626e2ab1"
41
+ },
42
+ {
43
+ "path": "TextEncoder.mlmodelc/metadata.json",
44
+ "sizeBytes": 2955,
45
+ "sha256": "70fc2f920e97f53969e8ea5cf6fef0448d277d1f085914f355e2f870e60330b0"
46
+ },
47
+ {
48
+ "path": "TextEncoder.mlmodelc/model.mil",
49
+ "sizeBytes": 170343,
50
+ "sha256": "8fb13fec0e75e3d0babae4e232a7b0814479792fa256085ce6f907982fc157e4"
51
+ },
52
+ {
53
+ "path": "TextEncoder.mlmodelc/weights/weight.bin",
54
+ "sizeBytes": 246145536,
55
+ "sha256": "6016f6a7e056817f50dccd25c69612add6824c0a30b536bc8a40771c211196e3"
56
+ },
57
+ {
58
+ "path": "TextEncoder2.mlmodelc/analytics/coremldata.bin",
59
+ "sizeBytes": 243,
60
+ "sha256": "acd31b093c8ae73eef80a98b58565016f3e8c68131746d29a3105a540ae0cef4"
61
+ },
62
+ {
63
+ "path": "TextEncoder2.mlmodelc/coremldata.bin",
64
+ "sizeBytes": 911,
65
+ "sha256": "478d2661a2092ff744b306fd10e923c13de8522e52a102467729c5966b5693a0"
66
+ },
67
+ {
68
+ "path": "TextEncoder2.mlmodelc/metadata.json",
69
+ "sizeBytes": 3031,
70
+ "sha256": "7c1df45bd5cb30125c078afab60b1694ae544bb1036a27de1f4121b2a2bfdd5a"
71
+ },
72
+ {
73
+ "path": "TextEncoder2.mlmodelc/model.mil",
74
+ "sizeBytes": 484020,
75
+ "sha256": "c58c146995a8634c387f3441f9ac68f0f6bfd7a2d8629a8659f6a1905e5c9a0a"
76
+ },
77
+ {
78
+ "path": "TextEncoder2.mlmodelc/weights/weight.bin",
79
+ "sizeBytes": 758591232,
80
+ "sha256": "06fab3769d0b4a8997c19815b344a06a42d6b41867b25fa22d699e9aad8b3971"
81
+ },
82
+ {
83
+ "path": "UnetChunk1.mlmodelc/analytics/coremldata.bin",
84
+ "sizeBytes": 243,
85
+ "sha256": "75c44346f33a5522f4ba92a8659654d9759f9233d56c077dfa2777dc885ed0aa"
86
+ },
87
+ {
88
+ "path": "UnetChunk1.mlmodelc/coremldata.bin",
89
+ "sizeBytes": 669,
90
+ "sha256": "8d18e86231738c3ffe5147baff9c3b67c9a2515ff82cd5abcfee36dd06d596ad"
91
+ },
92
+ {
93
+ "path": "UnetChunk1.mlmodelc/metadata.json",
94
+ "sizeBytes": 6595,
95
+ "sha256": "1d7a3060d98398ff1ceb2ef8a8f2ba8f4e7542bbc00ad5663fed61765680d774"
96
+ },
97
+ {
98
+ "path": "UnetChunk1.mlmodelc/model.mil",
99
+ "sizeBytes": 5245245,
100
+ "sha256": "de3a6601de58efe1f71cb47546c452c858df26222c9c148ddca87156b39520a0"
101
+ },
102
+ {
103
+ "path": "UnetChunk1.mlmodelc/weights/weight.bin",
104
+ "sizeBytes": 968067264,
105
+ "sha256": "2bd1bef1875c288e1ceb8c337d60cdb57affa7321596c46f66678ce3fca86866"
106
+ },
107
+ {
108
+ "path": "UnetChunk2.mlmodelc/analytics/coremldata.bin",
109
+ "sizeBytes": 243,
110
+ "sha256": "a2987167af9b673071be88da81118dcc231a16873223412b90b8a6793b621249"
111
+ },
112
+ {
113
+ "path": "UnetChunk2.mlmodelc/coremldata.bin",
114
+ "sizeBytes": 598,
115
+ "sha256": "04ec1fcbfcd692744e25b5ac4a373374648866bff0c906308b9e818f52cc47e4"
116
+ },
117
+ {
118
+ "path": "UnetChunk2.mlmodelc/metadata.json",
119
+ "sizeBytes": 5686,
120
+ "sha256": "d42466c153d6cdee8655fde4f81a44215d2e71c38ecf861731a0b286427cfffc"
121
+ },
122
+ {
123
+ "path": "UnetChunk2.mlmodelc/model.mil",
124
+ "sizeBytes": 5459202,
125
+ "sha256": "bf025892333fa16c51d8ce9db0c4def6eed38f46fd9d2c73a7c2209382161140"
126
+ },
127
+ {
128
+ "path": "UnetChunk2.mlmodelc/weights/weight.bin",
129
+ "sizeBytes": 959821632,
130
+ "sha256": "3100e43a7d5e1205bc50a9a26a7b0968000db0e4aff607d7a6b365c439abe82a"
131
+ },
132
+ {
133
+ "path": "VAEDecoder.mlmodelc/analytics/coremldata.bin",
134
+ "sizeBytes": 243,
135
+ "sha256": "40d5509ac1efe0f2c80321a1a7b5ba423275c478165e5754911f56fd4c9ef87e"
136
+ },
137
+ {
138
+ "path": "VAEDecoder.mlmodelc/coremldata.bin",
139
+ "sizeBytes": 862,
140
+ "sha256": "5f201c9c3f96bc22231f2ca8738d4db7529bf684cbdcafde07890e49a0810dfd"
141
+ },
142
+ {
143
+ "path": "VAEDecoder.mlmodelc/metadata.json",
144
+ "sizeBytes": 2658,
145
+ "sha256": "8214cff625d95a714b39eca209d4c2605bde4e871ff0864f84d68bbd5d9ba740"
146
+ },
147
+ {
148
+ "path": "VAEDecoder.mlmodelc/model.mil",
149
+ "sizeBytes": 177276,
150
+ "sha256": "97601c3c163dd3f9449c1495881bc85bf47a72dd3037c9199d87f32dc1231477"
151
+ },
152
+ {
153
+ "path": "VAEDecoder.mlmodelc/weights/weight.bin",
154
+ "sizeBytes": 197977216,
155
+ "sha256": "b4970a8d07aacc9579344b16c0d0fed5a1e07711a582ab9a7d270f31367e2d9c"
156
+ },
157
+ {
158
+ "path": "VAEEncoder.mlmodelc/analytics/coremldata.bin",
159
+ "sizeBytes": 243,
160
+ "sha256": "e152ff29658e766933b40380ce76e659dee3f8848eafa3835c8af893ad3182f9"
161
+ },
162
+ {
163
+ "path": "VAEEncoder.mlmodelc/coremldata.bin",
164
+ "sizeBytes": 866,
165
+ "sha256": "f113905b31c7c07202d3a64cb90b413034170258a508a12f8a53c6a0f338dea0"
166
+ },
167
+ {
168
+ "path": "VAEEncoder.mlmodelc/metadata.json",
169
+ "sizeBytes": 2642,
170
+ "sha256": "5b4087e6932b0ef6abc123a416b1659973e90e5dc137220325fe615537ee8ac1"
171
+ },
172
+ {
173
+ "path": "VAEEncoder.mlmodelc/model.mil",
174
+ "sizeBytes": 135899,
175
+ "sha256": "1233f555536c1d33f30c1e86f087675a1a8e1a1d068311fe8104cc14a8c9ccaf"
176
+ },
177
+ {
178
+ "path": "VAEEncoder.mlmodelc/weights/weight.bin",
179
+ "sizeBytes": 136668992,
180
+ "sha256": "0f4725ce8b4c687fa957170fa50951aaa068b752f08184df1d46e32420b2a3b2"
181
+ },
182
+ {
183
+ "path": "merges.txt",
184
+ "sizeBytes": 524619,
185
+ "sha256": "9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a"
186
+ },
187
+ {
188
+ "path": "vocab.json",
189
+ "sizeBytes": 1059962,
190
+ "sha256": "e089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349"
191
+ }
192
+ ]
193
+ }
194
+
LICENSE.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # License and source terms
2
+
3
+ This repository is a format- and device-optimized conversion of Juggernaut XL
4
+ `Jugg_XI_Lightning_by_RD`, Civitai model version 920957. No model merge was
5
+ performed by LocalMuse.
6
+
7
+ The source version page displays **CreativeML Open RAIL++-M** and an addendum.
8
+ The creator/config reference repository declares `creativeml-openrail-m`.
9
+ Those source terms, restrictions, and attribution requirements continue to
10
+ apply to this converted artifact.
11
+
12
+ - Exact source version and displayed terms:
13
+ https://civitai.com/models/133005?modelVersionId=920957
14
+ - Creator/config reference and model card:
15
+ https://huggingface.co/RunDiffusion/Juggernaut-XL-Lightning
16
+ - SDXL model license reference:
17
+ https://github.com/Stability-AI/generative-models/blob/main/model_licenses/LICENSE-SDXL1.0
18
+
19
+ This notice is informational and does not replace or narrow the upstream
20
+ license or addendum. Users and redistributors are responsible for reviewing
21
+ and complying with the current upstream terms.
22
+
PROVENANCE.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Provenance
2
+
3
+ ## Exact checkpoint
4
+
5
+ - Creator: KandooAI / RunDiffusion
6
+ - Civitai model: Juggernaut XL (133005)
7
+ - Civitai version: Jugg_XI_Lightning_by_RD (920957)
8
+ - File: `juggernautXL_juggXILightningByRD.safetensors`
9
+ - Size: `7,105,348,616` bytes
10
+ - SHA-256: `609fde646e7fc60a259ad67351e02258ac7929a0a1f5040049dfec6a15f37b1a`
11
+ - Tensor validation: 2,515 tensors; no NaN or Infinity values
12
+
13
+ ## Architecture configuration
14
+
15
+ The checkpoint is a single-file SDXL model. Only architecture configuration
16
+ and tokenizer assets were taken from the creator reference repository:
17
+
18
+ - Repository: `RunDiffusion/Juggernaut-XL-Lightning`
19
+ - Revision: `9c35e7ca1112b7e567ae7b24400b83935909916d`
20
+ - Config snapshot manifest SHA-256:
21
+ `4b05f6a337bcdf1a319054b9ad4493021993aea6d2760c774b7944e865d59481`
22
+
23
+ All learned UNet, VAE, text encoder 1, and text encoder 2 tensors came from the
24
+ authenticated Civitai checkpoint above. No learned weights were copied from
25
+ the different checkpoint hosted in the reference repository.
26
+
27
+ ## Reproducible conversion
28
+
29
+ - Apple converter: `apple/ml-stable-diffusion`
30
+ - Converter revision: `e12202c1f6405b83918b58a5d097cd61e3e1f702`
31
+ - LocalMuse wrappers: `Tools/CoreML/convert_sdxl_unet.py` and
32
+ `Tools/CoreML/convert_sdxl_text_encoders.py`
33
+ - Resolution: 1024×1024 (`128×128` latent)
34
+ - UNet: 6-bit palettized, `SPLIT_EINSUM`, two chunks
35
+ - Text encoder 1: FP16
36
+ - Text encoder 2: 8-bit palettized
37
+ - VAE encoder/decoder: checkpoint-specific FP16 weights
38
+ - Minimum target: iOS 17
39
+
40
+ Conversion parity checks (PSNR): VAE decoder 106.3 dB, VAE encoder 101.5 dB,
41
+ FP16 Core ML UNet 47.4 dB, text encoder 1 78.9 dB, text encoder 2 75.4 dB.
42
+ All exceeded the 35 dB acceptance threshold. Every compiled component was
43
+ loaded sequentially with Core ML using `CPU_ONLY` after compilation.
44
+
45
+ ## Tensor contracts
46
+
47
+ - UNet input: `[2, 4, 128, 128]`
48
+ - UNet output: `[2, 4, 128, 128]`
49
+ - VAE encoder input: `[1, 3, 1024, 1024]`
50
+ - VAE encoder output: `[1, 8, 128, 128]`
51
+ - VAE decoder input: `[1, 4, 128, 128]`
52
+ - VAE decoder output: `[1, 3, 1024, 1024]`
53
+ - Text encoder token input: `[1, 77]`
54
+
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
4
+ library_name: coreml
5
+ tags:
6
+ - coreml
7
+ - stable-diffusion-xl
8
+ - text-to-image
9
+ - image-to-image
10
+ - ios
11
+ ---
12
+
13
+ # Juggernaut XI Lightning — LocalMuse Core ML
14
+
15
+ This repository contains the iOS-optimized Core ML conversion used by
16
+ LocalMuse. It was converted directly from the exact Civitai checkpoint
17
+ `juggernautXL_juggXILightningByRD.safetensors` for Juggernaut XL version
18
+ `Jugg_XI_Lightning_by_RD` (model version 920957). It is not a merge and does
19
+ not reuse UNet, text encoder, or VAE weights from another LocalMuse model.
20
+
21
+ ## Recommended generation profile
22
+
23
+ - Sampler: DPM++ SDE
24
+ - Schedule: Karras
25
+ - Steps: 6 (author range: 5–7)
26
+ - CFG: 2.0 (author range: 1.5–2.0)
27
+ - Clip skip: 2 (the SDXL converter exports the penultimate hidden layer)
28
+ - Native LocalMuse canvas: 1024×1024
29
+ - Suggested negative prompt: `CGI, Unreal, Airbrushed, Digital`
30
+
31
+ ## Optimization
32
+
33
+ - UNet: 6-bit palettization, split into two Core ML programs
34
+ - Text encoder 1: FP16
35
+ - Text encoder 2: 8-bit palettization
36
+ - VAE encoder and decoder: model-specific FP16 conversion
37
+ - Attention: `SPLIT_EINSUM`
38
+ - Deployment target: iOS 17
39
+ - Runtime: Neural Engine-preferred UNet and GPU VAE decode in LocalMuse
40
+
41
+ The compiled payload is fixed at 1024×1024. All large compiled weight files
42
+ remain below the iOS 1 GiB per-file limit.
43
+
44
+ See `PROVENANCE.md` and `ARTIFACT_MANIFEST.json` for authenticated source and
45
+ artifact hashes.
46
+
47
+ ## Attribution and license
48
+
49
+ Juggernaut XL is created by KandooAI / RunDiffusion. The source version is
50
+ published on Civitai under the CreativeML Open RAIL++-M terms and its displayed
51
+ addendum. Review the source page and `LICENSE.md` before redistribution or use.
52
+
53
+ - Source version: https://civitai.com/models/133005?modelVersionId=920957
54
+ - Creator/config reference: https://huggingface.co/RunDiffusion/Juggernaut-XL-Lightning
55
+
SOURCE_CONFIG_MANIFEST.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "relativePath": "model_index.json",
4
+ "sizeBytes": 671,
5
+ "checksum": "a69fbd2647d5334cf1c44f7cc90453ff24e0d7c98d45092f62b114dd0436a6d2"
6
+ },
7
+ {
8
+ "relativePath": "scheduler/scheduler_config.json",
9
+ "sizeBytes": 558,
10
+ "checksum": "93fb2cd3c439d000f8dca6658fff5e3dfd019bfdc4fb054ebf736c2b92b81299"
11
+ },
12
+ {
13
+ "relativePath": "text_encoder/config.json",
14
+ "sizeBytes": 560,
15
+ "checksum": "5a457bd0feec890cd67f850f7503e90cb531a28982504c0a67882bbb8e3aa2ca"
16
+ },
17
+ {
18
+ "relativePath": "text_encoder_2/config.json",
19
+ "sizeBytes": 570,
20
+ "checksum": "f241b78655046d32eeea5595666cd1f2bd984d28731af46408c1f987b7fb718f"
21
+ },
22
+ {
23
+ "relativePath": "tokenizer/merges.txt",
24
+ "sizeBytes": 524619,
25
+ "checksum": "9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a"
26
+ },
27
+ {
28
+ "relativePath": "tokenizer/special_tokens_map.json",
29
+ "sizeBytes": 472,
30
+ "checksum": "c4864a9376a8401918425bed71fc14fc0e81f9b59ec45c1cf96cccb2df508eac"
31
+ },
32
+ {
33
+ "relativePath": "tokenizer/tokenizer_config.json",
34
+ "sizeBytes": 737,
35
+ "checksum": "19d7b034cb0cc3ce9766c2231373ab8aa8991fc72e2c8f76558bfaae3de0d563"
36
+ },
37
+ {
38
+ "relativePath": "tokenizer/vocab.json",
39
+ "sizeBytes": 1059962,
40
+ "checksum": "e089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349"
41
+ },
42
+ {
43
+ "relativePath": "tokenizer_2/merges.txt",
44
+ "sizeBytes": 524619,
45
+ "checksum": "9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a"
46
+ },
47
+ {
48
+ "relativePath": "tokenizer_2/special_tokens_map.json",
49
+ "sizeBytes": 460,
50
+ "checksum": "f118ab3a983206e4f32583448de6bd6aae4ee21869135cef1f5848a753cdaab6"
51
+ },
52
+ {
53
+ "relativePath": "tokenizer_2/tokenizer_config.json",
54
+ "sizeBytes": 725,
55
+ "checksum": "c9d23941f76a41cbd50eda9290f57be7828f0a7a677939e9ef181f7e12bd1bdf"
56
+ },
57
+ {
58
+ "relativePath": "tokenizer_2/vocab.json",
59
+ "sizeBytes": 1059962,
60
+ "checksum": "e089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349"
61
+ },
62
+ {
63
+ "relativePath": "unet/config.json",
64
+ "sizeBytes": 1773,
65
+ "checksum": "bb8ab4a15cda73d5e75f466e020fbd97e0d1a3bbee6e5378b94f0dc2eb8af2f2"
66
+ },
67
+ {
68
+ "relativePath": "vae/config.json",
69
+ "sizeBytes": 602,
70
+ "checksum": "ec13eefd4a3ea11116879c105665881d5b31d1f8425e73cc6016e7cba72d14c0"
71
+ }
72
+ ]
TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:602a85b45781ed333697143782d61de4bfa9d8ab58d1e1652a7e75797dfb1030
3
+ size 243
TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:830d36583840d1b8db098c03fc47304bb4484b401d2a5b6dd3bfe2d6626e2ab1
3
+ size 911
TextEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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" : "Hidden states after the encoder layers",
12
+ "shape" : "[1, 77, 768]",
13
+ "name" : "hidden_embeds",
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" : "RunDiffusion\/Juggernaut-XL-Lightning",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/RunDiffusion\/Juggernaut-XL-Lightning",
32
+ "specificationVersion" : 8,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios17.mul" : 36,
37
+ "Ios17.reduceArgmax" : 1,
38
+ "Ios17.linear" : 72,
39
+ "Ios17.transpose" : 48,
40
+ "Select" : 1,
41
+ "Ios17.matmul" : 24,
42
+ "Stack" : 1,
43
+ "Ios17.gatherNd" : 1,
44
+ "Ios16.sigmoid" : 12,
45
+ "Ios17.gather" : 1,
46
+ "Ios17.add" : 38,
47
+ "Ios16.softmax" : 12,
48
+ "Ios17.greaterEqual" : 1,
49
+ "Ios17.reshape" : 48,
50
+ "Ios17.layerNorm" : 25,
51
+ "Ios17.cast" : 4
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.source_dialect" : "TorchScript",
83
+ "com.github.apple.coremltools.source" : "torch==2.4.0",
84
+ "com.github.apple.coremltools.version" : "8.0"
85
+ },
86
+ "generatedClassName" : "Stable_Diffusion_version_RunDiffusion_Juggernaut_XL_Lightning_text_encoder",
87
+ "method" : "predict"
88
+ }
89
+ ]
TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6016f6a7e056817f50dccd25c69612add6824c0a30b536bc8a40771c211196e3
3
+ size 246145536
TextEncoder2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acd31b093c8ae73eef80a98b58565016f3e8c68131746d29a3105a540ae0cef4
3
+ size 243
TextEncoder2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:478d2661a2092ff744b306fd10e923c13de8522e52a102467729c5966b5693a0
3
+ size 911
TextEncoder2.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 × 1280)",
11
+ "shortDescription" : "Hidden states after the encoder layers",
12
+ "shape" : "[1, 77, 1280]",
13
+ "name" : "hidden_embeds",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 1 × 1280)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[1, 1280]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "RunDiffusion\/Juggernaut-XL-Lightning",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/RunDiffusion\/Juggernaut-XL-Lightning",
32
+ "specificationVersion" : 8,
33
+ "storagePrecision" : "Mixed (Float16, Palettized (8 bits))",
34
+ "license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios17.mul" : 32,
37
+ "Ios17.reduceArgmax" : 1,
38
+ "Ios17.linear" : 193,
39
+ "Ios17.transpose" : 128,
40
+ "Select" : 1,
41
+ "Ios16.constexprLutToDense" : 195,
42
+ "Ios17.matmul" : 64,
43
+ "Stack" : 1,
44
+ "Ios17.gatherNd" : 1,
45
+ "Ios17.gather" : 1,
46
+ "Ios17.add" : 98,
47
+ "Ios16.softmax" : 32,
48
+ "Ios16.gelu" : 32,
49
+ "Ios17.greaterEqual" : 1,
50
+ "Ios17.reshape" : 128,
51
+ "Ios17.layerNorm" : 65,
52
+ "Ios17.cast" : 4
53
+ },
54
+ "computePrecision" : "Mixed (Float16, Float32, Int32, UInt16)",
55
+ "stateSchema" : [
56
+
57
+ ],
58
+ "isUpdatable" : "0",
59
+ "availability" : {
60
+ "macOS" : "14.0",
61
+ "tvOS" : "17.0",
62
+ "visionOS" : "1.0",
63
+ "watchOS" : "10.0",
64
+ "iOS" : "17.0",
65
+ "macCatalyst" : "17.0"
66
+ },
67
+ "modelType" : {
68
+ "name" : "MLModelType_mlProgram"
69
+ },
70
+ "inputSchema" : [
71
+ {
72
+ "hasShapeFlexibility" : "0",
73
+ "isOptional" : "0",
74
+ "dataType" : "Float32",
75
+ "formattedType" : "MultiArray (Float32 1 × 77)",
76
+ "shortDescription" : "The token ids that represent the input text",
77
+ "shape" : "[1, 77]",
78
+ "name" : "input_ids",
79
+ "type" : "MultiArray"
80
+ }
81
+ ],
82
+ "userDefinedMetadata" : {
83
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
84
+ "com.github.apple.coremltools.source" : "torch==2.4.0",
85
+ "com.github.apple.coremltools.version" : "8.0"
86
+ },
87
+ "generatedClassName" : "Stable_Diffusion_version_RunDiffusion_Juggernaut_XL_Lightning_text_encoder_2",
88
+ "method" : "predict"
89
+ }
90
+ ]
TextEncoder2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
TextEncoder2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06fab3769d0b4a8997c19815b344a06a42d6b41867b25fa22d699e9aad8b3971
3
+ size 758591232
UnetChunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75c44346f33a5522f4ba92a8659654d9759f9233d56c077dfa2777dc885ed0aa
3
+ size 243
UnetChunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d18e86231738c3ffe5147baff9c3b67c9a2515ff82cd5abcfee36dd06d596ad
3
+ size 669
UnetChunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Palettized (6 bits))",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 2 × 320 × 128 × 128)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 320, 128, 128]",
13
+ "name" : "input_43_cast_fp16",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
21
+ "shortDescription" : "",
22
+ "shape" : "[2, 1280, 1, 1]",
23
+ "name" : "input_21_cast_fp16",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float32",
30
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 32 × 32)",
31
+ "shortDescription" : "",
32
+ "shape" : "[2, 1280, 32, 32]",
33
+ "name" : "hidden_states_281_cast_fp16",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float32",
40
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
41
+ "shortDescription" : "",
42
+ "shape" : "[2, 640, 32, 32]",
43
+ "name" : "input_115_cast_fp16",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float32",
50
+ "formattedType" : "MultiArray (Float32 2 × 640 × 64 × 64)",
51
+ "shortDescription" : "",
52
+ "shape" : "[2, 640, 64, 64]",
53
+ "name" : "input_79_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_45_cast_fp16",
64
+ "type" : "MultiArray"
65
+ },
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float32",
70
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 32 × 32)",
71
+ "shortDescription" : "",
72
+ "shape" : "[2, 2560, 32, 32]",
73
+ "name" : "input_423_cast_fp16",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float32",
80
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 32 × 32)",
81
+ "shortDescription" : "",
82
+ "shape" : "[2, 1280, 32, 32]",
83
+ "name" : "input_213_cast_fp16",
84
+ "type" : "MultiArray"
85
+ },
86
+ {
87
+ "hasShapeFlexibility" : "0",
88
+ "isOptional" : "0",
89
+ "dataType" : "Float32",
90
+ "formattedType" : "MultiArray (Float32 2 × 640 × 64 × 64)",
91
+ "shortDescription" : "",
92
+ "shape" : "[2, 640, 64, 64]",
93
+ "name" : "input_113_cast_fp16",
94
+ "type" : "MultiArray"
95
+ },
96
+ {
97
+ "hasShapeFlexibility" : "0",
98
+ "isOptional" : "0",
99
+ "dataType" : "Float32",
100
+ "formattedType" : "MultiArray (Float32 2 × 320 × 128 × 128)",
101
+ "shortDescription" : "",
102
+ "shape" : "[2, 320, 128, 128]",
103
+ "name" : "input_13_cast_fp16",
104
+ "type" : "MultiArray"
105
+ },
106
+ {
107
+ "hasShapeFlexibility" : "0",
108
+ "isOptional" : "0",
109
+ "dataType" : "Float32",
110
+ "formattedType" : "MultiArray (Float32 2 × 320 × 128 × 128)",
111
+ "shortDescription" : "",
112
+ "shape" : "[2, 320, 128, 128]",
113
+ "name" : "input_29_cast_fp16",
114
+ "type" : "MultiArray"
115
+ }
116
+ ],
117
+ "modelParameters" : [
118
+
119
+ ],
120
+ "specificationVersion" : 8,
121
+ "mlProgramOperationTypeHistogram" : {
122
+ "Ios17.square" : 23,
123
+ "Ios17.cos" : 2,
124
+ "Ios17.reshape" : 58,
125
+ "Ios16.reduceMean" : 46,
126
+ "Ios16.softmax" : 1280,
127
+ "Ios17.sin" : 2,
128
+ "Ios17.transpose" : 68,
129
+ "Split" : 34,
130
+ "Ios17.expandDims" : 6,
131
+ "Ios17.add" : 148,
132
+ "Ios17.sliceByIndex" : 3844,
133
+ "Ios17.layerNorm" : 102,
134
+ "Ios17.batchNorm" : 23,
135
+ "Ios17.sqrt" : 23,
136
+ "Ios17.sub" : 23,
137
+ "Ios17.conv" : 386,
138
+ "Ios16.constexprLutToDense" : 386,
139
+ "Ios17.realDiv" : 23,
140
+ "Ios17.concat" : 74,
141
+ "Ios16.einsum" : 2560,
142
+ "Ios16.silu" : 21,
143
+ "Ios16.gelu" : 34,
144
+ "Ios17.cast" : 11,
145
+ "Ios17.mul" : 1316
146
+ },
147
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
148
+ "isUpdatable" : "0",
149
+ "stateSchema" : [
150
+
151
+ ],
152
+ "availability" : {
153
+ "macOS" : "14.0",
154
+ "tvOS" : "17.0",
155
+ "visionOS" : "1.0",
156
+ "watchOS" : "10.0",
157
+ "iOS" : "17.0",
158
+ "macCatalyst" : "17.0"
159
+ },
160
+ "modelType" : {
161
+ "name" : "MLModelType_mlProgram"
162
+ },
163
+ "userDefinedMetadata" : {
164
+
165
+ },
166
+ "inputSchema" : [
167
+ {
168
+ "hasShapeFlexibility" : "0",
169
+ "isOptional" : "0",
170
+ "dataType" : "Float16",
171
+ "formattedType" : "MultiArray (Float16 2 × 4 × 128 × 128)",
172
+ "shortDescription" : "",
173
+ "shape" : "[2, 4, 128, 128]",
174
+ "name" : "sample",
175
+ "type" : "MultiArray"
176
+ },
177
+ {
178
+ "hasShapeFlexibility" : "0",
179
+ "isOptional" : "0",
180
+ "dataType" : "Float16",
181
+ "formattedType" : "MultiArray (Float16 2)",
182
+ "shortDescription" : "",
183
+ "shape" : "[2]",
184
+ "name" : "timestep",
185
+ "type" : "MultiArray"
186
+ },
187
+ {
188
+ "hasShapeFlexibility" : "0",
189
+ "isOptional" : "0",
190
+ "dataType" : "Float16",
191
+ "formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
192
+ "shortDescription" : "",
193
+ "shape" : "[2, 2048, 1, 77]",
194
+ "name" : "encoder_hidden_states",
195
+ "type" : "MultiArray"
196
+ },
197
+ {
198
+ "hasShapeFlexibility" : "0",
199
+ "isOptional" : "0",
200
+ "dataType" : "Float16",
201
+ "formattedType" : "MultiArray (Float16 2 × 6)",
202
+ "shortDescription" : "",
203
+ "shape" : "[2, 6]",
204
+ "name" : "time_ids",
205
+ "type" : "MultiArray"
206
+ },
207
+ {
208
+ "hasShapeFlexibility" : "0",
209
+ "isOptional" : "0",
210
+ "dataType" : "Float16",
211
+ "formattedType" : "MultiArray (Float16 2 × 1280)",
212
+ "shortDescription" : "",
213
+ "shape" : "[2, 1280]",
214
+ "name" : "text_embeds",
215
+ "type" : "MultiArray"
216
+ }
217
+ ],
218
+ "generatedClassName" : "Stable_Diffusion_version_RunDiffusion_Juggernaut_XL_Lightning_unet_chunk1",
219
+ "method" : "predict"
220
+ }
221
+ ]
UnetChunk1.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
UnetChunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bd1bef1875c288e1ceb8c337d60cdb57affa7321596c46f66678ce3fca86866
3
+ size 968067264
UnetChunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2987167af9b673071be88da81118dcc231a16873223412b90b8a6793b621249
3
+ size 243
UnetChunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04ec1fcbfcd692744e25b5ac4a373374648866bff0c906308b9e818f52cc47e4
3
+ size 598
UnetChunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Palettized (6 bits))",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 2 × 4 × 128 × 128)",
11
+ "shortDescription" : "",
12
+ "shape" : "[2, 4, 128, 128]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 8,
21
+ "mlProgramOperationTypeHistogram" : {
22
+ "Ios17.square" : 23,
23
+ "UpsampleNearestNeighbor" : 2,
24
+ "Ios17.reshape" : 58,
25
+ "Ios16.reduceMean" : 46,
26
+ "Ios16.softmax" : 1320,
27
+ "Ios17.transpose" : 72,
28
+ "Split" : 36,
29
+ "Ios17.add" : 154,
30
+ "Ios17.sliceByIndex" : 3960,
31
+ "Ios17.layerNorm" : 108,
32
+ "Ios17.batchNorm" : 23,
33
+ "Ios17.sqrt" : 23,
34
+ "Ios17.sub" : 23,
35
+ "Ios16.constexprLutToDense" : 408,
36
+ "Ios17.conv" : 408,
37
+ "Ios16.einsum" : 2640,
38
+ "Ios17.concat" : 80,
39
+ "Ios17.realDiv" : 23,
40
+ "Ios16.gelu" : 36,
41
+ "Ios17.cast" : 12,
42
+ "Ios16.silu" : 17,
43
+ "Ios17.mul" : 1356
44
+ },
45
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
46
+ "isUpdatable" : "0",
47
+ "stateSchema" : [
48
+
49
+ ],
50
+ "availability" : {
51
+ "macOS" : "14.0",
52
+ "tvOS" : "17.0",
53
+ "visionOS" : "1.0",
54
+ "watchOS" : "10.0",
55
+ "iOS" : "17.0",
56
+ "macCatalyst" : "17.0"
57
+ },
58
+ "modelType" : {
59
+ "name" : "MLModelType_mlProgram"
60
+ },
61
+ "userDefinedMetadata" : {
62
+
63
+ },
64
+ "inputSchema" : [
65
+ {
66
+ "hasShapeFlexibility" : "0",
67
+ "isOptional" : "0",
68
+ "dataType" : "Float16",
69
+ "formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
70
+ "shortDescription" : "",
71
+ "shape" : "[2, 2048, 1, 77]",
72
+ "name" : "encoder_hidden_states",
73
+ "type" : "MultiArray"
74
+ },
75
+ {
76
+ "hasShapeFlexibility" : "0",
77
+ "isOptional" : "0",
78
+ "dataType" : "Float32",
79
+ "formattedType" : "MultiArray (Float32 2 × 2560 × 32 × 32)",
80
+ "shortDescription" : "",
81
+ "shape" : "[2, 2560, 32, 32]",
82
+ "name" : "input_423_cast_fp16",
83
+ "type" : "MultiArray"
84
+ },
85
+ {
86
+ "hasShapeFlexibility" : "0",
87
+ "isOptional" : "0",
88
+ "dataType" : "Float32",
89
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 32 × 32)",
90
+ "shortDescription" : "",
91
+ "shape" : "[2, 1280, 32, 32]",
92
+ "name" : "hidden_states_281_cast_fp16",
93
+ "type" : "MultiArray"
94
+ },
95
+ {
96
+ "hasShapeFlexibility" : "0",
97
+ "isOptional" : "0",
98
+ "dataType" : "Float32",
99
+ "formattedType" : "MultiArray (Float32 2 × 320 × 128 × 128)",
100
+ "shortDescription" : "",
101
+ "shape" : "[2, 320, 128, 128]",
102
+ "name" : "input_29_cast_fp16",
103
+ "type" : "MultiArray"
104
+ },
105
+ {
106
+ "hasShapeFlexibility" : "0",
107
+ "isOptional" : "0",
108
+ "dataType" : "Float32",
109
+ "formattedType" : "MultiArray (Float32 2 × 320 × 128 × 128)",
110
+ "shortDescription" : "",
111
+ "shape" : "[2, 320, 128, 128]",
112
+ "name" : "input_43_cast_fp16",
113
+ "type" : "MultiArray"
114
+ },
115
+ {
116
+ "hasShapeFlexibility" : "0",
117
+ "isOptional" : "0",
118
+ "dataType" : "Float32",
119
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)",
120
+ "shortDescription" : "",
121
+ "shape" : "[2, 1280, 1, 1]",
122
+ "name" : "input_21_cast_fp16",
123
+ "type" : "MultiArray"
124
+ },
125
+ {
126
+ "hasShapeFlexibility" : "0",
127
+ "isOptional" : "0",
128
+ "dataType" : "Float32",
129
+ "formattedType" : "MultiArray (Float32 2 × 320 × 64 × 64)",
130
+ "shortDescription" : "",
131
+ "shape" : "[2, 320, 64, 64]",
132
+ "name" : "input_45_cast_fp16",
133
+ "type" : "MultiArray"
134
+ },
135
+ {
136
+ "hasShapeFlexibility" : "0",
137
+ "isOptional" : "0",
138
+ "dataType" : "Float32",
139
+ "formattedType" : "MultiArray (Float32 2 × 1280 × 32 × 32)",
140
+ "shortDescription" : "",
141
+ "shape" : "[2, 1280, 32, 32]",
142
+ "name" : "input_213_cast_fp16",
143
+ "type" : "MultiArray"
144
+ },
145
+ {
146
+ "hasShapeFlexibility" : "0",
147
+ "isOptional" : "0",
148
+ "dataType" : "Float32",
149
+ "formattedType" : "MultiArray (Float32 2 × 640 × 64 × 64)",
150
+ "shortDescription" : "",
151
+ "shape" : "[2, 640, 64, 64]",
152
+ "name" : "input_79_cast_fp16",
153
+ "type" : "MultiArray"
154
+ },
155
+ {
156
+ "hasShapeFlexibility" : "0",
157
+ "isOptional" : "0",
158
+ "dataType" : "Float32",
159
+ "formattedType" : "MultiArray (Float32 2 × 640 × 64 × 64)",
160
+ "shortDescription" : "",
161
+ "shape" : "[2, 640, 64, 64]",
162
+ "name" : "input_113_cast_fp16",
163
+ "type" : "MultiArray"
164
+ },
165
+ {
166
+ "hasShapeFlexibility" : "0",
167
+ "isOptional" : "0",
168
+ "dataType" : "Float32",
169
+ "formattedType" : "MultiArray (Float32 2 × 320 × 128 × 128)",
170
+ "shortDescription" : "",
171
+ "shape" : "[2, 320, 128, 128]",
172
+ "name" : "input_13_cast_fp16",
173
+ "type" : "MultiArray"
174
+ },
175
+ {
176
+ "hasShapeFlexibility" : "0",
177
+ "isOptional" : "0",
178
+ "dataType" : "Float32",
179
+ "formattedType" : "MultiArray (Float32 2 × 640 × 32 × 32)",
180
+ "shortDescription" : "",
181
+ "shape" : "[2, 640, 32, 32]",
182
+ "name" : "input_115_cast_fp16",
183
+ "type" : "MultiArray"
184
+ }
185
+ ],
186
+ "generatedClassName" : "Stable_Diffusion_version_RunDiffusion_Juggernaut_XL_Lightning_unet_chunk2",
187
+ "method" : "predict"
188
+ }
189
+ ]
UnetChunk2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
UnetChunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3100e43a7d5e1205bc50a9a26a7b0968000db0e4aff607d7a6b365c439abe82a
3
+ size 959821632
VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40d5509ac1efe0f2c80321a1a7b5ba423275c478165e5754911f56fd4c9ef87e
3
+ size 243
VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f201c9c3f96bc22231f2ca8738d4db7529bf684cbdcafde07890e49a0810dfd
3
+ size 862
VAEDecoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 1024 × 1024)",
11
+ "shortDescription" : "Generated image normalized to range [-1, 1]",
12
+ "shape" : "[1, 3, 1024, 1024]",
13
+ "name" : "image",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "RunDiffusion\/Juggernaut-XL-Lightning",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/RunDiffusion\/Juggernaut-XL-Lightning",
22
+ "specificationVersion" : 8,
23
+ "storagePrecision" : "Float32",
24
+ "license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
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
+ "Ios16.silu" : 29
42
+ },
43
+ "computePrecision" : "Mixed (Float32, Int32)",
44
+ "stateSchema" : [
45
+
46
+ ],
47
+ "isUpdatable" : "0",
48
+ "availability" : {
49
+ "macOS" : "14.0",
50
+ "tvOS" : "17.0",
51
+ "visionOS" : "1.0",
52
+ "watchOS" : "10.0",
53
+ "iOS" : "17.0",
54
+ "macCatalyst" : "17.0"
55
+ },
56
+ "modelType" : {
57
+ "name" : "MLModelType_mlProgram"
58
+ },
59
+ "inputSchema" : [
60
+ {
61
+ "hasShapeFlexibility" : "0",
62
+ "isOptional" : "0",
63
+ "dataType" : "Float32",
64
+ "formattedType" : "MultiArray (Float32 1 × 4 × 128 × 128)",
65
+ "shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
66
+ "shape" : "[1, 4, 128, 128]",
67
+ "name" : "z",
68
+ "type" : "MultiArray"
69
+ }
70
+ ],
71
+ "userDefinedMetadata" : {
72
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
73
+ "com.github.apple.coremltools.source" : "torch==2.4.0",
74
+ "com.github.apple.coremltools.version" : "8.0"
75
+ },
76
+ "generatedClassName" : "Stable_Diffusion_version_RunDiffusion_Juggernaut_XL_Lightning_vae_decoder",
77
+ "method" : "predict"
78
+ }
79
+ ]
VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4970a8d07aacc9579344b16c0d0fed5a1e07711a582ab9a7d270f31367e2d9c
3
+ size 197977216
VAEEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e152ff29658e766933b40380ce76e659dee3f8848eafa3835c8af893ad3182f9
3
+ size 243
VAEEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f113905b31c7c07202d3a64cb90b413034170258a508a12f8a53c6a0f338dea0
3
+ size 866
VAEEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 × 128 × 128)",
11
+ "shortDescription" : "The latent embeddings from the unet model from the input image.",
12
+ "shape" : "[1, 8, 128, 128]",
13
+ "name" : "latent",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "RunDiffusion\/Juggernaut-XL-Lightning",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/RunDiffusion\/Juggernaut-XL-Lightning",
22
+ "specificationVersion" : 8,
23
+ "storagePrecision" : "Float32",
24
+ "license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Pad" : 3,
27
+ "Ios17.mul" : 2,
28
+ "Ios17.sqrt" : 22,
29
+ "Ios17.square" : 22,
30
+ "Ios17.transpose" : 6,
31
+ "Ios17.sub" : 22,
32
+ "Ios17.linear" : 4,
33
+ "Ios17.conv" : 28,
34
+ "Ios17.matmul" : 2,
35
+ "Ios17.add" : 34,
36
+ "Ios17.realDiv" : 22,
37
+ "Ios16.reduceMean" : 44,
38
+ "Ios17.batchNorm" : 21,
39
+ "Ios16.softmax" : 1,
40
+ "Ios17.reshape" : 49,
41
+ "Ios16.silu" : 21
42
+ },
43
+ "computePrecision" : "Mixed (Float32, Int32)",
44
+ "stateSchema" : [
45
+
46
+ ],
47
+ "isUpdatable" : "0",
48
+ "availability" : {
49
+ "macOS" : "14.0",
50
+ "tvOS" : "17.0",
51
+ "visionOS" : "1.0",
52
+ "watchOS" : "10.0",
53
+ "iOS" : "17.0",
54
+ "macCatalyst" : "17.0"
55
+ },
56
+ "modelType" : {
57
+ "name" : "MLModelType_mlProgram"
58
+ },
59
+ "inputSchema" : [
60
+ {
61
+ "hasShapeFlexibility" : "0",
62
+ "isOptional" : "0",
63
+ "dataType" : "Float32",
64
+ "formattedType" : "MultiArray (Float32 1 × 3 × 1024 × 1024)",
65
+ "shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
66
+ "shape" : "[1, 3, 1024, 1024]",
67
+ "name" : "x",
68
+ "type" : "MultiArray"
69
+ }
70
+ ],
71
+ "userDefinedMetadata" : {
72
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
73
+ "com.github.apple.coremltools.version" : "8.0",
74
+ "com.github.apple.coremltools.source" : "torch==2.4.0"
75
+ },
76
+ "generatedClassName" : "Stable_Diffusion_version_RunDiffusion_Juggernaut_XL_Lightning_vae_encoder",
77
+ "method" : "predict"
78
+ }
79
+ ]
VAEEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
VAEEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f4725ce8b4c687fa957170fa50951aaa068b752f08184df1d46e32420b2a3b2
3
+ size 136668992
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
vocab.json ADDED
The diff for this file is too large to render. See raw diff