Nodes/ComfyUI-LTX-Attention-Toolkit/LTX Attn — Compare Runs
ComfyUI Node

LTX Attn — Compare Runs

A ComfyUI node in g_raw/LTX/Profiler with 10 inputs and 2 outputs.

By g-raw·Created 2 months ago·Updated 29 days ago· 2
LTX Attn — Compare Runs
    • diff_heatmap
    • stats_text
    store_handle_a
    store_handle_b
    attn_typesa
    metricentropy
    step_idx-1
    colormapdiverging
    cell_size16
    top_k15
    norm_percentile0.98
    diff_modeabsolute
    Categoryg_raw/LTX/Profiler

    Inputs (10)

    NameTypeDefaultDescription
    store_handle_aSTRING
    store_handle_bSTRING
    attn_typeCOMBOsa2 options: sa, ca
    metricCOMBOentropy12 options: entropy, temporal, spatial, sink, frame_dist_mean, frame_dist_std, +6
    step_idxINT-1-1–255
    colormapCOMBOdivergingdiverging: 0 = black, so identical cells read as neutral instead of coolwarm's near-white midpoint.
    cell_sizeINT164–64
    top_kINT151–1536How many (block, head) pairs to list, ranked by the diff_mode score.
    norm_percentileFLOAT0.980.5–1Clip the diff_mode score beyond this percentile before mapping to color, so a few outlier cells don't wash out the rest of the heatmap to white. 1.0 = no clipping (use the true max).
    diff_modeCOMBOabsoluteabsolute: A - B, in the metric's own units. Not comparable across metrics with different intrinsic scales (e.g. sink in [0,1] vs raw temporal/spatial scores). relative_pct: (A-B) / max(|A|,|B|) * 100 -- % change, scale-free. zscore: (A-B) / std(A and B combined) -- diff in units of the metric's own spread, the most apples-to-apples way to ask whether one metric moved proportionally more than another.

    Outputs (2)

    NameTypeDescription
    diff_heatmapIMAGE
    stats_textSTRING