ntc-ai commited on
Commit
b2d2fae
·
verified ·
1 Parent(s): df01fc1

Publish validation-selected SD1.5 to SANA text bridge and evaluated alternatives

Browse files

Three exact inference checkpoints, pinned configurations, validation selection, held-out quality measurements, reviewed comparison panels, and SHA256 checksums. No test-driven reselection.

.gitattributes CHANGED
@@ -33,3 +33,5 @@ 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
+ figures/bench-comparison.jpg filter=lfs diff=lfs merge=lfs -text
37
+ figures/first-four-test-prompts.jpg filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 255BITS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ library_name: pytorch
6
+ pipeline_tag: text-to-image
7
+ tags:
8
+ - model-glue
9
+ - sana
10
+ - stable-diffusion
11
+ - model-stitching
12
+ - safetensors
13
+ base_model:
14
+ - stable-diffusion-v1-5/stable-diffusion-v1-5
15
+ - Efficient-Large-Model/Sana_600M_512px_diffusers
16
+ inference: false
17
+ ---
18
+
19
+ # SD1.5 CLIP → SANA text bridges
20
+
21
+ Three trained bridges translate **77 × 768 SD1.5 CLIP text states** into
22
+ **77 × 2304 SANA conditioning states and a mask**. The bridge runs as an ordinary
23
+ deterministic network forward, followed by normal frozen SANA sampling. There is
24
+ no fitting, retrieval, particle sampling, or candidate selection during inference.
25
+
26
+ These are bridge weights for the [model-glue implementation](https://github.com/255BITS/model-glue),
27
+ not a complete Diffusers pipeline. The donor text encoder, SANA transformer, and
28
+ DC-AE decoder are loaded separately at pinned revisions. SANA's native empty
29
+ conditioning is stored in each checkpoint, so deployment needs no Gemma encoder.
30
+
31
+ ## Choose a checkpoint
32
+
33
+ | File | Role | Selected training update |
34
+ |---|---|---:|
35
+ | [model.safetensors](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/resolve/main/model.safetensors) | Default: validation-selected linear continuation with fixed mask calibration | 1250 |
36
+ | [alternatives/linear-uncalibrated.safetensors](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/resolve/main/alternatives/linear-uncalibrated.safetensors) | Same trained head before calibration; retained for its mask tradeoff | 1250 |
37
+ | [alternatives/expanded-source.safetensors](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/resolve/main/alternatives/expanded-source.safetensors) | Expanded output head with full-source access and fixed mask calibration | 1000 |
38
+
39
+ The expanded-source architecture repairs a verified blind space in the old source
40
+ projection, but did not win the combined validation ranking. The default therefore
41
+ retains the linear head. All three checkpoints include the complete bridge, cloud,
42
+ calibration buffers, architecture metadata, and pinned source/recipient identities.
43
+ They load directly without the parent checkpoint or training caches.
44
+
45
+ ## Run
46
+
47
+ Use the implementation revision that was tested for this release:
48
+
49
+ ```bash
50
+ git clone https://github.com/255BITS/model-glue.git
51
+ cd model-glue
52
+ git checkout f67054d329fe5246510a094dd791d485526e3dd6
53
+ python3 -m venv .venv
54
+ .venv/bin/python -m pip install -e .
55
+ .venv/bin/python - <<'PY'
56
+ from huggingface_hub import snapshot_download
57
+ snapshot_download(
58
+ repo_id="ntc-ai/model-glue-sd15-sana-text",
59
+ local_dir="artifacts/huggingface/sd15-sana-text",
60
+ allow_patterns=["model.safetensors", "manifest.json", "SHA256SUMS"],
61
+ )
62
+ PY
63
+ CUDA_VISIBLE_DEVICES=1 .venv/bin/python -m model_glue.sana_infer \
64
+ --checkpoint artifacts/huggingface/sd15-sana-text/model.safetensors \
65
+ --prompt 'A park bench on a beach of white sand looking out to the ocean.' \
66
+ --seed 87654 --steps 20 --height 512 --width 512 --guidance 4.5 \
67
+ --out artifacts/sana-text-example
68
+ ```
69
+
70
+ Choose an available CUDA device for your machine. The output directory must be new.
71
+ The command saves `image.png` and `render.json`, including the checkpoint hash and
72
+ deterministic-forward verification. To use an alternative, download its path in
73
+ `allow_patterns` and pass that checkpoint to the same CLI. For a reproducible
74
+ download, set `revision` to the desired Hugging Face commit hash.
75
+
76
+ The tested deployment uses CLIP FP16 with a fixed batch padded to 16, a FP32
77
+ bridge, SANA BF16, and the pinned 512-pixel sampler recipe. Input is limited to 77
78
+ tokens. The source skip uses matching sequence lengths; it does not establish
79
+ word-level alignment between tokenizers. `config.json` describes the default
80
+ bridge, while the loader treats checkpoint metadata as authoritative.
81
+
82
+ ## Measured quality
83
+
84
+ Selection used **58 validation prompts**, averaging seeds within each prompt.
85
+ The final test was held out until selection was frozen: **16 prompts × 3 seeds**,
86
+ 20 sampling steps, 512 × 512, guidance 4.5. Every declared output was scored.
87
+
88
+ | Method | Native-image LPIPS ↓ | Pixel MAE ↓ | CLIP cosine ↑ |
89
+ |---|---:|---:|---:|
90
+ | Original parent, comparison baseline | 0.38347 | 0.14984 | 0.30620 |
91
+ | Uncalibrated linear continuation | 0.37711 | 0.14652 | 0.30744 |
92
+ | Validation-selected default | 0.37802 | 0.14609 | 0.30757 |
93
+ | Expanded-source alternative | 0.37778 | 0.14716 | 0.30815 |
94
+ | Native SANA reference | 0.00000 | 0.00000 | 0.30820 |
95
+
96
+ The default improves LPIPS by **1.42%** and pixel MAE by **2.50%** against the
97
+ original parent. LPIPS improves on 11/16 prompt averages, but the paired difference
98
+ of −0.00545 has a 95% prompt-bootstrap interval of **[−0.01769, +0.00817]**.
99
+ The interval includes no improvement. These are modest observed fidelity gains,
100
+ not established gains in general prompt accuracy or aesthetics. The test ranking
101
+ did not replace the frozen validation choice.
102
+
103
+ Mask calibration reduces validation errors from 6 to 4, but increases missed test
104
+ positions from **1 to 3**; exact test masks decline from 15/16 to 14/16 prompts.
105
+ The uncalibrated control has slightly better test LPIPS, while the calibrated
106
+ default has better pixel MAE and CLIP. Composition and attribute errors remain.
107
+
108
+ In this illustrative beach-bench case, the default's orientation is closer to
109
+ native, while the expanded-source alternative changes the bench color. Columns
110
+ are native SANA, original parent, selected default, and expanded-source alternative.
111
+
112
+ ![Bench comparison](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/resolve/main/figures/bench-comparison.jpg)
113
+
114
+ The first four test prompts include failures: the small car between trucks is
115
+ not recovered, and the swan remains goose-like. These panels show seed 87654;
116
+ all three seeds contribute to the table. Both displayed panels were visually
117
+ reviewed; neither contains people.
118
+
119
+ ![First four test prompts and failures](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/resolve/main/figures/first-four-test-prompts.jpg)
120
+
121
+ ## Training and provenance
122
+
123
+ Seven continuations completed **8,500 updates on GPU 1**, starting from the same
124
+ trained parent. The original stem, cloud, and masks stayed fixed during training;
125
+ linear runs trained the output projection, and source-head runs trained the added
126
+ branch. Mask calibration later folded one validation-fitted scalar into the mask
127
+ bias. All new cloud controls are fixed; this study establishes no particle-movement
128
+ advantage. SANA and its decoder were frozen throughout.
129
+
130
+ Training used 8,192 paired captions, paired embedding supervision, and frozen-SANA
131
+ functional distillation. Full-trajectory and repaired b_cap arms were also tested
132
+ but did not win selection. These released winners were trained with the supervised
133
+ distillation recipe. There is no new Anima result in this release.
134
+
135
+ - [Complete study and reproduction details](https://github.com/255BITS/model-glue/blob/f67054d329fe5246510a094dd791d485526e3dd6/docs/results/formulation-retraining-20260905.md)
136
+ - [Release manifest and per-file hashes](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/blob/main/manifest.json)
137
+ - [Checksums](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/blob/main/SHA256SUMS)
138
+ - [Training configurations](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/tree/main/configs)
139
+ - [Selection and measured results](https://huggingface.co/ntc-ai/model-glue-sd15-sana-text/tree/main/reports)
140
+
141
+ The implementation passed 82 tests, including checkpoint migration, resume,
142
+ source reachability, mask geometry, and differentiable rollout checks. The
143
+ Gaussian reference audit has zero cap-parameter-gradient discrepancy. Exact
144
+ upstream revisions and checkpoint SHA256 values are in the manifest. The release
145
+ contains learned bridge weights under the repository's MIT license; the separate
146
+ upstream models retain their own licenses. No donor or recipient model weights,
147
+ training datasets, optimizer states, or credentials are included.
SHA256SUMS ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ f50d7a3340d8e33d65e6905d6471ee64c2217a0a20f54a67922f96e02ec6a42b LICENSE
2
+ 8786e5eaf37799205bbc1f25cdd4cf4d965a9ad208e544e3a53d2656f7ae62a6 README.md
3
+ 1a2db74c6c2d940ee15a845a7e60404ffbe32573757672586a18c578db36a10a alternatives/expanded-source.safetensors
4
+ fc7f44369cf21791c4f9ad6b74978dd420be41a76330a1fe32b11f440f3bf925 alternatives/linear-uncalibrated.safetensors
5
+ aea09893f34769c9b4eef9c30ab9711c935854ec3cf29571aee81cc2367109d7 config.json
6
+ 7d352ba100c91c6167a3926275d6cbb9ea784de7912d83919202d1de55e621f4 configs/linear-distill-fixed.json
7
+ aea09893f34769c9b4eef9c30ab9711c935854ec3cf29571aee81cc2367109d7 configs/linear_distill.architecture.json
8
+ ceca1ec0fcac308fc6a565452f3dc67ce90dcd21e323acefd6df21cc9c1b78b4 configs/source-residual-fullscale-fixed.json
9
+ 726250e6d98abe97c35e61b066ac9211c8ef1759504020c0dd11205105d5880c configs/source_cal.architecture.json
10
+ 4dc2536374ff7b33c85e7bf21e55977737d4e3cd7d0a6db9189812972dbdf469 configs/validation-confirmation.json
11
+ 12de8ae1a69eff31879911c50068af1a2fe77bd5f56dbbf5cf1e6743464eca06 figures/bench-comparison.jpg
12
+ d3f12c915d977e11bbffc83b6e1ba94fabe5feafe2a3a35b0ee6c84e34e77654 figures/first-four-test-prompts.jpg
13
+ 635da76e075a43329ac4700a2f3a0e5cb71434be04f0828de29fc0a5b69acbcb manifest.json
14
+ d3be2492e49f6eb1bc28a406d35108f1055e3dd19e412792442b4c5d9274bb4d model.safetensors
15
+ 5416eac9605b2e0af6b5325be168dbd86bdb8a7d5f241f5481dee417e439c349 reports/mask-metrics.json
16
+ fabd67b38e5a5e878f63bbb0f6de0278c4bcc459d0603957ce3603417f1fddf2 reports/retraining.json
17
+ e57fe58d25d63912d2bbf3bbc814301f760b841c1f49babc648a9d05396910c3 reports/selection.json
18
+ 4014fe544e8087ad654a596d7010212b3be99880d609ff22c6ad0fd8d637b36f reports/test-results.json
alternatives/expanded-source.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2db74c6c2d940ee15a845a7e60404ffbe32573757672586a18c578db36a10a
3
+ size 62037769
alternatives/linear-uncalibrated.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc7f44369cf21791c4f9ad6b74978dd420be41a76330a1fe32b11f440f3bf925
3
+ size 30167265
config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_dim": 768,
3
+ "target_dim": 2304,
4
+ "tokens": 77,
5
+ "width": 384,
6
+ "blocks": 4,
7
+ "particle_dim": 4,
8
+ "num_particles": 256,
9
+ "learnable_particles": false,
10
+ "source_residual": true,
11
+ "native_unconditional": true,
12
+ "output_head": "linear",
13
+ "head_width": 0,
14
+ "use_particles": true,
15
+ "output_source_residual": false,
16
+ "output_source_init_scale": 0.01
17
+ }
configs/linear-distill-fixed.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 90526,
3
+ "source": {
4
+ "repo_id": "stable-diffusion-v1-5/stable-diffusion-v1-5",
5
+ "revision": "451f4fe16113bff5a5d2269ed5ad43b0592e9a14"
6
+ },
7
+ "dataset": "artifacts/data/sana-transfer-sd15",
8
+ "state_cache": "artifacts/data/sana-transfer-sd15-states",
9
+ "steps": 1500,
10
+ "batch_size": 32,
11
+ "lr": 1e-05,
12
+ "adv_weight": 0.0,
13
+ "feature_weight": 0.0,
14
+ "embedding_weight": 0.1,
15
+ "mask_weight": 0.0,
16
+ "particle_weight": 0.0,
17
+ "functional_weight": 1.0,
18
+ "functional_every": 1,
19
+ "functional_start": 0,
20
+ "functional_batch": 4,
21
+ "eval_every": 250,
22
+ "log_every": 50,
23
+ "functional_normalize": true,
24
+ "native_state_probability": 0.5,
25
+ "ema_decay": 0.98,
26
+ "branch_weight": 1.0,
27
+ "guided_weight": 0.05,
28
+ "guidance_scale": 4.5,
29
+ "matmul_tf32": false,
30
+ "max_grad_norm": 1.0,
31
+ "selection_metric": "native_lpips",
32
+ "bridge": {
33
+ "source_dim": 768,
34
+ "width": 384,
35
+ "blocks": 4,
36
+ "source_residual": true,
37
+ "native_unconditional": true,
38
+ "learnable_particles": false,
39
+ "output_head": "linear"
40
+ },
41
+ "functional_validation": {
42
+ "batch_size": 4
43
+ },
44
+ "render_validation": {
45
+ "seeds": [
46
+ 87654
47
+ ],
48
+ "steps": 20,
49
+ "height": 512,
50
+ "width": 512,
51
+ "guidance_scale": 4.5,
52
+ "scorer_device": "cpu",
53
+ "include_native_empty": false,
54
+ "measure_native_fidelity": true
55
+ },
56
+ "scope": "Matched old-linear-head distillation control for residual-distill-fixed. Same parent, frozen resampler/cloud, batches, functional states, losses, learning rate, and update budget. Mask weight zero and deployed hard masks yield zero mask-head gradient. Validation selection only.",
57
+ "patience": 0,
58
+ "critic": {
59
+ "architecture": "coordinate",
60
+ "width": 128
61
+ },
62
+ "training_paths": "routed",
63
+ "regularizer": "b_cap",
64
+ "cap_coefficient": 1.0,
65
+ "cap_kappa": 1.0,
66
+ "cap_damping": 0.01,
67
+ "cap_interpolation_coefficient": 0.1,
68
+ "feature_normalization": "centered",
69
+ "padding_weight": 0.0,
70
+ "particle_center_weight": 0.0,
71
+ "routing_diagnostics": true,
72
+ "trainable_parts": "heads",
73
+ "supervised_only": true,
74
+ "soft_mask_weight": 0.0
75
+ }
configs/linear_distill.architecture.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_dim": 768,
3
+ "target_dim": 2304,
4
+ "tokens": 77,
5
+ "width": 384,
6
+ "blocks": 4,
7
+ "particle_dim": 4,
8
+ "num_particles": 256,
9
+ "learnable_particles": false,
10
+ "source_residual": true,
11
+ "native_unconditional": true,
12
+ "output_head": "linear",
13
+ "head_width": 0,
14
+ "use_particles": true,
15
+ "output_source_residual": false,
16
+ "output_source_init_scale": 0.01
17
+ }
configs/source-residual-fullscale-fixed.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 90526,
3
+ "source": {
4
+ "repo_id": "stable-diffusion-v1-5/stable-diffusion-v1-5",
5
+ "revision": "451f4fe16113bff5a5d2269ed5ad43b0592e9a14"
6
+ },
7
+ "dataset": "artifacts/data/sana-transfer-sd15",
8
+ "state_cache": "artifacts/data/sana-transfer-sd15-states",
9
+ "steps": 1500,
10
+ "batch_size": 32,
11
+ "lr": 1e-05,
12
+ "adv_weight": 0.0,
13
+ "feature_weight": 0.0,
14
+ "embedding_weight": 0.1,
15
+ "mask_weight": 0.0,
16
+ "particle_weight": 0.0,
17
+ "functional_weight": 1.0,
18
+ "functional_every": 1,
19
+ "functional_start": 0,
20
+ "functional_batch": 4,
21
+ "eval_every": 250,
22
+ "log_every": 50,
23
+ "functional_normalize": true,
24
+ "native_state_probability": 0.5,
25
+ "ema_decay": 0.98,
26
+ "branch_weight": 1.0,
27
+ "guided_weight": 0.05,
28
+ "guidance_scale": 4.5,
29
+ "matmul_tf32": false,
30
+ "max_grad_norm": 1.0,
31
+ "selection_metric": "native_lpips",
32
+ "bridge": {
33
+ "source_dim": 768,
34
+ "width": 384,
35
+ "blocks": 4,
36
+ "source_residual": true,
37
+ "native_unconditional": true,
38
+ "learnable_particles": false,
39
+ "output_head": "expanded_residual",
40
+ "output_source_residual": true,
41
+ "output_source_init_scale": 1.0
42
+ },
43
+ "functional_validation": {
44
+ "batch_size": 4
45
+ },
46
+ "render_validation": {
47
+ "seeds": [
48
+ 87654
49
+ ],
50
+ "steps": 20,
51
+ "height": 512,
52
+ "width": 512,
53
+ "guidance_scale": 4.5,
54
+ "scorer_device": "cpu",
55
+ "include_native_empty": false,
56
+ "measure_native_fidelity": true
57
+ },
58
+ "scope": "Matched source-access initialization control: identical to source-residual-distill-fixed except source projection uses its full fan-in initialization rather than 0.01 scaling. The final output residual still starts exactly at zero, preserving parent predictions. Same training/validation schedule and fixed cloud.",
59
+ "patience": 0,
60
+ "critic": {
61
+ "architecture": "coordinate",
62
+ "width": 128
63
+ },
64
+ "training_paths": "routed",
65
+ "regularizer": "b_cap",
66
+ "cap_coefficient": 1.0,
67
+ "cap_kappa": 1.0,
68
+ "cap_damping": 0.01,
69
+ "cap_interpolation_coefficient": 0.1,
70
+ "feature_normalization": "centered",
71
+ "padding_weight": 0.0,
72
+ "particle_center_weight": 0.0,
73
+ "routing_diagnostics": true,
74
+ "trainable_parts": "residual",
75
+ "supervised_only": true,
76
+ "soft_mask_weight": 0.0
77
+ }
configs/source_cal.architecture.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_dim": 768,
3
+ "target_dim": 2304,
4
+ "tokens": 77,
5
+ "width": 384,
6
+ "blocks": 4,
7
+ "particle_dim": 4,
8
+ "num_particles": 256,
9
+ "learnable_particles": false,
10
+ "source_residual": true,
11
+ "native_unconditional": true,
12
+ "output_head": "expanded_residual",
13
+ "head_width": 0,
14
+ "use_particles": true,
15
+ "output_source_residual": true,
16
+ "output_source_init_scale": 1.0
17
+ }
configs/validation-confirmation.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_parent": "artifacts/data/text-integrated",
3
+ "source_split": "val",
4
+ "val_indices": [
5
+ 4,
6
+ 5,
7
+ 8,
8
+ 9,
9
+ 16,
10
+ 18,
11
+ 20,
12
+ 23,
13
+ 27,
14
+ 28,
15
+ 29,
16
+ 30,
17
+ 31,
18
+ 32,
19
+ 36,
20
+ 42,
21
+ 43,
22
+ 50,
23
+ 51,
24
+ 52,
25
+ 57,
26
+ 62,
27
+ 63,
28
+ 67,
29
+ 69,
30
+ 70,
31
+ 76,
32
+ 78,
33
+ 81,
34
+ 82,
35
+ 86,
36
+ 87,
37
+ 88,
38
+ 90,
39
+ 91,
40
+ 100,
41
+ 101,
42
+ 103,
43
+ 106,
44
+ 107,
45
+ 109,
46
+ 116,
47
+ 121,
48
+ 123,
49
+ 124,
50
+ 125
51
+ ],
52
+ "purpose": "Additional validation confirmation outside the twelve checkpoint-selection prompts; predeclared objects, animals, buildings and vehicles. No test tensors and no training.",
53
+ "source_manifest_sha256": "2bf44e5af1d94ccb054b242669a89f4ce56b36973dbd86c9d6dd8706d3f0ae2e"
54
+ }
figures/bench-comparison.jpg ADDED

Git LFS Details

  • SHA256: 12de8ae1a69eff31879911c50068af1a2fe77bd5f56dbbf5cf1e6743464eca06
  • Pointer size: 131 Bytes
  • Size of remote file: 121 kB
figures/first-four-test-prompts.jpg ADDED

Git LFS Details

  • SHA256: d3f12c915d977e11bbffc83b6e1ba94fabe5feafe2a3a35b0ee6c84e34e77654
  • Pointer size: 131 Bytes
  • Size of remote file: 514 kB
manifest.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo_id": "ntc-ai/model-glue-sd15-sana-text",
3
+ "code_repository": "https://github.com/255BITS/model-glue",
4
+ "code_revision": "f67054d329fe5246510a094dd791d485526e3dd6",
5
+ "default_checkpoint": "model.safetensors",
6
+ "source": {
7
+ "repo_id": "stable-diffusion-v1-5/stable-diffusion-v1-5",
8
+ "revision": "451f4fe16113bff5a5d2269ed5ad43b0592e9a14"
9
+ },
10
+ "recipient": {
11
+ "repo_id": "Efficient-Large-Model/Sana_600M_512px_diffusers",
12
+ "revision": "83d7a190bfd1fd070570a793d2dab5c7a3231b9d"
13
+ },
14
+ "decoder": {
15
+ "repo_id": "mit-han-lab/dc-ae-f32c32-sana-1.0-diffusers",
16
+ "revision": "ca69e17e97609e64ce055115a6515215109b1f50"
17
+ },
18
+ "selection_frozen_before_test": true,
19
+ "checkpoints": {
20
+ "model.safetensors": {
21
+ "role": "validation-selected default",
22
+ "selection_key": "linear_cal",
23
+ "sha256": "d3be2492e49f6eb1bc28a406d35108f1055e3dd19e412792442b4c5d9274bb4d",
24
+ "size_bytes": 30168265,
25
+ "training_step": 1250,
26
+ "architecture": {
27
+ "source_dim": 768,
28
+ "target_dim": 2304,
29
+ "tokens": 77,
30
+ "width": 384,
31
+ "blocks": 4,
32
+ "particle_dim": 4,
33
+ "num_particles": 256,
34
+ "learnable_particles": false,
35
+ "source_residual": true,
36
+ "native_unconditional": true,
37
+ "output_head": "linear",
38
+ "head_width": 0,
39
+ "use_particles": true,
40
+ "output_source_residual": false,
41
+ "output_source_init_scale": 0.01
42
+ },
43
+ "mask_calibration": {
44
+ "parent": "artifacts/runs/formulation-linear-distill-fixed/best.safetensors",
45
+ "parent_sha256": "fc7f44369cf21791c4f9ad6b74978dd420be41a76330a1fe32b11f440f3bf925",
46
+ "datasets": [
47
+ {
48
+ "path": "artifacts/data/sana-transfer-sd15",
49
+ "split": "val",
50
+ "rows": 12,
51
+ "manifest_sha256": "208e35938dc8a58cae55143b826f6227b7d1e3e1f2d5a76f1945b680afdc4789"
52
+ },
53
+ {
54
+ "path": "artifacts/data/formulation-validation-confirmation",
55
+ "split": "val",
56
+ "rows": 46,
57
+ "manifest_sha256": "a9923ec7b7b8bc9efcfd73d277a437b4f70ba3b67f7036532088c2938352f0bd"
58
+ }
59
+ ],
60
+ "threshold_offset": 2.0417721271514893,
61
+ "errors_before": 6,
62
+ "errors_after": 4,
63
+ "actual_network_errors_verified": true,
64
+ "positions": 4408,
65
+ "selection": "Minimum validation mask Hamming error; zero wins ties, otherwise closest-to-zero optimal interval midpoint. BOS excluded and always valid.",
66
+ "inference": "Fixed exported mask-head bias. No fitting, selection, target tokenizer or retrieval during inference."
67
+ }
68
+ },
69
+ "alternatives/linear-uncalibrated.safetensors": {
70
+ "role": "uncalibrated control",
71
+ "selection_key": "linear_distill",
72
+ "sha256": "fc7f44369cf21791c4f9ad6b74978dd420be41a76330a1fe32b11f440f3bf925",
73
+ "size_bytes": 30167265,
74
+ "training_step": 1250,
75
+ "architecture": {
76
+ "source_dim": 768,
77
+ "target_dim": 2304,
78
+ "tokens": 77,
79
+ "width": 384,
80
+ "blocks": 4,
81
+ "particle_dim": 4,
82
+ "num_particles": 256,
83
+ "learnable_particles": false,
84
+ "source_residual": true,
85
+ "native_unconditional": true,
86
+ "output_head": "linear",
87
+ "head_width": 0,
88
+ "use_particles": true,
89
+ "output_source_residual": false,
90
+ "output_source_init_scale": 0.01
91
+ },
92
+ "mask_calibration": null
93
+ },
94
+ "alternatives/expanded-source.safetensors": {
95
+ "role": "expanded-source alternative",
96
+ "selection_key": "source_cal",
97
+ "sha256": "1a2db74c6c2d940ee15a845a7e60404ffbe32573757672586a18c578db36a10a",
98
+ "size_bytes": 62037769,
99
+ "training_step": 1000,
100
+ "architecture": {
101
+ "source_dim": 768,
102
+ "target_dim": 2304,
103
+ "tokens": 77,
104
+ "width": 384,
105
+ "blocks": 4,
106
+ "particle_dim": 4,
107
+ "num_particles": 256,
108
+ "learnable_particles": false,
109
+ "source_residual": true,
110
+ "native_unconditional": true,
111
+ "output_head": "expanded_residual",
112
+ "head_width": 0,
113
+ "use_particles": true,
114
+ "output_source_residual": true,
115
+ "output_source_init_scale": 1.0
116
+ },
117
+ "mask_calibration": {
118
+ "parent": "artifacts/runs/formulation-source-residual-fullscale-fixed/best.safetensors",
119
+ "parent_sha256": "ceeb067e4c96b545f5bc094d660ce1e0e1a1953dd14edbf3270a32017f1acdd9",
120
+ "datasets": [
121
+ {
122
+ "path": "artifacts/data/sana-transfer-sd15",
123
+ "split": "val",
124
+ "rows": 12,
125
+ "manifest_sha256": "208e35938dc8a58cae55143b826f6227b7d1e3e1f2d5a76f1945b680afdc4789"
126
+ },
127
+ {
128
+ "path": "artifacts/data/formulation-validation-confirmation",
129
+ "split": "val",
130
+ "rows": 46,
131
+ "manifest_sha256": "a9923ec7b7b8bc9efcfd73d277a437b4f70ba3b67f7036532088c2938352f0bd"
132
+ }
133
+ ],
134
+ "threshold_offset": 2.0417721271514893,
135
+ "errors_before": 6,
136
+ "errors_after": 4,
137
+ "actual_network_errors_verified": true,
138
+ "positions": 4408,
139
+ "selection": "Minimum validation mask Hamming error; zero wins ties, otherwise closest-to-zero optimal interval midpoint. BOS excluded and always valid.",
140
+ "inference": "Fixed exported mask-head bias. No fitting, selection, target tokenizer or retrieval during inference."
141
+ }
142
+ }
143
+ },
144
+ "files": {
145
+ "LICENSE": {
146
+ "sha256": "f50d7a3340d8e33d65e6905d6471ee64c2217a0a20f54a67922f96e02ec6a42b",
147
+ "size_bytes": 1064
148
+ },
149
+ "README.md": {
150
+ "sha256": "8786e5eaf37799205bbc1f25cdd4cf4d965a9ad208e544e3a53d2656f7ae62a6",
151
+ "size_bytes": 7968
152
+ },
153
+ "alternatives/expanded-source.safetensors": {
154
+ "sha256": "1a2db74c6c2d940ee15a845a7e60404ffbe32573757672586a18c578db36a10a",
155
+ "size_bytes": 62037769
156
+ },
157
+ "alternatives/linear-uncalibrated.safetensors": {
158
+ "sha256": "fc7f44369cf21791c4f9ad6b74978dd420be41a76330a1fe32b11f440f3bf925",
159
+ "size_bytes": 30167265
160
+ },
161
+ "config.json": {
162
+ "sha256": "aea09893f34769c9b4eef9c30ab9711c935854ec3cf29571aee81cc2367109d7",
163
+ "size_bytes": 371
164
+ },
165
+ "configs/linear-distill-fixed.json": {
166
+ "sha256": "7d352ba100c91c6167a3926275d6cbb9ea784de7912d83919202d1de55e621f4",
167
+ "size_bytes": 2092
168
+ },
169
+ "configs/linear_distill.architecture.json": {
170
+ "sha256": "aea09893f34769c9b4eef9c30ab9711c935854ec3cf29571aee81cc2367109d7",
171
+ "size_bytes": 371
172
+ },
173
+ "configs/source-residual-fullscale-fixed.json": {
174
+ "sha256": "ceca1ec0fcac308fc6a565452f3dc67ce90dcd21e323acefd6df21cc9c1b78b4",
175
+ "size_bytes": 2214
176
+ },
177
+ "configs/source_cal.architecture.json": {
178
+ "sha256": "726250e6d98abe97c35e61b066ac9211c8ef1759504020c0dd11205105d5880c",
179
+ "size_bytes": 380
180
+ },
181
+ "configs/validation-confirmation.json": {
182
+ "sha256": "4dc2536374ff7b33c85e7bf21e55977737d4e3cd7d0a6db9189812972dbdf469",
183
+ "size_bytes": 763
184
+ },
185
+ "figures/bench-comparison.jpg": {
186
+ "sha256": "12de8ae1a69eff31879911c50068af1a2fe77bd5f56dbbf5cf1e6743464eca06",
187
+ "size_bytes": 120617
188
+ },
189
+ "figures/first-four-test-prompts.jpg": {
190
+ "sha256": "d3f12c915d977e11bbffc83b6e1ba94fabe5feafe2a3a35b0ee6c84e34e77654",
191
+ "size_bytes": 513851
192
+ },
193
+ "model.safetensors": {
194
+ "sha256": "d3be2492e49f6eb1bc28a406d35108f1055e3dd19e412792442b4c5d9274bb4d",
195
+ "size_bytes": 30168265
196
+ },
197
+ "reports/mask-metrics.json": {
198
+ "sha256": "5416eac9605b2e0af6b5325be168dbd86bdb8a7d5f241f5481dee417e439c349",
199
+ "size_bytes": 717
200
+ },
201
+ "reports/retraining.json": {
202
+ "sha256": "fabd67b38e5a5e878f63bbb0f6de0278c4bcc459d0603957ce3603417f1fddf2",
203
+ "size_bytes": 175016
204
+ },
205
+ "reports/selection.json": {
206
+ "sha256": "e57fe58d25d63912d2bbf3bbc814301f760b841c1f49babc648a9d05396910c3",
207
+ "size_bytes": 5669
208
+ },
209
+ "reports/test-results.json": {
210
+ "sha256": "4014fe544e8087ad654a596d7010212b3be99880d609ff22c6ad0fd8d637b36f",
211
+ "size_bytes": 6071
212
+ }
213
+ },
214
+ "visual_review": {
215
+ "date": "2026-09-05",
216
+ "finding": "Both published panels visually reviewed; neither contains people.",
217
+ "sha256": {
218
+ "figures/bench-comparison.jpg": "12de8ae1a69eff31879911c50068af1a2fe77bd5f56dbbf5cf1e6743464eca06",
219
+ "figures/first-four-test-prompts.jpg": "d3f12c915d977e11bbffc83b6e1ba94fabe5feafe2a3a35b0ee6c84e34e77654"
220
+ }
221
+ }
222
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3be2492e49f6eb1bc28a406d35108f1055e3dd19e412792442b4c5d9274bb4d
3
+ size 30168265
reports/mask-metrics.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "native": {
3
+ "wrong_positions": 0,
4
+ "false_positive": 0,
5
+ "false_negative": 0,
6
+ "exact_prompts": 16,
7
+ "prompts": 16
8
+ },
9
+ "parent": {
10
+ "wrong_positions": 1,
11
+ "false_positive": 0,
12
+ "false_negative": 1,
13
+ "exact_prompts": 15,
14
+ "prompts": 16
15
+ },
16
+ "linear_uncalibrated": {
17
+ "wrong_positions": 1,
18
+ "false_positive": 0,
19
+ "false_negative": 1,
20
+ "exact_prompts": 15,
21
+ "prompts": 16
22
+ },
23
+ "selected": {
24
+ "wrong_positions": 3,
25
+ "false_positive": 0,
26
+ "false_negative": 3,
27
+ "exact_prompts": 14,
28
+ "prompts": 16
29
+ },
30
+ "repaired_source": {
31
+ "wrong_positions": 3,
32
+ "false_positive": 0,
33
+ "false_negative": 3,
34
+ "exact_prompts": 14,
35
+ "prompts": 16
36
+ }
37
+ }
reports/retraining.json ADDED
The diff for this file is too large to render. See raw diff
 
reports/selection.json ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "selected": "linear_cal",
3
+ "selected_validation": {
4
+ "native_lpips": 0.37923671806166914,
5
+ "native_pixel_mae": 0.14399123039824524,
6
+ "clip_text_image_cosine": 0.30746305802430224
7
+ },
8
+ "parent_validation": {
9
+ "native_lpips": 0.3845586983979434,
10
+ "native_pixel_mae": 0.14540668043853908,
11
+ "clip_text_image_cosine": 0.30728059424751103
12
+ },
13
+ "validation_prompts": 58,
14
+ "validation_prompt_seed_pairs": 82,
15
+ "ranking": [
16
+ "linear_cal",
17
+ "linear_distill",
18
+ "source_cal",
19
+ "parent_cal",
20
+ "source_full",
21
+ "parent",
22
+ "combined_025",
23
+ "linear_rollout",
24
+ "orthogonal_100",
25
+ "orthogonal_025"
26
+ ],
27
+ "scores": {
28
+ "native": {
29
+ "native_lpips": 0.0,
30
+ "native_pixel_mae": 0.0,
31
+ "clip_text_image_cosine": 0.31729713510507823
32
+ },
33
+ "parent": {
34
+ "native_lpips": 0.3845586983979434,
35
+ "native_pixel_mae": 0.14540668043853908,
36
+ "clip_text_image_cosine": 0.30728059424751103
37
+ },
38
+ "linear_distill": {
39
+ "native_lpips": 0.3811477638952348,
40
+ "native_pixel_mae": 0.14415318966340063,
41
+ "clip_text_image_cosine": 0.3076438892675542
42
+ },
43
+ "linear_rollout": {
44
+ "native_lpips": 0.38574381789256784,
45
+ "native_pixel_mae": 0.14572909688470007,
46
+ "clip_text_image_cosine": 0.3078894349692881
47
+ },
48
+ "source_full": {
49
+ "native_lpips": 0.3832593902774241,
50
+ "native_pixel_mae": 0.14520142021878013,
51
+ "clip_text_image_cosine": 0.30850052174137926
52
+ },
53
+ "orthogonal_025": {
54
+ "native_lpips": 0.3886523847949916,
55
+ "native_pixel_mae": 0.1462558062597253,
56
+ "clip_text_image_cosine": 0.3085590165922011
57
+ },
58
+ "orthogonal_100": {
59
+ "native_lpips": 0.38771238516288237,
60
+ "native_pixel_mae": 0.1463224577407042,
61
+ "clip_text_image_cosine": 0.30837413865601876
62
+ },
63
+ "combined_025": {
64
+ "native_lpips": 0.3855607927530661,
65
+ "native_pixel_mae": 0.14555561092906985,
66
+ "clip_text_image_cosine": 0.30844964797811947
67
+ },
68
+ "parent_cal": {
69
+ "native_lpips": 0.38301196291871453,
70
+ "native_pixel_mae": 0.14532601702744247,
71
+ "clip_text_image_cosine": 0.30715905900659235
72
+ },
73
+ "linear_cal": {
74
+ "native_lpips": 0.37923671806166914,
75
+ "native_pixel_mae": 0.14399123039824524,
76
+ "clip_text_image_cosine": 0.30746305802430224
77
+ },
78
+ "source_cal": {
79
+ "native_lpips": 0.3814662068054594,
80
+ "native_pixel_mae": 0.14504165844670658,
81
+ "clip_text_image_cosine": 0.3084425563956129
82
+ }
83
+ },
84
+ "checkpoints": {
85
+ "parent": {
86
+ "path": "/ml2/model-glue/artifacts/runs/sana-transfer-sd15-movable/best.safetensors",
87
+ "sha256": "73fbd8ff783c8b6570f01d69551193c814c6baaa7233c7b058bf47fb4782cad9"
88
+ },
89
+ "linear_distill": {
90
+ "path": "/ml2/model-glue/artifacts/runs/formulation-linear-distill-fixed/best.safetensors",
91
+ "sha256": "fc7f44369cf21791c4f9ad6b74978dd420be41a76330a1fe32b11f440f3bf925"
92
+ },
93
+ "linear_rollout": {
94
+ "path": "/ml2/model-glue/artifacts/runs/formulation-linear-rollout-fixed/best.safetensors",
95
+ "sha256": "065d88db8ad73f904b3681f2a45bcacafd6b86af7b32f69aabab08a2585ef2f5"
96
+ },
97
+ "source_full": {
98
+ "path": "/ml2/model-glue/artifacts/runs/formulation-source-residual-fullscale-fixed/best.safetensors",
99
+ "sha256": "ceeb067e4c96b545f5bc094d660ce1e0e1a1953dd14edbf3270a32017f1acdd9"
100
+ },
101
+ "orthogonal_025": {
102
+ "path": "/ml2/model-glue/artifacts/formulation-repair/candidates/orthogonal-025.safetensors",
103
+ "sha256": "34d9ad66dff950cca7afec85bbac1046e05ff759e4eee9057d41d0416415fc7a"
104
+ },
105
+ "orthogonal_100": {
106
+ "path": "/ml2/model-glue/artifacts/formulation-repair/candidates/orthogonal-100.safetensors",
107
+ "sha256": "85986a987e6d5a6b5ad52f651b2267c319107927431afd685437dc829f11ba6a"
108
+ },
109
+ "combined_025": {
110
+ "path": "/ml2/model-glue/artifacts/formulation-repair/candidates/combined-025.safetensors",
111
+ "sha256": "73f11ee497640c4ce4cb09b115e940e84233e4a36130e73bb30cfa15c61a3124"
112
+ },
113
+ "parent_cal": {
114
+ "path": "/ml2/model-glue/artifacts/formulation-repair/parent-calibrated.safetensors",
115
+ "sha256": "ee3fe905e68d9fa9859ef5cd303ad86868b3ae680bd81c4e8f4954f2ba6d13ad"
116
+ },
117
+ "linear_cal": {
118
+ "path": "/ml2/model-glue/artifacts/formulation-repair/candidates/linear-distill-calibrated.safetensors",
119
+ "sha256": "d3be2492e49f6eb1bc28a406d35108f1055e3dd19e412792442b4c5d9274bb4d"
120
+ },
121
+ "source_cal": {
122
+ "path": "/ml2/model-glue/artifacts/formulation-repair/candidates/source-full-calibrated.safetensors",
123
+ "sha256": "1a2db74c6c2d940ee15a845a7e60404ffbe32573757672586a18c578db36a10a"
124
+ }
125
+ },
126
+ "selected_checkpoint": "/ml2/model-glue/artifacts/runs/formulation-selected/best.safetensors",
127
+ "selected_sha256": "d3be2492e49f6eb1bc28a406d35108f1055e3dd19e412792442b4c5d9274bb4d",
128
+ "selection": "Minimum native-image LPIPS averaged equally across 58 validation prompts; three seeds averaged within each original prompt and one seed for each additional prompt. Mask calibration used validation labels only.",
129
+ "test_used_for_selection": false,
130
+ "test_recipe": {
131
+ "split": "test",
132
+ "prompts": 16,
133
+ "seeds": [
134
+ 87654,
135
+ 12001,
136
+ 12002
137
+ ],
138
+ "steps": 20,
139
+ "height": 512,
140
+ "width": 512,
141
+ "guidance_scale": 4.5
142
+ },
143
+ "final_test_comparators": [
144
+ "original parent",
145
+ "uncalibrated linear continuation",
146
+ "validation-selected calibrated linear continuation",
147
+ "calibrated expanded source-head alternative"
148
+ ],
149
+ "calibration_additional_panel_reuse": "Verified bitwise equality of every deployed conditioning tensor, positive mask and native empty branch for all 46 additional prompts."
150
+ }
reports/test-results.json ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metrics": {
3
+ "native": {
4
+ "clip_text_image_cosine": 0.3082017917186022,
5
+ "sampling_seconds": 0.6179222891029591,
6
+ "bridge_seconds": 0.0,
7
+ "image_rgb_std": 0.2777115295951565,
8
+ "image_count": 48,
9
+ "quality_pass": true,
10
+ "bridge_repeat_bitwise_equal": null,
11
+ "native_lpips": 0.0,
12
+ "native_pixel_mae": 0.0,
13
+ "native_detail_mae": 0.0,
14
+ "detail_energy_ratio": 1.0
15
+ },
16
+ "parent": {
17
+ "clip_text_image_cosine": 0.30619997655351955,
18
+ "sampling_seconds": 0.5849423649196979,
19
+ "bridge_seconds": 0.0062157050997484475,
20
+ "image_rgb_std": 0.26411043759435415,
21
+ "image_count": 48,
22
+ "quality_pass": true,
23
+ "bridge_repeat_bitwise_equal": true,
24
+ "native_lpips": 0.3834717807670434,
25
+ "native_pixel_mae": 0.14984353189356625,
26
+ "native_detail_mae": 0.03409249125979841,
27
+ "detail_energy_ratio": 1.062919204433759
28
+ },
29
+ "linear_uncalibrated": {
30
+ "clip_text_image_cosine": 0.30744258500635624,
31
+ "sampling_seconds": 0.5833559354844814,
32
+ "bridge_seconds": 0.0016241110861301422,
33
+ "image_rgb_std": 0.26165843568742275,
34
+ "image_count": 48,
35
+ "quality_pass": true,
36
+ "bridge_repeat_bitwise_equal": true,
37
+ "native_lpips": 0.3771136791134874,
38
+ "native_pixel_mae": 0.1465170100952188,
39
+ "native_detail_mae": 0.03367988064807529,
40
+ "detail_energy_ratio": 1.0336223902801673
41
+ },
42
+ "selected": {
43
+ "clip_text_image_cosine": 0.3075694603224595,
44
+ "sampling_seconds": 0.5856305301519266,
45
+ "bridge_seconds": 0.0017263079935219139,
46
+ "image_rgb_std": 0.26142118747035664,
47
+ "image_count": 48,
48
+ "quality_pass": true,
49
+ "bridge_repeat_bitwise_equal": true,
50
+ "native_lpips": 0.3780206674709916,
51
+ "native_pixel_mae": 0.14609215129166842,
52
+ "native_detail_mae": 0.03372150473296642,
53
+ "detail_energy_ratio": 1.036277251938979
54
+ },
55
+ "repaired_source": {
56
+ "clip_text_image_cosine": 0.3081482208023469,
57
+ "sampling_seconds": 0.5845581179504128,
58
+ "bridge_seconds": 0.0018588434904813766,
59
+ "image_rgb_std": 0.2612251853570342,
60
+ "image_count": 48,
61
+ "quality_pass": true,
62
+ "bridge_repeat_bitwise_equal": true,
63
+ "native_lpips": 0.37778033611054224,
64
+ "native_pixel_mae": 0.14715851237997413,
65
+ "native_detail_mae": 0.033508921546551086,
66
+ "detail_energy_ratio": 1.0336602094272773
67
+ }
68
+ },
69
+ "selected_paired_metrics": {
70
+ "native_lpips": {
71
+ "candidate_minus_baseline": -0.00545111329605182,
72
+ "prompt_bootstrap_95_percent_interval": [
73
+ -0.017689170230490468,
74
+ 0.008170036304121215
75
+ ],
76
+ "prompt_count": 16,
77
+ "prompts_improved": 11,
78
+ "per_prompt_deltas": {
79
+ "69c6b91f7189f44577d2": 0.019887487093607586,
80
+ "978f7cb5fb01bf22523c": 0.007638911406199138,
81
+ "9f0be48a1ef2dc4ce885": -0.013423313697179159,
82
+ "06dcbd59e5bc658ec580": 0.01774933934211731,
83
+ "f6ea3fb9a241d37c4fb6": -0.021033987402915955,
84
+ "07075c6a148e625a997a": -0.015316779414812723,
85
+ "593e8a026f6a96531c26": -0.00507734219233195,
86
+ "f2e1e3d4c4157387c817": -0.004540830850601196,
87
+ "18949233e5ae12021263": -0.011010746161142984,
88
+ "60db927e2b28e456a102": 0.06870140631993611,
89
+ "b71eae96f6d63766bc0f": -0.006747742493947347,
90
+ "d85d9a84c873983c21e1": 0.007935047149658203,
91
+ "c96cd1fce8e47a2aac9a": -0.00905078649520874,
92
+ "740624682fb48ef9de2f": -0.03408389290173849,
93
+ "0564e20e17f92949faea": -0.05274855593840281,
94
+ "ba346dce185dbc104295": -0.036096026500066124
95
+ }
96
+ },
97
+ "native_pixel_mae": {
98
+ "candidate_minus_baseline": -0.003751380601897836,
99
+ "prompt_bootstrap_95_percent_interval": [
100
+ -0.008547981436519572,
101
+ 0.0006537250126712024
102
+ ],
103
+ "prompt_count": 16,
104
+ "prompts_improved": 10,
105
+ "per_prompt_deltas": {
106
+ "69c6b91f7189f44577d2": 0.010721762975056967,
107
+ "978f7cb5fb01bf22523c": 0.0007752527793248495,
108
+ "9f0be48a1ef2dc4ce885": -0.009089951713879904,
109
+ "06dcbd59e5bc658ec580": 0.008430302143096924,
110
+ "f6ea3fb9a241d37c4fb6": -0.0071954553325970965,
111
+ "07075c6a148e625a997a": -0.006219935913880666,
112
+ "593e8a026f6a96531c26": -0.002699047327041626,
113
+ "f2e1e3d4c4157387c817": 0.001969166100025177,
114
+ "18949233e5ae12021263": 0.0006917491555213928,
115
+ "60db927e2b28e456a102": 0.009469276914993921,
116
+ "b71eae96f6d63766bc0f": -0.010789374510447184,
117
+ "d85d9a84c873983c21e1": -0.0003184378147125244,
118
+ "c96cd1fce8e47a2aac9a": -0.004497090975443522,
119
+ "740624682fb48ef9de2f": -0.01392831156651179,
120
+ "0564e20e17f92949faea": -0.027514191965262096,
121
+ "ba346dce185dbc104295": -0.009827802578608194
122
+ }
123
+ },
124
+ "clip_text_image_cosine": {
125
+ "candidate_minus_baseline": 0.001369483768939972,
126
+ "prompt_bootstrap_95_percent_interval": [
127
+ -0.0007196499345203237,
128
+ 0.0035478313298275064
129
+ ],
130
+ "prompt_count": 16,
131
+ "prompts_improved": 9,
132
+ "per_prompt_deltas": {
133
+ "69c6b91f7189f44577d2": -0.008427510658899942,
134
+ "978f7cb5fb01bf22523c": -0.001944790283838908,
135
+ "9f0be48a1ef2dc4ce885": 0.0018561085065205891,
136
+ "06dcbd59e5bc658ec580": 0.0008262892564137777,
137
+ "f6ea3fb9a241d37c4fb6": -0.0013627906640370686,
138
+ "07075c6a148e625a997a": 0.005472660064697266,
139
+ "593e8a026f6a96531c26": 0.0020618836085001626,
140
+ "f2e1e3d4c4157387c817": -0.0011492172876993816,
141
+ "18949233e5ae12021263": 0.0030751427014668784,
142
+ "60db927e2b28e456a102": -0.0015757282574971516,
143
+ "b71eae96f6d63766bc0f": -0.0002011259396870931,
144
+ "d85d9a84c873983c21e1": 0.012138674656550089,
145
+ "c96cd1fce8e47a2aac9a": 0.003370086352030436,
146
+ "740624682fb48ef9de2f": 0.0026403963565826416,
147
+ "0564e20e17f92949faea": -0.0008615354696909586,
148
+ "ba346dce185dbc104295": 0.005993197361628215
149
+ }
150
+ }
151
+ },
152
+ "selection_frozen_before_test": true,
153
+ "remaining_composition_errors": true
154
+ }