Download README.md from ipplab/FastWAM-JAX-RoboTwin-Uncond: direct link, hf CLI and curl.
- Browser
- Download file 4.28 kB
-
https://huggingface.co/ipplab/FastWAM-JAX-RoboTwin-Uncond/resolve/main/README.md
- Command line
-
hf download hf://ipplab/FastWAM-JAX-RoboTwin-Uncond/README.md
-
curl -L -o README.md https://huggingface.co/ipplab/FastWAM-JAX-RoboTwin-Uncond/resolve/main/README.md
tags:
- jax
- orbax
- robotics
- robotwin
base_model: Wan-AI/Wan2.2-TI2V-5B
datasets:
- yuanty/robotwin2.0-fastwam
FastWAM-JAX RoboTwin Uncond
BF16 Orbax weights for a RoboTwin 2.0 policy trained with
FastWAM-JAX, a JAX/Flax NNX implementation of the uncond variant of
Fast-WAM. The video and action
experts train jointly. At inference the policy predicts absolute joint targets
from the current RGB observation, joint state, and language instruction.
Training
We initialized the video expert from Wan2.2-TI2V-5B and trained on the Fast-WAM RoboTwin dataset for five epochs. We used one Google Cloud TPU v6e-64 slice (64 chips across 16 worker VMs) and a global batch size of 1,024. We verified that the JAX implementation can also train on NVIDIA GPUs.
Across 26,938 steady-state updates, we measured 1.392 s per update from batch loading through the optimizer step. At that rate, the 29,365 updates took about 11 h 21 min of training.
RoboTwin evaluation
We evaluated this checkpoint and the converted official Fast-WAM checkpoint in JAX on all 50 RoboTwin tasks, with 25 matched scene seeds per task and setting. The randomized runs used OIDN 2.3.3, with the same unseen instruction and initial scene for each pair. Table 1 of the Fast-WAM paper reports 100 trials per task and setting.
| Checkpoint | Clean | Randomized |
|---|---|---|
| FastWAM-JAX, step 29,365 | 92.24% (1,153/1,250) | 91.04% (1,138/1,250) |
| Official checkpoint converted to JAX | 91.92% (1,149/1,250) | 90.40% (1,130/1,250) |
| Fast-WAM paper | 91.88% | 91.78% |
Load the policy
params_bf16_step0029365/ holds the trained video expert, action expert, and
proprioception encoder. For inference, load the frozen
Wan2.2 VAE and the
RoboTwin normalization statistics
alongside the policy.
Run from the root of your FastWAM-JAX checkout with Python 3.12 and uv.
On an NVIDIA GPU host, install the cuda extra and fetch the assets with hf.
uv sync --extra cuda
uv tool install huggingface-hub
hf download ipplab/FastWAM-JAX-RoboTwin-Uncond \
--include 'params_bf16_step0029365/**' \
--local-dir checkpoints/robotwin-trained
hf download ipplab/Wan2.2-TI2V-5B-Orbax \
--revision c83dfe62ff6432dbc6090ade7d3b38ac05733118 \
--include 'vae/**' \
--local-dir checkpoints/wan
hf download yuanty/robotwin2.0-fastwam dataset_stats.json \
--repo-type dataset --revision aac262c35d02cc71b2f6ef670bd65fd9f2bb2547 \
--local-dir data/robotwin
Pass the composed RGB image and current joint state to infer_action along
with a zero-padded UMT5 instruction embedding and an all-true Boolean mask.
Use build_prompt and Umt5Encoder from fastwam_jax.inference.text with the
convert extra to encode an instruction.
import jax
from fastwam_jax import load_config
from fastwam_jax.inference import build_policy
policy = build_policy(
config=load_config("configs/training/full.local.example.yaml"),
ckpt_root="checkpoints/robotwin-trained/params_bf16_step0029365",
vae_ckpt="checkpoints/wan/vae",
stats_path="data/robotwin/dataset_stats.json",
device=jax.devices()[0],
)
actions = policy.infer_action(canvas, qpos, context, context_mask)
License
The repository includes the Wan2.2 license.
Citation
If you find our repo helpful, please consider citing FastWAM-JAX and the original Fast-WAM paper.
@misc{fastwamjax2026,
author={{FastWAM-JAX Contributors}},
title={{FastWAM-JAX}},
year={2026},
howpublished={\url{https://github.com/iPPLab/FastWAM-JAX}}
}
@article{yuan2026fastwam,
title={Fast-WAM: Do World Action Models Need Test-time Future Imagination?},
author={Tianyuan Yuan and Zibin Dong and Yicheng Liu and Hang Zhao},
journal={arXiv preprint arXiv:2603.16666},
year={2026},
url={https://arxiv.org/abs/2603.16666}
}