Yiwen Chen1,2 · Guosheng Lin2 · Chi Zhang1
1 AGI Lab, Westlake University 2 Nanyang Technological University
code_world_model_teaser_672x384_h264_under10mb.mp4
- Follow the environment and installation guide.
- From the repository root, download the public CWM LoRA and deterministically expand the 40 compact Hugging Face examples:
./scripts/install_release_assets.sh "$PWD/release"- Enter the prepared release directory and run a released configuration without changing its inputs, prompts, or seed:
cd release
CONFIG=examples/example_01/config.json
python -m cwm_h3_inference validate --config "$CONFIG"
CUDA_VISIBLE_DEVICES=0 python -m cwm_h3_inference prepare --config "$CONFIG"
CUDA_VISIBLE_DEVICES=0 python -m cwm_h3_inference generate --config "$CONFIG"Use a new cache directory and output path for every changed experiment. The Hugging Face examples contain compact NPZ conditions, not caches or output videos; the installation script performs the required local format expansion.