executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
vgenRoute VGen video-generation workflows for text-to-video, image-to-video, DreamVideo customization, and InstructVideo reward fine-tuning.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task concerns the VGen repository, its YAML-driven video generation launchers, or one of its named model families: ModelScope text-to-video, I2VGen-XL, VideoComposer-style conditioning, HiGen, TF-T2V, InstructVideo, DreamVideo, VideoLCM, or SR600.
Do not use this skill for generic Diffusers usage, ordinary image classification/detection/segmentation, unrelated video editing, or pure deployment tasks that do not involve VGen configs, checkpoints, data lists, or runtime modules.
references/repo-provenance.md before deciding whether this skill is current for a checkout.TASK_TYPE; VGen dispatch is config-driven.A minimal preflight from this skill root:
python scripts/check_runtime.py --repo-root /path/to/VGen --require-cuda
python scripts/dispatch_config.py --repo-root /path/to/VGen --dry-run --cfg configs/t2v_infer.yaml
A typical local setup is:
# install a CUDA-matched PyTorch wheel first, then the repo requirements
pip install -r requirements.txt
# InstructVideo reward fine-tuning also needs the extra list in configs/instructvideo/requirements.txt
pip install -r configs/instructvideo/requirements.txt
If you are matching the legacy README environment exactly, follow the repository README's Python 3.8 / Torch 1.12 CUDA notes instead of mixing package versions. No editable install is required; the bundled helpers assume the checkout itself is on disk and can be pointed to with --repo-root.
sub-skills/text-to-video/: ModelScope T2V, HiGen, TF-T2V, VideoLCM, VideoComposer-style conditioning, SR600 upscaling, generic train_net.py / inference.py config dispatch, T2V dataset/model smoke helpers.sub-skills/image-to-video/: I2VGen-XL image-to-video inference, image|||caption input lists, person-specialized I2VGen config, Cog predictor and Gradio demo as optional/reference-only surfaces.sub-skills/dreamvideo/: DreamVideo subject learning, motion learning, joint subject+motion inference, adapter-key inspection, and DreamVideo metric calculation.sub-skills/instructvideo/: InstructVideo reward fine-tuning, HPSv2 reward setup, LoRA/base evaluation presets, and WebVid reward-list preparation.references/overview.md: route map, workflow families, included/excluded evidence, and shared helper index.references/configuration.md: Config, TASK_TYPE, registry dispatch, _BASE/vldm_cfg layering, and CLI override caveats.references/data-formats.md: prompt-only, path-caption, VideoComposer-style, DreamVideo metric, and InstructVideo list schemas.references/troubleshooting.md: cross-cutting CUDA, ffmpeg, OpenCV/NumPy, registry, checkpoint, and list-file failures.references/repo-routing-metadata.json: structured router metadata for managed repo-skill import.scripts/check_runtime.py: import, CUDA, ffmpeg, and heavy tools registration preflight.scripts/dispatch_config.py: safe dry-run or execution wrapper for VGen YAMLs.scripts/inspect_list_file.py: list-file validator for common VGen schemas.scripts/dump_unet_key_sets.py: root-level alias for the DreamVideo temporal/spatial UNet key exporter.The README documents a legacy Python 3.8 / Torch 1.12 CUDA 11.3 setup and also expects ffmpeg. Current checkouts may need a modern CUDA PyTorch stack compatible with xformers, open-clip-torch, fairscale, diffusers, transformers, OpenCV, and reward extras such as piq and scikit-image. Treat CPU-only imports as insufficient for generation, customization, reward fine-tuning, and metric proof.
gradio_app.py, predict.py) unless the user explicitly wants ModelScope/Gradio/Cog deployment and accepts network/deployment dependencies.