Skip to content

About

[Coming soon] UnboundRun: Endless parkour in many art styles, rendered live at 40 fps

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

UnboundRun

Endless first-person parkour in many art styles.

Project Page Model Weights Training Data License

UnboundRun gameplay in different visual styles

Play a procedurally extended course while a streaming video model renders it in the style of a single reference frame.
Watch more examples on the project page.

News

  • 2026-12 Released the inference, browser demo, training, and data preparation code.

Overview

UnboundRun is an engine-guided world model for first-person parkour. The engine runs the course, character motion, camera, and events such as falling rocks and collapsing floors. A causal renderer built on Wan2.2-TI2V-5B turns the engine's whitebox observations into RGB video using one style frame.

Highlights

  • Procedural courses and text-guided edits. Play manually or use autoplay. An optional course agent turns text instructions into structured plans that the engine validates and uses to extend the course.
  • Two-step streaming renderer. Each block of four whitebox frames produces four RGB frames through two denoising steps and a clean KV commit. The style reference stays available throughout the run.
  • 3D visibility-guided memory. Engine depth, normals, semantics, and camera pose help retrieve historical KV entries when static surfaces return to view. Within those entries, attention reads tokens for currently visible surfaces. The active context contains a sink and up to 19 history latents.
  • Three-GPU pipeline. Condition encoding, DiT inference, and RGB decoding run on separate GPUs. The paper reports 40 FPS at 832×480 for its browser deployment with visibility-guided memory enabled. See Deployment and Memory for configuration and resource use.

Installation

Use Linux, Python 3.11+, FFmpeg/ffprobe, and EGL. For neural rendering, install the CUDA-enabled PyTorch wheel that matches your NVIDIA driver before installing the repository dependencies.

git clone https://github.com/YeyingLab/UnboundRun.git
cd UnboundRun
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
cp .env.example .env
python scripts/check_install.py --egl

Quick start

Play in the browser

Start the whitebox playground without downloading model weights.

python scripts/serve.py --whitebox-only

Open localhost:8005 and select manual play or autoplay. W jumps or vaults, S slides, A/D change lanes, dragging changes the view, and R retries.

For neural play, download the weights below, start python scripts/serve.py, and provide a style frame in the browser. See Deployment for single- and three-GPU setups and Course agent for text-guided editing.

Generate a video offline

python -m pip install -r requirements/data.txt
hf download YeyingLab/UnboundRun stage3/dit_step500.safetensors shared/text_table.pt \
  SHA256SUMS --local-dir models/parkour-release
hf download Wan-AI/Wan2.2-TI2V-5B Wan2.2_VAE.pth \
  --revision 921dbaf3f1674a56f47e83fb80a34bac8a8f203e --local-dir models/parkour-release/shared
(cd models/parkour-release && sha256sum -c SHA256SUMS)

python scripts/infer.py --whitebox examples/rooftop/whitebox.mp4 \
  --style examples/rooftop/style.png --geometry examples/rooftop/geometry.npz \
  --memory reference --output outputs/rooftop.mp4

The rooftop example contains the whitebox video, its initial RGB style reference, and the geometry buffers. Append --check-inputs to validate those inputs without CUDA or weights. See Inference for memory modes and input formats.

Model zoo

Download the final two-step checkpoint and fixed text table from the UnboundRun model repository. The VAE comes from the official Wan repository.

File Role
stage3/dit_step500.safetensors Final Stage 3 student
Wan2.2_VAE.pth Shared causal Wan VAE (official Wan repository)
shared/text_table.pt Embeddings for the fixed scene prompt

See the model card for sampling and training details.

Data

UnboundRun-data (formerly GameCrafter-Parkour-v3) is the five-hour training and validation subset used in the paper. It contains 60 runs across 10 rooftop scenes, with synchronized whitebox and Unreal RGB frames, semantic labels, and camera and motion metadata.

python -m pip install -r requirements/data.txt
python scripts/download_data.py --repo-id YeyingLab/UnboundRun-data \
  --out data/GameCrafter-Parkour-v3

See Data format for the paired TAR layout and Data pipeline for producing new pairs.

Training

Training starts from the official Wan2.2-TI2V-5B checkpoint and uses paired whitebox and RGB clips. The four stages are whitebox adaptation, causal teacher training, consistency distillation, and self-forcing distribution matching. See Training for data preparation, checkpoint handoffs, and the staged launcher.

Stage Entry point
0 · Whitebox adaptation python -m unboundrun.training.stage0
1 · Causal teacher python -m unboundrun.training.stage1
2 · Consistency distillation python -m unboundrun.training.stage2
3 · Self-forcing DMD python -m unboundrun.training.stage3

Repository structure

unboundrun/              Memory, geometry, EGL, and video interfaces
unboundrun/training/     Dataset preparation, latent caching, and four training stages
parkour_demo/            Browser app, course agent, and streaming renderer
gamemaster/, wancond/    Diffusion transformer and conditioning
wanvendor/               Wan VAE, text encoder, and tokenizer
stage2_cd/, stage3_dmd/   Consistency and distribution matching distillation
third_party/parkour/     Procedural world, dynamics, and whitebox rendering
data_pipeline/           Episode generation, Unreal capture, and paired-data export
scripts/                 Inference, serving, and training launchers
configs/                 Training and deployment presets
requirements/            Dependencies for optional components
examples/rooftop/        Whitebox video, style frame, and geometry sample
docs/                    Setup and usage guides
release/                 Source manifests, checksums, and validation record

Citation

Software citation metadata is in CITATION.cff.

Acknowledgements

We build on Wan2.2, Causal Forcing++, and causal and self-forcing video generation. Three.js powers the browser's structural preview. Component sources and notices are documented in Third-party notices.

License

The UnboundRun source is released under Apache-2.0. Third-party code, model weights, and datasets are distributed under their respective terms.

About

[Coming soon] UnboundRun: Endless parkour in many art styles, rendered live at 40 fps

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages