← 开源

An all-in-one VLA engineering platform for embodied AI — from data to real-robot deployment.

InfrastructureDeploy & ServeMake world agent-readyPython
增长势头
+124 小时新增 Star+0.1%
807
Star
92
Fork
+7
本周
24
贡献者
创建于 2026-04-01 · 更新于 2026-12-05 · 今日第 6034 名
主要开发者
yinchimaoliangJikunRShenBW
README

FluxVLA Engine: A One-Stop VLA Engineering Platform for Embodied Intelligence

English | 简体中文 | 日本語

FluxVLA Engine is a full-stack, end-to-end engineering platform for deploying embodied intelligence applications. Built on the core design principles of unified configuration, standardized interfaces, module decoupling, and deployability, it creates a complete engineering loop from data to real-device deployment. With the goal of providing a standardized industry–academia–research foundation, it significantly lowers the engineering barrier for VLA research and development.

Real-Robot Demos

Mobile manipulation, tabletop tidying, bimanual cloth folding, and object retrieval from a bag (accelerated playback).

Framework

Performance

LIBERO

Codebase Libero-Spatial Libero-Object Libero-Goal Libero-Long Libero-Average
FluxVLA(SmolVLA) 86.2 92.4 91.4 68.8 84.7
FluxVLA(Cosmos3-Edge) 95.6 95.6 91.6 94.8 94.4
FluxVLA(GR00T N1.5) 97.4 96.2 94.6 93.0±1.5 95.3
FluxVLA(GR00T N1.7) 96.5 97.6 97.6 92.0±1.0 95.93
FluxVLA(Qwen3VL 0.6B+GR00T N1.5) 96.0 99.4 95.2 94.2 96.20
FluxVLA(DreamZero) 98.2 98.8 93.2 94.8 96.25
FluxVLA(PI0) 98.6 98.8 96.8 93.2 96.85
FluxVLA(Cosmos3-Nano) 96.0 99.6 94.0 98.0 96.9
FluxVLA(FastWAM) 96.6 99.4 97.6 96.2 97.45
FluxVLA(PI0.5) 98.6 99.6 98.0 95.6±1.0 97.95
FluxVLA(FastWAM-IDM) 99.8 98.0 98.4 96.2 98.10
FluxVLA(FastWAM-Joint) 99.2 98.8 99.6 95.8 98.35
FluxVLA(DiT4DiT) 99.60 99.20 99.60 96.20 98.65

RoboCasa GR1

Model Training Data Cabinet Drawer Microwave Generalization Average
FluxVLA(SmolVLA) 24 tasks, full data (frozen VLM) 12.50% 10.00% 17.50% 7.22% 8.75% (50 trials)
FluxVLA(Cosmos3 Nano) 24 tasks, full data (pure vision) 46.00% 39.00% 40.00% 41.67% 41.67% (50 trials)
FluxVLA(GR00T N1.5) 24 tasks, 30 demos 22.7% 35.7% 32.5% 48.9% 44.3%(50trials)
FluxVLA(GR00T N1.7) 24 tasks, full data 53.00% 51.00% 47.00% 45.11% 46.42% (50 trials)
FluxVLA(FastWAM) 24 tasks, full data 55.00% 47.00% 47.00% 50.00% 49.92% (50 trials)
FluxVLA(PI0) 24 tasks, full data 60.00% 56.00% 48.00% 49.33% 51.00% (50 trials)
FluxVLA(PI0.5) 24 tasks, full data 60.00% 51.00% 52.00% 50.44% 51.42% (50 trials)
FluxVLA(DiT4DiT) 24 tasks, full data 63.00% 52.00% 59.00% 57.00% 57.25% (50 trials)

Notes

  • Cabinet: PnPBottleToCabinetClose + PnPWineToCabinetClose.
  • Drawer: PnPCanToDrawerClose + PnPCupToDrawerClose.
  • Microwave: PnPMilkToMicrowaveClose + PnPPotatoToMicrowaveClose.
  • Generalization: the remaining 18 post-train novel tasks.
  • The RoboCasa results are evaluated with 50 trials per task.

RoboDojo

The full RoboDojo evaluation covers 42 benchmark tasks. Each of the 30 standalone tasks uses 50 trials; each of the 12 generalization tasks uses 25 standard-layout and 25 randomized-layout trials. This gives 2,100 trials per model and seed. Each value is reported as progress score / success rate (%). Average equally weights Generalization (the mean of Gen-Std and Gen-Rand), Precision, Long-Horizon, Memory and Open.

Model Average Gen-Std Gen-Rand Precision Long-Horizon Memory Open
FluxVLA(VPP2) 39.62 / 32.56% 52.21 / 46.56% 19.92 / 11.22% 43.28 / 35.58% 56.60 / 37.08% 57.98 / 57.56% 4.19 / 3.67%
FluxVLA(Cosmos3-Nano) 3.03 / 0.93% 3.95 / 1.33% 1.20 / 0.67% 2.29 / 0.00% 8.74 / 2.75% 1.23 / 0.67% 0.30 / 0.25%
FluxVLA(GR00T N1.7) 3.08 / 1.45% 6.52 / 4.33% 0.85 / 0.33% 2.11 / 0.50% 6.19 / 1.50% 3.13 / 2.67% 0.30 / 0.25%
FluxVLA(DiT4DiT) 4.84 / 2.45% 5.67 / 3.33% 0.83 / 0.00% 4.49 / 0.00% 12.17 / 6.50% 2.45 / 2.33% 1.83 / 1.75%
FluxVLA(SmolVLA) 5.29 / 2.98% 8.15 / 5.33% 0.30 / 0.00% 8.70 / 4.50% 8.89 / 4.75% 3.97 / 2.33% 0.67 / 0.67%
FluxVLA(FastWAM) 5.29 / 2.97% 7.07 / 3.67% 0.52 / 0.33% 3.96 / 0.25% 14.99 / 9.50% 2.95 / 2.33% 0.78 / 0.75%
FluxVLA(GR00T N1.5) 5.50 / 3.17% 6.48 / 3.33% 1.62 / 0.67% 2.38 / 0.00% 15.36 / 9.25% 5.48 / 4.33% 0.25 / 0.25%
FluxVLA(PI0) 5.96 / 3.37% 13.05 / 9.67% 0.78 / 0.00% 7.62 / 4.00% 11.76 / 6.00% 3.52 / 2.00% 0.00 / 0.00%
FluxVLA(PI0.5) 13.61 / 8.83% 22.65 / 16.00% 6.25 / 2.33% 18.28 / 10.25% 28.04 / 18.75% 5.10 / 4.00% 2.20 / 2.00%

VPP2 uses the released joint2b_s100000 checkpoint and reports means over environment seeds 0, 1 and 2 (6,300 trials). Its average success rate is 32.56% ± 0.32 percentage points (population standard deviation); see the validation results.

RoboTwin

We use a multi-task training setting also adopted by Motus, LingBot-VA, and StarVLA: one policy is trained across all 50 tasks using 50 clean and 500 randomized demonstrations per task. This differs from the original RoboTwin benchmark's single-task training with 50 clean demonstrations per task.

We evaluate with the official RoboTwin scripts using 100 episodes per task in each of the Clean (Easy) and Random (Hard) settings. All reported results use the same evaluation seed (0), rather than averages over multiple seeds. The supplied configs use unseen instructions. Scores are success rates (%); Average is the mean of Clean and Random, with links to model checkpoints.

Model Clean Random Average
FluxVLA(PI0) 68.26 67.76 68.01
FluxVLA(Cosmos3) 82.40 77.96 80.18
FluxVLA(PI0.5) 81.04 83.56 82.30
FluxVLA(SmolVLA) 87.02 85.88 86.45
FluxVLA(PI0.5, SLA init) 86.34 86.92 86.63
FluxVLA(GR00T N1.5) 89.34 88.34 88.84
FluxVLA(GR00T N1.7) 88.70 89.14 88.92
FluxVLA(DiT4DiT) 90.78 89.54 90.16
FluxVLA(FastWAM) 90.86 89.96 90.41

📢 Latest News

[2026/11/10] 🔥 FluxVLA now integrates RLinf for synchronous PPO/GAE reinforcement learning, with PI0.5 support on LIBERO-10 and RoboTwin and SmolVLA support on LIBERO-10. See the RLinf integration guide for installation, training, evaluation, checkpoint resume, and export workflows.

[2026/11/05] 🔥 VPP2 is now supported.

[2026/10/27] 🔥 RoboTwin evaluation is now supported.

[2026/10/24] 🔥 FluxVLA now supports MiniMax M3.1 Flash evaluation on LIBERO and RoboCasa GR1 through Anthropic-compatible Messages and OpenAI-compatible Chat Completions and Responses APIs.

[2026/10/15] 🔥 RoboDojo evaluation is now supported through FluxThemis.

[2026/09/16] 🔥 The FluxVLA Engine technical report is now available on arXiv.

[2026/09/09] 🔥 FluxVLA now supports checkpoint-free GPT-6 Astra evaluation on LIBERO through the OpenAI Responses API, including multi-view observations, native LIBERO action control, environment-configured credentials, and organized rollout artifacts.

[2026/09/09] 🔥 FluxVLA-native GR00T N1.7 is now open sourced, including training and inference workflows for LIBERO, RoboCasa, and Franka robots.

[2026/08/25] 🔥 FluxVLA-native DiT4DiT support is now available, including training and inference workflows for LIBERO and RoboCasa.

[2026/08/20] 🔥 FluxVLA-native Cosmos3 support is now available for Nano, Super, and Edge, including post-training and inference workflows.

[2026/08/13] 🔥 FastWAM world-action model support is now available.

[2026/08/10] 🔥 FluxVLA deployment on NVIDIA Jetson Orin is now supported, with edge inference acceleration reaching 7.4 Hz for GR00T-N1.5. See orin_flashing.md for initial flashing and orin_docker_runtime.md to start the FluxVLA Docker setup.

[2026/06/30] 🔥 Single-arm and dual-arm Franka real-robot inference is now supported, including joint/eepose control configs and a deployment guide. See docs/franka.md.

[2026/06/25] 🔥 GR00T-RTC-accelerated inference is now supported, achieving 45 Hz on an RTX 5090.

[2026/06/22] 🔥 A minimal Oli humanoid whole-body (loco-manipulation) real-robot inference path (operator + runner + example config) is now available. See docs/oli_whole_body.md.

[2026/06/17] 🔥 ARM reward modeling with RA-BC/AW-BC reweighting is now supported. See docs/arm.md for setup and usage.

[2026/06/10] 🔥 RoboCasa GR1 simulation tasks with GR00T are now supported.

[2026/06/04] 🔥 Triton backend for Pi0.5-RTC is now supported, see inference_acceleration.

[2026/05/28] 🔥 FluxDAgger is now released: a model-decoupled DAgger pipeline for dual-arm manipulation, making it easy to integrate different VLAs and reward models.

[2026/05/28] 🔥 The embodied manipulation simulation benchmark FluxBisim is now released.

[2026/05/09] 🔥 SmolVLA is now supported.

[2026/04/24] 🔥 Pi0.5-RTC is now supported.

[2026/04/22] 🔥 ZMQ-based remote inference framework is now supported.

[2026/04/15] 🔥 DreamZero WAM is now supported.

[2026/04/08] 🔥 FluxVLA has been open-sourced.

🛠️ Installation

Choose one of the following installation paths:

  • Recommended one-command installer: use this for normal training, simulation evaluation, and real-robot inference setups.
  • Update an existing FluxVLA environment: use this if you installed an earlier FluxVLA release and only need to refresh changed packages.
  • Manual installation from scratch: use this only when you need to control every package install step yourself.

Recommended: one-command installer

conda create -n fluxvla python=3.10 -y
conda activate fluxvla

# Choose one mode: real-only, sim-only, rlinf-only, or all.
bash scripts/install_env.sh sim-only
# bash scripts/install_env.sh real-only

RL modes require the official RLinf source checkout at the revision validated by FluxVLA:

git clone https://github.com/RLinf/RLinf.git src/RLinf
git -C src/RLinf checkout --detach 88988ad5999619953b18d10b15bea1d3a6e1cfce
export RLINF_ROOT="$PWD/src/RLinf"

bash scripts/install_env.sh rlinf-only --profile cu128
# Or install real-robot, simulation, and RL dependencies together:
# bash scripts/install_env.sh all --profile cu128

rlinf-only installs model dependencies, RLinf and Ray without simulators or assets by default; all combines real-robot, simulation and RL dependencies. Only these RL modes require RLINF_ROOT and cu128. For backward compatibility, full (also the default when no mode is supplied) still means real + sim, without RLinf. sim / real remain aliases; fluxvla-all is an alias for all. See the RLinf integration guide for simulator setup and training commands.

If the installer has issues: check modes and CUDA profile selection

sim-only installs simulation runtime dependencies for LIBERO, RoboCasa, and RoboTwin; real-only installs real-robot and remote-inference dependencies; full installs both. Additional simulator setup is handled as follows:

  • RoboCasa: The pinned source checkouts under ./src and simulator assets are installed by default in sim-only and full, or with real-only --with-robocasa. Assets are downloaded by scripts/download_robocasa_assets.py using FLUXVLA_ROBOCASA_ASSET_ENDPOINT (default: HF_ENDPOINT, then https://hf-mirror.com). Use --skip-robocasa-assets to skip only the assets, or --skip-robocasa to skip both the source checkouts and assets.
  • RoboTwin: sim-only and full install Python dependencies by default. In the default auto mode, an existing cuRobo source directory triggers its build (compatible PyTorch required) and asset/path setup for an existing RoboTwin checkout. Add --with-robotwin --profile cu128 to also fetch missing pinned sources, prepare missing assets and embodiment paths, and build cuRobo for PyTorch 2.8 (requires nvcc). Use --skip-robotwin to skip these setup steps while retaining Python dependency installation. The default checkout is src/RoboTwin. For a custom location, set FLUXVLA_ROBOTWIN_ROOT during installation and ROBOTWIN_ROOT to the same path during evaluation.

The installer selects a CUDA PyTorch profile automatically from the current CUDA toolkit / nvcc version first: CUDA >= 12.8 selects cu128, otherwise it selects cu124. If no toolkit is visible, it falls back to driver-reported CUDA and then GPU generation. Override it with --profile cu128 or --profile cu124.

After PyTorch is installed, the FlashAttention wheel is selected from the actual Python tag, PyTorch version, CUDA major version, C++ ABI, and CPU architecture. If your platform has no matching prebuilt wheel, set FLASH_ATTN_WHEEL_URL explicitly or pass --skip-flash-attn.

av is installed from the pip wheel first by default to avoid slow conda dependency resolution; if no wheel is available, the installer falls back to conda. Set FLUXVLA_AV_INSTALLER=conda if you specifically want the conda-forge package.

On Linux x86_64, the installer also installs ffmpeg=7 from conda-forge before TorchCodec. TorchCodec needs FFmpeg shared libraries such as libavutil.so.59; the imageio-ffmpeg executable and the PyAV wheel do not replace those libraries. To repair an existing Torch 2.8 environment, run:

conda install -y -c conda-forge "ffmpeg=7"
python -m pip install --force-reinstall "torchcodec==0.7.0"
python -c "from torchcodec.decoders import VideoDecoder; print('TorchCodec OK')"

Real-robot runners still require the system ROS installation itself. On ROS Noetic machines, source ROS before launching inference:

source /opt/ros/noetic/setup.bash
If the installer has issues: use a cached or mirrored FlashAttention wheel

FlashAttention wheels are large, so GitHub release downloads can dominate a fresh install on slow networks. For repeated installs, put the exact wheel file in ./wheelhouse/, ./wheels/, or ~/.cache/fluxvla/wheels/; the installer will use it before any network request. You can also point at a local file or an internal mirror:

FLASH_ATTN_WHEEL_FILE=/path/to/flash_attn-2.8.3.post1+cu12torch2.8cxx11abiTRUE-cp310-cp310-linux_x86_64.whl \
bash scripts/install_env.sh sim-only --profile cu128

FLASH_ATTN_WHEEL_BASE_URLS="https://your-mirror.example.com/fluxvla/wheels" \
bash scripts/install_env.sh sim-only --profile cu128
If the installer has issues: customize pip mirrors and timeouts

The installer respects your existing pip configuration first. If that index is missing a package, or if no pip index is configured, it probes PyPI plus several common mirrors and retries by response time instead of pinning one mirror globally. For slow or unstable networks, customize the candidate list and timeouts:

PIP_INDEX_CANDIDATES="https://mirrors.aliyun.com/pypi/simple https://mirrors.cloud.tencent.com/pypi/simple https://pypi.tuna.tsinghua.edu.cn/simple https://pypi.org/simple" \
PIP_INSTALL_TIMEOUT=7200 \
PIP_NETWORK_TIMEOUT=900 \
GH_PROXY=https://ghfast.top \
bash scripts/install_env.sh full

Update an existing FluxVLA environment

If you already cloned and installed FluxVLA(v0.1.0), you do not need to recreate the conda environment. Pull the latest code and update only the packages whose versions changed for the current simulation / model stack:

bash scripts/update_env.sh

Use --skip-pull if you already updated the checkout yourself, and --skip-project if you do not want to reinstall FluxVLA in editable mode. The updater refreshes the complete unified base dependency set, including the DiT4DiT-compatible Diffusers revision, peft==0.19.1, and av==14.2.0.

Equivalent manual commands
git pull
conda install -y -c conda-forge "ffmpeg=7"
python -m pip install --upgrade -r requirements-base.txt
python -m pip install --upgrade --only-binary=:all: "av==14.2.0"
python -m pip install --upgrade "torchcodec==0.7.0"  # Torch 2.8; use 0.2.1 for Torch 2.6
python -m pip install "mujoco==3.2.6" gymnasium lxml bddl==1.0.1 hydra-core==1.2.0 robomimic==0.2.0
python -m pip install --force-reinstall --no-deps "libero @ git+https://github.com/yinchimaoliang/LIBERO.git@058fda1ddebe92918af091cb6816759ca6d003f0"
python -m pip install --force-reinstall --no-deps "robosuite @ git+https://github.com/yinchimaoliang/robosuite.git@e293cc32ff3c48957a4ebcad09952432b0dc9049"
python -m pip install --no-build-isolation -e .
python -c "import av, diffusers, peft, transformers; from diffusers import Cosmos2_5_PredictBasePipeline; print(av.__version__, diffusers.__version__, peft.__version__, transformers.__version__)"

RoboCasa GR00T support is still optional. The installer manages the Isaac-GR00T and RoboCasa GR1 local checkouts under ./src for sim-only and full; use --skip-robocasa if you do not use RoboCasa configs.

The update helper does not reinstall PyTorch or FlashAttention. Existing flash-attn==2.5.5 environments can keep using it only if it still imports against the installed PyTorch/CUDA build:

python - <<'PY'
import torch, flash_attn
from flash_attn.flash_attn_interface import flash_attn_func, flash_attn_varlen_func
print("torch", torch.__version__, "cuda", torch.version.cuda)
print("flash-attn", flash_attn.__version__)
PY

If you upgrade PyTorch with the current installer or the commands below, reinstall a matching FlashAttention wheel as well. The installer currently defaults to flash-attn==2.8.3.post1 for the supported PyTorch profiles.

Manual installation from scratch

Use the manual path only if you are not using scripts/install_env.sh. Install PyTorch first, then FlashAttention, then the remaining FluxVLA dependencies.

1. Create a conda environment
conda create -n fluxvla python=3.10 -y
conda activate fluxvla
2. Install PyTorch (CUDA version)

Important: Before running pip install -r requirements.txt, you must install PyTorch from the official CUDA index first. The default PyPI index cannot fetch CUDA-enabled builds.

# CUDA 12.8
pip install torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128

For other CUDA versions, replace cu128 with the corresponding value (e.g., cu118, cu121). See: https://pytorch.org/get-started/locally/ and https://pytorch.org/get-started/previous-versions/.

3. Install flash-attention

The one-command installer downloads a prebuilt FlashAttention wheel from the official release assets. For manual installation, install the wheel matching your Python, PyTorch, and C++ ABI instead of building from source:

PYTAG=$(python - <<'PY'
import sys
print(f"cp{sys.version_info.major}{sys.version_info.minor}")
PY
)
ABI=$(python - <<'PY'
import torch
print(str(torch._C._GLIBCXX_USE_CXX11_ABI).upper())
PY
)

pip install --no-deps \
  "https://github.com/Dao-AILab/flash-attention/releases/download/v2.8.3.post1/flash_attn-2.8.3.post1+cu12torch2.8cxx11abi${ABI}-${PYTAG}-${PYTAG}-linux_x86_64.whl"

If you installed PyTorch 2.6, replace torch2.8 in the wheel URL with torch2.6.

FlashAttention wheels are tied to the installed Python, PyTorch, CUDA, and C++ ABI. flash-attn==2.5.5 is not forbidden, but it is only safe to keep when it was built for the exact PyTorch/CUDA stack you are still using. After any PyTorch upgrade, reinstall a matching FlashAttention wheel.

4. Install FFmpeg and av
conda install -c conda-forge "ffmpeg=7" av=14.2.0
5. Install fluxvla and other dependencies
pip install -r requirements.txt
pip install --no-build-isolation -e .

Note: requirements.txt now composes requirements-base.txt, requirements-sim.txt, and requirements-real.txt. It does not install PyTorch; install CUDA PyTorch first or use scripts/install_env.sh. TorchCodec is also installed by the environment scripts because its version must match PyTorch. For a manual x86_64 install, use torchcodec==0.7.0 with Torch 2.8 or torchcodec==0.2.1 with Torch 2.6. TorchCodec also requires the conda/system FFmpeg shared libraries; PyAV and imageio-ffmpeg alone are not sufficient. Linux aarch64 uses the PyAV fallback.

Jetson Orin Docker configuration

For Jetson Orin setup, see docs/orin_flashing.md for initial flashing and JetPack setup, and docs/orin_docker_runtime.md for the validated FluxVLA Docker runtime workflow.

The validated Orin runtime is published as a Docker image:

docker pull fluxvla/fluxvla:fluxvla-orin-1.0.0
scripts/run_docker.sh

scripts/run_docker.sh uses this image by default and mounts the current repository to /workspace/FluxVLA. Runtime details are documented in docs/orin_docker_runtime.md.

Optional: RoboCasa GR00T source checkouts

GR00T N1.5 and N1.7 configs are organized under configs/gr00tn15/ and configs/gr00tn17/, respectively. RoboCasa GR00T N1.5 configs such as configs/gr00tn15/gr00tn15_eagle_3b_robocasa_30_eps_full_finetune.py require the pinned Isaac-GR00T and RoboCasa GR1 task checkouts. The one-click installer handles them for sim-only and full by default and places them under ./src:

bash scripts/install_env.sh sim-only

Use FLUXVLA_ROBOCASA_SRC_ROOT=/path/to/src to choose another checkout root, --skip-robocasa to skip these source installs, and --with-robocasa to force them in real-only mode. Runtime dependencies and the patched robosuite build are installed from requirements-sim.txt.

If you are not using the installer, the equivalent manual commands are:

pip install "mujoco==3.2.6" gymnasium lxml
pip install "robosuite @ git+https://github.com/yinchimaoliang/robosuite.git@e293cc32ff3c48957a4ebcad09952432b0dc9049"

git clone https://github.com/NVIDIA/Isaac-GR00T.git ./src/Isaac-GR00T
git -C ./src/Isaac-GR00T checkout 4af2b622892f7dcb5aae5a3fb70bcb02dc217b96
pip install --no-deps -e ./src/Isaac-GR00T

git clone https://github.com/robocasa/robocasa-gr1-tabletop-tasks.git \
  ./src/robocasa-gr1-tabletop-tasks
git -C ./src/robocasa-gr1-tabletop-tasks checkout 4840e671596f93ca03651524b9f72ffb1aadfeff
pip install --no-deps -e ./src/robocasa-gr1-tabletop-tasks

--no-deps is recommended for editable installs so the RoboCasa packages do not replace the pinned FluxVLA model stack dependencies. RoboCasa assets and datasets are covered in Data & Assets Preparation.

Optional: LIBERO / MuJoCo EGL setup for online evaluation

If you want to evaluate LIBERO on devices that do not support ray tracing (e.g., A100), please refer to EGL Device GPU Rendering Configuration.

scripts/install_env.sh sim-only and scripts/install_env.sh full now probe MuJoCo EGL automatically. If EGL devices are not visible, the installer tries to install the system packages below, creates the NVIDIA GLVND vendor file, and writes a conda activation hook for MUJOCO_GL=egl. Use FLUXVLA_EGL_SETUP=always to make this check strict, or --skip-egl-setup to skip it.

Install system dependencies

export MUJOCO_GL=egl
export PYOPENGL_PLATFORM=egl
sudo apt-get update
sudo apt-get install -y libegl1 libglvnd0 libopengl0 libegl-dev libgl1-mesa-dev libx11-dev libglew-dev libosmesa6-dev

Environment checks

Make sure /proc/1/environ contains the following environment variables:

  • NVIDIA_DRIVER_CAPABILITIES=all
  • NVARCH=x86_64
  • NVIDIA_REQUIRE_CUDA=cuda>=12.4
  • brand=tesla and driver>=470

Create an EGL configuration file

Create file /usr/share/glvnd/egl_vendor.d/10_nvidia.json with the following content:

{
    "file_format_version": "1.0.0",
    "ICD": {
        "library_path": "libEGL_nvidia.so.0"
    }
}

Then launch eval with __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json unless your environment already exports it.

Configure pre-commit hooks (optional but recommended)

To ensure code quality and consistency (especially for C++/CUDA code), install pre-commit hooks:

pip install pre-commit
pre-commit install

This will automatically check and format code before every commit.

Configure Weights & Biases (wandb)

Weights & Biases is used for experiment tracking and visualization. Configure it as follows:

  1. Install wandb (included in requirements.txt):
pip install wandb
  1. Log in to your wandb account:
wandb login
  1. Set environment variables:
export WANDB_PROJECT=fluxvla        # project name (default: fluxvla)
export WANDB_ENTITY=your-team-name  # team name or username (default: None)
export WANDB_MODE=online            # online, offline, or disabled (default: online)
  1. If you want to disable wandb logging during training, set:
export WANDB_MODE=disabled

Note: all wandb configuration is read from environment variables; no additional settings are needed in config files.

Configure TensorBoard (optional)

TensorBoard is supported as an optional logging backend for experiment metric visualization. Configure it as follows:

  1. Add 'tensorboard' to active_trackers in your config file:
metric=dict(
    type='VLAMetric',
    active_trackers=('jsonl', 'wandb', 'tensorboard'),
    ...
)

Alternatively, enable it via command line without modifying the config file:

--cfg-options 'runner.metric.active_trackers=[jsonl,wandb,tensorboard]'
  1. After training, launch TensorBoard to view metrics:
tensorboard --logdir work_dirs/tensorboard

Note: event files are saved to {work_dir}/tensorboard/{run_id}/ per run, enabling automatic comparison across experiments. If the TENSORBOARD_LOG_PATH environment variable is set, it will be used directly as the log directory.

Data & Assets Preparation

Use the datasets we prepared directly

Download the required datasets and place them under ./datasets. Download only the datasets you need according to your configuration.

Dataset Download link
libero-object limxdynamics/FluxVLAData/libero_object_no_noops_lerobotv2.1
libero-spatial limxdynamics/FluxVLAData/libero_spatial_no_noops_lerobotv2.1
libero-10 limxdynamics/FluxVLAData/libero_10_no_noops_lerobotv2.1
libero-goal limxdynamics/FluxVLAData/libero_goal_no_noops_lerobotv2.1
RoboCasa GR1 (30 demos) limxdynamics/FluxVLAData/robocasa_gr1_24tasks_first30ep
RoboCasa GR1 limxdynamics/FluxVLAData/robocasa_lerobot_V2.1
RoboTwin Clean limxdynamics/FluxVLAData/robotwin_lerobotv2.1/robotwin_clean_lerobotv2.1
RoboTwin Random limxdynamics/FluxVLAData/robotwin_lerobotv2.1/robotwin_randomized_lerobotv2.1
RoboDojo RoboDojo-Benchmark/RoboDojo (LeRobot v2.1)
RoboDojo v3 + subtasks limxdynamics/FluxVLAData/RoboDojo_lerobot_v3
ARM manual test limxdynamics/FluxVLAData/ARM_manual_test_10Episodes_lerobotv3.0
RealRobot_AgileX_aloha limxdynamics/FluxVLAData/RealRobot_AgileX_aloha_lerobot_v2
RealRobot_UR3_Chem limxdynamics/FluxVLAData/RealRobot_UR3_Chem_lerobot_v2
RealRobot_Franka_dual limxdynamics/FluxVLAData/RealRobot_Franka_dual_lerobot_v2

For example, download the libero-10 dataset:

huggingface-cli download limxdynamics/FluxVLAData --repo-type dataset --include "libero_10_no_noops_lerobotv2.1/*" --local-dir ./datasets

Replace libero_10_no_noops_lerobotv2.1 with the corresponding folder name of the dataset you want to download.

For RoboDojo subtask-conditioned PI05 training and Qwen3.5 subtask prediction, download the LeRobot v3.0 dataset with dense subtask annotations (35 tasks, 3,500 episodes, about 63.9 GB):

HF_ENDPOINT=https://hf-mirror.com HF_HUB_DISABLE_XET=1 \
  hf download limxdynamics/FluxVLAData \
  --repo-type dataset \
  --include "RoboDojo_lerobot_v3/**" \
  --local-dir ./datasets

Keep the downloaded data/, meta/, and videos/ together under ./datasets/RoboDojo_lerobot_v3. Both subtask recipes already default to this directory; set ROBODOJO_SUBTASK_DATA_ROOT if the data lives elsewhere. Reserve sufficient space for the dataset and frame-data caches. An existing copy of the same annotated dataset can be reused without downloading again.

The original whole-task RoboDojo recipes still default to LeRobot v2.1. To use this v3 data, change the frame dataset's type to ParquetDatasetV3 as well as its data_root_path, retain instruction_source='task', and keep the recipe's normalization settings. Changing only the path is insufficient. The simulator's robodojo_root points to source code/assets, not this dataset. See the subtask training guide for both recipes and a whole-task PI05 override example.

For RoboCasa GR00T training with the released 30-demo subset, download the dataset under ./datasets:

huggingface-cli download limxdynamics/FluxVLAData \
  --repo-type dataset \
  --include "robocasa_gr1_24tasks_first30ep/*" \
  --local-dir ./datasets

For full-data RoboCasa GR1 training, replace the include pattern with robocasa_lerobot_V2.1/*.

For RoboTwin training, download both Clean and Randomized datasets under ./datasets:

huggingface-cli download limxdynamics/FluxVLAData \
  --repo-type dataset \
  --include "robotwin_lerobotv2.1/*" \
  --local-dir ./datasets

The supplied configs read both datasets directly from ./datasets/robotwin_lerobotv2.1/. The datasets are derived from StarVLA/RoboTwin-Randomized and merged separately by domain in LeRobot v2.1 format.

LLaVA-665K raw data for VLM SFT and VLA/VLM mixed training

Like LIBERO, keep the dataset under ./datasets and run commands from the repository root. The configs read the original JSON and extracted images from ./datasets/llava665k. No JSONL/Parquet conversion or catalog.json is required.

  1. Download the 665K mixture annotation, not the older 150K annotation:
hf download liuhaotian/LLaVA-Instruct-150K llava_v1_5_mix665k.json \
  --repo-type dataset --local-dir ./datasets/llava665k
  1. Download and extract all five image sources following the official LLaVA instructions. Downloading the annotation does not download these images.
Source Download Extracted directory under ./datasets/llava665k
COCO train2017.zip coco/train2017/
GQA images.zip gqa/images/
OCR-VQA Download script ocr_vqa/images/
TextVQA train_val_images.zip textvqa/train_images/
Visual Genome images.zip, images2.zip vg/VG_100K/, vg/VG_100K_2/

OCR-VQA images must use .jpg filenames as specified by LLaVA. Preserve the annotation's relative image paths; do not add an extra nesting directory:

datasets/
├── libero_10_no_noops_lerobotv2.1/
└── llava665k/
    ├── llava_v1_5_mix665k.json
    ├── coco/train2017/
    ├── gqa/images/
    ├── ocr_vqa/images/
    ├── textvqa/train_images/
    └── vg/
        ├── VG_100K/
        └── VG_100K_2/

If the complete dataset already exists on another disk or an OSS filesystem mount, use a symlink instead of downloading/copying it. Only run this when ./datasets/llava665k does not already exist; replace the source path:

mkdir -p ./datasets
ln -s /path/to/existing/llava665k ./datasets/llava665k

On first use, the dataset automatically builds a small byte-offset index in ./datasets/.cache/vlm/ and reuses it later. This cache must be writable; the raw data may be read-only. Missing images and invalid samples are reported/retried, not automatically downloaded or repaired.

  1. Prepare the matching weights under ./checkpoints (see Checkpoint Preparation below), then choose a config:
Training Config
Pi05 SFT Pi05 LLaVA-665K
Qwen3-VL-2B SFT Qwen3-VL-2B
RoboTwin + LLaVA-665K Pi05 RoboTwin
RoboCasa + LLaVA-665K Pi05 RoboCasa

Mixed training also requires the RoboTwin/RoboCasa data described above. For example, after preparing ./checkpoints/pi05_base, start Pi05 SFT on two GPUs:

NPROC_PER_NODE=2 bash scripts/train.sh \
  configs/pi05/pi05_paligemma_llava665k_full_finetune.py \
  ./work_dirs/pi05_vlm_sft

TextVQA generation evaluation: download TextVQA_0.5.1_val.json to ./datasets/textvqa/. Images are reused from ./datasets/llava665k/textvqa/train_images/. Do not add these validation annotations to the SFT sources. Append --eval-after-train to the command above to compare the trained checkpoint and base model using eval.type='TextVQAEvalRunner'; no training-data holdout is created. Both Qwen configs also support this evaluation. Qwen and pure Pi05 SFT use one full epoch, saving at each epoch end. Per-device batch 4 and gradient accumulation 2 keep the effective batch size at 16 on two GPUs.

See VLM data and training for input/output contracts, source mixing, task scheduling and limitations. Robot-action inputs still use the existing LeRobot pipeline.

Compute transformed normalization statistics

Recompute normalization statistics whenever the training data, robot action semantics, action horizon, or terminal-padding policy changes. The automatic training path and the command-line tool call the same implementation, so they produce the same statistics when given the same profile and dataset settings.

For configs that opt in with auto_compute_statistics, the startup priority is:

  1. use inline dataset_statistics when present;
  2. otherwise use dataset_statistics_path when present;
  3. otherwise compute transformed statistics once on rank 0 and save dataset_statistics.json plus dataset_statistics_metadata.json in the work directory.

The PI0.5 UR3, dual-Franka, and Tron2 training configs use this automatic path. The ALOHA configs use the official OpenPI PI0.5 Trossen statistics from gs://openpi-assets/checkpoints/pi05_base/assets/trossen/norm_stats.json for both training normalization and action denormalization. RoboCasa keeps checked-in dataset-specific statistics to avoid scanning the full dataset at every startup. To run a dataset-specific calculation manually from the repository root:

conda activate fluxvla

# UR3: six relative joints and an absolute gripper.
python tools/compute_transformed_dataset_stats.py /path/to/ur3 \
  --profile ur3 --action-horizon 50 \
  --variable-name _PI05_UR3_STATS --output /tmp/ur3_stats.py

# Dual Franka joint-position actions: relative joints and absolute grippers.
python tools/compute_transformed_dataset_stats.py /path/to/franka \
  --profile franka-qpos --action-horizon 50 \
  --variable-name _PI05_FRANKA_QPOS_STATS \
  --output /tmp/franka_qpos_stats.py

# Dual Franka Cartesian poses: fully absolute actions.
python tools/compute_transformed_dataset_stats.py /path/to/franka \
  --profile franka-eepose --action-horizon 50 \
  --variable-name _PI05_FRANKA_EEPOSE_STATS \
  --output /tmp/franka_eepose_stats.py

# Tron2: fully absolute arm, head, and gripper qpos targets.
python tools/compute_transformed_dataset_stats.py /path/to/tron2 \
  --profile tron2 --action-horizon 50 \
  --variable-name _TRON2_STATS --output /tmp/tron2_stats.py

# RoboCasa GR1: relative arm/waist joints and absolute Fourier-hand commands.
python tools/compute_transformed_dataset_stats.py /path/to/robocasa_lerobot_V2.1 \
  --profile robocasa-joint-delta --action-horizon 16 \
  --statistic-name robocasa_gr1_24tasks_joint_delta \
  --variable-name _PI05_ROBOCASA_STATS \
  --output /tmp/pi05_robocasa_joint_delta_stats.py

The tool applies configured robot coordinate/sign transforms first, converts only selected action dimensions to deltas second, and computes statistics last. Fully absolute policies can use --profile absolute or --no-delta; for example, a GR00T policy whose action column already contains absolute qpos can use auto_compute_statistics=dict(profile='absolute'). Override state_key or action_key when the dataset uses different columns.

The output contains mean, std, min, max, q01, and q99, so it can serve mean/std, min/max, or PI0.5 quantile normalization. Automatic computation inherits action_window_size, window_start_idx, supervise_terminal_padding, and statistic_name directly from the training config.

For OpenPI parity, do not regenerate the ALOHA statistics from the local training split. The checked-in _PI05_ALOHA_STATS is a direct copy of the official PI0.5 Trossen asset. If a different ALOHA calibration or data domain intentionally requires dataset-specific statistics, generate a replacement with:

python tools/compute_transformed_dataset_stats.py /path/to/aloha \
  --profile aloha --action-key observation.state \
  --gripper-input-range=-0.01,0.08 --action-horizon 50 \
  --variable-name _PI05_ALOHA_STATS --output /tmp/aloha_stats.py

When overriding the official asset, use the same replacement dictionary for both train_dataloader.dataset.dataset_statistics and inference.denormalize_action.norm_stats.

The legacy tools/compute_pi05_norm_stats.py command remains available as a compatibility wrapper around the generic tool.

Terminal padding is included by default. Add --exclude-terminal-padding if the config masks padded actions from the loss. The default action-window start is 0; set --window-start-index only when the config intentionally uses a different offset. For large datasets, use --temp-dir /path/with/free-space to place temporary memory-mapped files on a disk with sufficient capacity.

Run python tools/compute_transformed_dataset_stats.py --help for the available profiles and overrides such as custom state/action keys and delta masks.

ARM datasets

The built-in ARM example config configs/arm/arm_clip_aloha_example.py expects a progress-labeled LeRobot v3.x dataset at ./datasets/ARM_manual_test_10Episodes_lerobotv3.0.

Download the released example dataset to the expected location with:

huggingface-cli download limxdynamics/FluxVLAData \
  --repo-type dataset \
  --include "ARM_manual_test_10Episodes_lerobotv3.0/*" \
  --local-dir ./datasets

ARM training reads the progress column directly from this dataset. For RA-BC / AW-BC on policy or DAgger datasets that do not already contain progress, first train or load an ARM checkpoint, then generate arm_progress.parquet with scripts/compute_arm_awbc_progress.py. See docs/arm.md and tools/arm_awbc/README.md.

Prepare assets

Use the FluxVLA asset downloader below as the supported path for RoboCasa GR1 tabletop tasks. The table lists the upstream archives used by the script; manually downloading and extracting those archives is not sufficient for this stack because the script also fixes the directory layout and normalizes Objaverse XML metadata for the pinned RoboCasa GR1 checkout.

Asset archives Download link Local directory
objaverse.zip, textures.zip, generative_textures.zip robocasa/robocasa-assets ./src/robocasa-gr1-tabletop-tasks/robocasa/models/assets
fixtures.zip jianzhang96/robocasa-assets ./src/robocasa-gr1-tabletop-tasks/robocasa/models/assets
sketchfab.zip, lightwheel.zip nvidia/PhysicalAI-DigitalCousin-Assets ./src/robocasa-gr1-tabletop-tasks/robocasa/models/assets

When using scripts/install_env.sh, this downloader runs by default together with the RoboCasa source checkouts unless --skip-robocasa or --skip-robocasa-assets is passed. For manual installation or refreshing the assets, run this command from the FluxVLA repository root. It downloads the required archives through the selected Hugging Face endpoint, extracts them into the RoboCasa asset directory, and normalizes the Objaverse XML metadata:

python scripts/download_robocasa_assets.py --endpoint https://hf-mirror.com

If the archives or extracted assets already exist locally, still run this script so the XML compatibility step is applied. For assets that have already been extracted into ./src/robocasa-gr1-tabletop-tasks/robocasa/models/assets, you can run only the validation and XML normalization step:

python scripts/download_robocasa_assets.py --normalize-only

Symlinks are not required; they are only a convenience when the assets already live on another local disk or shared storage.

SARM datasets

FluxVLA SARM workflows accept standard LeRobot v2.1 or v3.x datasets. Besides the usual observation / action fields, the dataset must carry SARM subtask annotations in episodes metadata.

Published SARM example datasets on Hugging Face:

Download them under ./datasets with:

huggingface-cli download limxdynamics/FluxVLAData --repo-type dataset --include "SARM_manual_test_10Episodes_lerobotv3.0/*" --local-dir ./datasets
huggingface-cli download limxdynamics/FluxVLAData --repo-type dataset --include "SARM_vlm_test_10Episodes_lerobotv3.0/*" --local-dir ./datasets
huggingface-cli download limxdynamics/FluxVLAData --repo-type dataset --include "SARM_manual_test_10Episodes_lerobotv2.1/*" --local-dir ./datasets
huggingface-cli download limxdynamics/FluxVLAData --repo-type dataset --include "SARM_vlm_test_10Episodes_lerobotv2.1/*" --local-dir ./datasets

Use the manual_* datasets directly for training / inference. Use the vlm_* datasets as clean starting points for manual stage writing or VLM auto-annotation. Prefer the v2.1 pair when another tool expects meta/episodes.jsonl plus per-episode videos; prefer the v3.0 pair when you want to keep native LeRobot v3.x metadata layout.

Before using a LeRobot v3.x SARM dataset, sanity-check the video metadata:

  • LeRobot v3.x allows either many episodes in one MP4 or one MP4 per episode.

  • If many episodes share one MP4, each episode that points to that file must use correct from_timestamp / to_timestamp offsets.

  • If videos are already split as file-000.mp4, file-001.mp4, ..., each episode should point to its own file_index, and from_timestamp will usually reset to 0.0.

  • If the directory contains multiple MP4 files but all episodes still point to file-000.mp4, the dataset metadata is malformed and should be fixed before use.

  • For ready-to-use SARM dataset structure, annotation columns, and progress inference usage, see docs/sarm.md.

  • For writing manual stages or generating VLM-based annotations, see tools/sarm_annotate/README.md.

Private dataset directory structure

For robot action training on private datasets, prepare your raw data (e.g., HDF5 files collected by ALOHA robots) in LeRobot Dataset v2.1 format before training. Image-text SFT instead uses the JSON/JSONL pipeline described in the LLaVA-665K section above.

For SARM specifically, FluxVLA supports both LeRobot v2.1 and v3.x datasets as long as the required SARM annotation columns are present. The SARM-specific metadata contract is documented in docs/sarm.md.

The dataset should follow this directory structure:

├── data
│   └── chunk-000
│   │   └── episode_000000.parquet
│   │   └── episode_000001.parquet
│   │   └── ... (more parquet files)
│   │   └── episode_00000N.parquet
│   └── chunk-001
│   └── ... (more chunks)
│   └── chunk-00N
├── meta
│   └── episodes.jsonl
│   └── episodes_stats.jsonl
│   └── info.json
│   └── tasks.jsonl
├── videos
│   └── chunk-000
│   │   └── camera name 0
│   │   │   └── episode_000000.mp4
│   │   │   └── episode_000001.mp4
│   │   │   └── ...(more mp4 files)
│   │   │   └── episode_00000N.mp4
│   │   └── camera name 1
│   │   └── ...(more cameras)
│   │   └── camera name N
│   └── chunk-001
│   └── ... (more chunks)
│   └── chunk-00N

🤗 Checkpoint Preparation

Download the required pretrained checkpoints and place them under ./checkpoints. Download only the checkpoints you need based on your configuration.

For ARM and SARM workflows, you typically need a CLIP checkpoint for training / inference. SARM VLM-based annotation also needs the Qwen3-VL checkpoint used by the official SARM workflow. Detailed usage is documented in docs/arm.md and docs/sarm.md.

VLA models
Model Size Download link
GR00T N1.5 3B 🤗 Hugging Face
OpenVLA 7B 🤗 Hugging Face
FastWAM_base 5B 🤗 Hugging Face
Cosmos-Predict2.5-2B 2B 🤗 Hugging Face
PI0_base 3B 🤗 Hugging Face
PI0 RoboCasa full-data 3B 🤗 Hugging Face
PI05_base 3B 🤗 Hugging Face
SLA_base 3B 🤗 Hugging Face
PI05_libero 3B 🤗 Hugging Face
SmolVLA 450M 🤗 Hugging Face

For Pi05 LLaVA SFT or mixed training, download the base weights and tokenizer together into the directory expected by the configs:

hf download limxdynamics/FluxVLAEngine --include "pi05_base/*" \
  --local-dir ./checkpoints

To initialize PI0.5 from the SLA pretrained weights, download sla_base, which contains both the weights and the tokenizer:

hf download limxdynamics/FluxVLAEngine --include "sla_base/*" \
  --local-dir ./checkpoints

Download the PI0 RoboCasa full-data checkpoint while preserving the path expected by its config:

hf download limxdynamics/FluxVLAEngine \
  --include "pi0_paligemma_robocasa_full_data_full_finetune_bs256/*" \
  --local-dir ./checkpoints

DiT4DiT requires the Cosmos-Predict2.5-2B Diffusers checkpoint. Download the exact revision and directory layout expected by configs/dit4dit/dit4dit_libero_all_full_finetune.py:

hf download nvidia/Cosmos-Predict2.5-2B \
  --revision diffusers/base/post-trained \
  --local-dir ./checkpoints/Cosmos-Predict2.5-2B

Download the FluxVLA DiT4DiT LIBERO checkpoint linked in the performance table:

hf download limxdynamics/FluxVLAEngine \
  --include "dit4dit_libero_all_full_finetune_bs256/*" \
  --local-dir ./checkpoints

The official DiT4DiT LIBERO checkpoint is optional for the default train-from-Cosmos recipe. Download it when reproducing the released model or when setting model.pretrained_name_or_path to _official_dit4dit_ckpt:

hf download mondo-robotics/dit4dit-model \
  --include "dit4dit_libero/*" \
  --local-dir ./checkpoints/dit4dit-model
Vision-Language Models (VLM)
Model Size Download link
Qwen2.5-VL 3B 🤗 Hugging Face
Qwen3-VL 2B 🤗 Hugging Face
Qwen3-VL 30B 🤗 Hugging Face
SmolVLM2 500M 🤗 Hugging Face

For Qwen3-VL-2B SFT, download the complete checkpoint, including its processor and tokenizer:

hf download Qwen/Qwen3-VL-2B-Instruct \
  --local-dir ./checkpoints/Qwen3-VL-2B-Instruct
Large Language Models (LLM)
Model Size Download link
Qwen 2.5 3B 🤗 Hugging Face
Qwen 2.5 7B 🤗 Hugging Face
Llama 2 7B 🤗 Hugging Face
Vision backbone networks
Model Download link
CLIP ViT-B/32 🤗 Hugging Face
ViT-Large (DINOv2) 🤗 Hugging Face
ViT-SO400M (SigLIP) 🤗 Hugging Face
SigLIP2 🤗 Hugging Face
paligemma 🤗 Hugging Face

Tip: You can speed up downloads with huggingface-cli download <model-name> --local-dir ./checkpoints/<model-name>.

For the built-in ARM and SARM configs, place the CLIP files under ./checkpoints/clip-vit-base-patch32:

huggingface-cli download openai/clip-vit-base-patch32 --local-dir ./checkpoints/clip-vit-base-patch32

If you use VLM-based SARM annotation, place the official SARM VLM under ./checkpoints/Qwen3-VL-30B-A3B-Instruct.

🌟 Features

All-in-one: One configuration file manages the full workflow
  • Manage key parameters for data, models, training, evaluation, inference, and deployment through a single config file (easier to reproduce and deploy).
Supports different VLA and WAM models
  • VLA models: OpenVLA, LlavaVLA, SmolVLA, X-VLA, GR00T N1.5, GR00T N1.7, Pi0, and Pi0.5.
  • WAM models: DreamZero, FastWAM (including IDM and Joint variants), Cosmos3 (Nano, Super, and Edge), and DiT4DiT.
Supports API-based model inference
  • Supports GPT-6 Astra and MiniMax M3.1 Flash inference via APIs and tool-calling policies, without local model checkpoints.
Supports different modules
  • Supports Llama, Gemma, and Qwen-family LLM backbones.
  • Supports DINOv2 and SigLIP vision backbones.
  • Supports PaliGemma and Qwen-VL VLM backbones.
  • Supports raw LLaVA JSON/JSONL image-text SFT and alternating Pi05 VLA/VLM training, with task-specific transforms and collators.
Supports reward modeling workflows
  • Supports SARM training, annotation, and progress inference on LeRobot v2.1/v3.x datasets. See docs/sarm.md for details.
  • Supports ARM reward modeling, progress reconstruction, and RA-BC / AW-BC sample reweighting. See docs/arm.md for details.
Supports different training strategies
  • Supports FSDP together with DDP, and supports LoRA training mode.
  • Supports eval-after-train.
  • Supports resuming training from checkpoints.
Data and weight formats
  • Supports Parquet datasets and loading LeRobot-format data.
  • Supports model weights in safetensors format.
Evaluation and inference capabilities
  • Supports multi-GPU evaluating libero on devices without ray tracing.
  • Supports uploading LIBERO and RoboCasa evaluation summaries to Feishu Sheets; see Feishu Evaluation Reporting.
  • Supports remote inference infrastructure with ZMQ-based server/client architecture, enabling GPU-offloaded inference for resource-constrained edge devices. See Remote Inference Serving.
  • Supports RTC (Real-Time Chunking) to improve cross-chunk trajectory continuity.
  • Supports accelerated inference for GR00T and PI0.5; see Inference Acceleration, including Triton fused kernels, CUDA Graph capture, and CUDA custom operators.
  • Provides a minimal Oli humanoid whole-body (loco-manipulation) real-robot inference path (rospy sensor input + WebSocket control; base/hand commands are robot-SDK integration points). See docs/oli_whole_body.md.

Usage

VPP2 supports released RoboDojo checkpoints through the native FluxVLA server and FluxThemis evaluation client. See the VPP2 guide for setup, inference and three-seed evaluation, and the validation results for results and coverage.

Local debugging
/root/miniconda3/envs/fluxvla/bin/torchrun --standalone --nnodes 1 --nproc-per-node [NUM_GPUS] scripts/train.py --config [CONFIG_PATH] --work-dir [WORK_DIR] --cfg-options train_dataloader.per_device_batch_size=[PER_DEVICE_BATCH_SIZE]

Example:

export WANDB_MODE=disabled
/root/miniconda3/envs/fluxvla/bin/torchrun --standalone --nnodes 1 --nproc-per-node 2 scripts/train.py --config configs/pi05/pi05_paligemma_libero_10_full_finetune.py --work-dir ./checkpoints/pi05_paligemma_libero_10_full_finetune --cfg-options train_dataloader.per_device_batch_size=2

RoboCasa GR00T smoke training example:

WANDB_MODE=disabled TOKENIZERS_PARALLELISM=false \
torchrun --standalone --nnodes 1 --nproc-per-node 1 scripts/train.py \
  --config configs/gr00tn15/gr00tn15_eagle_3b_robocasa_30_eps_full_finetune.py \
  --work-dir work_dirs/smoke_groot_robocasa_train \
  --cfg-options \
    runner.type=FSDPTrainRunner \
    runner.sharding_strategy=no-shard \
    train_dataloader.per_device_batch_size=1 \
    runner.enable_gradient_checkpointing=False \
    runner.max_steps=2 \
    runner.save_iter_interval=1 \
    runner.max_keep_ckpts=2 \
    "runner.metric.active_trackers=('jsonl',)"
Local evaluation
/root/miniconda3/envs/fluxvla/bin/torchrun --standalone --nnodes 1 --nproc-per-node [NUM_GPUS] scripts/eval.py --config [CONFIG_PATH] --ckpt-path [CKPT_PATH] --cfg-options [CFG_OPTIONS]

Example:

export WANDB_MODE=disabled
/root/miniconda3/envs/fluxvla/bin/torchrun --standalone --nnodes 1 --nproc-per-node 2 scripts/eval.py --config configs/pi05/pi05_paligemma_libero_10_full_finetune.py --ckpt-path checkpoints/pi05_paligemma_libero_10_full_finetune_bs64/checkpoints/step-028548-epoch-18-loss=0.0111.safetensors

RoboCasa GR00T evaluation example:

MUJOCO_GL=egl WANDB_MODE=disabled TOKENIZERS_PARALLELISM=false \
PYTHONHASHSEED=7 \
torchrun --standalone --nnodes 1 --nproc-per-node 1 scripts/eval.py \
  --config configs/gr00tn15/gr00tn15_eagle_3b_robocasa_30_eps_full_finetune.py \
  --ckpt-path work_dirs/gr00t_eagle_3b_robocasa_gr1_24x30_finetune_bs64/checkpoints/step-010000.safetensors \
  --cfg-options \
    eval.norm_stats_path=work_dirs/official_groot_gr1_dataset_statistics.json \
    eval.output_dir=work_dirs/gr00t_eagle_3b_robocasa_eval \
    eval.num_trials_per_task=50 \
    eval.seed=7

eval.seed controls the RoboCasa episode seeds and stochastic GR00T action sampling seeds during evaluation. PYTHONHASHSEED is independent and must be set before Python starts; using the same value is recommended when reproducing reported RoboCasa results.

RoboTwin GR00T N1.5 evaluation example (all 50 tasks, Clean and Random):

WANDB_MODE=disabled TOKENIZERS_PARALLELISM=false \
torchrun --standalone --nnodes 1 --nproc-per-node 2 scripts/eval.py \
  --config configs/gr00tn15/gr00tn15_eagle_3b_robotwin_all_data_full_finetune.py \
  --ckpt-path checkpoints/gr00t_eagle_3b_robotwin_all_data_full_finetune_bs128/checkpoints/step-142386-epoch-03-loss=0.0027.safetensors \
  --cfg-options \
    eval.norm_stats_path=checkpoints/gr00t_eagle_3b_robotwin_all_data_full_finetune_bs128/dataset_statistics.json \
    eval.result_output_dir=work_dirs/gr00t_robotwin_eval \
    "eval.task_suite_name=['clean','random']" \
    eval.num_trials_per_task=100 \
    eval.instruction_type=unseen \
    eval.seed=0

eval.seed sets the starting candidate episode seed to 100000 * (1 + seed). RoboTwin increments this seed and skips scenes that fail expert validation until the requested number of valid episodes is evaluated. It also influences scene randomization, instruction selection, and stochastic policy sampling.

Cluster training
export WANDB_MODE=disabled
bash scripts/train.sh [CONFIG] [WORK_DIR] --cfg-options train_dataloader.per_device_batch_size=[PER_DEVICE_BATCH_SIZE] train_dataloader.batch_size=[GLOBAL_BATCH_SIZE] runner.max_steps=[MAX_STEPS] runner.save_interval=[SAVE_INTERVAL] runner.max_keep_ckpts=[MAX_KEEP_CKPTS] --eval-after-train
Resume training from a checkpoint

To resume training from a checkpoint, use the --resume-from argument to specify the checkpoint file path. Training will continue from the saved global step, epoch, model state, and optimizer state.

Local training example:

export WANDB_MODE=disabled
/root/miniconda3/envs/fluxvla/bin/torchrun --standalone --nnodes 1 --nproc-per-node 2 scripts/train.py \
  --config configs/pi05/pi05_paligemma_libero_10_full_finetune.py \
  --work-dir ./work_dirs/pi05_paligemma_libero_10_full_finetune \
  --resume-from ./work_dirs/pi05_paligemma_libero_10_full_finetune/checkpoints/checkpoint_epoch_5.pt \
  --cfg-options train_dataloader.per_device_batch_size=2

Cluster training example:

export WANDB_MODE=disabled
bash scripts/train.sh [CONFIG] [WORK_DIR] \
  --resume-from [CHECKPOINT_PATH] \
  --cfg-options train_dataloader.per_device_batch_size=[PER_DEVICE_BATCH_SIZE] runner.max_steps=[MAX_STEPS]
Cluster evaluation
export WANDB_MODE=disabled
bash scripts/eval.sh [CONFIG] [CKPT_PATH] --cfg-options [CFG_OPTIONS]
Real-robot inference

When running inference on a real robot, first install the environment on the robot side, and then run:

python scripts/inference_real_robot.py --config [CONFIG] -- ckpt-path [CKPT_PATH]

FAQ

Q: Problems connecting to Hugging Face when downloading models or datasets.

A: If you encounter Hugging Face connectivity issues (e.g., slow downloads, timeouts, or connection refused), set the following environment variable before running the command and use hf-mirror:

export HF_ENDPOINT="https://hf-mirror.com"
Q: conda install av is very slow at resolving the environment.

A: You can use the libmamba solver to speed up dependency resolution:

conda install -c conda-forge av=14.2.0 --solver=libmamba
Q: GR00T evaluation on LIBERO is unstable.

A: This is expected. GR00T's performance on LIBERO is sensitive to random seeds, the hardware environment, and the number of training epochs. Small changes in these factors may cause noticeable fluctuations in evaluation results. It is recommended to run experiments with multiple random seeds and select the best checkpoint based on evaluation performance.

Q: When running pip install -r requirements.txt, building egl_probe fails with RuntimeError: CMake must be installed.

A: egl_probe needs CMake to build. Install it via conda (recommended) or apt:

conda install -c conda-forge cmake
# or
sudo apt install cmake

Note: Do not use pip install cmake. The pip package is a Python wrapper and may fail because pip isolates the build environment.

Q: egl_probe build fails and reports Compatibility with CMake < 3.5 has been removed from CMake.

A: This is usually because your CMake version is too new for the egl_probe CMakeLists.txt. Set the following environment variable before installing:

CMAKE_POLICY_VERSION_MINIMUM=3.5 pip install -r requirements.txt
Q: After installation, I get NumPy version errors (e.g., RuntimeError: Numpy is not available or version incompatibility warnings).

A: During installation, some dependencies may overwrite the pinned NumPy version. Reinstall the correct version directly:

pip install numpy==1.26.4

Contributing

Please see the contribution workflow and guidelines in docs/CONTRIBUTING.md.

Quick conventions:

  • Discuss first: for new features/models or other large changes, please open a GitHub Issue to align on scope and design.
  • Branch from upstream: create your branch from upstream/main and use prefixes like feat/, fix/, docs/, etc. (details in the contributing guide).
  • Run checks before PR: make sure local pre-commit passes and CI is green.
  • Commit messages: we recommend Conventional Commits (examples in the contributing guide).

Support

If you encounter any issues while using this repository, feel free to contact us. You can reach us directly at mason@limxdynamics.com and wayne@limxdynamics.com, or open a GitHub issue for help.

🙏 Citation & Acknowledgements

If you use FluxVLA in your research or projects, please cite the relevant works as:

@misc{li2026fluxvlaengineonestopvla,
  title={FluxVLA Engine: A One-Stop VLA Engineering Platform for Embodied Intelligence},
  author={Yinhao Li and Weixin Mao and Zihan Lan and Jikun Rong and Qirui Hu and Yiming Zhang and Weipeng Deng and Bowen Shen and Minzhao Zhu and Yiming Mao and Yan Yang and Chenguang Cui and Hongyuan Chen and Xu Huang and Zheyi Zhao and Pinxi Shen and Bozhen He and Zhen Fu and Yifan Wang and Zexin Zhang and Ang Gao and Haoyu Chen and Chengqi Shi and Hua Chen},
  year={2026},
  eprint={2609.17210},
  archivePrefix={arXiv},
  primaryClass={cs.RO},
  url={https://arxiv.org/abs/2609.17210},
}

@InProceedings{Mao_2026_CVPR,
    author    = {Mao, Yiming and Yu, Zixi and Mao, Weixin and Li, Yinhao and Hu, Qirui and Lan, Zihan and Zhu, Minzhao and Chen, Hua},
    title     = {ARM: Advantage Reward Modeling for Long-Horizon Manipulation},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
    month     = {June},
    year      = {2026},
    pages     = {4468-4477}
}

@article{Huang_2026_IROS,
  title={Long-Term Memory for VLA-based Agents in Open-World Task Execution},
  author={Huang, Xu and Mao, Weixin and Li, Yinhao and Chen, Hua and Zhao, Jiabao},
  journal={arXiv preprint arXiv:2604.15671},
  year={2026}
}

Acknowledgements: This project benefits from the following open-source projects and community efforts. Thanks to: LeRobot, NVIDIA Isaac GR00T, DreamZero (code), OpenVLA, OpenPI (pi0), LLaVA, DeepSpeed, Qwen, Triton, RTC, Training RTC, and Realtime-VLA. If we missed your project or contribution, please open an issue or pull request so we can properly acknowledge it.

Roadmap

  • Support more vision backbone networks.
  • Support more VLM backbones.
  • Support more VLA methods.
  • Extend training to reasoning-chain-of-thought (CoT) data.
  • Full implementation of the logger feature.
  • Support Isaac Sim.
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载