Document compressed HQ Core ML release
Browse files
README.md
CHANGED
|
@@ -18,24 +18,27 @@ The iOS 18 batch-one U-Net accepts `[1, 9, 64, 64]`, runs classifier-free
|
|
| 18 |
guidance as two serial passes, and exposes 144 mutable Core ML states for exact
|
| 19 |
runtime composition of up to three Clover styles.
|
| 20 |
|
| 21 |
-
The
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Validation
|
| 27 |
|
| 28 |
PyTorch/Core ML parity on deterministic inputs:
|
| 29 |
|
| 30 |
-
| Configuration |
|
| 31 |
-
|---|---:|
|
| 32 |
-
| Base HQ inpainting U-Net |
|
| 33 |
-
| Monet 0.70 + Pointillism 0.45 + Watercolor Anime 1.10 |
|
| 34 |
|
| 35 |
The release gate is 35 dB. The three-style result validates the exact
|
| 36 |
block-concatenated LoRA sum rather than a UI-only approximation.
|
| 37 |
|
| 38 |
-
Held-out 24-case inpainting quality relative to the previous release:
|
| 39 |
|
| 40 |
| Metric | Previous | HQ |
|
| 41 |
|---|---:|---:|
|
|
|
|
| 18 |
guidance as two serial passes, and exposes 144 mutable Core ML states for exact
|
| 19 |
runtime composition of up to three Clover styles.
|
| 20 |
|
| 21 |
+
The production U-Net is under `hq-v4-int8/Unet.mlmodelc`. Its immutable
|
| 22 |
+
weights use per-channel symmetric int8 compression, reducing the complete
|
| 23 |
+
inpainting add-on from about 1.79 GB to **931 MB** while leaving mutable LoRA
|
| 24 |
+
state in FP16. Shared tokenizer, text encoder, and VAE decoder resources are
|
| 25 |
+
hard-linked from the required main Clover installation instead of downloaded
|
| 26 |
+
again. `hq-v4-int8/adapter-schema.json` maps each small `.safetensors` style
|
| 27 |
+
into one of three independent state slots.
|
| 28 |
|
| 29 |
## Validation
|
| 30 |
|
| 31 |
PyTorch/Core ML parity on deterministic inputs:
|
| 32 |
|
| 33 |
+
| Configuration | FP16 | Int8 production |
|
| 34 |
+
|---|---:|---:|
|
| 35 |
+
| Base HQ inpainting U-Net | 78.56 dB | **59.32 dB** |
|
| 36 |
+
| Monet 0.70 + Pointillism 0.45 + Watercolor Anime 1.10 | 78.47 dB | **59.30 dB** |
|
| 37 |
|
| 38 |
The release gate is 35 dB. The three-style result validates the exact
|
| 39 |
block-concatenated LoRA sum rather than a UI-only approximation.
|
| 40 |
|
| 41 |
+
Held-out 24-case inpainting quality relative to the previous Diffusers release:
|
| 42 |
|
| 43 |
| Metric | Previous | HQ |
|
| 44 |
|---|---:|---:|
|