uploads mlmodelc's
Browse files- DreamShaperResources/SafetyChecker.mlmodelc/analytics/coremldata.bin +3 -0
- DreamShaperResources/SafetyChecker.mlmodelc/coremldata.bin +3 -0
- DreamShaperResources/SafetyChecker.mlmodelc/metadata.json +124 -0
- DreamShaperResources/SafetyChecker.mlmodelc/model.mil +0 -0
- DreamShaperResources/SafetyChecker.mlmodelc/weights/weight.bin +3 -0
- DreamShaperResources/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- DreamShaperResources/TextEncoder.mlmodelc/coremldata.bin +3 -0
- DreamShaperResources/TextEncoder.mlmodelc/metadata.json +84 -0
- DreamShaperResources/TextEncoder.mlmodelc/model.mil +0 -0
- DreamShaperResources/TextEncoder.mlmodelc/weights/weight.bin +3 -0
- DreamShaperResources/Unet.mlmodelc/analytics/coremldata.bin +3 -0
- DreamShaperResources/Unet.mlmodelc/coremldata.bin +3 -0
- DreamShaperResources/Unet.mlmodelc/metadata.json +105 -0
- DreamShaperResources/Unet.mlmodelc/model.mil +0 -0
- DreamShaperResources/Unet.mlmodelc/weights/weight.bin +3 -0
- DreamShaperResources/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- DreamShaperResources/VAEDecoder.mlmodelc/coremldata.bin +3 -0
- DreamShaperResources/VAEDecoder.mlmodelc/metadata.json +77 -0
- DreamShaperResources/VAEDecoder.mlmodelc/model.mil +0 -0
- DreamShaperResources/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- DreamShaperResources/merges.txt +0 -0
- DreamShaperResources/vocab.json +0 -0
DreamShaperResources/SafetyChecker.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc7ab46e1b2364910632f189f9d3f6100c5e7f6e258e275970929a8d3a23620d
|
| 3 |
+
size 243
|
DreamShaperResources/SafetyChecker.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:254b035d06992736e924b01ec7f1ec2b81f433e8462ea5e60c600d30ed2838ee
|
| 3 |
+
size 1470
|
DreamShaperResources/SafetyChecker.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 × 512 × 512 × 3)",
|
| 11 |
+
"shortDescription" : "Identical to the input `images`. If safety checker detected any sensitive content, the corresponding image is replaced with a blank image (zeros)",
|
| 12 |
+
"shape" : "[1, 512, 512, 3]",
|
| 13 |
+
"name" : "filtered_images",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float32",
|
| 20 |
+
"formattedType" : "MultiArray (Float32 1 × 1 × 1 × 1)",
|
| 21 |
+
"shortDescription" : "Indicates whether the safety checker model found any sensitive content in the given image",
|
| 22 |
+
"shape" : "[1, 1, 1, 1]",
|
| 23 |
+
"name" : "has_nsfw_concepts",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"hasShapeFlexibility" : "0",
|
| 28 |
+
"isOptional" : "0",
|
| 29 |
+
"dataType" : "Float32",
|
| 30 |
+
"formattedType" : "MultiArray (Float32 1 × 17)",
|
| 31 |
+
"shortDescription" : "Concept scores are the scores before thresholding at zero yields the `has_nsfw_concepts` output. These scores can be used to tune the `adjustment` input",
|
| 32 |
+
"shape" : "[1, 17]",
|
| 33 |
+
"name" : "concept_scores",
|
| 34 |
+
"type" : "MultiArray"
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"version" : "Lykon\/dreamshaper-7",
|
| 38 |
+
"modelParameters" : [
|
| 39 |
+
|
| 40 |
+
],
|
| 41 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/Lykon\/dreamshaper-7",
|
| 42 |
+
"specificationVersion" : 7,
|
| 43 |
+
"storagePrecision" : "Float16",
|
| 44 |
+
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
|
| 45 |
+
"mlProgramOperationTypeHistogram" : {
|
| 46 |
+
"Transpose" : 97,
|
| 47 |
+
"Ios16.scatterNd" : 1,
|
| 48 |
+
"Ios16.softmax" : 24,
|
| 49 |
+
"Ios16.linear" : 147,
|
| 50 |
+
"Ios16.add" : 51,
|
| 51 |
+
"Concat" : 1,
|
| 52 |
+
"Ios16.realDiv" : 1,
|
| 53 |
+
"Ios16.sigmoid" : 24,
|
| 54 |
+
"Ios16.reduceSum" : 3,
|
| 55 |
+
"Tile" : 4,
|
| 56 |
+
"Ios16.greater" : 4,
|
| 57 |
+
"Shape" : 1,
|
| 58 |
+
"ExpandDims" : 5,
|
| 59 |
+
"Ios16.cast" : 7,
|
| 60 |
+
"Ios16.conv" : 1,
|
| 61 |
+
"Ios16.matmul" : 48,
|
| 62 |
+
"Ios16.abs" : 1,
|
| 63 |
+
"Ios16.layerNorm" : 50,
|
| 64 |
+
"Ios16.pow" : 2,
|
| 65 |
+
"Ios16.maximum" : 1,
|
| 66 |
+
"Ios16.reshape" : 193,
|
| 67 |
+
"SliceByIndex" : 2,
|
| 68 |
+
"Ios16.mul" : 73,
|
| 69 |
+
"NonZero" : 1
|
| 70 |
+
},
|
| 71 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 72 |
+
"isUpdatable" : "0",
|
| 73 |
+
"availability" : {
|
| 74 |
+
"macOS" : "13.0",
|
| 75 |
+
"tvOS" : "16.0",
|
| 76 |
+
"visionOS" : "1.0",
|
| 77 |
+
"watchOS" : "9.0",
|
| 78 |
+
"iOS" : "16.0",
|
| 79 |
+
"macCatalyst" : "16.0"
|
| 80 |
+
},
|
| 81 |
+
"modelType" : {
|
| 82 |
+
"name" : "MLModelType_mlProgram"
|
| 83 |
+
},
|
| 84 |
+
"inputSchema" : [
|
| 85 |
+
{
|
| 86 |
+
"hasShapeFlexibility" : "0",
|
| 87 |
+
"isOptional" : "0",
|
| 88 |
+
"dataType" : "Float16",
|
| 89 |
+
"formattedType" : "MultiArray (Float16 1 × 3 × 224 × 224)",
|
| 90 |
+
"shortDescription" : "The normalized image input tensor resized to (224x224) in channels-first (BCHW) format",
|
| 91 |
+
"shape" : "[1, 3, 224, 224]",
|
| 92 |
+
"name" : "clip_input",
|
| 93 |
+
"type" : "MultiArray"
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"hasShapeFlexibility" : "0",
|
| 97 |
+
"isOptional" : "0",
|
| 98 |
+
"dataType" : "Float16",
|
| 99 |
+
"formattedType" : "MultiArray (Float16 1 × 512 × 512 × 3)",
|
| 100 |
+
"shortDescription" : "Output of the vae_decoder (512x512) in channels-last (BHWC) format",
|
| 101 |
+
"shape" : "[1, 512, 512, 3]",
|
| 102 |
+
"name" : "images",
|
| 103 |
+
"type" : "MultiArray"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"hasShapeFlexibility" : "0",
|
| 107 |
+
"isOptional" : "0",
|
| 108 |
+
"dataType" : "Float16",
|
| 109 |
+
"formattedType" : "MultiArray (Float16 1)",
|
| 110 |
+
"shortDescription" : "Bias added to the concept scores to trade off increased recall for reduce precision in the safety checker classifier",
|
| 111 |
+
"shape" : "[1]",
|
| 112 |
+
"name" : "adjustment",
|
| 113 |
+
"type" : "MultiArray"
|
| 114 |
+
}
|
| 115 |
+
],
|
| 116 |
+
"userDefinedMetadata" : {
|
| 117 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 118 |
+
"com.github.apple.coremltools.source" : "torch==2.2.0",
|
| 119 |
+
"com.github.apple.coremltools.version" : "7.2"
|
| 120 |
+
},
|
| 121 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_7_safety_checker",
|
| 122 |
+
"method" : "predict"
|
| 123 |
+
}
|
| 124 |
+
]
|
DreamShaperResources/SafetyChecker.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
DreamShaperResources/SafetyChecker.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35e3033396e9071fd25c2a88abb49aa383c0c04a39672c07960c46626ebebbb3
|
| 3 |
+
size 607990114
|
DreamShaperResources/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c787444b1b9e597147113a19a26dd48bfd5b47c723d948ac34f207b02e515b7c
|
| 3 |
+
size 243
|
DreamShaperResources/TextEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae6e1e6114fd8df30ecaf72d4362d885da9b57edc2a395d7ede02e1af4db2afc
|
| 3 |
+
size 873
|
DreamShaperResources/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" : "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" : 48,
|
| 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 |
+
"visionOS" : "1.0",
|
| 57 |
+
"watchOS" : "9.0",
|
| 58 |
+
"iOS" : "16.0",
|
| 59 |
+
"macCatalyst" : "16.0"
|
| 60 |
+
},
|
| 61 |
+
"modelType" : {
|
| 62 |
+
"name" : "MLModelType_mlProgram"
|
| 63 |
+
},
|
| 64 |
+
"inputSchema" : [
|
| 65 |
+
{
|
| 66 |
+
"hasShapeFlexibility" : "0",
|
| 67 |
+
"isOptional" : "0",
|
| 68 |
+
"dataType" : "Float32",
|
| 69 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
| 70 |
+
"shortDescription" : "The token ids that represent the input text",
|
| 71 |
+
"shape" : "[1, 77]",
|
| 72 |
+
"name" : "input_ids",
|
| 73 |
+
"type" : "MultiArray"
|
| 74 |
+
}
|
| 75 |
+
],
|
| 76 |
+
"userDefinedMetadata" : {
|
| 77 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 78 |
+
"com.github.apple.coremltools.source" : "torch==2.2.0",
|
| 79 |
+
"com.github.apple.coremltools.version" : "7.2"
|
| 80 |
+
},
|
| 81 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_7_text_encoder",
|
| 82 |
+
"method" : "predict"
|
| 83 |
+
}
|
| 84 |
+
]
|
DreamShaperResources/TextEncoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
DreamShaperResources/TextEncoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d09553def4884a0c76b1299c6ef917129067b15103913296c0dd27a3bdde208
|
| 3 |
+
size 246145536
|
DreamShaperResources/Unet.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb0f3942318b659d8ee80debddd89351dca00388fd239b01962cb52575825730
|
| 3 |
+
size 243
|
DreamShaperResources/Unet.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:816c0fadb3757e1c4e4dcf538c357c6d7bc4e9774e680d952c39aec924d7d5d2
|
| 3 |
+
size 1306
|
DreamShaperResources/Unet.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-7",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/Lykon\/dreamshaper-7",
|
| 22 |
+
"specificationVersion" : 7,
|
| 23 |
+
"storagePrecision" : "Float16",
|
| 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" : 256,
|
| 31 |
+
"Split" : 16,
|
| 32 |
+
"Ios16.add" : 169,
|
| 33 |
+
"Concat" : 46,
|
| 34 |
+
"Ios16.realDiv" : 61,
|
| 35 |
+
"Ios16.square" : 61,
|
| 36 |
+
"ExpandDims" : 3,
|
| 37 |
+
"Ios16.sub" : 61,
|
| 38 |
+
"Ios16.cast" : 1,
|
| 39 |
+
"Ios16.conv" : 282,
|
| 40 |
+
"Ios16.einsum" : 512,
|
| 41 |
+
"Ios16.gelu" : 16,
|
| 42 |
+
"Ios16.layerNorm" : 48,
|
| 43 |
+
"Ios16.batchNorm" : 61,
|
| 44 |
+
"Ios16.reshape" : 154,
|
| 45 |
+
"Ios16.silu" : 47,
|
| 46 |
+
"Ios16.sqrt" : 61,
|
| 47 |
+
"SliceByIndex" : 770,
|
| 48 |
+
"Ios16.mul" : 273,
|
| 49 |
+
"Ios16.cos" : 1
|
| 50 |
+
},
|
| 51 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 52 |
+
"isUpdatable" : "0",
|
| 53 |
+
"availability" : {
|
| 54 |
+
"macOS" : "13.0",
|
| 55 |
+
"tvOS" : "16.0",
|
| 56 |
+
"visionOS" : "1.0",
|
| 57 |
+
"watchOS" : "9.0",
|
| 58 |
+
"iOS" : "16.0",
|
| 59 |
+
"macCatalyst" : "16.0"
|
| 60 |
+
},
|
| 61 |
+
"modelType" : {
|
| 62 |
+
"name" : "MLModelType_mlProgram"
|
| 63 |
+
},
|
| 64 |
+
"inputSchema" : [
|
| 65 |
+
{
|
| 66 |
+
"hasShapeFlexibility" : "0",
|
| 67 |
+
"isOptional" : "0",
|
| 68 |
+
"dataType" : "Float16",
|
| 69 |
+
"formattedType" : "MultiArray (Float16 2 × 4 × 64 × 64)",
|
| 70 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
| 71 |
+
"shape" : "[2, 4, 64, 64]",
|
| 72 |
+
"name" : "sample",
|
| 73 |
+
"type" : "MultiArray"
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"hasShapeFlexibility" : "0",
|
| 77 |
+
"isOptional" : "0",
|
| 78 |
+
"dataType" : "Float16",
|
| 79 |
+
"formattedType" : "MultiArray (Float16 2)",
|
| 80 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
| 81 |
+
"shape" : "[2]",
|
| 82 |
+
"name" : "timestep",
|
| 83 |
+
"type" : "MultiArray"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"hasShapeFlexibility" : "0",
|
| 87 |
+
"isOptional" : "0",
|
| 88 |
+
"dataType" : "Float16",
|
| 89 |
+
"formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
|
| 90 |
+
"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.",
|
| 91 |
+
"shape" : "[2, 768, 1, 77]",
|
| 92 |
+
"name" : "encoder_hidden_states",
|
| 93 |
+
"type" : "MultiArray"
|
| 94 |
+
}
|
| 95 |
+
],
|
| 96 |
+
"userDefinedMetadata" : {
|
| 97 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.1.0",
|
| 98 |
+
"com.github.apple.coremltools.source" : "torch==2.2.0",
|
| 99 |
+
"com.github.apple.coremltools.version" : "7.2",
|
| 100 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 101 |
+
},
|
| 102 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_7_unet",
|
| 103 |
+
"method" : "predict"
|
| 104 |
+
}
|
| 105 |
+
]
|
DreamShaperResources/Unet.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
DreamShaperResources/Unet.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:774a98d478b3b604a8b0080a0ab67e68f217bb09e0e5932cdb65d6488551f1ef
|
| 3 |
+
size 1719117696
|
DreamShaperResources/VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fce7d1afb311a7c85dcb4f61f42118e909412fb08eba18190d2b29ccce12df2
|
| 3 |
+
size 243
|
DreamShaperResources/VAEDecoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8ae9cf308c41336ac012beffeffabeac7b8f69b0e09215183eee45dcc516f50
|
| 3 |
+
size 800
|
DreamShaperResources/VAEDecoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-7",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/Lykon\/dreamshaper-7",
|
| 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.source_dialect" : "TorchScript",
|
| 71 |
+
"com.github.apple.coremltools.source" : "torch==2.2.0",
|
| 72 |
+
"com.github.apple.coremltools.version" : "7.2"
|
| 73 |
+
},
|
| 74 |
+
"generatedClassName" : "Stable_Diffusion_version_Lykon_dreamshaper_7_vae_decoder",
|
| 75 |
+
"method" : "predict"
|
| 76 |
+
}
|
| 77 |
+
]
|
DreamShaperResources/VAEDecoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
DreamShaperResources/VAEDecoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:589173bc5bf0ffc35beeeb41471a730c1c520ad7e1659de12989f622cb30d302
|
| 3 |
+
size 98993280
|
DreamShaperResources/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
DreamShaperResources/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|