Skip to content

About

No description, website, or topics provided.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Repository files navigation

Prospective Forcing:
Learning to Look Ahead for Autoregressive Long Video Diffusion

Yifan Shen1,3†   ·   Yewei Xia1   ·   Gongxu Luo1,3   ·   Peiyuan Zhu1   ·   Boyang Sun1
Zhenhao Chen1   ·   Guangyi Liu1,3   ·   Guangyi Chen1,2*   ·   Kun Zhang2,1

1 Mohamed bin Zayed University of AI      2 Carnegie Mellon University      3 Institute of Foundation Models

† Work done during an internship at the Institute of Foundation Models.    * Corresponding author.

Project Page   |   arXiv


Prospective Forcing video: watch on the project page

Quick start

  1. Create the reference environment (Linux, Python 3.10, PyTorch 2.5.1, CUDA 12.4, FlashAttention 2.8.3.post1):
python3.10 -m venv .venv
source .venv/bin/activate
pip install -r requirements/training.txt
python scripts/utilities/verify_environment.py
  1. Download the public base models (Wan2.1-T2V-1.3B / 14B and the causal-model initialization) to their default locations, then place the Prospective Forcing checkpoint in checkpoints/stage2/ (see checkpoints/README.md; release of our weights is coming soon, or train it with the two-stage recipe in docs/USAGE.md):
pip install -U "huggingface_hub[cli]"   # provides the `hf` command used by the script
bash scripts/utilities/download_public_artifacts.sh
  1. Generate videos from a text file with one prompt per line. Eight GPUs are used by default; set PF_GPU_IDS=0 for a single GPU.
bash scripts/inference/infer_m1.sh examples/prompts.txt outputs/

Training, configuration, and checkpoint details are in docs/USAGE.md and docs/. This code builds on Rolling Forcing and Wan2.1; the inherited license restricts use to academic purposes (see LICENSE and THIRD_PARTY_NOTICES.md).

About

No description, website, or topics provided.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages