Files
hao-ai-lab-FastVideo/README.md
T

1.1 KiB

Fast Video

This is currently based on Open-Sora-1.2.0: https://github.com/PKU-YuanGroup/Open-Sora-Plan/tree/294993ca78bf65dec1c3b6fb25541432c545eda9

Envrironment

We currrently we CUDA 11.8 + torch 2.1.0.

(Upgrade this when we need flexatteniton)

pip install torch==2.1.0 --index-url https://download.pytorch.org/whl/cu118
pip install xformers==0.0.22.post7 --index-url https://download.pytorch.org/whl/cu118 
pip install -e .
pip install -e ".[train]"

Prepare Data & Models

python scripts/download_hf.py --repo_id=Stealths-Video/dummyVid --local_dir=data/dummyVid --repo_type=model
python scripts/download_hf.py --repo_id=LanguageBind/Open-Sora-Plan-v1.2.0  --file_name vae/checkpoint.ckpt --local_dir=data/Open-Sora-Plan-v1.2.0 --repo_type=model 
python scripts/download_hf.py --repo_id=LanguageBind/Open-Sora-Plan-v1.2.0  --file_name vae/config.json --local_dir=data/Open-Sora-Plan-v1.2.0 --repo_type=model 

Debug Training

bash t2v_debug.sh

TODO

  • Delete all npu related stuff.
  • Create dummy debug data.
  • Add Mochi
  • Add Mochi VAE