TTT2Reel — Wan2.2-TI2V-5B + meta-trained φ₀ LoRA
| path | what it is |
|---|---|
diffusion_pytorch_model-0000{1..3}-of-00003.safetensors + .index.json | the DiT backbone: TTT2Reel-Wan2.2-TI2V-5B (~20 GB) |
config.json, configuration.json | model configuration file |
lora/phi_0.safetensors | φ₀: rank-128 LoRA on the DiT, meta-trained with FOMAML on top of the model backbone (bf16, 645 MB) |
The text encoder (models_t5_umt5-xxl-enc-bf16.pth) and VAE (Wan2.2_VAE.pth)
are untouched and not re-hosted here; take them from
Wan-AI/Wan2.2-TI2V-5B
and place them beside the shards.
1. The φ₀ LoRA (lora/phi_0.safetensors)
600 tensors (lora_A/lora_B for q,k,v,o,ffn.0,ffn.2 × 30 blocks), rank 128.
Training recipe:
| algorithm | FOMAML, inner grads detached |
| anchoring route | fused (TI2V-5B): the previous chunk's last 3 latent frames (num_anchor_latent_frames=3) plus the video's first frame as a sink are written into the new chunk's leading latents and marked clean |
| chunking | frames_per_chunk=133 @ 24 fps, 720×1280 |
| inner loop | AdamW, lr 1e-5, 2 gradient steps per chunk, max_inner_grad_norm=1, text kept in memorize |
| outer loop | AdamW lr 1e-5, 1 epoch over 16k UltraVideo-Long clips |
| error recycling | on; noise/latent/y/clean = 0.01/0.9/0.9/0.5, buffer k=300, 50 grids, warmup 20 steps |
| LoRA | rank 128, alpha 128 (scaling 1.0), zero-init B, bf16 |
φ₀ is tied to this geometry (k=3 + sink, 720×1280, 24 fps, 133 frames per chunk).
2. Usage (DiffSynth-Studio fork)
from diffsynth.pipelines.wan_video import WanVideoPipeline, ModelConfig
pipe = WanVideoPipeline.from_pretrained(model_configs=[
ModelConfig(path=[f"<this_repo>/diffusion_pytorch_model-0000{i}-of-00003.safetensors" for i in range(1, 4)]),
ModelConfig(path="<stock>/models_t5_umt5-xxl-enc-bf16.pth"),
ModelConfig(path="<stock>/Wan2.2_VAE.pth"),
])
pipe.load_lora(pipe.dit, "<this_repo>/lora/phi_0.safetensors", alpha=1.0)
Sampling flags must mirror training: --ttt_steps_per_chunk 1 --height 720 --width 1280 --fps 24 --frames_per_chunk 133 --num_anchor_latent_frames 3 --optimizer adamw --inner_lr_init 1e-5 --num_gradient_steps 2 --lora_rank 128.
Licenses
Wan2.2 and the φ₀ LoRA are Apache-2.0.