Files
AEmotionStudio-ComfyUI-Shad…/core
Æmotion StudioandClaude Opus 5 7661d7cf17 fix: raise DECORRELATION_BASIS from 8 to 64, which was set by guess
The basis shipped at 8 with the comment that it bounded cost "which matters at
LTXV's 128 channels". Both halves of that were wrong.

The quality claim, measured on real H3 at strength 0.75 where stock noise is a
solid quilted green texture:

    stock       destroyed
    basis 8     still mostly destroyed
    basis 16    coherent
    basis 32    clean

So 8 was leaving most of the benefit on the table. Achieved rank runs at about
85-90% of the basis until it reaches the channel count, so a basis of 64 gives
full independence to every model up to 64 channels and takes LTXV's 128 from
rank 7.6 to 43.5.

The cost it was guarding against does not exist. Seconds per draw, worst case
across shapes:

    model            stock   basis 8   basis 16   basis 32
    SD 1.5 512        0.01      0.03       0.03       0.03
    Flux 768          0.01      0.09       0.18       0.16
    H3 608x352x56     0.13      0.45       0.79       1.12
    LTXV              0.03      0.07       0.09       0.14

One draw happens per stage boundary, on runs that take thirty to fifty seconds.
At the new default the worst measured case is 1.22s.

Effective rank at the new default:

    (1, 4,   64, 64)      1.00 -> 2.43     (capped by 4 channels)
    (1, 24,  17, 22, 38)  2.03 -> 14.39    MiniMax H3
    (1, 48,  5, 24, 24)   2.15 -> 28.55    Wan 2.2
    (1, 128, 32, 32)      2.37 -> 43.48    LTXV

The no-regression guarantee still holds across all sixteen shape/generator
combinations: turning decorrelation on never narrows the noise.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-12 08:24:13 -07:00
..