davidw0311
commited on
Commit
•
451ea98
1
Parent(s):
15abd41
Upload 15 files
Browse files- TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- TextEncoder.mlmodelc/coremldata.bin +3 -0
- TextEncoder.mlmodelc/metadata.json +84 -0
- TextEncoder.mlmodelc/model.mil +0 -0
- TextEncoder.mlmodelc/weights/weight.bin +3 -0
- VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- VAEDecoder.mlmodelc/coremldata.bin +3 -0
- VAEDecoder.mlmodelc/metadata.json +76 -0
- VAEDecoder.mlmodelc/model.mil +0 -0
- VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- VAEEncoder.mlmodelc/coremldata.bin +3 -0
- VAEEncoder.mlmodelc/metadata.json +76 -0
- VAEEncoder.mlmodelc/model.mil +0 -0
- VAEEncoder.mlmodelc/weights/weight.bin +3 -0
TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03a26a9320590ca9179e7584c5d08274e2a849484299447b63b976499648f154
|
3 |
+
size 243
|
TextEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1ca3d0333d293ba7db322e2ec4ecb1037ee5b91d297a33b2b4207f0e39da7cb
|
3 |
+
size 814
|
TextEncoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
4 |
+
"metadataOutputVersion" : "3.0",
|
5 |
+
"outputSchema" : [
|
6 |
+
{
|
7 |
+
"hasShapeFlexibility" : "0",
|
8 |
+
"isOptional" : "0",
|
9 |
+
"dataType" : "Float32",
|
10 |
+
"formattedType" : "MultiArray (Float32 1 × 77 × 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-7",
|
28 |
+
"modelParameters" : [
|
29 |
+
|
30 |
+
],
|
31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/Lykon\/dreamshaper-7",
|
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" : 86,
|
40 |
+
"Stack" : 1,
|
41 |
+
"Transpose" : 60,
|
42 |
+
"Ios16.sigmoid" : 12,
|
43 |
+
"Ios16.linear" : 72,
|
44 |
+
"Ios16.add" : 37,
|
45 |
+
"Ios16.matmul" : 24,
|
46 |
+
"Ios16.softmax" : 12,
|
47 |
+
"Ios16.gatherNd" : 1,
|
48 |
+
"Ios16.gather" : 1,
|
49 |
+
"Ios16.reshape" : 120,
|
50 |
+
"Ios16.reduceArgmax" : 1
|
51 |
+
},
|
52 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
53 |
+
"isUpdatable" : "0",
|
54 |
+
"availability" : {
|
55 |
+
"macOS" : "13.0",
|
56 |
+
"tvOS" : "16.0",
|
57 |
+
"visionOS" : "1.0",
|
58 |
+
"watchOS" : "9.0",
|
59 |
+
"iOS" : "16.0",
|
60 |
+
"macCatalyst" : "16.0"
|
61 |
+
},
|
62 |
+
"modelType" : {
|
63 |
+
"name" : "MLModelType_mlProgram"
|
64 |
+
},
|
65 |
+
"inputSchema" : [
|
66 |
+
{
|
67 |
+
"hasShapeFlexibility" : "0",
|
68 |
+
"isOptional" : "0",
|
69 |
+
"dataType" : "Float32",
|
70 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
71 |
+
"shortDescription" : "The token ids that represent the input text",
|
72 |
+
"shape" : "[1, 77]",
|
73 |
+
"name" : "input_ids",
|
74 |
+
"type" : "MultiArray"
|
75 |
+
}
|
76 |
+
],
|
77 |
+
"userDefinedMetadata" : {
|
78 |
+
"com.github.apple.coremltools.version" : "7.0b2",
|
79 |
+
"com.github.apple.coremltools.source" : "torch==2.0.0"
|
80 |
+
},
|
81 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_7_text_encoder",
|
82 |
+
"method" : "predict"
|
83 |
+
}
|
84 |
+
]
|
TextEncoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
TextEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7ae05db73664a76af1d74802066d562c1ff99dd6447d7a740a12a09f844c020
|
3 |
+
size 139866304
|
VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95f4521690bbcbcdddabd4dcb44894af6e2030424db484d881be908fc45d88ba
|
3 |
+
size 243
|
VAEDecoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4dcada106ec5d58ab76ee5cb4915c319e0f3b92ae63a73e39859d32cb2d4a130
|
3 |
+
size 749
|
VAEDecoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.sqrt" : 30,
|
29 |
+
"Ios16.sub" : 30,
|
30 |
+
"Transpose" : 6,
|
31 |
+
"UpsampleNearestNeighbor" : 3,
|
32 |
+
"Ios16.conv" : 36,
|
33 |
+
"Ios16.add" : 46,
|
34 |
+
"Ios16.linear" : 4,
|
35 |
+
"Ios16.matmul" : 2,
|
36 |
+
"Ios16.realDiv" : 30,
|
37 |
+
"Ios16.reduceMean" : 60,
|
38 |
+
"Ios16.softmax" : 1,
|
39 |
+
"Ios16.batchNorm" : 29,
|
40 |
+
"Ios16.square" : 30,
|
41 |
+
"Ios16.reshape" : 65,
|
42 |
+
"Ios16.silu" : 29
|
43 |
+
},
|
44 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
45 |
+
"isUpdatable" : "0",
|
46 |
+
"availability" : {
|
47 |
+
"macOS" : "13.0",
|
48 |
+
"tvOS" : "16.0",
|
49 |
+
"visionOS" : "1.0",
|
50 |
+
"watchOS" : "9.0",
|
51 |
+
"iOS" : "16.0",
|
52 |
+
"macCatalyst" : "16.0"
|
53 |
+
},
|
54 |
+
"modelType" : {
|
55 |
+
"name" : "MLModelType_mlProgram"
|
56 |
+
},
|
57 |
+
"inputSchema" : [
|
58 |
+
{
|
59 |
+
"hasShapeFlexibility" : "0",
|
60 |
+
"isOptional" : "0",
|
61 |
+
"dataType" : "Float16",
|
62 |
+
"formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
|
63 |
+
"shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
|
64 |
+
"shape" : "[1, 4, 64, 64]",
|
65 |
+
"name" : "z",
|
66 |
+
"type" : "MultiArray"
|
67 |
+
}
|
68 |
+
],
|
69 |
+
"userDefinedMetadata" : {
|
70 |
+
"com.github.apple.coremltools.version" : "7.0b2",
|
71 |
+
"com.github.apple.coremltools.source" : "torch==2.0.0"
|
72 |
+
},
|
73 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_8_lcm_vae_decoder",
|
74 |
+
"method" : "predict"
|
75 |
+
}
|
76 |
+
]
|
VAEDecoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
VAEDecoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4396371e2ab4eca02c723c7221e517072f010fff4a599874985b87ef256a8b8
|
3 |
+
size 98993280
|
VAEEncoder.mlmodelc/analytics/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1407e52c6530a632ff5cfcf1c9bf6eef8d9e9073d8d56132591389a54ad4d626
|
3 |
+
size 243
|
VAEEncoder.mlmodelc/coremldata.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1515dbf81f1ff92fc6c654e9e880438dad2b2d9418a43b32b650da2da83feb16
|
3 |
+
size 753
|
VAEEncoder.mlmodelc/metadata.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.sqrt" : 22,
|
30 |
+
"Ios16.sub" : 22,
|
31 |
+
"Transpose" : 6,
|
32 |
+
"Ios16.conv" : 28,
|
33 |
+
"Ios16.add" : 34,
|
34 |
+
"Ios16.linear" : 4,
|
35 |
+
"Ios16.matmul" : 2,
|
36 |
+
"Ios16.realDiv" : 22,
|
37 |
+
"Ios16.reduceMean" : 44,
|
38 |
+
"Ios16.softmax" : 1,
|
39 |
+
"Ios16.batchNorm" : 21,
|
40 |
+
"Ios16.square" : 22,
|
41 |
+
"Ios16.reshape" : 49,
|
42 |
+
"Ios16.silu" : 21
|
43 |
+
},
|
44 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
45 |
+
"isUpdatable" : "0",
|
46 |
+
"availability" : {
|
47 |
+
"macOS" : "13.0",
|
48 |
+
"tvOS" : "16.0",
|
49 |
+
"visionOS" : "1.0",
|
50 |
+
"watchOS" : "9.0",
|
51 |
+
"iOS" : "16.0",
|
52 |
+
"macCatalyst" : "16.0"
|
53 |
+
},
|
54 |
+
"modelType" : {
|
55 |
+
"name" : "MLModelType_mlProgram"
|
56 |
+
},
|
57 |
+
"inputSchema" : [
|
58 |
+
{
|
59 |
+
"hasShapeFlexibility" : "0",
|
60 |
+
"isOptional" : "0",
|
61 |
+
"dataType" : "Float16",
|
62 |
+
"formattedType" : "MultiArray (Float16 1 × 3 × 512 × 512)",
|
63 |
+
"shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
|
64 |
+
"shape" : "[1, 3, 512, 512]",
|
65 |
+
"name" : "x",
|
66 |
+
"type" : "MultiArray"
|
67 |
+
}
|
68 |
+
],
|
69 |
+
"userDefinedMetadata" : {
|
70 |
+
"com.github.apple.coremltools.version" : "7.0b2",
|
71 |
+
"com.github.apple.coremltools.source" : "torch==2.0.0"
|
72 |
+
},
|
73 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_8_lcm_vae_encoder",
|
74 |
+
"method" : "predict"
|
75 |
+
}
|
76 |
+
]
|
VAEEncoder.mlmodelc/model.mil
ADDED
The diff for this file is too large to render.
See raw diff
|
|
VAEEncoder.mlmodelc/weights/weight.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c74c25b3a42b100f99f576183dddc35fe17d820e6fc120324e5546ae496b1035
|
3 |
+
size 68338112
|