Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- TokForge-SDXL-Turbo-CoreML-6bit/README.md +103 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/coremldata.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/metadata.json +89 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/model.mil +0 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/weights/weight.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/analytics/coremldata.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/coremldata.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/metadata.json +89 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/model.mil +0 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/weights/weight.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/analytics/coremldata.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/coremldata.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/metadata.json +130 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/model.mil +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/weights/weight.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/coremldata.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/metadata.json +80 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/model.mil +0 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/merges.txt +0 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Resources/vocab.json +0 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_text_encoder.mlpackage/Manifest.json +18 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_text_encoder_2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_text_encoder_2.mlpackage/Manifest.json +18 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_unet.mlpackage/Manifest.json +18 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_vae_decoder.mlpackage/Manifest.json +18 -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 |
+
TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/model.mil filter=lfs diff=lfs merge=lfs -text
|
TokForge-SDXL-Turbo-CoreML-6bit/README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: sai-nc-community
|
| 4 |
+
license_link: https://huggingface.co/stabilityai/sdxl-turbo/blob/main/LICENSE.md
|
| 5 |
+
base_model: stabilityai/sdxl-turbo
|
| 6 |
+
tags:
|
| 7 |
+
- coreml
|
| 8 |
+
- stable-diffusion
|
| 9 |
+
- sdxl-turbo
|
| 10 |
+
- text-to-image
|
| 11 |
+
- ane
|
| 12 |
+
- apple-neural-engine
|
| 13 |
+
- 6-bit
|
| 14 |
+
- palettized
|
| 15 |
+
- tokforge
|
| 16 |
+
pipeline_tag: text-to-image
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# TokForge-SDXL-Turbo-CoreML-6bit (batch-one, guidance-free)
|
| 20 |
+
|
| 21 |
+
Core ML conversion of [stabilityai/sdxl-turbo](https://huggingface.co/stabilityai/sdxl-turbo)
|
| 22 |
+
for on-device, Apple-Neural-Engine-accelerated text-to-image generation in the
|
| 23 |
+
TokForge iOS app.
|
| 24 |
+
|
| 25 |
+
## What this is
|
| 26 |
+
|
| 27 |
+
- **SDXL-Turbo distilled** — adversarially-distilled SDXL that produces images in
|
| 28 |
+
**1-4 steps** (no long sampling schedule needed).
|
| 29 |
+
- **6-bit palettized** — weights compressed with 6-bit look-up-table palettization
|
| 30 |
+
(`--quantize-nbits 6`), keeping quality high while shrinking the model for mobile.
|
| 31 |
+
- **SPLIT_EINSUM attention** — the attention implementation Apple recommends so the
|
| 32 |
+
UNet runs on the **Apple Neural Engine (ANE)** rather than falling back to GPU/CPU.
|
| 33 |
+
- **Batch-one / guidance-free** — the UNet is baked with a **batch size of 1**
|
| 34 |
+
(`--unet-batch-one`). This means it runs **without classifier-free guidance**:
|
| 35 |
+
one UNet evaluation per step instead of two, so it is roughly **2x faster per step**
|
| 36 |
+
than a standard batch-2 (CFG) bake. Drive it with **`guidanceScale = 1.0`** in the
|
| 37 |
+
Swift `StableDiffusionPipeline` (CFG disabled).
|
| 38 |
+
- **512x512** native latent resolution (`--latent-h 64 --latent-w 64`).
|
| 39 |
+
|
| 40 |
+
## Contents
|
| 41 |
+
|
| 42 |
+
`Resources/` is the bundle for Apple's
|
| 43 |
+
[`ml-stable-diffusion`](https://github.com/apple/ml-stable-diffusion) Swift package:
|
| 44 |
+
|
| 45 |
+
| File | Role |
|
| 46 |
+
|------|------|
|
| 47 |
+
| `TextEncoder.mlmodelc` | CLIP text encoder 1 |
|
| 48 |
+
| `TextEncoder2.mlmodelc` | CLIP text encoder 2 (SDXL) |
|
| 49 |
+
| `Unet.mlmodelc` | Batch-one 6-bit UNet (ANE) |
|
| 50 |
+
| `VAEDecoder.mlmodelc` | VAE decoder |
|
| 51 |
+
| `vocab.json`, `merges.txt` | Tokenizer assets |
|
| 52 |
+
|
| 53 |
+
The `*.mlpackage` files are the un-compiled sources kept alongside for reference.
|
| 54 |
+
|
| 55 |
+
## Usage (Swift)
|
| 56 |
+
|
| 57 |
+
```swift
|
| 58 |
+
import StableDiffusion
|
| 59 |
+
|
| 60 |
+
let pipeline = try StableDiffusionXLPipeline(
|
| 61 |
+
resourcesAt: resourcesURL, // the Resources/ folder
|
| 62 |
+
configuration: MLModelConfiguration() // .cpuAndNeuralEngine
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
+
var config = StableDiffusionPipeline.Configuration(prompt: "a red sports car on a mountain road at sunset")
|
| 66 |
+
config.stepCount = 2 // 1-4 steps for SDXL-Turbo
|
| 67 |
+
config.guidanceScale = 1.0 // REQUIRED: batch-one bake is guidance-free
|
| 68 |
+
config.seed = 42
|
| 69 |
+
|
| 70 |
+
let images = try pipeline.generateImages(configuration: config)
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## Performance notes
|
| 74 |
+
|
| 75 |
+
- **First load incurs a one-time ANE compile (~minutes for this UNet), then it is
|
| 76 |
+
cached** on the device. Subsequent loads are fast. The TokForge app warms/prewarms
|
| 77 |
+
the ANE so users do not pay this cost at generation time.
|
| 78 |
+
- On an M4 Max (CPU_AND_NE), guidance-free generation runs at roughly **~8 it/s** at
|
| 79 |
+
512x512 — about **2x** the throughput of the equivalent batch-2 (CFG) bake (~3.86 it/s),
|
| 80 |
+
because batch-one halves the per-step UNet work.
|
| 81 |
+
|
| 82 |
+
## Conversion
|
| 83 |
+
|
| 84 |
+
Converted with `apple/ml-stable-diffusion` `torch2coreml` on an Apple M4 Max (128 GB):
|
| 85 |
+
|
| 86 |
+
```
|
| 87 |
+
python -m python_coreml_stable_diffusion.torch2coreml \
|
| 88 |
+
--model-version stabilityai/sdxl-turbo --xl-version \
|
| 89 |
+
--bundle-resources-for-swift-cli \
|
| 90 |
+
--convert-unet --convert-text-encoder --convert-vae-decoder \
|
| 91 |
+
--attention-implementation SPLIT_EINSUM \
|
| 92 |
+
--quantize-nbits 6 --latent-h 64 --latent-w 64 \
|
| 93 |
+
--unet-batch-one -o out_sdxl_turbo_6bit_b1
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
Verified with 3 guidance-free render tests (`--guidance-scale 0.0 --num-inference-steps 4
|
| 97 |
+
--compute-unit CPU_AND_NE`): astronaut on a horse on the moon, a corgi in a flower field,
|
| 98 |
+
a red sports car at sunset — all clean (non-uniform, no NaN/black, rich color).
|
| 99 |
+
|
| 100 |
+
## License
|
| 101 |
+
|
| 102 |
+
Inherits the [Stability AI Non-Commercial Community License](https://huggingface.co/stabilityai/sdxl-turbo/blob/main/LICENSE.md)
|
| 103 |
+
from the base SDXL-Turbo model.
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:567d8eb07950f99bce5810b24fe2ae20957e200e490568ede7c247a468ff3805
|
| 3 |
+
size 243
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:880b789ca0c7b6e2f44a0a078b1cf5445505bd5452d9a4f5fbf4cb56f3c8e02b
|
| 3 |
+
size 944
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/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" : "stabilityai\/sdxl-turbo",
|
| 28 |
+
"modelParameters" : [
|
| 29 |
+
|
| 30 |
+
],
|
| 31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/sdxl-turbo",
|
| 32 |
+
"specificationVersion" : 7,
|
| 33 |
+
"storagePrecision" : "Mixed (Float16, Palettized (6 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-06-25",
|
| 82 |
+
"com.github.apple.coremltools.source" : "torch==2.7.0",
|
| 83 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 84 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 85 |
+
},
|
| 86 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_sdxl_turbo_text_encoder",
|
| 87 |
+
"method" : "predict"
|
| 88 |
+
}
|
| 89 |
+
]
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35b13595746f595dd0ad068415f99cb2d264ef5a792f32ec6e6657d434fb7f95
|
| 3 |
+
size 139910080
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59c97d4371af4da60b085323797669f293d2941dddf4f8420d32916d6430d3fe
|
| 3 |
+
size 243
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dc3e324899d939568cc507af5f2ba94be660a85498dc2612c833274c76f0f06
|
| 3 |
+
size 944
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/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" : "stabilityai\/sdxl-turbo",
|
| 28 |
+
"modelParameters" : [
|
| 29 |
+
|
| 30 |
+
],
|
| 31 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/sdxl-turbo",
|
| 32 |
+
"specificationVersion" : 7,
|
| 33 |
+
"storagePrecision" : "Mixed (Float16, Palettized (6 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-06-25",
|
| 82 |
+
"com.github.apple.coremltools.source" : "torch==2.7.0",
|
| 83 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 84 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 85 |
+
},
|
| 86 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_sdxl_turbo_text_encoder_2",
|
| 87 |
+
"method" : "predict"
|
| 88 |
+
}
|
| 89 |
+
]
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/TextEncoder2.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c40415b31e5590bdcaf7297a964499ad41021e8339916f5aa0738be1e4f26ba
|
| 3 |
+
size 600794240
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f711e1be7d18d62fb231128679e08ad75c54f9f234dcf7d2e959b43e6e92382
|
| 3 |
+
size 243
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:881fc94514c1407b136fe18dc11e3b02cb462355a81d3baea299d35bdbae5baa
|
| 3 |
+
size 1696
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/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 1 × 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" : "[1, 4, 64, 64]",
|
| 13 |
+
"name" : "noise_pred",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "stabilityai\/sdxl-turbo",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/sdxl-turbo",
|
| 22 |
+
"specificationVersion" : 7,
|
| 23 |
+
"storagePrecision" : "Mixed (Float16, Palettized (6 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 1 × 4 × 64 × 64)",
|
| 74 |
+
"shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
|
| 75 |
+
"shape" : "[1, 4, 64, 64]",
|
| 76 |
+
"name" : "sample",
|
| 77 |
+
"type" : "MultiArray"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"hasShapeFlexibility" : "0",
|
| 81 |
+
"isOptional" : "0",
|
| 82 |
+
"dataType" : "Float16",
|
| 83 |
+
"formattedType" : "MultiArray (Float16 1)",
|
| 84 |
+
"shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
|
| 85 |
+
"shape" : "[1]",
|
| 86 |
+
"name" : "timestep",
|
| 87 |
+
"type" : "MultiArray"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"hasShapeFlexibility" : "0",
|
| 91 |
+
"isOptional" : "0",
|
| 92 |
+
"dataType" : "Float16",
|
| 93 |
+
"formattedType" : "MultiArray (Float16 1 × 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" : "[1, 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 1 × 6)",
|
| 104 |
+
"shortDescription" : "Additional embeddings that if specified are added to the embeddings that are passed along to the UNet blocks.",
|
| 105 |
+
"shape" : "[1, 6]",
|
| 106 |
+
"name" : "time_ids",
|
| 107 |
+
"type" : "MultiArray"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"hasShapeFlexibility" : "0",
|
| 111 |
+
"isOptional" : "0",
|
| 112 |
+
"dataType" : "Float16",
|
| 113 |
+
"formattedType" : "MultiArray (Float16 1 × 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" : "[1, 1280]",
|
| 116 |
+
"name" : "text_embeds",
|
| 117 |
+
"type" : "MultiArray"
|
| 118 |
+
}
|
| 119 |
+
],
|
| 120 |
+
"userDefinedMetadata" : {
|
| 121 |
+
"com.github.apple.coremltools.conversion_date" : "2026-06-25",
|
| 122 |
+
"com.github.apple.ml-stable-diffusion.version" : "1.1.0",
|
| 123 |
+
"com.github.apple.coremltools.source" : "torch==2.7.0",
|
| 124 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 125 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 126 |
+
},
|
| 127 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_sdxl_turbo_unet",
|
| 128 |
+
"method" : "predict"
|
| 129 |
+
}
|
| 130 |
+
]
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/model.mil
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92fc1d5791ad534104e2d80385729dc58752201fd7f56394b35e5d40802ccc8f
|
| 3 |
+
size 10670063
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/Unet.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbb729a1f1eebb09db266ff6f34050c675f4aac56787f303292f60afcb8d635a
|
| 3 |
+
size 1927869120
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ddf628df1b28cee0c054daf7ac9650bf418d525f87e4fa28d1e3739b8010a3e
|
| 3 |
+
size 243
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:907bd4499add2cea9c412d3a382c4c3b48966a8c1a0c322608688ed8a1666bb7
|
| 3 |
+
size 893
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/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 × 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" : "stabilityai\/sdxl-turbo",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/sdxl-turbo",
|
| 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 × 64 × 64)",
|
| 65 |
+
"shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
|
| 66 |
+
"shape" : "[1, 4, 64, 64]",
|
| 67 |
+
"name" : "z",
|
| 68 |
+
"type" : "MultiArray"
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"userDefinedMetadata" : {
|
| 72 |
+
"com.github.apple.coremltools.conversion_date" : "2026-06-25",
|
| 73 |
+
"com.github.apple.coremltools.source" : "torch==2.7.0",
|
| 74 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 75 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 76 |
+
},
|
| 77 |
+
"generatedClassName" : "Stable_Diffusion_version_stabilityai_sdxl_turbo_vae_decoder",
|
| 78 |
+
"method" : "predict"
|
| 79 |
+
}
|
| 80 |
+
]
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/VAEDecoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9bfb638bef15b3d40b14267616a09fed3c9fff0ee8182d2c21d03bcbdf448831
|
| 3 |
+
size 197977216
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TokForge-SDXL-Turbo-CoreML-6bit/Resources/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_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:9e9467a066956004ee90f3f5a9a9be928e6ee9ea111f3d93127c58ddaf3c7bd7
|
| 3 |
+
size 156213
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_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:35b13595746f595dd0ad068415f99cb2d264ef5a792f32ec6e6657d434fb7f95
|
| 3 |
+
size 139910080
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_text_encoder.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"613E0485-3C9C-4905-84CD-13A7E41A9133": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Weights",
|
| 7 |
+
"name": "weights",
|
| 8 |
+
"path": "com.apple.CoreML/weights"
|
| 9 |
+
},
|
| 10 |
+
"9585B5A5-347C-48DE-988E-1FC0490C4934": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Specification",
|
| 13 |
+
"name": "model.mlmodel",
|
| 14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"rootModelIdentifier": "9585B5A5-347C-48DE-988E-1FC0490C4934"
|
| 18 |
+
}
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_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:e3b759651563702691b01f40780de630995b1ee82bbd370860d839164e4a6212
|
| 3 |
+
size 402903
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_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:6c40415b31e5590bdcaf7297a964499ad41021e8339916f5aa0738be1e4f26ba
|
| 3 |
+
size 600794240
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_text_encoder_2.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"4213F0F0-5C7F-4FFB-A6D6-925F2D3B2434": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Specification",
|
| 7 |
+
"name": "model.mlmodel",
|
| 8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
| 9 |
+
},
|
| 10 |
+
"7279795E-5EC0-4445-A6E6-C27781CCBDF1": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Weights",
|
| 13 |
+
"name": "weights",
|
| 14 |
+
"path": "com.apple.CoreML/weights"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"rootModelIdentifier": "4213F0F0-5C7F-4FFB-A6D6-925F2D3B2434"
|
| 18 |
+
}
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_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:df4bbd93153221a072d19a4bb041e357c7985f14b446ca42203e51993034224a
|
| 3 |
+
size 9297867
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_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:dbb729a1f1eebb09db266ff6f34050c675f4aac56787f303292f60afcb8d635a
|
| 3 |
+
size 1927869120
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_unet.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"01058EB5-5B77-41A0-9F10-61FB6A983F64": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Weights",
|
| 7 |
+
"name": "weights",
|
| 8 |
+
"path": "com.apple.CoreML/weights"
|
| 9 |
+
},
|
| 10 |
+
"341D3A3E-41EA-46BE-BF1F-CAE7B9FE5FE1": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Specification",
|
| 13 |
+
"name": "model.mlmodel",
|
| 14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"rootModelIdentifier": "341D3A3E-41EA-46BE-BF1F-CAE7B9FE5FE1"
|
| 18 |
+
}
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_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:85f4ace4a9ff46b9f5c744e3dce62d820dbab0e6b98b91917858d55e34c5d022
|
| 3 |
+
size 151343
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_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:9bfb638bef15b3d40b14267616a09fed3c9fff0ee8182d2c21d03bcbdf448831
|
| 3 |
+
size 197977216
|
TokForge-SDXL-Turbo-CoreML-6bit/Stable_Diffusion_version_stabilityai_sdxl-turbo_vae_decoder.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"33DD58DA-097E-43C9-861D-EBBFAF497045": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Specification",
|
| 7 |
+
"name": "model.mlmodel",
|
| 8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
| 9 |
+
},
|
| 10 |
+
"EC30B0C1-2CE0-4325-A070-5E4E31619C54": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Weights",
|
| 13 |
+
"name": "weights",
|
| 14 |
+
"path": "com.apple.CoreML/weights"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"rootModelIdentifier": "33DD58DA-097E-43C9-861D-EBBFAF497045"
|
| 18 |
+
}
|