Add files using upload-large-folder tool
Browse files- LICENSE.md +174 -0
- PROVENANCE.json +116 -0
- README.md +68 -0
- TextEncoder.mlmodelc/weights/weight.bin +3 -0
- TextEncoder2.mlmodelc/analytics/coremldata.bin +3 -0
- TextEncoder2.mlmodelc/weights/weight.bin +3 -0
- UnetChunk1.mlmodelc/analytics/coremldata.bin +3 -0
- UnetChunk1.mlmodelc/coremldata.bin +3 -0
- UnetChunk1.mlmodelc/weights/weight.bin +3 -0
- UnetChunk2.mlmodelc/weights/weight.bin +3 -0
- VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- VAEDecoder.mlmodelc/coremldata.bin +3 -0
- VAEDecoder.mlmodelc/weights/weight.bin +3 -0
- VAEEncoder.mlmodelc/metadata.json +79 -0
- merges.txt +0 -0
LICENSE.md
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Fair AI Public License 1.0-SD
|
| 2 |
+
|
| 3 |
+
Published by the Freedom of Development Project.
|
| 4 |
+
|
| 5 |
+
This “SD variant” license contains a Prohibited Uses section designed to be
|
| 6 |
+
compatible with Stable Diffusion’s license. Because of that section, this is
|
| 7 |
+
not a free software license. Unless you are releasing a derivative of a Stable
|
| 8 |
+
Diffusion model, it is not recommended that you use this license.
|
| 9 |
+
|
| 10 |
+
This license comes with special requirements if you intend to allow users to
|
| 11 |
+
access this software over a network. See Notices for more information.
|
| 12 |
+
|
| 13 |
+
## Purpose
|
| 14 |
+
|
| 15 |
+
This license gives everyone as much permission to work with this software as
|
| 16 |
+
possible, while protecting contributors from liability, protecting the freedom
|
| 17 |
+
of end users, and reducing harm.
|
| 18 |
+
|
| 19 |
+
## Definitions
|
| 20 |
+
|
| 21 |
+
In this license, “model” refers to machine learning model weights, biases,
|
| 22 |
+
parameters, optimizer states, and any byproducts of a training or pretraining
|
| 23 |
+
process, whether in the form of checkpoints or any other form.
|
| 24 |
+
|
| 25 |
+
The term “derived model” refers to any model based on this model.
|
| 26 |
+
|
| 27 |
+
The term “software” also refers to any model along with documentation or other
|
| 28 |
+
resources provided with the software.
|
| 29 |
+
|
| 30 |
+
The term “source code” refers to the preferred form of making modifications to
|
| 31 |
+
software. It also includes any models, if applicable, but it does not include
|
| 32 |
+
any datasets used to train a model.
|
| 33 |
+
|
| 34 |
+
To “modify” also means to perform any training on a model or to combine a model
|
| 35 |
+
with another model.
|
| 36 |
+
|
| 37 |
+
## Acceptance
|
| 38 |
+
|
| 39 |
+
In order to receive this license, you must agree to its rules. The rules of this
|
| 40 |
+
license are both obligations under that agreement and conditions to your
|
| 41 |
+
license. You must not do anything with this software that triggers a rule that
|
| 42 |
+
you cannot or will not follow. If you do not agree, then you cannot use this
|
| 43 |
+
software in any way.
|
| 44 |
+
|
| 45 |
+
## Copyright
|
| 46 |
+
|
| 47 |
+
Each contributor licenses you to do everything with this software that would
|
| 48 |
+
otherwise infringe that contributor’s copyright in it.
|
| 49 |
+
|
| 50 |
+
## Freedom
|
| 51 |
+
|
| 52 |
+
Neither this software nor any work that is combined with this software will be
|
| 53 |
+
considered a technological protection measure under the WIPO Copyright Treaty
|
| 54 |
+
or any similar law. Reverse engineering of this software and of any work that
|
| 55 |
+
is combined with this software is always allowed.
|
| 56 |
+
|
| 57 |
+
## Notices
|
| 58 |
+
|
| 59 |
+
You must ensure that everyone who gets a copy of any part of this software from
|
| 60 |
+
you, with or without changes, also gets the text of this license along with the
|
| 61 |
+
corresponding source code.
|
| 62 |
+
|
| 63 |
+
If you modify this software and allow users to interact with it through a
|
| 64 |
+
computer network, you must ensure they have a reasonable way to receive the
|
| 65 |
+
corresponding source code from you, whether that is via a download link or a
|
| 66 |
+
prominent written offer. As a special case, if you are only allowing users to
|
| 67 |
+
interact with a derived model, then you may choose to provide a download link
|
| 68 |
+
or written offer only for the derived model.
|
| 69 |
+
|
| 70 |
+
This software, all source code, and all modifications must be provided under
|
| 71 |
+
this license or another license that allows everything this license allows.
|
| 72 |
+
Note that this does not give you permission to change the license for this
|
| 73 |
+
software.
|
| 74 |
+
|
| 75 |
+
## Excuse
|
| 76 |
+
|
| 77 |
+
If anyone notifies you in writing that you have not complied with Notices, you
|
| 78 |
+
can keep your license by taking all practical steps to comply within 30 days
|
| 79 |
+
after the notice. If you do not do so, your license ends immediately.
|
| 80 |
+
|
| 81 |
+
## Output
|
| 82 |
+
|
| 83 |
+
The output of this software is not covered by this license, and no contributor
|
| 84 |
+
claims any rights to it.
|
| 85 |
+
|
| 86 |
+
## Patent
|
| 87 |
+
|
| 88 |
+
Each contributor licenses you to do everything with this software that would
|
| 89 |
+
otherwise infringe any patent claims they can license or become able to
|
| 90 |
+
license.
|
| 91 |
+
|
| 92 |
+
## Reliability
|
| 93 |
+
|
| 94 |
+
No contributor can revoke this license.
|
| 95 |
+
|
| 96 |
+
## Alternatives
|
| 97 |
+
|
| 98 |
+
You can also use any non-model parts of this software under the terms of the
|
| 99 |
+
GNU AGPL 3.0, or any later version of that license. If you do, No Harm and No
|
| 100 |
+
Liability still apply.
|
| 101 |
+
|
| 102 |
+
## Revisions
|
| 103 |
+
|
| 104 |
+
The Freedom of Development Project may publish revised or new versions of the
|
| 105 |
+
Fair AI Public License. Those new versions will be similar in spirit to this
|
| 106 |
+
license.
|
| 107 |
+
|
| 108 |
+
Unless a contributor specifies otherwise, you have the option of following the
|
| 109 |
+
terms of any later version of this license. Your choice to follow a later
|
| 110 |
+
version of the license will not impose additional obligations on any
|
| 111 |
+
contributor. Even if you do choose to follow a later version, the restrictions
|
| 112 |
+
of Prohibited Uses will still apply.
|
| 113 |
+
|
| 114 |
+
## Survival
|
| 115 |
+
|
| 116 |
+
The provisions of No Harm and No Liability survive the end of your license.
|
| 117 |
+
|
| 118 |
+
## No Harm
|
| 119 |
+
|
| 120 |
+
You agree that no contributor’s conduct in the creation of this software has
|
| 121 |
+
caused you any harm. As far as the law allows, you give up your right to pursue
|
| 122 |
+
any kind of legal claim against any contributor for actions related the
|
| 123 |
+
creation of this software, even if those actions broke a previous agreement.
|
| 124 |
+
|
| 125 |
+
Additionally, you agree not to use this model for harmful purposes, as listed
|
| 126 |
+
in Prohibited Uses. These restrictions do not apply to non-model parts of this
|
| 127 |
+
software.
|
| 128 |
+
|
| 129 |
+
## No Liability
|
| 130 |
+
|
| 131 |
+
As far as the law allows, this software comes as is, without any warranty or
|
| 132 |
+
condition, and no contributor will be liable to anyone for any damages related
|
| 133 |
+
to this software or this license, under any kind of legal claim.
|
| 134 |
+
|
| 135 |
+
## Prohibited Uses
|
| 136 |
+
|
| 137 |
+
You may not use this model or any derived model for the following:
|
| 138 |
+
|
| 139 |
+
- In any way that violates any applicable national, federal, state, local or
|
| 140 |
+
international law or regulation;
|
| 141 |
+
- For the purpose of exploiting, harming or attempting to exploit or harm
|
| 142 |
+
minors in any way;
|
| 143 |
+
- To generate or disseminate verifiably false information and/or content with
|
| 144 |
+
the purpose of harming others;
|
| 145 |
+
- To generate or disseminate personal identifiable information that can be
|
| 146 |
+
used to harm an individual;
|
| 147 |
+
- To defame, disparage or otherwise harass others;
|
| 148 |
+
- For fully automated decision making that adversely impacts an individual’s
|
| 149 |
+
legal rights or otherwise creates or modifies a binding, enforceable
|
| 150 |
+
obligation;
|
| 151 |
+
- For any use intended to or which has the effect of discriminating against or
|
| 152 |
+
harming individuals or groups based on online or offline social behavior or
|
| 153 |
+
known or predicted personal or personality characteristics;
|
| 154 |
+
- To exploit any of the vulnerabilities of a specific group of persons based
|
| 155 |
+
on their age, social, physical or mental characteristics, in order to
|
| 156 |
+
materially distort the behavior of a person pertaining to that group in a
|
| 157 |
+
manner that causes or is likely to cause that person or another person
|
| 158 |
+
physical or psychological harm;
|
| 159 |
+
- For any use intended to or which has the effect of discriminating against
|
| 160 |
+
individuals or groups based on legally protected characteristics or
|
| 161 |
+
categories;
|
| 162 |
+
- To provide medical advice and medical results interpretation;
|
| 163 |
+
- To generate or disseminate information for the purpose to be used for
|
| 164 |
+
administration of justice, law enforcement, immigration or asylum processes,
|
| 165 |
+
such as predicting an individual will commit fraud/crime commitment (e.g. by
|
| 166 |
+
text profiling, drawing causal relationships between assertions made in
|
| 167 |
+
documents, indiscriminate and arbitrarily-targeted use).
|
| 168 |
+
|
| 169 |
+
Copyright © 2023 The Freedom of Development Project
|
| 170 |
+
|
| 171 |
+
Verbatim copying and distribution of this entire article are permitted
|
| 172 |
+
worldwide, without royalty, in any medium, provided this notice is preserved.
|
| 173 |
+
|
| 174 |
+
Source: https://freedevproject.org/faipl-1.0-sd/
|
PROVENANCE.json
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schemaVersion": 1,
|
| 3 |
+
"model": {
|
| 4 |
+
"name": "WAI Illustrious SDXL V17",
|
| 5 |
+
"base": "Illustrious SDXL",
|
| 6 |
+
"workflow": [
|
| 7 |
+
"text-to-image",
|
| 8 |
+
"image-to-image",
|
| 9 |
+
"face-detail"
|
| 10 |
+
]
|
| 11 |
+
},
|
| 12 |
+
"officialRelease": {
|
| 13 |
+
"author": "WAI0731",
|
| 14 |
+
"civitaiModelId": 827184,
|
| 15 |
+
"civitaiVersionId": 2883731,
|
| 16 |
+
"url": "https://civitai.com/models/827184?modelVersionId=2883731"
|
| 17 |
+
},
|
| 18 |
+
"source": {
|
| 19 |
+
"repository": "LyliaEngine/waiIllustriousSDXL_v170",
|
| 20 |
+
"revision": "5ef4e2da7173a160ad04aebcaa2fdcd6d20ed792",
|
| 21 |
+
"file": "waiIllustriousSDXL_v170.safetensors",
|
| 22 |
+
"sizeBytes": 6938040682,
|
| 23 |
+
"sha256": "f116b0c78ff441467b0cdc8f1936e1ed18ea31e9997c7b132b1b8db533f0bd04",
|
| 24 |
+
"role": "Pinned checkpoint transport mirror"
|
| 25 |
+
},
|
| 26 |
+
"configuration": {
|
| 27 |
+
"repository": "frankjoshua/waiIllustriousSDXL_v170",
|
| 28 |
+
"revision": "9303ce49345822823717889e3677b6ffd43fc6a9",
|
| 29 |
+
"vaeScalingFactor": 0.13025,
|
| 30 |
+
"unetInputChannels": 4
|
| 31 |
+
},
|
| 32 |
+
"license": {
|
| 33 |
+
"officialRelease": "Fair AI Public License 1.0-SD",
|
| 34 |
+
"includedLicense": "Fair AI Public License 1.0-SD",
|
| 35 |
+
"licenseURL": "https://freedevproject.org/faipl-1.0-sd/",
|
| 36 |
+
"note": "The official Civitai release controls attribution and licensing for this conversion. Inconsistent metadata on a transport mirror does not replace that declared license."
|
| 37 |
+
},
|
| 38 |
+
"textEncoderRepair": {
|
| 39 |
+
"reason": "The source checkpoint contains non-finite values only in the unused final CLIP-L transformer layer. SDXL conditioning uses the preceding hidden state, and pooled conditioning comes from TextEncoder2.",
|
| 40 |
+
"replacementRepository": "OnomaAIResearch/Illustrious-xl-early-release-v0",
|
| 41 |
+
"replacementRevision": "dca0dac303e6dc4b0c31d8001bc685b89b5d0204",
|
| 42 |
+
"replacementFile": "text_encoder/model.safetensors",
|
| 43 |
+
"replacementSizeBytes": 246144152,
|
| 44 |
+
"replacementSha256": "f8480c7d1b3ee29a5a9922d5c088dfbfc6d5b94c8d7312892eacfe7a880052cc",
|
| 45 |
+
"affectedLayer": "text_model.encoder.layers.11",
|
| 46 |
+
"replacedNonFiniteValueCount": 7077888,
|
| 47 |
+
"scope": "Only non-finite values in the unused final CLIP-L layer were replaced; all conditioning layers used by inference remain from WAI Illustrious SDXL V17."
|
| 48 |
+
},
|
| 49 |
+
"conversion": {
|
| 50 |
+
"appleMLStableDiffusionRevision": "e12202c1f6405b83918b58a5d097cd61e3e1f702",
|
| 51 |
+
"python": "3.9.6",
|
| 52 |
+
"coremltools": "8.0",
|
| 53 |
+
"diffusers": "0.30.2",
|
| 54 |
+
"torch": "2.4.0",
|
| 55 |
+
"transformers": "4.44.2",
|
| 56 |
+
"huggingfaceHub": "0.24.6",
|
| 57 |
+
"safetensors": "0.4.5",
|
| 58 |
+
"minimumDeploymentTarget": "iOS 17",
|
| 59 |
+
"attentionImplementation": "SPLIT_EINSUM",
|
| 60 |
+
"computeUnits": "CPU_AND_NE conversion; GPU VAE runtime",
|
| 61 |
+
"resolution": [
|
| 62 |
+
1024,
|
| 63 |
+
1024
|
| 64 |
+
],
|
| 65 |
+
"unet": {
|
| 66 |
+
"quantizationBits": 6,
|
| 67 |
+
"split": true,
|
| 68 |
+
"batchSize": 2,
|
| 69 |
+
"inputShape": [
|
| 70 |
+
2,
|
| 71 |
+
4,
|
| 72 |
+
128,
|
| 73 |
+
128
|
| 74 |
+
],
|
| 75 |
+
"outputShape": [
|
| 76 |
+
2,
|
| 77 |
+
4,
|
| 78 |
+
128,
|
| 79 |
+
128
|
| 80 |
+
]
|
| 81 |
+
},
|
| 82 |
+
"textEncoder": {
|
| 83 |
+
"precision": "FP16",
|
| 84 |
+
"source": "WAI Illustrious SDXL V17 with documented unused-layer repair"
|
| 85 |
+
},
|
| 86 |
+
"textEncoder2": {
|
| 87 |
+
"quantizationBits": 8,
|
| 88 |
+
"source": "WAI Illustrious SDXL V17"
|
| 89 |
+
},
|
| 90 |
+
"vae": {
|
| 91 |
+
"precision": "Float32 Core ML",
|
| 92 |
+
"source": "WAI Illustrious SDXL V17",
|
| 93 |
+
"decoderIncluded": true,
|
| 94 |
+
"encoderIncludedForImageToImageAndFaceDetail": true,
|
| 95 |
+
"scalingFactor": 0.13025
|
| 96 |
+
}
|
| 97 |
+
},
|
| 98 |
+
"componentWeightBytes": {
|
| 99 |
+
"TextEncoder.mlmodelc": 246145536,
|
| 100 |
+
"TextEncoder2.mlmodelc": 758591232,
|
| 101 |
+
"UnetChunk1.mlmodelc": 968067264,
|
| 102 |
+
"UnetChunk2.mlmodelc": 959821632,
|
| 103 |
+
"VAEDecoder.mlmodelc": 197977216,
|
| 104 |
+
"VAEEncoder.mlmodelc": 136668992
|
| 105 |
+
},
|
| 106 |
+
"validation": {
|
| 107 |
+
"checkpointTensorShapesVerified": true,
|
| 108 |
+
"allUsedCheckpointTensorsFinite": true,
|
| 109 |
+
"compiledComponentShapesVerified": true,
|
| 110 |
+
"allCompiledComponentsBelowOneGiB": true,
|
| 111 |
+
"fullPipelineGeneration": false,
|
| 112 |
+
"compiledComponentPredictionsFinite": false,
|
| 113 |
+
"iPhoneRuntimeValidation": "pending",
|
| 114 |
+
"note": "macOS execution is not used as a substitute for the final iPhone Core ML runtime test."
|
| 115 |
+
}
|
| 116 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: fair-ai-public-license-1.0-sd
|
| 4 |
+
license_link: https://freedevproject.org/faipl-1.0-sd/
|
| 5 |
+
base_model: OnomaAIResearch/Illustrious-xl-early-release-v0
|
| 6 |
+
pipeline_tag: text-to-image
|
| 7 |
+
tags:
|
| 8 |
+
- coreml
|
| 9 |
+
- ios
|
| 10 |
+
- stable-diffusion-xl
|
| 11 |
+
- illustrious
|
| 12 |
+
- anime
|
| 13 |
+
- localmuse
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# WAI Illustrious SDXL V17 — Core ML for LocalMuse
|
| 17 |
+
|
| 18 |
+
A production-oriented Core ML conversion of WAI Illustrious SDXL V17 for
|
| 19 |
+
private, on-device 1024×1024 generation in LocalMuse.
|
| 20 |
+
|
| 21 |
+
## Runtime profile
|
| 22 |
+
|
| 23 |
+
- Native, non-distilled Illustrious SDXL at 1024×1024.
|
| 24 |
+
- 15–30 diffusion steps; LocalMuse defaults to 25.
|
| 25 |
+
- DPM-Solver++ Karras, CFG 5–7, batch size one.
|
| 26 |
+
- Recommended positive quality tags:
|
| 27 |
+
`masterpiece, best quality, amazing quality`.
|
| 28 |
+
- Two 6-bit split UNet components, each below the iOS 1 GiB component limit.
|
| 29 |
+
- Model CLIP-L at FP16 and OpenCLIP-bigG at 8-bit.
|
| 30 |
+
- Checkpoint VAE decoder and encoder for Text to Image, Transform, and
|
| 31 |
+
LocalMuse Face Detail.
|
| 32 |
+
- Requires an iPhone or iPad in the nominal 8 GiB memory class.
|
| 33 |
+
|
| 34 |
+
The UNet and second text-encoder palettization reduce model storage. They do
|
| 35 |
+
not turn V17 into a Lightning, LCM, Turbo, or other reduced-step model.
|
| 36 |
+
|
| 37 |
+
## Source and reproducibility
|
| 38 |
+
|
| 39 |
+
Official release: [WAI Illustrious SDXL on Civitai](https://civitai.com/models/827184?modelVersionId=2883731),
|
| 40 |
+
model ID `827184`, version ID `2883731`.
|
| 41 |
+
|
| 42 |
+
Conversion source checkpoint:
|
| 43 |
+
[`LyliaEngine/waiIllustriousSDXL_v170`](https://huggingface.co/LyliaEngine/waiIllustriousSDXL_v170/tree/5ef4e2da7173a160ad04aebcaa2fdcd6d20ed792),
|
| 44 |
+
revision `5ef4e2da7173a160ad04aebcaa2fdcd6d20ed792`, file
|
| 45 |
+
`waiIllustriousSDXL_v170.safetensors`, SHA-256
|
| 46 |
+
`f116b0c78ff441467b0cdc8f1936e1ed18ea31e9997c7b132b1b8db533f0bd04`.
|
| 47 |
+
|
| 48 |
+
The checkpoint contains non-finite values only in CLIP-L's unused final
|
| 49 |
+
transformer layer. The converter replaces only those values with the matching
|
| 50 |
+
pinned Illustrious base-model layer. SDXL prompt conditioning uses the
|
| 51 |
+
preceding hidden state, while pooled conditioning is produced by the exact WAI
|
| 52 |
+
second encoder. Exact inputs, revisions, hashes, conversion versions,
|
| 53 |
+
component sizes, and validation status are recorded in `PROVENANCE.json`.
|
| 54 |
+
|
| 55 |
+
## License and attribution
|
| 56 |
+
|
| 57 |
+
WAI Illustrious SDXL is by WAI0731. The official Civitai release declares the
|
| 58 |
+
[Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/).
|
| 59 |
+
The complete license text is included in `LICENSE.md`; its use restrictions
|
| 60 |
+
continue to apply to this converted artifact. The Hugging Face source is used
|
| 61 |
+
as a pinned transport mirror and its inconsistent repository metadata does not
|
| 62 |
+
replace the license declared by the official release.
|
| 63 |
+
|
| 64 |
+
## Validation status
|
| 65 |
+
|
| 66 |
+
Checkpoint shapes, all tensors used by inference, compiled component shapes,
|
| 67 |
+
and component size limits were verified. The final iPhone runtime test remains
|
| 68 |
+
pending and is intentionally not represented as completed in provenance.
|
TextEncoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5af12b89dc9ffaa1b95d2ae03529e87fe50912a7ca603ee64dafa70fa8be6058
|
| 3 |
+
size 246145536
|
TextEncoder2.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55690a4bae17f1d00cbd81faa69687cf51e5fe41ecebf41486edd633f6a8e55f
|
| 3 |
+
size 243
|
TextEncoder2.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:619c44fce4a0050eb15dbdc1e19ab8351df019f66f81a0bf5ae7b98791f33ea8
|
| 3 |
+
size 758591232
|
UnetChunk1.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f98cd5ea61d5c8930e8dcd0fe4108232eecf59eb856e5ffc0b875439ba1216f
|
| 3 |
+
size 243
|
UnetChunk1.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df9fc6af09556e03da4d6a6bf2538be42aab919f23150bdf93939db64ad192bd
|
| 3 |
+
size 669
|
UnetChunk1.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb22b8707a8304342511fc64f024feab2c40c0cd7a23a924a85ab640841a1901
|
| 3 |
+
size 968067264
|
UnetChunk2.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d32ec9f25f31482bfae9d92b93ae7fddfd715d05f306253ce78ccb933c3dce6d
|
| 3 |
+
size 959821632
|
VAEDecoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc23f3efa60729038c380d54e2326463e5b565454381615d0d6f95cb0f39846a
|
| 3 |
+
size 243
|
VAEDecoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99d760358450e8bd1904cbb564ed01dcdbc1933562e5a39492d34e8f755e7d86
|
| 3 |
+
size 860
|
VAEDecoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7631d6b747e772c3da7be0860765f8893776fac46160132cce7d2ba15f2e3948
|
| 3 |
+
size 197977216
|
VAEEncoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 × 128 × 128)",
|
| 11 |
+
"shortDescription" : "The latent embeddings from the unet model from the input image.",
|
| 12 |
+
"shape" : "[1, 8, 128, 128]",
|
| 13 |
+
"name" : "latent",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"version" : "LyliaEngine\/waiIllustriousSDXL_v170",
|
| 18 |
+
"modelParameters" : [
|
| 19 |
+
|
| 20 |
+
],
|
| 21 |
+
"author" : "Please refer to the Model Card available at huggingface.co\/LyliaEngine\/waiIllustriousSDXL_v170",
|
| 22 |
+
"specificationVersion" : 8,
|
| 23 |
+
"storagePrecision" : "Float32",
|
| 24 |
+
"license" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)",
|
| 25 |
+
"mlProgramOperationTypeHistogram" : {
|
| 26 |
+
"Pad" : 3,
|
| 27 |
+
"Ios17.mul" : 2,
|
| 28 |
+
"Ios17.sqrt" : 22,
|
| 29 |
+
"Ios17.square" : 22,
|
| 30 |
+
"Ios17.transpose" : 6,
|
| 31 |
+
"Ios17.sub" : 22,
|
| 32 |
+
"Ios17.linear" : 4,
|
| 33 |
+
"Ios17.conv" : 28,
|
| 34 |
+
"Ios17.matmul" : 2,
|
| 35 |
+
"Ios17.add" : 34,
|
| 36 |
+
"Ios17.realDiv" : 22,
|
| 37 |
+
"Ios16.reduceMean" : 44,
|
| 38 |
+
"Ios17.batchNorm" : 21,
|
| 39 |
+
"Ios16.softmax" : 1,
|
| 40 |
+
"Ios17.reshape" : 49,
|
| 41 |
+
"Ios16.silu" : 21
|
| 42 |
+
},
|
| 43 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 44 |
+
"stateSchema" : [
|
| 45 |
+
|
| 46 |
+
],
|
| 47 |
+
"isUpdatable" : "0",
|
| 48 |
+
"availability" : {
|
| 49 |
+
"macOS" : "14.0",
|
| 50 |
+
"tvOS" : "17.0",
|
| 51 |
+
"visionOS" : "1.0",
|
| 52 |
+
"watchOS" : "10.0",
|
| 53 |
+
"iOS" : "17.0",
|
| 54 |
+
"macCatalyst" : "17.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 × 3 × 1024 × 1024)",
|
| 65 |
+
"shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
|
| 66 |
+
"shape" : "[1, 3, 1024, 1024]",
|
| 67 |
+
"name" : "x",
|
| 68 |
+
"type" : "MultiArray"
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"userDefinedMetadata" : {
|
| 72 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 73 |
+
"com.github.apple.coremltools.source" : "torch==2.4.0",
|
| 74 |
+
"com.github.apple.coremltools.version" : "8.0"
|
| 75 |
+
},
|
| 76 |
+
"generatedClassName" : "Stable_Diffusion_version_LyliaEngine_waiIllustriousSDXL_v170_vae_encoder",
|
| 77 |
+
"method" : "predict"
|
| 78 |
+
}
|
| 79 |
+
]
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|