fix(anima): ignore community checkpoint pos_embedder runtime buffers (#9201)
Some community-trained Anima checkpoints (e.g. animaCatTower_v10) serialize `pos_embedder.dim_spatial_range`, `pos_embedder.dim_temporal_range`, and `pos_embedder.seq`. The official model registers the first two as non-persistent buffers and never stores `seq` (it is a local in `generate_embeddings`), so `load_state_dict` rejects them as unexpected and generation fails after a successful probe. Drop them alongside the existing `inv_freq` filter — they are regenerated at runtime from architecture parameters. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Jonathan <34005131+JPPhoto@users.noreply.github.com>
L
Lincoln Stein committed
8fdb514d52c1b2056ebb0a5fa0568d754c3063bb
Parent: a73bee6
Committed by GitHub <noreply@github.com>
on 5/18/2026, 10:42:09 PM