Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +35 -0
- TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- TextEncoder.mlmodelc/coremldata.bin +3 -0
- TextEncoder.mlmodelc/metadata.json +89 -0
- TextEncoder.mlmodelc/model.mil +0 -0
- TextEncoder.mlmodelc/weights/weight.bin +3 -0
- TextEncoder2.mlmodelc/analytics/coremldata.bin +3 -0
- TextEncoder2.mlmodelc/coremldata.bin +3 -0
- TextEncoder2.mlmodelc/metadata.json +89 -0
- TextEncoder2.mlmodelc/model.mil +0 -0
- TextEncoder2.mlmodelc/weights/weight.bin +3 -0
- Unet.mlmodelc/analytics/coremldata.bin +3 -0
- Unet.mlmodelc/coremldata.bin +3 -0
- Unet.mlmodelc/metadata.json +130 -0
- Unet.mlmodelc/model.mil +3 -0
- Unet.mlmodelc/weights/weight.bin +3 -0
- VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- VAEDecoder.mlmodelc/coremldata.bin +3 -0
- VAEDecoder.mlmodelc/metadata.json +80 -0
- VAEDecoder.mlmodelc/model.mil +0 -0
- VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- merges.txt +0 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Unet.mlmodelc/model.mil filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: creativeml-openrail-m
|
| 3 |
+
base_model: AstraliteHeart/pony-diffusion-v6
|
| 4 |
+
pipeline_tag: text-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- core-ml
|
| 7 |
+
- coreml
|
| 8 |
+
- stable-diffusion
|
| 9 |
+
- apple-silicon
|
| 10 |
+
- ios
|
| 11 |
+
- quantized
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Pony Diffusion V6 XL — Core ML (8-bit)
|
| 15 |
+
|
| 16 |
+
Core ML conversion of [AstraliteHeart/pony-diffusion-v6](https://huggingface.co/AstraliteHeart/pony-diffusion-v6) for Apple silicon
|
| 17 |
+
(iOS / iPadOS / macOS, Neural Engine). Built with Apple's
|
| 18 |
+
[ml-stable-diffusion](https://github.com/apple/ml-stable-diffusion) for use by
|
| 19 |
+
[mindfire-image](https://github.com/Gatcha-man/mindfire-image).
|
| 20 |
+
|
| 21 |
+
SDXL fine-tune — 20-35 steps, CFG ~7. Needs its score/rating prompt tags; see the base model card.
|
| 22 |
+
|
| 23 |
+
## Modifications from the base model
|
| 24 |
+
|
| 25 |
+
These weights are **modified**: converted from PyTorch/diffusers to Core ML
|
| 26 |
+
(`.mlmodelc`) and **quantized to 8-bit palettized** weights. No fine-tuning was
|
| 27 |
+
performed — behaviour should track the base model, but quantization can shift
|
| 28 |
+
outputs slightly.
|
| 29 |
+
|
| 30 |
+
## Licence
|
| 31 |
+
|
| 32 |
+
Inherited from the base model: `creativeml-openrail-m`. This includes the OpenRAIL
|
| 33 |
+
**use-based restrictions (Attachment A)**, which apply to you as a downstream user of
|
| 34 |
+
this conversion exactly as they do to the base model. Read the base model's licence
|
| 35 |
+
before use or redistribution.
|
TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b0456c891481e04658662983a06d01243219e588d816bc99393b74139b9792a
|
| 3 |
+
size 243
|
TextEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc2bf902cb1f8e45fc5037a7b00543c8bdce14233063f4f5a331ee1e781bb042
|
| 3 |
+
size 978
|
TextEncoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
| 4 |
+
"metadataOutputVersion" : "3.0",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 77 × 768)",
|
| 11 |
+
"shortDescription" : "Hidden states after the encoder layers",
|
| 12 |
+
"shape" : "[1, 77, 768]",
|
| 13 |
+
"name" : "hidden_embeds",
|
| 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" : "stablediffusionapi\/Pony-Diffusion-V6-XL",
|
| 28 |
+
"modelParameters" : [
|
| 29 |
+
|
| 30 |
+
],
|
| 31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stablediffusionapi\/Pony-Diffusion-V6-XL",
|
| 32 |
+
"specificationVersion" : 7,
|
| 33 |
+
"storagePrecision" : "Mixed (Float16, Palettized (8 bits))",
|
| 34 |
+
"license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
|
| 35 |
+
"mlProgramOperationTypeHistogram" : {
|
| 36 |
+
"Ios16.cast" : 3,
|
| 37 |
+
"Ios16.mul" : 36,
|
| 38 |
+
"Ios16.layerNorm" : 25,
|
| 39 |
+
"Ios16.constexprLutToDense" : 74,
|
| 40 |
+
"Transpose" : 48,
|
| 41 |
+
"Stack" : 1,
|
| 42 |
+
"Ios16.sigmoid" : 12,
|
| 43 |
+
"Ios16.linear" : 72,
|
| 44 |
+
"Ios16.add" : 37,
|
| 45 |
+
"Ios16.softmax" : 12,
|
| 46 |
+
"Ios16.matmul" : 24,
|
| 47 |
+
"Ios16.gatherNd" : 1,
|
| 48 |
+
"Ios16.gather" : 1,
|
| 49 |
+
"Ios16.reshape" : 48,
|
| 50 |
+
"Ios16.reduceArgmax" : 1
|
| 51 |
+
},
|
| 52 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 53 |
+
"stateSchema" : [
|
| 54 |
+
|
| 55 |
+
],
|
| 56 |
+
"isUpdatable" : "0",
|
| 57 |
+
"availability" : {
|
| 58 |
+
"macOS" : "13.0",
|
| 59 |
+
"tvOS" : "16.0",
|
| 60 |
+
"visionOS" : "1.0",
|
| 61 |
+
"watchOS" : "9.0",
|
| 62 |
+
"iOS" : "16.0",
|
| 63 |
+
"macCatalyst" : "16.0"
|
| 64 |
+
},
|
| 65 |
+
"modelType" : {
|
| 66 |
+
"name" : "MLModelType_mlProgram"
|
| 67 |
+
},
|
| 68 |
+
"inputSchema" : [
|
| 69 |
+
{
|
| 70 |
+
"hasShapeFlexibility" : "0",
|
| 71 |
+
"isOptional" : "0",
|
| 72 |
+
"dataType" : "Float32",
|
| 73 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
| 74 |
+
"shortDescription" : "The token ids that represent the input text",
|
| 75 |
+
"shape" : "[1, 77]",
|
| 76 |
+
"name" : "input_ids",
|
| 77 |
+
"type" : "MultiArray"
|
| 78 |
+
}
|
| 79 |
+
],
|
| 80 |
+
"userDefinedMetadata" : {
|
| 81 |
+
"com.github.apple.coremltools.conversion_date" : "2026-02-17",
|
| 82 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 83 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 84 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 85 |
+
},
|
| 86 |
+
"generatedClassName" : "Stable_Diffusion_version_stablediffusionapi_Pony_Diffusion_V6_XL_text_encoder",
|
| 87 |
+
"method" : "predict"
|
| 88 |
+
}
|
| 89 |
+
]
|
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:f0117bcc079a3a310e4316f2d3903f955f7e5fc9efa056c933c8b5055445dd73
|
| 3 |
+
size 161188416
|
TextEncoder2.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d094f6c84e87057a5d3884b420c7fcb17a1a1ef0fb1b537176719ee1c0bcf64
|
| 3 |
+
size 243
|
TextEncoder2.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0947a3a45593f1f74b127115f1fa81864498047ae4c64e38add436a9a8cdecc
|
| 3 |
+
size 978
|
TextEncoder2.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
|
| 4 |
+
"metadataOutputVersion" : "3.0",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 77 × 1280)",
|
| 11 |
+
"shortDescription" : "Hidden states after the encoder layers",
|
| 12 |
+
"shape" : "[1, 77, 1280]",
|
| 13 |
+
"name" : "hidden_embeds",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float32",
|
| 20 |
+
"formattedType" : "MultiArray (Float32 1 × 1280)",
|
| 21 |
+
"shortDescription" : "The version of the `last_hidden_state` output after pooling",
|
| 22 |
+
"shape" : "[1, 1280]",
|
| 23 |
+
"name" : "pooled_outputs",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
}
|
| 26 |
+
],
|
| 27 |
+
"version" : "stablediffusionapi\/Pony-Diffusion-V6-XL",
|
| 28 |
+
"modelParameters" : [
|
| 29 |
+
|
| 30 |
+
],
|
| 31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stablediffusionapi\/Pony-Diffusion-V6-XL",
|
| 32 |
+
"specificationVersion" : 7,
|
| 33 |
+
"storagePrecision" : "Mixed (Float16, Palettized (8 bits))",
|
| 34 |
+
"license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
|
| 35 |
+
"mlProgramOperationTypeHistogram" : {
|
| 36 |
+
"Ios16.cast" : 3,
|
| 37 |
+
"Ios16.mul" : 32,
|
| 38 |
+
"Ios16.layerNorm" : 65,
|
| 39 |
+
"Ios16.constexprLutToDense" : 195,
|
| 40 |
+
"Transpose" : 128,
|
| 41 |
+
"Stack" : 1,
|
| 42 |
+
"Ios16.linear" : 193,
|
| 43 |
+
"Ios16.add" : 97,
|
| 44 |
+
"Ios16.softmax" : 32,
|
| 45 |
+
"Ios16.gelu" : 32,
|
| 46 |
+
"Ios16.matmul" : 64,
|
| 47 |
+
"Ios16.gatherNd" : 1,
|
| 48 |
+
"Ios16.gather" : 1,
|
| 49 |
+
"Ios16.reshape" : 128,
|
| 50 |
+
"Ios16.reduceArgmax" : 1
|
| 51 |
+
},
|
| 52 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 53 |
+
"stateSchema" : [
|
| 54 |
+
|
| 55 |
+
],
|
| 56 |
+
"isUpdatable" : "0",
|
| 57 |
+
"availability" : {
|
| 58 |
+
"macOS" : "13.0",
|
| 59 |
+
"tvOS" : "16.0",
|
| 60 |
+
"visionOS" : "1.0",
|
| 61 |
+
"watchOS" : "9.0",
|
| 62 |
+
"iOS" : "16.0",
|
| 63 |
+
"macCatalyst" : "16.0"
|
| 64 |
+
},
|
| 65 |
+
"modelType" : {
|
| 66 |
+
"name" : "MLModelType_mlProgram"
|
| 67 |
+
},
|
| 68 |
+
"inputSchema" : [
|
| 69 |
+
{
|
| 70 |
+
"hasShapeFlexibility" : "0",
|
| 71 |
+
"isOptional" : "0",
|
| 72 |
+
"dataType" : "Float32",
|
| 73 |
+
"formattedType" : "MultiArray (Float32 1 × 77)",
|
| 74 |
+
"shortDescription" : "The token ids that represent the input text",
|
| 75 |
+
"shape" : "[1, 77]",
|
| 76 |
+
"name" : "input_ids",
|
| 77 |
+
"type" : "MultiArray"
|
| 78 |
+
}
|
| 79 |
+
],
|
| 80 |
+
"userDefinedMetadata" : {
|
| 81 |
+
"com.github.apple.coremltools.conversion_date" : "2026-02-17",
|
| 82 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 83 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 84 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 85 |
+
},
|
| 86 |
+
"generatedClassName" : "Stable_Diffusion_version_stablediffusionapi_Pony_Diffusion_V6_XL_text_encoder_2",
|
| 87 |
+
"method" : "predict"
|
| 88 |
+
}
|
| 89 |
+
]
|
TextEncoder2.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TextEncoder2.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d233edbf5597fca7e492be7258421cdd32337a9de6f3a8b0ade27b73206dd85
|
| 3 |
+
size 758591232
|
Unet.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87534b6e06468ca53fb48117509edcd1f5244b71041f2b4037a18db35ac68441
|
| 3 |
+
size 243
|
Unet.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8150af10f6f392a2008888f1f8a3a1f615a8ec97ee455796fb330209e2415235
|
| 3 |
+
size 1734
|
Unet.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 × 128 × 128)",
|
| 11 |
+
"shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
|
| 12 |
+
"shape" : "[2, 4, 128, 128]",
|
| 13 |
+
"name" : "noise_pred",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "stablediffusionapi\/Pony-Diffusion-V6-XL",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stablediffusionapi\/Pony-Diffusion-V6-XL",
|
| 22 |
+
"specificationVersion" : 7,
|
| 23 |
+
"storagePrecision" : "Mixed (Float16, Palettized (8 bits))",
|
| 24 |
+
"license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
|
| 25 |
+
"mlProgramOperationTypeHistogram" : {
|
| 26 |
+
"Transpose" : 140,
|
| 27 |
+
"UpsampleNearestNeighbor" : 2,
|
| 28 |
+
"Ios16.reduceMean" : 92,
|
| 29 |
+
"Ios16.sin" : 2,
|
| 30 |
+
"Ios16.softmax" : 2600,
|
| 31 |
+
"Split" : 70,
|
| 32 |
+
"Ios16.add" : 302,
|
| 33 |
+
"Concat" : 154,
|
| 34 |
+
"Ios16.realDiv" : 46,
|
| 35 |
+
"Ios16.square" : 46,
|
| 36 |
+
"ExpandDims" : 6,
|
| 37 |
+
"Ios16.sub" : 46,
|
| 38 |
+
"Ios16.sqrt" : 46,
|
| 39 |
+
"Ios16.conv" : 794,
|
| 40 |
+
"Ios16.constexprLutToDense" : 794,
|
| 41 |
+
"Ios16.einsum" : 5200,
|
| 42 |
+
"Ios16.layerNorm" : 210,
|
| 43 |
+
"SliceByIndex" : 7804,
|
| 44 |
+
"Ios16.batchNorm" : 46,
|
| 45 |
+
"Ios16.reshape" : 116,
|
| 46 |
+
"Ios16.silu" : 38,
|
| 47 |
+
"Ios16.gelu" : 70,
|
| 48 |
+
"Ios16.mul" : 2672,
|
| 49 |
+
"Ios16.cos" : 2,
|
| 50 |
+
"Ios16.cast" : 1
|
| 51 |
+
},
|
| 52 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 53 |
+
"stateSchema" : [
|
| 54 |
+
|
| 55 |
+
],
|
| 56 |
+
"isUpdatable" : "0",
|
| 57 |
+
"availability" : {
|
| 58 |
+
"macOS" : "13.0",
|
| 59 |
+
"tvOS" : "16.0",
|
| 60 |
+
"visionOS" : "1.0",
|
| 61 |
+
"watchOS" : "9.0",
|
| 62 |
+
"iOS" : "16.0",
|
| 63 |
+
"macCatalyst" : "16.0"
|
| 64 |
+
},
|
| 65 |
+
"modelType" : {
|
| 66 |
+
"name" : "MLModelType_mlProgram"
|
| 67 |
+
},
|
| 68 |
+
"inputSchema" : [
|
| 69 |
+
{
|
| 70 |
+
"hasShapeFlexibility" : "0",
|
| 71 |
+
"isOptional" : "0",
|
| 72 |
+
"dataType" : "Float16",
|
| 73 |
+
"formattedType" : "MultiArray (Float16 2 × 4 × 128 × 128)",
|
| 74 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
| 75 |
+
"shape" : "[2, 4, 128, 128]",
|
| 76 |
+
"name" : "sample",
|
| 77 |
+
"type" : "MultiArray"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"hasShapeFlexibility" : "0",
|
| 81 |
+
"isOptional" : "0",
|
| 82 |
+
"dataType" : "Float16",
|
| 83 |
+
"formattedType" : "MultiArray (Float16 2)",
|
| 84 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
| 85 |
+
"shape" : "[2]",
|
| 86 |
+
"name" : "timestep",
|
| 87 |
+
"type" : "MultiArray"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"hasShapeFlexibility" : "0",
|
| 91 |
+
"isOptional" : "0",
|
| 92 |
+
"dataType" : "Float16",
|
| 93 |
+
"formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
|
| 94 |
+
"shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
|
| 95 |
+
"shape" : "[2, 2048, 1, 77]",
|
| 96 |
+
"name" : "encoder_hidden_states",
|
| 97 |
+
"type" : "MultiArray"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"hasShapeFlexibility" : "0",
|
| 101 |
+
"isOptional" : "0",
|
| 102 |
+
"dataType" : "Float16",
|
| 103 |
+
"formattedType" : "MultiArray (Float16 2 × 6)",
|
| 104 |
+
"shortDescription" : "Additional embeddings that if specified are added to the embeddings that are passed along to the UNet blocks.",
|
| 105 |
+
"shape" : "[2, 6]",
|
| 106 |
+
"name" : "time_ids",
|
| 107 |
+
"type" : "MultiArray"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"hasShapeFlexibility" : "0",
|
| 111 |
+
"isOptional" : "0",
|
| 112 |
+
"dataType" : "Float16",
|
| 113 |
+
"formattedType" : "MultiArray (Float16 2 × 1280)",
|
| 114 |
+
"shortDescription" : "Additional embeddings from text_encoder_2 that if specified are added to the embeddings that are passed along to the UNet blocks.",
|
| 115 |
+
"shape" : "[2, 1280]",
|
| 116 |
+
"name" : "text_embeds",
|
| 117 |
+
"type" : "MultiArray"
|
| 118 |
+
}
|
| 119 |
+
],
|
| 120 |
+
"userDefinedMetadata" : {
|
| 121 |
+
"com.github.apple.coremltools.conversion_date" : "2026-02-17",
|
| 122 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.1.0",
|
| 123 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 124 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 125 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 126 |
+
},
|
| 127 |
+
"generatedClassName" : "Stable_Diffusion_version_stablediffusionapi_Pony_Diffusion_V6_XL_unet",
|
| 128 |
+
"method" : "predict"
|
| 129 |
+
}
|
| 130 |
+
]
|
Unet.mlmodelc/model.mil
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7186899965e08074ff635e00cd913d73af9952c19c3904384c8d29077690f4ca
|
| 3 |
+
size 10695585
|
Unet.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:442f1b70cdfcb3d9dddfebf40d9d774644f23e78fec96d6408b0786c86cd422e
|
| 3 |
+
size 2569644096
|
VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd31e04bfdd9b75ec2f850d34c8a5a28891ca183a9846c23af4bf0ba687be7f1
|
| 3 |
+
size 243
|
VAEDecoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:012691dcbc911205af7d51aaa600e283680cba44778064cbc51ad5457af1ea1d
|
| 3 |
+
size 929
|
VAEDecoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 × 1024 × 1024)",
|
| 11 |
+
"shortDescription" : "Generated image normalized to range [-1, 1]",
|
| 12 |
+
"shape" : "[1, 3, 1024, 1024]",
|
| 13 |
+
"name" : "image",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "stablediffusionapi\/Pony-Diffusion-V6-XL",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stablediffusionapi\/Pony-Diffusion-V6-XL",
|
| 22 |
+
"specificationVersion" : 7,
|
| 23 |
+
"storagePrecision" : "Float32",
|
| 24 |
+
"license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
|
| 25 |
+
"mlProgramOperationTypeHistogram" : {
|
| 26 |
+
"Ios16.mul" : 2,
|
| 27 |
+
"Ios16.sub" : 30,
|
| 28 |
+
"Transpose" : 6,
|
| 29 |
+
"Ios16.sqrt" : 30,
|
| 30 |
+
"UpsampleNearestNeighbor" : 3,
|
| 31 |
+
"Ios16.square" : 30,
|
| 32 |
+
"Ios16.add" : 46,
|
| 33 |
+
"Ios16.reduceMean" : 60,
|
| 34 |
+
"Ios16.realDiv" : 30,
|
| 35 |
+
"Ios16.conv" : 36,
|
| 36 |
+
"Ios16.linear" : 4,
|
| 37 |
+
"Ios16.matmul" : 2,
|
| 38 |
+
"Ios16.batchNorm" : 29,
|
| 39 |
+
"Ios16.softmax" : 1,
|
| 40 |
+
"Ios16.reshape" : 65,
|
| 41 |
+
"Ios16.silu" : 29
|
| 42 |
+
},
|
| 43 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 44 |
+
"stateSchema" : [
|
| 45 |
+
|
| 46 |
+
],
|
| 47 |
+
"isUpdatable" : "0",
|
| 48 |
+
"availability" : {
|
| 49 |
+
"macOS" : "13.0",
|
| 50 |
+
"tvOS" : "16.0",
|
| 51 |
+
"visionOS" : "1.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" : "Float32",
|
| 64 |
+
"formattedType" : "MultiArray (Float32 1 × 4 × 128 × 128)",
|
| 65 |
+
"shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
|
| 66 |
+
"shape" : "[1, 4, 128, 128]",
|
| 67 |
+
"name" : "z",
|
| 68 |
+
"type" : "MultiArray"
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"userDefinedMetadata" : {
|
| 72 |
+
"com.github.apple.coremltools.conversion_date" : "2026-02-17",
|
| 73 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 74 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 75 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 76 |
+
},
|
| 77 |
+
"generatedClassName" : "Stable_Diffusion_version_stablediffusionapi_Pony_Diffusion_V6_XL_vae_decoder",
|
| 78 |
+
"method" : "predict"
|
| 79 |
+
}
|
| 80 |
+
]
|
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:b4970a8d07aacc9579344b16c0d0fed5a1e07711a582ab9a7d270f31367e2d9c
|
| 3 |
+
size 197977216
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|