Upload folder using huggingface_hub (#1)
Browse files- Upload folder using huggingface_hub (0dd16a7eae5ad0a1096c4ae964b38588ddf76421)
This view is limited to 50 files because it contains too many changes.
See raw diff
- compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
- compiled/TextEncoder.mlmodelc/metadata.json +82 -0
- compiled/TextEncoder.mlmodelc/model.mil +0 -0
- compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
- compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/TextEncoder2.mlmodelc/coremldata.bin +3 -0
- compiled/TextEncoder2.mlmodelc/metadata.json +82 -0
- compiled/TextEncoder2.mlmodelc/model.mil +0 -0
- compiled/TextEncoder2.mlmodelc/weights/weight.bin +3 -0
- compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/Unet.mlmodelc/coremldata.bin +3 -0
- compiled/Unet.mlmodelc/metadata.json +122 -0
- compiled/Unet.mlmodelc/model.mil +0 -0
- compiled/Unet.mlmodelc/weights/weight.bin +3 -0
- compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
- compiled/VAEDecoder.mlmodelc/metadata.json +74 -0
- compiled/VAEDecoder.mlmodelc/model.mil +0 -0
- compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
- compiled/VAEEncoder.mlmodelc/metadata.json +75 -0
- compiled/VAEEncoder.mlmodelc/model.mil +0 -0
- compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
- compiled/merges.txt +0 -0
- compiled/vocab.json +0 -0
- coreml-stable-diffusion-xl-base_original_compiled.zip +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +18 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Manifest.json +30 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +18 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Manifest.json +30 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +27 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/Metadata.json +11 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Manifest.json +30 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +15 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Manifest.json +30 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +15 -0
- packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -0
compiled/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f732919fa370a1b7b09ec2b227539269b6543149a2b0dbae95cc4cf350e4b697
|
3 |
+
size 207
|
compiled/TextEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ff26866d8d8fbb4e53a0628f8aab5f7edf1b3ec763a96e6812c8f7fbf4c9827
|
3 |
+
size 825
|
compiled/TextEncoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" : "Hidden states after the encoder layers",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "hidden_embeds",
|
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" : "diffusers\/stable-diffusion-xl-base-1.0",
|
28 |
+
"modelParameters" : [
|
29 |
+
|
30 |
+
],
|
31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
|
32 |
+
"specificationVersion" : 7,
|
33 |
+
"storagePrecision" : "Float16",
|
34 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
35 |
+
"mlProgramOperationTypeHistogram" : {
|
36 |
+
"Ios16.cast" : 3,
|
37 |
+
"Ios16.mul" : 36,
|
38 |
+
"Ios16.layerNorm" : 25,
|
39 |
+
"Stack" : 1,
|
40 |
+
"Transpose" : 60,
|
41 |
+
"Ios16.sigmoid" : 12,
|
42 |
+
"Ios16.linear" : 72,
|
43 |
+
"Ios16.add" : 37,
|
44 |
+
"Ios16.matmul" : 24,
|
45 |
+
"Ios16.softmax" : 12,
|
46 |
+
"Ios16.gatherNd" : 1,
|
47 |
+
"Ios16.gather" : 1,
|
48 |
+
"Ios16.reshape" : 120,
|
49 |
+
"Ios16.reduceArgmax" : 1
|
50 |
+
},
|
51 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
52 |
+
"isUpdatable" : "0",
|
53 |
+
"availability" : {
|
54 |
+
"macOS" : "13.0",
|
55 |
+
"tvOS" : "16.0",
|
56 |
+
"watchOS" : "9.0",
|
57 |
+
"iOS" : "16.0",
|
58 |
+
"macCatalyst" : "16.0"
|
59 |
+
},
|
60 |
+
"modelType" : {
|
61 |
+
"name" : "MLModelType_mlProgram"
|
62 |
+
},
|
63 |
+
"inputSchema" : [
|
64 |
+
{
|
65 |
+
"hasShapeFlexibility" : "0",
|
66 |
+
"isOptional" : "0",
|
67 |
+
"dataType" : "Float32",
|
68 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
69 |
+
"shortDescription" : "The token ids that represent the input text",
|
70 |
+
"shape" : "[1, 77]",
|
71 |
+
"name" : "input_ids",
|
72 |
+
"type" : "MultiArray"
|
73 |
+
}
|
74 |
+
],
|
75 |
+
"userDefinedMetadata" : {
|
76 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
77 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
|
78 |
+
},
|
79 |
+
"generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_text_encoder",
|
80 |
+
"method" : "predict"
|
81 |
+
}
|
82 |
+
]
|
compiled/TextEncoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/TextEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a86533724aadf50c8f5539592d440887a484f60002d7967505c69c7faf4d7797
|
3 |
+
size 246145536
|
compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eef66b480388714bb62f2f0f2f97a8953e44acbb00b25f9a9fd63c759f4f0e83
|
3 |
+
size 207
|
compiled/TextEncoder2.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ff26866d8d8fbb4e53a0628f8aab5f7edf1b3ec763a96e6812c8f7fbf4c9827
|
3 |
+
size 825
|
compiled/TextEncoder2.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" : "Hidden states after the encoder layers",
|
12 |
+
"shape" : "[]",
|
13 |
+
"name" : "hidden_embeds",
|
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" : "diffusers\/stable-diffusion-xl-base-1.0",
|
28 |
+
"modelParameters" : [
|
29 |
+
|
30 |
+
],
|
31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
|
32 |
+
"specificationVersion" : 7,
|
33 |
+
"storagePrecision" : "Float16",
|
34 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
35 |
+
"mlProgramOperationTypeHistogram" : {
|
36 |
+
"Ios16.cast" : 3,
|
37 |
+
"Ios16.mul" : 32,
|
38 |
+
"Ios16.layerNorm" : 65,
|
39 |
+
"Stack" : 1,
|
40 |
+
"Transpose" : 160,
|
41 |
+
"Ios16.linear" : 193,
|
42 |
+
"Ios16.add" : 97,
|
43 |
+
"Ios16.matmul" : 64,
|
44 |
+
"Ios16.gelu" : 32,
|
45 |
+
"Ios16.softmax" : 32,
|
46 |
+
"Ios16.gatherNd" : 1,
|
47 |
+
"Ios16.gather" : 1,
|
48 |
+
"Ios16.reshape" : 320,
|
49 |
+
"Ios16.reduceArgmax" : 1
|
50 |
+
},
|
51 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
52 |
+
"isUpdatable" : "0",
|
53 |
+
"availability" : {
|
54 |
+
"macOS" : "13.0",
|
55 |
+
"tvOS" : "16.0",
|
56 |
+
"watchOS" : "9.0",
|
57 |
+
"iOS" : "16.0",
|
58 |
+
"macCatalyst" : "16.0"
|
59 |
+
},
|
60 |
+
"modelType" : {
|
61 |
+
"name" : "MLModelType_mlProgram"
|
62 |
+
},
|
63 |
+
"inputSchema" : [
|
64 |
+
{
|
65 |
+
"hasShapeFlexibility" : "0",
|
66 |
+
"isOptional" : "0",
|
67 |
+
"dataType" : "Float32",
|
68 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
69 |
+
"shortDescription" : "The token ids that represent the input text",
|
70 |
+
"shape" : "[1, 77]",
|
71 |
+
"name" : "input_ids",
|
72 |
+
"type" : "MultiArray"
|
73 |
+
}
|
74 |
+
],
|
75 |
+
"userDefinedMetadata" : {
|
76 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
77 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
|
78 |
+
},
|
79 |
+
"generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_text_encoder_2",
|
80 |
+
"method" : "predict"
|
81 |
+
}
|
82 |
+
]
|
compiled/TextEncoder2.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/TextEncoder2.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bd1fc0bcce11cff685648387b0060e0b6ecfce6c34e580e1ae904cae5903363
|
3 |
+
size 1389367424
|
compiled/Unet.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df3831a13c76df3097f4ae659ef46a7f6604f93b45c1a5f8d14e362424d15e1f
|
3 |
+
size 207
|
compiled/Unet.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8aea3887ffdc8e059925f3981259e1cd3227b827e5f91edff613c73ac0ea16f6
|
3 |
+
size 1338
|
compiled/Unet.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" : "diffusers\/stable-diffusion-xl-base-1.0",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
|
22 |
+
"specificationVersion" : 7,
|
23 |
+
"storagePrecision" : "Float16",
|
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.cast" : 1,
|
38 |
+
"Ios16.conv" : 794,
|
39 |
+
"Ios16.gelu" : 70,
|
40 |
+
"Ios16.matmul" : 280,
|
41 |
+
"Ios16.reshape" : 675,
|
42 |
+
"Ios16.batchNorm" : 46,
|
43 |
+
"Ios16.rsqrt" : 210,
|
44 |
+
"Ios16.silu" : 38,
|
45 |
+
"Ios16.sqrt" : 46,
|
46 |
+
"SliceByIndex" : 4,
|
47 |
+
"Ios16.mul" : 842,
|
48 |
+
"Ios16.cos" : 2
|
49 |
+
},
|
50 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
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" : "Float16",
|
67 |
+
"formattedType" : "MultiArray (Float16 2 × 4 × 128 × 128)",
|
68 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
69 |
+
"shape" : "[2, 4, 128, 128]",
|
70 |
+
"name" : "sample",
|
71 |
+
"type" : "MultiArray"
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"hasShapeFlexibility" : "0",
|
75 |
+
"isOptional" : "0",
|
76 |
+
"dataType" : "Float16",
|
77 |
+
"formattedType" : "MultiArray (Float16 2)",
|
78 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
79 |
+
"shape" : "[2]",
|
80 |
+
"name" : "timestep",
|
81 |
+
"type" : "MultiArray"
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"hasShapeFlexibility" : "0",
|
85 |
+
"isOptional" : "0",
|
86 |
+
"dataType" : "Float16",
|
87 |
+
"formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
|
88 |
+
"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.",
|
89 |
+
"shape" : "[2, 2048, 1, 77]",
|
90 |
+
"name" : "encoder_hidden_states",
|
91 |
+
"type" : "MultiArray"
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"hasShapeFlexibility" : "0",
|
95 |
+
"isOptional" : "0",
|
96 |
+
"dataType" : "Float16",
|
97 |
+
"formattedType" : "MultiArray (Float16 12)",
|
98 |
+
"shortDescription" : "",
|
99 |
+
"shape" : "[12]",
|
100 |
+
"name" : "time_ids",
|
101 |
+
"type" : "MultiArray"
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"hasShapeFlexibility" : "0",
|
105 |
+
"isOptional" : "0",
|
106 |
+
"dataType" : "Float16",
|
107 |
+
"formattedType" : "MultiArray (Float16 2 × 1280)",
|
108 |
+
"shortDescription" : "",
|
109 |
+
"shape" : "[2, 1280]",
|
110 |
+
"name" : "text_embeds",
|
111 |
+
"type" : "MultiArray"
|
112 |
+
}
|
113 |
+
],
|
114 |
+
"userDefinedMetadata" : {
|
115 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
116 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1+cu117",
|
117 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.0.0"
|
118 |
+
},
|
119 |
+
"generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_unet",
|
120 |
+
"method" : "predict"
|
121 |
+
}
|
122 |
+
]
|
compiled/Unet.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/Unet.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d34f8b7b5b0b62880733514f5fc39cb79f243a3a4bdb13eff5f8855cf2c82854
|
3 |
+
size 5135067072
|
compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bac2854504d7f6bfdc5645982dd965cca9cc8c12b9fdd2493cf50cd583684cc2
|
3 |
+
size 207
|
compiled/VAEDecoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:766fce2585587fe93a1d32e09bc4d63ad45335ea62239f11b193e481b5888258
|
3 |
+
size 773
|
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" : "diffusers\/stable-diffusion-xl-base-1.0",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
|
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.0.1"
|
70 |
+
},
|
71 |
+
"generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_vae_decoder",
|
72 |
+
"method" : "predict"
|
73 |
+
}
|
74 |
+
]
|
compiled/VAEDecoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/VAEDecoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ade814d6037fb5ba892963be1596c8e37852f96c399101401831f8c07e64bd2
|
3 |
+
size 197977216
|
compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e44297c358d64101602d9abfe4d6c9fb96ddb3b120f84fbb74001aa4312cf93
|
3 |
+
size 207
|
compiled/VAEEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7269e365034d061c3ad035d9a5b7c38864d7db71bee6fb7545c97a4942a865f1
|
3 |
+
size 783
|
compiled/VAEEncoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" : "diffusers\/stable-diffusion-xl-base-1.0",
|
18 |
+
"modelParameters" : [
|
19 |
+
|
20 |
+
],
|
21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
|
22 |
+
"specificationVersion" : 7,
|
23 |
+
"storagePrecision" : "Float16",
|
24 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
25 |
+
"mlProgramOperationTypeHistogram" : {
|
26 |
+
"Pad" : 3,
|
27 |
+
"Ios16.cast" : 1,
|
28 |
+
"Ios16.mul" : 2,
|
29 |
+
"Ios16.sqrt" : 22,
|
30 |
+
"Ios16.sub" : 22,
|
31 |
+
"Transpose" : 6,
|
32 |
+
"Ios16.conv" : 28,
|
33 |
+
"Ios16.add" : 34,
|
34 |
+
"Ios16.linear" : 4,
|
35 |
+
"Ios16.matmul" : 2,
|
36 |
+
"Ios16.realDiv" : 22,
|
37 |
+
"Ios16.reduceMean" : 44,
|
38 |
+
"Ios16.softmax" : 1,
|
39 |
+
"Ios16.batchNorm" : 21,
|
40 |
+
"Ios16.square" : 22,
|
41 |
+
"Ios16.reshape" : 49,
|
42 |
+
"Ios16.silu" : 21
|
43 |
+
},
|
44 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
45 |
+
"isUpdatable" : "0",
|
46 |
+
"availability" : {
|
47 |
+
"macOS" : "13.0",
|
48 |
+
"tvOS" : "16.0",
|
49 |
+
"watchOS" : "9.0",
|
50 |
+
"iOS" : "16.0",
|
51 |
+
"macCatalyst" : "16.0"
|
52 |
+
},
|
53 |
+
"modelType" : {
|
54 |
+
"name" : "MLModelType_mlProgram"
|
55 |
+
},
|
56 |
+
"inputSchema" : [
|
57 |
+
{
|
58 |
+
"hasShapeFlexibility" : "0",
|
59 |
+
"isOptional" : "0",
|
60 |
+
"dataType" : "Float16",
|
61 |
+
"formattedType" : "MultiArray (Float16 1 × 3 × 1024 × 1024)",
|
62 |
+
"shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
|
63 |
+
"shape" : "[1, 3, 1024, 1024]",
|
64 |
+
"name" : "z",
|
65 |
+
"type" : "MultiArray"
|
66 |
+
}
|
67 |
+
],
|
68 |
+
"userDefinedMetadata" : {
|
69 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
70 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
|
71 |
+
},
|
72 |
+
"generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_vae_encoder",
|
73 |
+
"method" : "predict"
|
74 |
+
}
|
75 |
+
]
|
compiled/VAEEncoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/VAEEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:329f708df0bae1990a1886007b5ae56cfd9a44e7091e8f822db907a9fc411858
|
3 |
+
size 68338112
|
compiled/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
compiled/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
coreml-stable-diffusion-xl-base_original_compiled.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75f62b36ae6df3cd9ddf433be84469885761080b14ce1fcc3427be9272356b29
|
3 |
+
size 7041634246
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Outputs" : {
|
3 |
+
"pooled_outputs" : {
|
4 |
+
"MLFeatureShortDescription" : "The version of the `last_hidden_state` output after pooling"
|
5 |
+
},
|
6 |
+
"hidden_embeds" : {
|
7 |
+
"MLFeatureShortDescription" : "Hidden states after the encoder layers"
|
8 |
+
}
|
9 |
+
},
|
10 |
+
"Inputs" : {
|
11 |
+
"input_ids" : {
|
12 |
+
"MLFeatureShortDescription" : "The token ids that represent the input text"
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"TrainingInputs" : {
|
16 |
+
|
17 |
+
}
|
18 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
|
3 |
+
"MLModelDescriptionKey" : "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 |
+
"MLModelCreatorDefinedKey" : {
|
5 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
6 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
|
7 |
+
},
|
8 |
+
"MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
|
9 |
+
"MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
|
10 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7fc64f553e0f6be677899106f40ed3bf85eceb3d0b55f90022252cb8dff1d4a
|
3 |
+
size 161160
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a86533724aadf50c8f5539592d440887a484f60002d7967505c69c7faf4d7797
|
3 |
+
size 246145536
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"2E437C75-2D29-4906-9BBF-06B4F60AF608": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "External Metadata Overlay",
|
7 |
+
"name": "Metadata.json",
|
8 |
+
"path": "com.apple.CoreML/Metadata.json"
|
9 |
+
},
|
10 |
+
"3d765fc2-d834-4477-9cf7-818901242816": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Weights",
|
13 |
+
"name": "weights",
|
14 |
+
"path": "com.apple.CoreML/weights"
|
15 |
+
},
|
16 |
+
"58CF0F86-0A4C-4478-B878-FB21979F2094": {
|
17 |
+
"author": "com.apple.CoreML",
|
18 |
+
"description": "External FeatureDescription Overlay",
|
19 |
+
"name": "FeatureDescriptions.json",
|
20 |
+
"path": "com.apple.CoreML/FeatureDescriptions.json"
|
21 |
+
},
|
22 |
+
"5fc727d7-449d-4885-8c48-b3b711dfed7b": {
|
23 |
+
"author": "com.apple.CoreML",
|
24 |
+
"description": "CoreML Model Specification",
|
25 |
+
"name": "model.mlmodel",
|
26 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"rootModelIdentifier": "5fc727d7-449d-4885-8c48-b3b711dfed7b"
|
30 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Outputs" : {
|
3 |
+
"pooled_outputs" : {
|
4 |
+
"MLFeatureShortDescription" : "The version of the `last_hidden_state` output after pooling"
|
5 |
+
},
|
6 |
+
"hidden_embeds" : {
|
7 |
+
"MLFeatureShortDescription" : "Hidden states after the encoder layers"
|
8 |
+
}
|
9 |
+
},
|
10 |
+
"Inputs" : {
|
11 |
+
"input_ids" : {
|
12 |
+
"MLFeatureShortDescription" : "The token ids that represent the input text"
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"TrainingInputs" : {
|
16 |
+
|
17 |
+
}
|
18 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/Metadata.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
|
3 |
+
"MLModelDescriptionKey" : "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 |
+
"MLModelCreatorDefinedKey" : {
|
5 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
6 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
|
7 |
+
},
|
8 |
+
"MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
|
9 |
+
"MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
|
10 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1cb832076a7e67ff890e274281c5bf83c3be6743b8214d0c6df95b88fce6711f
|
3 |
+
size 418221
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bd1fc0bcce11cff685648387b0060e0b6ecfce6c34e580e1ae904cae5903363
|
3 |
+
size 1389367424
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"1003fcc7-51c2-44b1-bfd2-71eaffb11598": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Weights",
|
7 |
+
"name": "weights",
|
8 |
+
"path": "com.apple.CoreML/weights"
|
9 |
+
},
|
10 |
+
"5bff403e-2a80-4472-b7fe-4c3438e76e85": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Specification",
|
13 |
+
"name": "model.mlmodel",
|
14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
15 |
+
},
|
16 |
+
"66E76242-93D0-4D4D-8D64-697552EC6C38": {
|
17 |
+
"author": "com.apple.CoreML",
|
18 |
+
"description": "External FeatureDescription Overlay",
|
19 |
+
"name": "FeatureDescriptions.json",
|
20 |
+
"path": "com.apple.CoreML/FeatureDescriptions.json"
|
21 |
+
},
|
22 |
+
"8DF8F909-251F-4BFD-BFA3-F72860B2F27D": {
|
23 |
+
"author": "com.apple.CoreML",
|
24 |
+
"description": "External Metadata Overlay",
|
25 |
+
"name": "Metadata.json",
|
26 |
+
"path": "com.apple.CoreML/Metadata.json"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"rootModelIdentifier": "5bff403e-2a80-4472-b7fe-4c3438e76e85"
|
30 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Outputs" : {
|
3 |
+
"noise_pred" : {
|
4 |
+
"MLFeatureShortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process"
|
5 |
+
}
|
6 |
+
},
|
7 |
+
"Inputs" : {
|
8 |
+
"encoder_hidden_states" : {
|
9 |
+
"MLFeatureShortDescription" : "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."
|
10 |
+
},
|
11 |
+
"sample" : {
|
12 |
+
"MLFeatureShortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion"
|
13 |
+
},
|
14 |
+
"timestep" : {
|
15 |
+
"MLFeatureShortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule"
|
16 |
+
},
|
17 |
+
"time_ids" : {
|
18 |
+
"MLFeatureShortDescription" : ""
|
19 |
+
},
|
20 |
+
"text_embeds" : {
|
21 |
+
"MLFeatureShortDescription" : ""
|
22 |
+
}
|
23 |
+
},
|
24 |
+
"TrainingInputs" : {
|
25 |
+
|
26 |
+
}
|
27 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/Metadata.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
|
3 |
+
"MLModelDescriptionKey" : "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 |
+
"MLModelCreatorDefinedKey" : {
|
5 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
6 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1+cu117",
|
7 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.0.0"
|
8 |
+
},
|
9 |
+
"MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
|
10 |
+
"MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
|
11 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d76b3e630fc6936ba2b10f20364290b702e2a1a4d44b2d147133a52dd86bbe5a
|
3 |
+
size 2028342
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d34f8b7b5b0b62880733514f5fc39cb79f243a3a4bdb13eff5f8855cf2c82854
|
3 |
+
size 5135067072
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"018FAE61-4A61-4AC6-A136-4E007EDFC6B2": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "External Metadata Overlay",
|
7 |
+
"name": "Metadata.json",
|
8 |
+
"path": "com.apple.CoreML/Metadata.json"
|
9 |
+
},
|
10 |
+
"55cd366d-d242-44ae-ac6b-0316d8671233": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "CoreML Model Weights",
|
13 |
+
"name": "weights",
|
14 |
+
"path": "com.apple.CoreML/weights"
|
15 |
+
},
|
16 |
+
"7F4E1119-020E-4F7A-BC28-AB8F3F0119EE": {
|
17 |
+
"author": "com.apple.CoreML",
|
18 |
+
"description": "External FeatureDescription Overlay",
|
19 |
+
"name": "FeatureDescriptions.json",
|
20 |
+
"path": "com.apple.CoreML/FeatureDescriptions.json"
|
21 |
+
},
|
22 |
+
"c34397a4-1dac-4188-a5c0-ea4e42c7e4e9": {
|
23 |
+
"author": "com.apple.CoreML",
|
24 |
+
"description": "CoreML Model Specification",
|
25 |
+
"name": "model.mlmodel",
|
26 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"rootModelIdentifier": "c34397a4-1dac-4188-a5c0-ea4e42c7e4e9"
|
30 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Outputs" : {
|
3 |
+
"image" : {
|
4 |
+
"MLFeatureShortDescription" : "Generated image normalized to range [-1, 1]"
|
5 |
+
}
|
6 |
+
},
|
7 |
+
"Inputs" : {
|
8 |
+
"z" : {
|
9 |
+
"MLFeatureShortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
"TrainingInputs" : {
|
13 |
+
|
14 |
+
}
|
15 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/Metadata.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
|
3 |
+
"MLModelDescriptionKey" : "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 |
+
"MLModelCreatorDefinedKey" : {
|
5 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
6 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1"
|
7 |
+
},
|
8 |
+
"MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
|
9 |
+
"MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
|
10 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb66e41edf6678acc5df408ffb294157df24996f810f649d953d2997df2f40cc
|
3 |
+
size 143700
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ade814d6037fb5ba892963be1596c8e37852f96c399101401831f8c07e64bd2
|
3 |
+
size 197977216
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Manifest.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fileFormatVersion": "1.0.0",
|
3 |
+
"itemInfoEntries": {
|
4 |
+
"0C4B4A84-E58C-4B55-9232-7AD156C36DF1": {
|
5 |
+
"author": "com.apple.CoreML",
|
6 |
+
"description": "CoreML Model Specification",
|
7 |
+
"name": "model.mlmodel",
|
8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
9 |
+
},
|
10 |
+
"63939630-D849-41F2-B7BB-9439F4215E25": {
|
11 |
+
"author": "com.apple.CoreML",
|
12 |
+
"description": "External FeatureDescription Overlay",
|
13 |
+
"name": "FeatureDescriptions.json",
|
14 |
+
"path": "com.apple.CoreML/FeatureDescriptions.json"
|
15 |
+
},
|
16 |
+
"920AF9A5-7F1B-4655-9367-780D11D0CACC": {
|
17 |
+
"author": "com.apple.CoreML",
|
18 |
+
"description": "External Metadata Overlay",
|
19 |
+
"name": "Metadata.json",
|
20 |
+
"path": "com.apple.CoreML/Metadata.json"
|
21 |
+
},
|
22 |
+
"FF129861-DA4E-4A61-A51B-4E991CC3DAEA": {
|
23 |
+
"author": "com.apple.CoreML",
|
24 |
+
"description": "CoreML Model Weights",
|
25 |
+
"name": "weights",
|
26 |
+
"path": "com.apple.CoreML/weights"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"rootModelIdentifier": "0C4B4A84-E58C-4B55-9232-7AD156C36DF1"
|
30 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Outputs" : {
|
3 |
+
"latent" : {
|
4 |
+
"MLFeatureShortDescription" : "The latent embeddings from the unet model from the input image."
|
5 |
+
}
|
6 |
+
},
|
7 |
+
"Inputs" : {
|
8 |
+
"z" : {
|
9 |
+
"MLFeatureShortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
"TrainingInputs" : {
|
13 |
+
|
14 |
+
}
|
15 |
+
}
|
packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
|
3 |
+
"MLModelDescriptionKey" : "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 |
+
"MLModelCreatorDefinedKey" : {
|
5 |
+
"com.github.apple.coremltools.version" : "7.0b1",
|
6 |
+
"com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
|
7 |
+
},
|
8 |
+
"MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
|
9 |
+
"MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
|
10 |
+
}
|