Files
hao-ai-lab-FastVideo/examples/train/scenario/worldmodel
shaoxiongduan 92cc893cfc trackwan: 14B teacher pipeline, layer-wise track LR, and overfit tooling
Training:
- finetune.py: optional track/base param groups (WANTRACK_TRACK_GROUP) so the
  track pathway can take a different LR (WANTRACK_TRACK_LR_MULT); patch_embedding
  gradient masked to the track slot [:, 36:]. Raises if nothing matches.
- track_warmup.py callback: hold the pretrained DiT at lr 0 while the track
  pathway warms up, then ramp it back in.

14B configs + held-alloc launchers:
- finetune_wantrack_{synth_sparse_fixed,synth_sparse_random,openvid_sparse_merged_bias,
  synth_stage2}_14b + openvid_14b_{warmup,lwlr} + 1.3B stage2 configs.
- run_wan14b_held.sh (held alloc + auto-restart + rank cleanup, per-stage WANTRACK
  env), acquire_nodes.sh, chain_stepAB.sh, run_stepB_seed.sh, run_stepC_merge.sh,
  watch_gate.sh, run_synth_stage2_slurm.sh.

Init / diagnostics:
- convert_trackwan_init_v2.py: --pe-src to lift patch_embedding[:, 36:] and
  --track-src to lift track_encoder together (co-adapted merge); sharded-source support.
- check_gate_growth.py, gradient_flow_analysis.py, gradient_flow_summarize.py.

Data pipeline: segment_tracks.py sharding; decode/segment/tracks slurm scripts;
precompute_null_text, two_track_val, cfg_ablation, lwlr_experiment.

Inference: app_multi_trace.py updates.
2026-07-23 03:52:56 +00:00
..

World-Model: Matrix-Game 2.0 I2V

Three training scenarios for the Matrix-Game 2.0 I2V world model on the new YAML-driven trainer (fastvideo/train/entrypoint/train.py).

Config Method Student Notes
finetune_i2v.yaml FineTuneMethod MatrixGame2Model (bidirectional) Multi-step SFT from mg_bidirectional_Solaris.
dfsft_causal_i2v.yaml DiffusionForcingSFTMethod MatrixGame2CausalModel Diffusion-Forcing SFT with chunkwise timesteps.
self_forcing_causal_i2v.yaml SelfForcingMethod MatrixGame2CausalModel DMD/Self-Forcing distillation; teacher = bidirectional, critic = bidirectional.

Usage

bash examples/train/run.sh \
    examples/train/scenario/worldmodel/finetune_i2v.yaml

bash examples/train/run.sh \
    examples/train/scenario/worldmodel/dfsft_causal_i2v.yaml

bash examples/train/run.sh \
    examples/train/scenario/worldmodel/self_forcing_causal_i2v.yaml

Override any field on the command line:

bash examples/train/run.sh \
    examples/train/scenario/worldmodel/dfsft_causal_i2v.yaml \
    --training.distributed.num_gpus 8 \
    --training.optimizer.learning_rate 1e-5