Skip to main content

Installation and model download

Requirements​

  • Python 3.10.16
  • PyTorch 2.9.0
  • CUDA 12.6

Install PyTorch and the runtime dependencies:

pip install torch==2.9.0 torchvision==0.24.0 torchaudio==2.9.0 \
--index-url https://download.pytorch.org/whl/cu126
pip install websockets einops diffusers==0.36.0 transformers==4.55.2 \
accelerate msgpack opencv-python matplotlib ftfy easydict
pip install flash-attn --no-build-isolation

Model checkpoints​

ModelHugging FaceModelScopeUse
lingbot-va-baseView modelView modelBase checkpoint with a shared backbone
lingbot-va-posttrain-robotwinView modelView modelCheckpoint post-trained on RoboTwin
lingbot-va-posttrain-libero-longView modelView modelCheckpoint post-trained on LIBERO-Long

Post-training datasets​

DatasetHugging FaceModelScopeUse
robotwin-clean-and-aug-lerobotView datasetView datasetCleaned and augmented RoboTwin data in LeRobot format
libero-long-lerobotView datasetView datasetLIBERO-Long data in LeRobot format

Configure the attention mode​

The model reads attn_mode from <model-path>/transformer/config.json. Set it for the task before starting:

Taskattn_mode
Training"flex"
Inference or evaluation"torch" or "flashattn"

"flex" is only supported during training.

After installation and checkpoint setup, continue to Inference and evaluation or Data and post-training.