This repository is the cleaned training and inference workspace we use for the
SmolVLM2 -> bridge/projector -> SANA Video DiT pipeline.
It is focused on a narrow, practical scope:
It is not intended to be a polished release of every Omni-Video research path. Legacy understanding pipelines, HD-VILA flows, and old experiment notes are intentionally de-emphasized or archived.
fixedThe canonical environment name is mobileov.
Recommended path:
bash scripts/setup_mobileov_env.sh mobileov
Detailed environment notes:
conda env create -f environment.yml
conda activate mobileov
export PYTHONNOUSERSITE=1
source scripts/env_exports.sh
If the environment already exists:
conda env update -f environment.yml --prune
conda activate mobileov
export PYTHONNOUSERSITE=1
source scripts/env_exports.sh
For OpenVid DataOps convenience commands, install the local package once:
pip install -e download_data
All repo entrypoints below assume the two exports above are present. PYTHONNOUSERSITE=1
prevents accidental conflicts from ~/.local, and source scripts/env_exports.sh
keeps in-repo imports working when launching scripts from repo root.
These entrypoints will auto-download / auto-convert model assets when missing:
tools/train_stage1_teacher_free.pytools/train_q1_sana_bridge.pytools/inference/sana_video_inference_fixed.pytools/inference/test_q1_student_video.pyThis covers:
WAN VAE assets used by OpenVid / MSR-VTT latent encoding are still explicit setup steps. See the dataset guides below.
GPUS=0,1 bash scripts/train_openvid_current_laion_coyo_3stage_gemma_distill_5v1i.sh
PYTHONPATH=. python tools/inference/test_q1_student_video.py \
--bridge-ckpt /path/to/checkpoint_stepXXXX.pt \
--prompt "a golden retriever running along a beach at sunset" \
--output-dir output/inference_example \
--sana-backend fixed \
--steps 24 \
--cfg-scale 3.0
Canonical options:
download_data/ for OpenVid DataOpstools/data_prepare/download_openvid.py for lightweight CSV / part downloadSee:
download_data/README.md (step-by-step guide)Use:
tools/data_prepare/msrvtt_data_prepare.pySee:
tools/data_prepare/MSRVTT_DATA_PREPARE.md (step-by-step guide)Current repo support is manifest-based rather than one-shot raw crawling. That now includes a bootstrap path from full parquet metadata shards. Canonical tools are:
tools/data_prepare/bootstrap_laion_coyo_source_manifest.pytools/data_prepare/materialize_unified_manifest.pytools/data_prepare/recover_laion_images_unique.pytools/data_prepare/encode_laion_coyo_images_sana_ar.pytools/data_prepare/build_laion_coyo_encoded_manifest.pySee:
docs/LAION_COYO_DATA_PREPARE.md (step-by-step guide)tools/train_q1_sana_bridge.pytools/train_stage1_teacher_free.pyscripts/train_openvid_current_laion_coyo_3stage_gemma_distill_5v1i.shtools/inference/test_q1_student_video.pytools/inference/sana_video_inference_fixed.pytools/data_prepare/download_openvid.pytools/data_prepare/msrvtt_data_prepare.pytools/data_prepare/materialize_unified_manifest.pytools/data_prepare/recover_laion_images_unique.pytools/data_prepare/encode_laion_coyo_images_sana_ar.pydocs/LAION_COYO_DATA_PREPARE.mddownload_data/These paths are not the current recommended public surface:
If you are onboarding a teammate, start with SETUP_AND_TRAINING.md.
For a single-file onboarding path from setup to data to training to inference, see:
docs/END_TO_END_GUIDE.mdPython
93.9%
Shell
6.1%
This repository is the cleaned training and inference workspace we use for the
SmolVLM2 -> bridge/projector -> SANA Video DiT pipeline.
It is focused on a narrow, practical scope:
It is not intended to be a polished release of every Omni-Video research path. Legacy understanding pipelines, HD-VILA flows, and old experiment notes are intentionally de-emphasized or archived.
fixedThe canonical environment name is mobileov.
Recommended path:
bash scripts/setup_mobileov_env.sh mobileov
Detailed environment notes:
conda env create -f environment.yml
conda activate mobileov
export PYTHONNOUSERSITE=1
source scripts/env_exports.sh
If the environment already exists:
conda env update -f environment.yml --prune
conda activate mobileov
export PYTHONNOUSERSITE=1
source scripts/env_exports.sh
For OpenVid DataOps convenience commands, install the local package once:
pip install -e download_data
All repo entrypoints below assume the two exports above are present. PYTHONNOUSERSITE=1
prevents accidental conflicts from ~/.local, and source scripts/env_exports.sh
keeps in-repo imports working when launching scripts from repo root.
These entrypoints will auto-download / auto-convert model assets when missing:
tools/train_stage1_teacher_free.pytools/train_q1_sana_bridge.pytools/inference/sana_video_inference_fixed.pytools/inference/test_q1_student_video.pyThis covers:
WAN VAE assets used by OpenVid / MSR-VTT latent encoding are still explicit setup steps. See the dataset guides below.
GPUS=0,1 bash scripts/train_openvid_current_laion_coyo_3stage_gemma_distill_5v1i.sh
PYTHONPATH=. python tools/inference/test_q1_student_video.py \
--bridge-ckpt /path/to/checkpoint_stepXXXX.pt \
--prompt "a golden retriever running along a beach at sunset" \
--output-dir output/inference_example \
--sana-backend fixed \
--steps 24 \
--cfg-scale 3.0
Canonical options:
download_data/ for OpenVid DataOpstools/data_prepare/download_openvid.py for lightweight CSV / part downloadSee:
download_data/README.md (step-by-step guide)Use:
tools/data_prepare/msrvtt_data_prepare.pySee:
tools/data_prepare/MSRVTT_DATA_PREPARE.md (step-by-step guide)Current repo support is manifest-based rather than one-shot raw crawling. That now includes a bootstrap path from full parquet metadata shards. Canonical tools are:
tools/data_prepare/bootstrap_laion_coyo_source_manifest.pytools/data_prepare/materialize_unified_manifest.pytools/data_prepare/recover_laion_images_unique.pytools/data_prepare/encode_laion_coyo_images_sana_ar.pytools/data_prepare/build_laion_coyo_encoded_manifest.pySee:
docs/LAION_COYO_DATA_PREPARE.md (step-by-step guide)tools/train_q1_sana_bridge.pytools/train_stage1_teacher_free.pyscripts/train_openvid_current_laion_coyo_3stage_gemma_distill_5v1i.shtools/inference/test_q1_student_video.pytools/inference/sana_video_inference_fixed.pytools/data_prepare/download_openvid.pytools/data_prepare/msrvtt_data_prepare.pytools/data_prepare/materialize_unified_manifest.pytools/data_prepare/recover_laion_images_unique.pytools/data_prepare/encode_laion_coyo_images_sana_ar.pydocs/LAION_COYO_DATA_PREPARE.mddownload_data/These paths are not the current recommended public surface:
If you are onboarding a teammate, start with SETUP_AND_TRAINING.md.
For a single-file onboarding path from setup to data to training to inference, see:
docs/END_TO_END_GUIDE.mdPython
93.9%
Shell
6.1%