Commit
·
7c47b8a
1
Parent(s):
a242e78
Initial upload
Browse files- original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
- original/compiled/TextEncoder.mlmodelc/metadata.json +78 -0
- original/compiled/TextEncoder.mlmodelc/model.mil +0 -0
- original/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
- original/compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/TextEncoder2.mlmodelc/coremldata.bin +3 -0
- original/compiled/TextEncoder2.mlmodelc/metadata.json +81 -0
- original/compiled/TextEncoder2.mlmodelc/model.mil +0 -0
- original/compiled/TextEncoder2.mlmodelc/weights/weight.bin +3 -0
- original/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/Unet.mlmodelc/coremldata.bin +3 -0
- original/compiled/Unet.mlmodelc/metadata.json +121 -0
- original/compiled/Unet.mlmodelc/model.mil +0 -0
- original/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
- original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
- original/compiled/VAEDecoder.mlmodelc/metadata.json +74 -0
- original/compiled/VAEDecoder.mlmodelc/model.mil +0 -0
- original/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- original/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
- original/compiled/VAEEncoder.mlmodelc/metadata.json +74 -0
- original/compiled/VAEEncoder.mlmodelc/model.mil +0 -0
- original/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
- original/compiled/merges.txt +0 -0
- original/compiled/vocab.json +0 -0
original/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d41d9734f7cae96ac14e5a1a74bf2506518892f3181b371c796d6694d38aa59
|
| 3 |
+
size 207
|
original/compiled/TextEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:676e8a6290fbaeaf1271e8e9d6d3ce3fa08c3078df6bf330e5c52584ba98fce8
|
| 3 |
+
size 857
|
original/compiled/TextEncoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)",
|
| 11 |
+
"shortDescription" : "The token embeddings as encoded by the Transformer model",
|
| 12 |
+
"shape" : "[]",
|
| 13 |
+
"name" : "last_hidden_state",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float32",
|
| 20 |
+
"formattedType" : "MultiArray (Float32)",
|
| 21 |
+
"shortDescription" : "The version of the `last_hidden_state` output after pooling",
|
| 22 |
+
"shape" : "[]",
|
| 23 |
+
"name" : "pooled_outputs",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
}
|
| 26 |
+
],
|
| 27 |
+
"version" : "stabilityai\/stable-diffusion-xl-base-0.9",
|
| 28 |
+
"modelParameters" : [
|
| 29 |
+
|
| 30 |
+
],
|
| 31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-0.9",
|
| 32 |
+
"specificationVersion" : 7,
|
| 33 |
+
"storagePrecision" : "Float32",
|
| 34 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
| 35 |
+
"mlProgramOperationTypeHistogram" : {
|
| 36 |
+
"Ios16.sigmoid" : 12,
|
| 37 |
+
"Ios16.add" : 37,
|
| 38 |
+
"Ios16.mul" : 36,
|
| 39 |
+
"Transpose" : 60,
|
| 40 |
+
"Ios16.gather" : 1,
|
| 41 |
+
"Ios16.linear" : 72,
|
| 42 |
+
"Ios16.reshape" : 120,
|
| 43 |
+
"Ios16.matmul" : 24,
|
| 44 |
+
"Ios16.layerNorm" : 25,
|
| 45 |
+
"Ios16.softmax" : 12
|
| 46 |
+
},
|
| 47 |
+
"computePrecision" : "Mixed (Int32, Float32)",
|
| 48 |
+
"isUpdatable" : "0",
|
| 49 |
+
"availability" : {
|
| 50 |
+
"macOS" : "13.0",
|
| 51 |
+
"tvOS" : "16.0",
|
| 52 |
+
"watchOS" : "9.0",
|
| 53 |
+
"iOS" : "16.0",
|
| 54 |
+
"macCatalyst" : "16.0"
|
| 55 |
+
},
|
| 56 |
+
"modelType" : {
|
| 57 |
+
"name" : "MLModelType_mlProgram"
|
| 58 |
+
},
|
| 59 |
+
"inputSchema" : [
|
| 60 |
+
{
|
| 61 |
+
"hasShapeFlexibility" : "0",
|
| 62 |
+
"isOptional" : "0",
|
| 63 |
+
"dataType" : "Int32",
|
| 64 |
+
"formattedType" : "MultiArray (Int32 1 × 77)",
|
| 65 |
+
"shortDescription" : "The token ids that represent the input text",
|
| 66 |
+
"shape" : "[1, 77]",
|
| 67 |
+
"name" : "input_ids",
|
| 68 |
+
"type" : "MultiArray"
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"userDefinedMetadata" : {
|
| 72 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
| 73 |
+
"com.github.apple.coremltools.source" : "torch==2.1.0.dev20230718"
|
| 74 |
+
},
|
| 75 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_0_9_text_encoder",
|
| 76 |
+
"method" : "predict"
|
| 77 |
+
}
|
| 78 |
+
]
|
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:2110183f4dc569f0522faf609549ca716492a21801cbd3ece3289a0a11cdb85b
|
| 3 |
+
size 492278308
|
original/compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eeb16c04fd05c6cbfbc31e02f12b46cd763948b046f5090e155394caab371330
|
| 3 |
+
size 207
|
original/compiled/TextEncoder2.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e60db2852d139e6d33e5c6d4dd83a82e2af6da2ff48998b5a3efd46493bbb00e
|
| 3 |
+
size 857
|
original/compiled/TextEncoder2.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)",
|
| 11 |
+
"shortDescription" : "The token embeddings as encoded by the Transformer model",
|
| 12 |
+
"shape" : "[]",
|
| 13 |
+
"name" : "last_hidden_state",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float32",
|
| 20 |
+
"formattedType" : "MultiArray (Float32)",
|
| 21 |
+
"shortDescription" : "The version of the `last_hidden_state` output after pooling",
|
| 22 |
+
"shape" : "[]",
|
| 23 |
+
"name" : "pooled_outputs",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
}
|
| 26 |
+
],
|
| 27 |
+
"version" : "stabilityai\/stable-diffusion-xl-base-0.9",
|
| 28 |
+
"modelParameters" : [
|
| 29 |
+
|
| 30 |
+
],
|
| 31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-0.9",
|
| 32 |
+
"specificationVersion" : 7,
|
| 33 |
+
"storagePrecision" : "Float32",
|
| 34 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
| 35 |
+
"mlProgramOperationTypeHistogram" : {
|
| 36 |
+
"Ios16.mul" : 32,
|
| 37 |
+
"Ios16.layerNorm" : 65,
|
| 38 |
+
"Stack" : 1,
|
| 39 |
+
"Transpose" : 160,
|
| 40 |
+
"Ios16.linear" : 193,
|
| 41 |
+
"Ios16.add" : 97,
|
| 42 |
+
"Ios16.matmul" : 64,
|
| 43 |
+
"Ios16.gelu" : 32,
|
| 44 |
+
"Ios16.softmax" : 32,
|
| 45 |
+
"Ios16.gatherNd" : 1,
|
| 46 |
+
"Ios16.gather" : 1,
|
| 47 |
+
"Ios16.reshape" : 320,
|
| 48 |
+
"Ios16.reduceArgmax" : 1
|
| 49 |
+
},
|
| 50 |
+
"computePrecision" : "Mixed (Int32, Float32)",
|
| 51 |
+
"isUpdatable" : "0",
|
| 52 |
+
"availability" : {
|
| 53 |
+
"macOS" : "13.0",
|
| 54 |
+
"tvOS" : "16.0",
|
| 55 |
+
"watchOS" : "9.0",
|
| 56 |
+
"iOS" : "16.0",
|
| 57 |
+
"macCatalyst" : "16.0"
|
| 58 |
+
},
|
| 59 |
+
"modelType" : {
|
| 60 |
+
"name" : "MLModelType_mlProgram"
|
| 61 |
+
},
|
| 62 |
+
"inputSchema" : [
|
| 63 |
+
{
|
| 64 |
+
"hasShapeFlexibility" : "0",
|
| 65 |
+
"isOptional" : "0",
|
| 66 |
+
"dataType" : "Int32",
|
| 67 |
+
"formattedType" : "MultiArray (Int32 1 × 77)",
|
| 68 |
+
"shortDescription" : "The token ids that represent the input text",
|
| 69 |
+
"shape" : "[1, 77]",
|
| 70 |
+
"name" : "input_ids",
|
| 71 |
+
"type" : "MultiArray"
|
| 72 |
+
}
|
| 73 |
+
],
|
| 74 |
+
"userDefinedMetadata" : {
|
| 75 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
| 76 |
+
"com.github.apple.coremltools.source" : "torch==2.1.0.dev20230718"
|
| 77 |
+
},
|
| 78 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_0_9_text_encoder_2",
|
| 79 |
+
"method" : "predict"
|
| 80 |
+
}
|
| 81 |
+
]
|
original/compiled/TextEncoder2.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
original/compiled/TextEncoder2.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20a38d041b247e8881e346ece58927362b11ee28ed7a92de5bf099ba8b72a73b
|
| 3 |
+
size 2778701504
|
original/compiled/Unet.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3aad8ab40f69863996c71e3be7476eecdf0148c0db96fd31eeeda470077deeaf
|
| 3 |
+
size 207
|
original/compiled/Unet.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63184014d142d0c1aee7e320cfe06c5b55364fe9c72237d4ae0ddecea279bcd2
|
| 3 |
+
size 1349
|
original/compiled/Unet.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)",
|
| 11 |
+
"shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
|
| 12 |
+
"shape" : "[]",
|
| 13 |
+
"name" : "noise_pred",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "stabilityai\/stable-diffusion-xl-base-0.9",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-0.9",
|
| 22 |
+
"specificationVersion" : 7,
|
| 23 |
+
"storagePrecision" : "Float32",
|
| 24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
| 25 |
+
"mlProgramOperationTypeHistogram" : {
|
| 26 |
+
"UpsampleNearestNeighbor" : 2,
|
| 27 |
+
"Ios16.reduceMean" : 512,
|
| 28 |
+
"Ios16.sin" : 2,
|
| 29 |
+
"Ios16.softmax" : 140,
|
| 30 |
+
"Split" : 70,
|
| 31 |
+
"Ios16.add" : 722,
|
| 32 |
+
"Concat" : 14,
|
| 33 |
+
"Ios16.realDiv" : 46,
|
| 34 |
+
"Ios16.square" : 46,
|
| 35 |
+
"ExpandDims" : 6,
|
| 36 |
+
"Ios16.sub" : 256,
|
| 37 |
+
"Ios16.conv" : 794,
|
| 38 |
+
"Ios16.gelu" : 70,
|
| 39 |
+
"Ios16.matmul" : 280,
|
| 40 |
+
"Ios16.reshape" : 676,
|
| 41 |
+
"Ios16.rsqrt" : 210,
|
| 42 |
+
"Ios16.batchNorm" : 46,
|
| 43 |
+
"Ios16.silu" : 38,
|
| 44 |
+
"Ios16.sqrt" : 46,
|
| 45 |
+
"SliceByIndex" : 4,
|
| 46 |
+
"Ios16.mul" : 842,
|
| 47 |
+
"Ios16.cos" : 2
|
| 48 |
+
},
|
| 49 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 50 |
+
"isUpdatable" : "0",
|
| 51 |
+
"availability" : {
|
| 52 |
+
"macOS" : "13.0",
|
| 53 |
+
"tvOS" : "16.0",
|
| 54 |
+
"watchOS" : "9.0",
|
| 55 |
+
"iOS" : "16.0",
|
| 56 |
+
"macCatalyst" : "16.0"
|
| 57 |
+
},
|
| 58 |
+
"modelType" : {
|
| 59 |
+
"name" : "MLModelType_mlProgram"
|
| 60 |
+
},
|
| 61 |
+
"inputSchema" : [
|
| 62 |
+
{
|
| 63 |
+
"hasShapeFlexibility" : "0",
|
| 64 |
+
"isOptional" : "0",
|
| 65 |
+
"dataType" : "Float32",
|
| 66 |
+
"formattedType" : "MultiArray (Float32 2 × 4 × 128 × 128)",
|
| 67 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
| 68 |
+
"shape" : "[2, 4, 128, 128]",
|
| 69 |
+
"name" : "sample",
|
| 70 |
+
"type" : "MultiArray"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"hasShapeFlexibility" : "0",
|
| 74 |
+
"isOptional" : "0",
|
| 75 |
+
"dataType" : "Float32",
|
| 76 |
+
"formattedType" : "MultiArray (Float32 2)",
|
| 77 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
| 78 |
+
"shape" : "[2]",
|
| 79 |
+
"name" : "timestep",
|
| 80 |
+
"type" : "MultiArray"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"hasShapeFlexibility" : "0",
|
| 84 |
+
"isOptional" : "0",
|
| 85 |
+
"dataType" : "Float32",
|
| 86 |
+
"formattedType" : "MultiArray (Float32 2 × 2048 × 1 × 77)",
|
| 87 |
+
"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.",
|
| 88 |
+
"shape" : "[2, 2048, 1, 77]",
|
| 89 |
+
"name" : "encoder_hidden_states",
|
| 90 |
+
"type" : "MultiArray"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"hasShapeFlexibility" : "0",
|
| 94 |
+
"isOptional" : "0",
|
| 95 |
+
"dataType" : "Float32",
|
| 96 |
+
"formattedType" : "MultiArray (Float32 2 × 1280)",
|
| 97 |
+
"shortDescription" : "",
|
| 98 |
+
"shape" : "[2, 1280]",
|
| 99 |
+
"name" : "text_embeds",
|
| 100 |
+
"type" : "MultiArray"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"hasShapeFlexibility" : "0",
|
| 104 |
+
"isOptional" : "0",
|
| 105 |
+
"dataType" : "Float32",
|
| 106 |
+
"formattedType" : "MultiArray (Float32 2 × 6)",
|
| 107 |
+
"shortDescription" : "",
|
| 108 |
+
"shape" : "[2, 6]",
|
| 109 |
+
"name" : "time_ids",
|
| 110 |
+
"type" : "MultiArray"
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"userDefinedMetadata" : {
|
| 114 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
| 115 |
+
"com.github.apple.coremltools.source" : "torch==2.1.0.dev20230718",
|
| 116 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.0.0"
|
| 117 |
+
},
|
| 118 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_0_9_unet",
|
| 119 |
+
"method" : "predict"
|
| 120 |
+
}
|
| 121 |
+
]
|
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:230a9fc8889551b0918a06b8180d853a71a3989b03fea5e2e9a4deb01c42b70b
|
| 3 |
+
size 10270025728
|
original/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb6787f60fb9b486d6446ac1f0a079338090db09327f5ac6205be584c090d6be
|
| 3 |
+
size 207
|
original/compiled/VAEDecoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da0f7a9e420bb3c984b5a0ec7ae9da197aec0173345e72cc12e99b3cb1c9f634
|
| 3 |
+
size 789
|
original/compiled/VAEDecoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)",
|
| 11 |
+
"shortDescription" : "Generated image normalized to range [-1, 1]",
|
| 12 |
+
"shape" : "[]",
|
| 13 |
+
"name" : "image",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "stabilityai\/stable-diffusion-xl-base-0.9",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-0.9",
|
| 22 |
+
"specificationVersion" : 7,
|
| 23 |
+
"storagePrecision" : "Float32",
|
| 24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
| 25 |
+
"mlProgramOperationTypeHistogram" : {
|
| 26 |
+
"Ios16.mul" : 2,
|
| 27 |
+
"Ios16.sqrt" : 30,
|
| 28 |
+
"Ios16.sub" : 30,
|
| 29 |
+
"Transpose" : 6,
|
| 30 |
+
"UpsampleNearestNeighbor" : 3,
|
| 31 |
+
"Ios16.conv" : 36,
|
| 32 |
+
"Ios16.add" : 46,
|
| 33 |
+
"Ios16.linear" : 4,
|
| 34 |
+
"Ios16.matmul" : 2,
|
| 35 |
+
"Ios16.realDiv" : 30,
|
| 36 |
+
"Ios16.reduceMean" : 60,
|
| 37 |
+
"Ios16.softmax" : 1,
|
| 38 |
+
"Ios16.batchNorm" : 29,
|
| 39 |
+
"Ios16.square" : 30,
|
| 40 |
+
"Ios16.reshape" : 65,
|
| 41 |
+
"Ios16.silu" : 29
|
| 42 |
+
},
|
| 43 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 44 |
+
"isUpdatable" : "0",
|
| 45 |
+
"availability" : {
|
| 46 |
+
"macOS" : "13.0",
|
| 47 |
+
"tvOS" : "16.0",
|
| 48 |
+
"watchOS" : "9.0",
|
| 49 |
+
"iOS" : "16.0",
|
| 50 |
+
"macCatalyst" : "16.0"
|
| 51 |
+
},
|
| 52 |
+
"modelType" : {
|
| 53 |
+
"name" : "MLModelType_mlProgram"
|
| 54 |
+
},
|
| 55 |
+
"inputSchema" : [
|
| 56 |
+
{
|
| 57 |
+
"hasShapeFlexibility" : "0",
|
| 58 |
+
"isOptional" : "0",
|
| 59 |
+
"dataType" : "Float32",
|
| 60 |
+
"formattedType" : "MultiArray (Float32 1 × 4 × 128 × 128)",
|
| 61 |
+
"shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
|
| 62 |
+
"shape" : "[1, 4, 128, 128]",
|
| 63 |
+
"name" : "z",
|
| 64 |
+
"type" : "MultiArray"
|
| 65 |
+
}
|
| 66 |
+
],
|
| 67 |
+
"userDefinedMetadata" : {
|
| 68 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
| 69 |
+
"com.github.apple.coremltools.source" : "torch==2.1.0.dev20230718"
|
| 70 |
+
},
|
| 71 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_0_9_vae_decoder",
|
| 72 |
+
"method" : "predict"
|
| 73 |
+
}
|
| 74 |
+
]
|
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:18fad6c79d09981d3a2762ad56067bffc8ce1075ff04d02c600d9f389acdc135
|
| 3 |
+
size 197977216
|
original/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4095a542239cda86e99e9bddb764910ef6849e945043d34f8f2687d0015ae403
|
| 3 |
+
size 207
|
original/compiled/VAEEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:993e26b79e7209543da327b1e379ce4bdb4589bdc047068d3782c394428d6b29
|
| 3 |
+
size 793
|
original/compiled/VAEEncoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)",
|
| 11 |
+
"shortDescription" : "The latent embeddings from the unet model from the input image.",
|
| 12 |
+
"shape" : "[]",
|
| 13 |
+
"name" : "latent",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "stabilityai\/stable-diffusion-xl-base-0.9",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-0.9",
|
| 22 |
+
"specificationVersion" : 7,
|
| 23 |
+
"storagePrecision" : "Float32",
|
| 24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
| 25 |
+
"mlProgramOperationTypeHistogram" : {
|
| 26 |
+
"Pad" : 3,
|
| 27 |
+
"Ios16.mul" : 2,
|
| 28 |
+
"Ios16.sqrt" : 22,
|
| 29 |
+
"Ios16.sub" : 22,
|
| 30 |
+
"Transpose" : 7,
|
| 31 |
+
"Ios16.conv" : 28,
|
| 32 |
+
"Ios16.add" : 34,
|
| 33 |
+
"Ios16.linear" : 4,
|
| 34 |
+
"Ios16.matmul" : 2,
|
| 35 |
+
"Ios16.realDiv" : 22,
|
| 36 |
+
"Ios16.reduceMean" : 44,
|
| 37 |
+
"Ios16.softmax" : 1,
|
| 38 |
+
"Ios16.batchNorm" : 21,
|
| 39 |
+
"Ios16.square" : 22,
|
| 40 |
+
"Ios16.reshape" : 53,
|
| 41 |
+
"Ios16.silu" : 21
|
| 42 |
+
},
|
| 43 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 44 |
+
"isUpdatable" : "0",
|
| 45 |
+
"availability" : {
|
| 46 |
+
"macOS" : "13.0",
|
| 47 |
+
"tvOS" : "16.0",
|
| 48 |
+
"watchOS" : "9.0",
|
| 49 |
+
"iOS" : "16.0",
|
| 50 |
+
"macCatalyst" : "16.0"
|
| 51 |
+
},
|
| 52 |
+
"modelType" : {
|
| 53 |
+
"name" : "MLModelType_mlProgram"
|
| 54 |
+
},
|
| 55 |
+
"inputSchema" : [
|
| 56 |
+
{
|
| 57 |
+
"hasShapeFlexibility" : "0",
|
| 58 |
+
"isOptional" : "0",
|
| 59 |
+
"dataType" : "Float32",
|
| 60 |
+
"formattedType" : "MultiArray (Float32 1 × 3 × 1024 × 1024)",
|
| 61 |
+
"shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
|
| 62 |
+
"shape" : "[1, 3, 1024, 1024]",
|
| 63 |
+
"name" : "x",
|
| 64 |
+
"type" : "MultiArray"
|
| 65 |
+
}
|
| 66 |
+
],
|
| 67 |
+
"userDefinedMetadata" : {
|
| 68 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
| 69 |
+
"com.github.apple.coremltools.source" : "torch==2.1.0.dev20230718"
|
| 70 |
+
},
|
| 71 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_stable_diffusion_xl_base_0_9_vae_encoder",
|
| 72 |
+
"method" : "predict"
|
| 73 |
+
}
|
| 74 |
+
]
|
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:d81117fbeac1fc04756a65c45ab9b19216ad90a3e1f3671422c1058ff5a33c94
|
| 3 |
+
size 136668992
|
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
|
|
|