Files
ethanfel-ComfyUI-LoRA-Optim…/tests
EthanfelandClaude Opus 4.8 d51c3918dc feat(arch): add Anima (CircleStone Labs / Cosmos-Predict2 DiT) support
Anima is a 2B anime text-to-image DiT that reuses NVIDIA Cosmos-Predict2's
denoiser (split QKV, 28 blocks) with a Qwen3 text encoder + unique llm_adapter.
Verified key forms against live HF files (circlestone-labs/Anima model + real
LoRAs from deadman44/dummy9996).

- Detector 'anima' placed BEFORE ACE-Step/Wan/LTX (its blocks.N.self_attn.q_proj
  + Qwen3 lora_te_layers_N otherwise collide). Discriminators: unique llm_adapter,
  Cosmos triple adaln_modulation_{self_attn,cross_attn,mlp}, GPT2 mlp.layer1/2,
  {self_attn,cross_attn}.output_proj.
- Normalizer -> canonical diffusion_model.blocks.N.*: handles ComfyUI/diffusion-pipe
  (passthrough), Kohya lora_unet_* (underscore->dot restore), diffusers
  transformer_blocks.attn1/attn2.to_* (best effort). Split QKV, no fuse/refuse.
- dit preset; arch label 'Anima (Cosmos-Predict2 DiT)'. README + wiki updated.
- 7 tests (detection on all 3 forms + no ACE/Wan/LTX collision; normalization
  convergence). 284 passing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 02:11:45 +02:00
..