Synchronize pair embedded row outputs

This commit is contained in:
2026-06-27 02:28:32 +02:00
parent c0c2fb2b40
commit cfe11a4634
4 changed files with 48 additions and 5 deletions
+7 -3
View File
@@ -194,8 +194,8 @@ Already isolated:
by default, while SDXL can opt into legacy unknown key tags for compatibility.
- final row and pair text normalization lives in `row_normalization.py`,
covering trigger prepending, extra-positive append, negative merge/dedupe,
caption-part joining, and embedded soft/hard row sanitation before metadata
leaves generation.
caption-part joining, embedded soft/hard row output synchronization, and row
sanitation before metadata leaves generation.
### Pair / Adapter Layer
@@ -230,6 +230,9 @@ Already isolated:
- final pair output assembly lives in `pair_output.py`, including soft/hard
prompt strings, trigger preservation, negatives, captions, and root metadata
shape; the final cleanup step is delegated to `row_normalization.py`.
Embedded soft/hard rows are synchronized to the final pair prompt, caption,
and negative outputs during normalization so serialized pair metadata does
not carry stale standalone row text.
### Krea2 Formatter Path
@@ -437,7 +440,8 @@ Medium-term:
Near-term:
- Normalize pair metadata with one helper.
- Normalize pair metadata with one helper, including embedded row prompt,
caption, and negative synchronization.
- Confirm pair prompts, captions, and soft/hard rows carry the same sanitized
scene/camera/clothing fields.
- Keep same-room pair continuity synchronized in both assembled prompt text and