PLWM: point-latent world model (real-world checkpoint)
Research release, work in progress.
world_model/: the real-world point-latent world model. It is a Wan2.2-TI2V-5B video diffusion transformer
extended with a 3D point-cloud latent stream and an in-loop, point-only action decoder. It was trained on real
bimanual robot data (4 camera views). The release includes the code, configs, the final checkpoint
(step_010000.pt, trained on 8x H100) and the frozen point autoencoder it needs.
No training data, demos, videos or logs are included.
Layout
world_model/
code/ plwm package + vendored fastwam (model code) + hydra configs + scripts/train_wm.py
weights/step_010000.pt final checkpoint: {"model": state dict, "ema": bf16 EMA shadow, "step": 10000, ...}
weights/step_010000.pt.sha256
point_ae/rc_ae_wmstats.pt frozen SE(3)-latent point AE (144 slots x 128 ch) + the WM latent normalisation stats
load_test.py CPU load test (meta-device model, mmap weights)
train.sh exact training command of this checkpoint
World model (world_model/)
Architecture. The model is StackedLatentWM, built from configs/wm_real_scratch.yaml with the
model section wm_ts32v2.
- The video expert is the Wan2.2-TI2V-5B DiT, initialised from Wan2.2 and fully trained.
- The point latent is a 6 x 24 grid of 144 slots x 128 channels per latent frame, from the frozen AE. It is stacked
onto the video tokens with
model.v6.slot_cols=24: AE slot (r, j) maps to DiT token (r, j), and the 8 right-most token columns get no point slot. - Context is 1 history frame plus t0, with 32 future steps per window.
- The in-loop action decoder (
pts_actdec) reads only the predicted point latents. It outputs 2 x 12-D bimanual end-effector actions (rc12) per 10 Hz step. Its loss trains only the decoder; the trunk gets no action gradient.
Training recipe (train.sh).
- Init: Wan2.2. The point I/O and the action decoder start fresh. The point AE is frozen.
- Data: real bimanual robot episodes, 46 train / 5 val, 10 Hz. Instruction text goes through umt5-xxl embeddings.
- Video: 4 views side by side (top | side | left wrist | right wrist, 1024x192).
- Optimisation: DDP on 8x H100, global batch 16, lr 1e-4, warm-up 500, cosine schedule over 10K steps, AdamW 8-bit, bf16, EMA 0.999 (bf16 shadow saved).
Load (CPU, no GPU and no Wan2.2 download needed for the load test):
pip install torch hydra-core omegaconf einops imageio rich safetensors transformers
cd world_model && python load_test.py # add --ema for the EMA weights
For inference you also need the public Wan-AI/Wan2.2-TI2V-5B files:
- the VAE
Wan2.2_VAE.pth, which encodes/decodes video (PLWM_VAE_PATH); - the
google/umt5-xxltext encoder, which embeds instructions.
The DiT weights themselves come from step_010000.pt. Build with model.init=scratch, as load_test.py does,
so that Wan's DiT shards are not needed. Use the EMA weights.
Code provenance
world_model/code: the code bundle the checkpoint was trained with (plwm + the slot_cols patch).*/code/vendor/fastwam: FastWAMsrc/fastwamat commit 54c307f (the Wan2.2 DiT / MoT model code that plwm imports).plwm/third_party/sonata: Sonata (Pointcept), with its own LICENSE file.- Internal paths, cluster names and contact addresses in comments and defaults were replaced with placeholders.
Set paths through the environment variables (
PLWM_*).
Not included
- Training/eval data, instruction-embedding caches, demo videos, logs and wandb runs.
- Wan2.2-TI2V-5B base files: get them from
Wan-AI/Wan2.2-TI2V-5B. - Intermediate world-model checkpoints (steps 1K-9K) and full optimizer/resume states.
- Earlier or abandoned runs.
- The real-data latent statistics file
rc_ae_wmstats_real4v.pt, which no model uses.