• Stefy Lanza (nextime / spora )'s avatar
    reconcile the attention norms LTX-2.5 spells the other way round · b14e4ccd
    Stefy Lanza (nextime / spora ) authored
    The repair that fixed LTX-2.3's prompt-adaln names could only strip a suffix.
    LTX-2.5's GGUF needs a whole segment renamed: it calls the attention norms
    `q_norm` / `k_norm` where LTX2VideoTransformer3DModel expects `norm_q` /
    `norm_k`. 724 parameters, one to one, the same tensors -- and unreconciled
    they stay on the meta device, so a 37-minute load ends with
    
        Cannot copy out of meta tensor; no data!
    
    about weights the file was carrying all along. Measured by diffing the GGUF's
    4349 tensors against the class's 4091 parameters: nothing was absent, 724 were
    simply spelled differently.
    
    Both directions, because nothing says which spelling the next exporter picks,
    and both repairs now run in one pass -- a checkpoint can need each for a
    different family of keys. The existing guard is unchanged: a key moves only
    when the class does not want its current name, does want the renamed one, and
    nothing already holds the target.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZnLhydX9QqUcfBbqLu
    b14e4ccd
test_gguf_key_alias_repair.py 9.5 KB