DreamActVLA is a plug-and-play world model for asynchronous VLA inference.
The core idea is simple: when policy inference runs on delayed camera frames, the world model predicts the current visual observation from the stale frame and the actions executed during the delay. The VLA then acts on a fresher visual state without being retrained for async execution.
The adapter is policy-agnostic: any VLA that exposes image observations, robot state, and action chunks can use the same world-model bridge. The evaluator here drives the official OpenPI pi05_libero policy server on LIBERO.
Project page: https://dream-act-vla.github.io
A U-Net operates in the frozen Cosmos VAE latent space: the stale frame is encoded to z_t, an action encoder turns the committed action chunk into a conditioning vector, and the U-Net predicts a residual Δz so that ẑ_{t+Δ} = z_t + Δz. The Cosmos encoder and decoder stay frozen; only the action encoder and U-Net are trained.
Async inference at delay=4 on LIBERO with the unmodified pi05_libero checkpoint (50 rollouts/task, 10 tasks/suite, 500 episodes/suite):
| Suite | Sync (oracle) | Async (no WM) | Async + DreamActVLA WM |
|---|---|---|---|
| Spatial | 98.8 | 55.4 | 97.4 |
| Object | 98.2 | 69.4 | 98.6 |
| Goal | 98.0 | 73.6 | 94.0 |
| LIBERO-10 | 92.4 | 71.0 | 86.6 |
| Average | 96.85 | 67.35 | 94.15 |
The world model recovers +26.8pp over the no-WM async baseline, landing within 2.7pp of the synchronous oracle — with no changes to the VLA or its fine-tuning.
World-model prediction — for each camera: the stale (delayed) frame, the WM-predicted frame the policy actually receives, and the ground-truth current frame. The prediction tracks the robot's self-motion closely despite never seeing the present:
Task execution — sync (succeeds), async no-WM (fails on stale observation), async + DreamActVLA WM (succeeds):
Full-resolution MP4s are in
media/; the animated comparisons also play on the project page.
By default the script expects this sibling layout:
workspace/
DreamActVLA/
third_party/openpi/
cosmos-policy/
src/libero/
You can override those paths:
export COSMOS_POLICY_ROOT=/path/to/cosmos-policy
export OPENPI_ROOT=/path/to/openpi
export LIBERO_ROOT=/path/to/src/liberoUse the existing environment that already runs LIBERO/Cosmos evaluation for DreamActVLA's async client. Do not create a separate environment for the DreamActVLA client; mixing the client with another PyTorch/Cosmos environment can break compiled packages such as PyTorch, NumPy, Transformer Engine, and Triton.
Activate your existing evaluation environment:
conda activate <existing-libero-cosmos-env>Cosmos Policy requires a working NVIDIA CUDA driver at runtime. CPU fallback is not enough for this evaluator because Transformer Engine/Triton initializes CUDA during import.
mkdir -p workspace/src
cd workspace
git clone https://github.com/Somdit/DreamActVLA.git
git clone https://github.com/Physical-Intelligence/openpi.git third_party/openpi
git clone https://github.com/NVlabs/cosmos-policy.git
git clone https://github.com/Lifelong-Robot-Learning/LIBERO.git src/liberoInstall the local client-side projects into the active existing environment only if they are not already installed:
cd workspace/src/libero
pip install -e .
cd ../../third_party/openpi
git submodule update --init --recursive
pip install -e packages/openpi-client
cd ../cosmos-policy
uv pip install -e .
cd ../DreamActVLA
uv pip install -e .Do not install full OpenPI into the existing DreamActVLA client environment unless that environment is Python 3.11+. The official OpenPI package currently declares requires-python >=3.11, while the LIBERO/Cosmos env used here may be Python 3.10.
Set paths if your layout differs:
export COSMOS_POLICY_ROOT=/path/to/cosmos-policy
export OPENPI_ROOT=/path/to/openpi
export LIBERO_ROOT=/path/to/src/liberoIf LIBERO and Cosmos Policy are already available in the active environment, install only DreamActVLA:
cd DreamActVLA
pip install -e .This is the preferred path for demonstrating plug-and-play async inference without finetuning the VLA policy.
Terminal 1: start the official OpenPI policy server from a Python 3.11 OpenPI environment:
conda activate <openpi-python311-env>
cd DreamActVLA
bash scripts/run_openpi_policy_server.shTo force the official LIBERO checkpoint explicitly:
bash scripts/run_openpi_policy_server.sh \
policy:checkpoint --policy.config pi05_libero \
--policy.dir gs://openpi-assets/checkpoints/pi05_liberoIf you do not already have a Python 3.11 OpenPI environment, create one without Docker:
conda create -n openpi-server python=3.11
conda activate openpi-server
cd third_party/openpi
git submodule update --init --recursive
pip install -e packages/openpi-client
pip install -e .Terminal 2: run DreamActVLA's async LIBERO client from the existing LIBERO/Cosmos environment:
conda activate <existing-libero-cosmos-env>
cd DreamActVLA
CUDA_VISIBLE_DEVICES=0 GPU=0 \
N_TASKS=5 N_EPISODES=5 DELAY=4 CONDITION=all \
bash scripts/run_openpi_libero_async_eval.shOutputs are written to outputs/openpi_libero_async. Pass SAVE_VIDEOS=1 to also write per-episode comparison videos.
Conditions:
sync: current images, no visual delay.no_wm: delayed images, no world model.wm: delayed images bridged by DreamActVLA before querying OpenPI.all: runs all three conditions.
The table above is the average over all four suites. Run each suite for both the no_wm and wm conditions at N_TASKS=10 N_EPISODES=50, writing each condition to its own subdirectory (the layout the summarizer expects):
for SUITE in libero_spatial libero_object libero_goal libero_10; do
for COND in no_wm wm; do
SUITE=$SUITE N_TASKS=10 N_EPISODES=50 DELAY=4 CONDITION=$COND \
OUTPUT_DIR=outputs/paper_openpi_async/$SUITE/$COND \
bash scripts/run_openpi_libero_async_eval.sh
done
done
# aggregate per-suite results into summary.csv + task_summary.csv
python scripts/summarize_openpi_async_results.py --paper_dir outputs/paper_openpi_async
# regenerate the success-rate comparison figure (reads summary.csv)
python scripts/plot_openpi_async_comparison.pyThe Sync (oracle) column in the results table is the officially reported pi05_libero number, used as a reference ceiling — it is not produced by this pipeline (the summarizer only aggregates the no_wm and wm conditions).
If Transformer Engine fails with an nvrtcGetSupportedArchs symbol error, the wrapper script (scripts/run_openpi_libero_async_eval.sh) sets PYTHONPATH, MUJOCO_GL, and LD_PRELOAD for the CUDA NVRTC library automatically when it can find it.
To use DreamActVLA with another VLA, keep the same adapter contract:
- Convert the policy observation into tensors with image keys,
observation.state, and task text. - Keep a short history of executed actions while inference is delayed.
- Call
WorldModelAdapter.forward_torch(observation, actions_since_stale_frame, observation["observation.state"]). - Run the policy on the updated observation.
The OpenPI eval script is only an example harness; the world-model bridge lives in dreamactvla/world_model/.


