Add 6-bit palettized CoreML Resources bundle
Browse files- Resources/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- Resources/TextEncoder.mlmodelc/coremldata.bin +3 -0
- Resources/TextEncoder.mlmodelc/metadata.json +89 -0
- Resources/TextEncoder.mlmodelc/model.mil +0 -0
- Resources/TextEncoder.mlmodelc/weights/weight.bin +3 -0
- Resources/Unet.mlmodelc/analytics/coremldata.bin +3 -0
- Resources/Unet.mlmodelc/coremldata.bin +3 -0
- Resources/Unet.mlmodelc/metadata.json +110 -0
- Resources/Unet.mlmodelc/model.mil +0 -0
- Resources/Unet.mlmodelc/weights/weight.bin +3 -0
- Resources/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- Resources/VAEDecoder.mlmodelc/coremldata.bin +3 -0
- Resources/VAEDecoder.mlmodelc/metadata.json +81 -0
- Resources/VAEDecoder.mlmodelc/model.mil +0 -0
- Resources/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- Resources/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- Resources/VAEEncoder.mlmodelc/coremldata.bin +3 -0
- Resources/VAEEncoder.mlmodelc/metadata.json +81 -0
- Resources/VAEEncoder.mlmodelc/model.mil +0 -0
- Resources/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
- Resources/merges.txt +0 -0
- Resources/vocab.json +0 -0
Resources/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4150535ecd914242a0519be3bd1dd2fdd8bcb5993f2f98d38c522997af0014a
|
| 3 |
+
size 243
|
Resources/TextEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6552c7156c8a22177e385fdaaa460e7e869d9a979308064f352f0519ff9d0798
|
| 3 |
+
size 942
|
Resources/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" : "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" : "Lykon\/dreamshaper-8-lcm",
|
| 28 |
+
"modelParameters" : [
|
| 29 |
+
|
| 30 |
+
],
|
| 31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/Lykon\/dreamshaper-8-lcm",
|
| 32 |
+
"specificationVersion" : 7,
|
| 33 |
+
"storagePrecision" : "Mixed (Float16, Palettized (6 bits))",
|
| 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 |
+
"Ios16.constexprLutToDense" : 74,
|
| 40 |
+
"Transpose" : 48,
|
| 41 |
+
"Stack" : 1,
|
| 42 |
+
"Ios16.sigmoid" : 12,
|
| 43 |
+
"Ios16.linear" : 72,
|
| 44 |
+
"Ios16.add" : 37,
|
| 45 |
+
"Ios16.softmax" : 12,
|
| 46 |
+
"Ios16.matmul" : 24,
|
| 47 |
+
"Ios16.gatherNd" : 1,
|
| 48 |
+
"Ios16.gather" : 1,
|
| 49 |
+
"Ios16.reshape" : 48,
|
| 50 |
+
"Ios16.reduceArgmax" : 1
|
| 51 |
+
},
|
| 52 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 53 |
+
"stateSchema" : [
|
| 54 |
+
|
| 55 |
+
],
|
| 56 |
+
"isUpdatable" : "0",
|
| 57 |
+
"availability" : {
|
| 58 |
+
"macOS" : "13.0",
|
| 59 |
+
"tvOS" : "16.0",
|
| 60 |
+
"visionOS" : "1.0",
|
| 61 |
+
"watchOS" : "9.0",
|
| 62 |
+
"iOS" : "16.0",
|
| 63 |
+
"macCatalyst" : "16.0"
|
| 64 |
+
},
|
| 65 |
+
"modelType" : {
|
| 66 |
+
"name" : "MLModelType_mlProgram"
|
| 67 |
+
},
|
| 68 |
+
"inputSchema" : [
|
| 69 |
+
{
|
| 70 |
+
"hasShapeFlexibility" : "0",
|
| 71 |
+
"isOptional" : "0",
|
| 72 |
+
"dataType" : "Float32",
|
| 73 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
| 74 |
+
"shortDescription" : "The token ids that represent the input text",
|
| 75 |
+
"shape" : "[1, 77]",
|
| 76 |
+
"name" : "input_ids",
|
| 77 |
+
"type" : "MultiArray"
|
| 78 |
+
}
|
| 79 |
+
],
|
| 80 |
+
"userDefinedMetadata" : {
|
| 81 |
+
"com.github.apple.coremltools.conversion_date" : "2026-06-22",
|
| 82 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 83 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 84 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 85 |
+
},
|
| 86 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_8_lcm_text_encoder",
|
| 87 |
+
"method" : "predict"
|
| 88 |
+
}
|
| 89 |
+
]
|
Resources/TextEncoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Resources/TextEncoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1d0f4891b4d07e613dd350711c09a11be777a6162b8e4cfd320a6b21e595ebe
|
| 3 |
+
size 139910080
|
Resources/Unet.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:755cfae49a2d926b6281b435737fb563731b3223c6c182d347271215bd8a83c5
|
| 3 |
+
size 243
|
Resources/Unet.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccb487cb5e5a195d58e702c654342db2d6be285be87baa7b243d325733dbf76b
|
| 3 |
+
size 1375
|
Resources/Unet.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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" : "Lykon\/dreamshaper-8-lcm",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/Lykon\/dreamshaper-8-lcm",
|
| 22 |
+
"specificationVersion" : 7,
|
| 23 |
+
"storagePrecision" : "Mixed (Float16, Palettized (6 bits))",
|
| 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.conv" : 282,
|
| 40 |
+
"Ios16.constexprLutToDense" : 282,
|
| 41 |
+
"Ios16.einsum" : 1792,
|
| 42 |
+
"Ios16.layerNorm" : 48,
|
| 43 |
+
"SliceByIndex" : 1570,
|
| 44 |
+
"Ios16.batchNorm" : 61,
|
| 45 |
+
"Ios16.reshape" : 154,
|
| 46 |
+
"Ios16.silu" : 47,
|
| 47 |
+
"Ios16.gelu" : 16,
|
| 48 |
+
"Ios16.mul" : 913,
|
| 49 |
+
"Ios16.cos" : 1,
|
| 50 |
+
"Ios16.cast" : 1
|
| 51 |
+
},
|
| 52 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 53 |
+
"stateSchema" : [
|
| 54 |
+
|
| 55 |
+
],
|
| 56 |
+
"isUpdatable" : "0",
|
| 57 |
+
"availability" : {
|
| 58 |
+
"macOS" : "13.0",
|
| 59 |
+
"tvOS" : "16.0",
|
| 60 |
+
"visionOS" : "1.0",
|
| 61 |
+
"watchOS" : "9.0",
|
| 62 |
+
"iOS" : "16.0",
|
| 63 |
+
"macCatalyst" : "16.0"
|
| 64 |
+
},
|
| 65 |
+
"modelType" : {
|
| 66 |
+
"name" : "MLModelType_mlProgram"
|
| 67 |
+
},
|
| 68 |
+
"inputSchema" : [
|
| 69 |
+
{
|
| 70 |
+
"hasShapeFlexibility" : "0",
|
| 71 |
+
"isOptional" : "0",
|
| 72 |
+
"dataType" : "Float16",
|
| 73 |
+
"formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
|
| 74 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
| 75 |
+
"shape" : "[2, 4, 64, 64]",
|
| 76 |
+
"name" : "sample",
|
| 77 |
+
"type" : "MultiArray"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"hasShapeFlexibility" : "0",
|
| 81 |
+
"isOptional" : "0",
|
| 82 |
+
"dataType" : "Float16",
|
| 83 |
+
"formattedType" : "MultiArray (Float16 2)",
|
| 84 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
| 85 |
+
"shape" : "[2]",
|
| 86 |
+
"name" : "timestep",
|
| 87 |
+
"type" : "MultiArray"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"hasShapeFlexibility" : "0",
|
| 91 |
+
"isOptional" : "0",
|
| 92 |
+
"dataType" : "Float16",
|
| 93 |
+
"formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
|
| 94 |
+
"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.",
|
| 95 |
+
"shape" : "[2, 768, 1, 77]",
|
| 96 |
+
"name" : "encoder_hidden_states",
|
| 97 |
+
"type" : "MultiArray"
|
| 98 |
+
}
|
| 99 |
+
],
|
| 100 |
+
"userDefinedMetadata" : {
|
| 101 |
+
"com.github.apple.coremltools.conversion_date" : "2026-06-22",
|
| 102 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.1.0",
|
| 103 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 104 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 105 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 106 |
+
},
|
| 107 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_8_lcm_unet",
|
| 108 |
+
"method" : "predict"
|
| 109 |
+
}
|
| 110 |
+
]
|
Resources/Unet.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Resources/Unet.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4683ed5311eac6bff02a85e999e07241b6db64a86c0f12291444b51c04870c57
|
| 3 |
+
size 645325440
|
Resources/VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f608f12dfc80cf9d8e3271f17c9d4147875465880fccfe0a4b056a515bedd4c3
|
| 3 |
+
size 243
|
Resources/VAEDecoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c03bd52cc1f9ba784463f33ac4fd468369ed98d67bb4215d8ebf6127698abe20
|
| 3 |
+
size 869
|
Resources/VAEDecoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
| 4 |
+
"metadataOutputVersion" : "3.0",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 3 × 512 × 512)",
|
| 11 |
+
"shortDescription" : "Generated image normalized to range [-1, 1]",
|
| 12 |
+
"shape" : "[1, 3, 512, 512]",
|
| 13 |
+
"name" : "image",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "Lykon\/dreamshaper-8-lcm",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/Lykon\/dreamshaper-8-lcm",
|
| 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.conversion_date" : "2026-06-22",
|
| 74 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 75 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 76 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 77 |
+
},
|
| 78 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_8_lcm_vae_decoder",
|
| 79 |
+
"method" : "predict"
|
| 80 |
+
}
|
| 81 |
+
]
|
Resources/VAEDecoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Resources/VAEDecoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26e320b84ccd02aa065db9b9a56b342a3380fd9ea8b2fde954559b9446358199
|
| 3 |
+
size 98993280
|
Resources/VAEEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:113ab21feb830830437e31b23d40c2a2d7011f4b41f3ee5ee2a58504f0a3c04e
|
| 3 |
+
size 243
|
Resources/VAEEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:157a6dca24329dc383ce7ff84b1d3ff6c5e5983af8afe8b283841fd4ff03cddf
|
| 3 |
+
size 873
|
Resources/VAEEncoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
| 4 |
+
"metadataOutputVersion" : "3.0",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 8 × 64 × 64)",
|
| 11 |
+
"shortDescription" : "The latent embeddings from the unet model from the input image.",
|
| 12 |
+
"shape" : "[1, 8, 64, 64]",
|
| 13 |
+
"name" : "latent",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "Lykon\/dreamshaper-8-lcm",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/Lykon\/dreamshaper-8-lcm",
|
| 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.sub" : 22,
|
| 30 |
+
"Ios16.sqrt" : 22,
|
| 31 |
+
"Transpose" : 6,
|
| 32 |
+
"Ios16.square" : 22,
|
| 33 |
+
"Ios16.add" : 34,
|
| 34 |
+
"Ios16.reduceMean" : 44,
|
| 35 |
+
"Ios16.realDiv" : 22,
|
| 36 |
+
"Ios16.conv" : 28,
|
| 37 |
+
"Ios16.linear" : 4,
|
| 38 |
+
"Ios16.matmul" : 2,
|
| 39 |
+
"Ios16.batchNorm" : 21,
|
| 40 |
+
"Ios16.softmax" : 1,
|
| 41 |
+
"Ios16.reshape" : 49,
|
| 42 |
+
"Ios16.silu" : 21
|
| 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 × 3 × 512 × 512)",
|
| 66 |
+
"shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
|
| 67 |
+
"shape" : "[1, 3, 512, 512]",
|
| 68 |
+
"name" : "x",
|
| 69 |
+
"type" : "MultiArray"
|
| 70 |
+
}
|
| 71 |
+
],
|
| 72 |
+
"userDefinedMetadata" : {
|
| 73 |
+
"com.github.apple.coremltools.conversion_date" : "2026-06-22",
|
| 74 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 75 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 76 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 77 |
+
},
|
| 78 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_8_lcm_vae_encoder",
|
| 79 |
+
"method" : "predict"
|
| 80 |
+
}
|
| 81 |
+
]
|
Resources/VAEEncoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Resources/VAEEncoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcb3254b4a74b36eed3318d0827e1501e0ba3730881f27c2cdcd06bbd397d120
|
| 3 |
+
size 68338112
|
Resources/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Resources/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|