mirror of
https://github.com/vladmandic/automatic
synced 2026-09-14 10:38:42 +02:00
5875cdd29e
Anima 2.9B interleaves twelve new blocks among the 28 of Anima 1.0, so a block index trained against 1.0 names a different block on the expanded model. Every such key still resolves, since blocks 0 to 27 exist either way, so the mismatch was silent. The Anima loader now shifts base-depth indices onto the blocks that carry those weights, keyed by (base depth, expanded depth) and applied only when the transformer is expanded and the LoRA stays inside the base depth. Transformer keys move; llm_adapter and text encoder keys keep their own numbering.