RepositoryPython
Sage-PhysicalAI

Sage-PhysicalAI/InternVLA-M1

InternVLA-M1: A Spatially Guided Vision-Language-Action Framework for Generalist Robot Policy

439stars
26forks
10issues
3views

Featured achievements

The project's latest awards

2
TINIX TRENDING·Topic: vision-language-action-model

#2 Repository of the week

6
TINIX TRENDING·Topic: vision-language-model

#6 Repository of the week

InternVLA-M1

InternVLA-M1 is a spatially guided vision-language-action framework for generalist robot policy.

https://github.com/user-attachments/assets/e83ae046-a503-46a8-95e4-ef381919b7f8

Paper Website Demo License

🔥 Key Features

  1. Modular & Extensible
    All core components (model architecture, training data, training strategies, evaluation pipeline) are fully decoupled, enabling independent development, debugging, and extension of each module.

  2. Dual-System and Dual-Supervision InternVLA-M1 integrates both a language head and an action head under a unified framework, enabling collaborative training with dual supervision.

  3. Efficient Training & Fast Convergence Learns spatial and visual priors from large-scale multimodal pretraining and transfers them via spatial prompt fine-tuning. Achieves strong performance (e.g., SOTA-level convergence on in ~2.5 epochs without separate action pretraining).

🎯 Target Audience

  1. Users who want to leverage open-source VLMs (e.g., Qwen2.5-VL) for robot control.
  2. Teams co-training action datasets jointly with multimodal (vision–language) data.
  3. Researchers exploring alternative VLA architectures and training strategies.

📊 Experimental Results

WindowXGoogle Robot(VA)Google Robot(VM)LIBERO
$\pi_0$27.154.858.894.2
GR00t61.944.535.293.9
InternVLA-M171.776.080.795.9

🚀 Quick Start

🛠 Environment Setup

# Clone the repo
git clone https://github.com/InternRobotics/InternVLA-M1

# Create conda environment
conda create -n internvla-m1 python=3.10 -y
conda activate internvla-m1

# Install requirements
pip install -r requirements.txt

# Install FlashAttention2
pip install flash-attn --no-build-isolation

# Install InternVLA-M1
pip install -e .

Hardware support

InternVLA-M1 runs on NVIDIA CUDA, Intel GPUs (XPU), or CPU. The deployment and evaluation scripts automatically select the available device in this order: CUDA, XPU, then CPU. No code or configuration changes are needed.

Intel GPU (XPU): install a PyTorch build with XPU support instead of the CUDA wheels:

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu

Skip the flash-attn step above when using XPU. It is CUDA-only and is not required on XPU; the model uses PyTorch's built-in attention implementation instead.

Outputs closely match the CUDA and CPU paths. Minor float32 flow-matching rounding drift is expected and is not a bug.

⚡ Quick Interactive M1 Demo

Below are two collapsible examples: InternVLA-M1 chat and action prediction.

InternVLA-M1 Chat Demo (image Q&A / Spatial Grounding)
from InternVLA.model.framework.M1 import InternVLA_M1
from PIL import Image
import requests
from io import BytesIO
import torch

def load_image_from_url(url: str) -> Image.Image:
    resp = requests.get(url, timeout=15)
    resp.raise_for_status()
    img = Image.open(BytesIO(resp.content)).convert("RGB")
    return img

saved_model_path = "/PATH/checkpoints/steps_50000_pytorch_model.pt"
internVLA_M1 = InternVLA_M1.from_pretrained(saved_model_path)

# Use the raw image link for direct download
image_url = "https://raw.githubusercontent.com/InternRobotics/InternVLA-M1/InternVLA-M1/assets/table.jpeg"
image = load_image_from_url(image_url)
question = "Give the bounding box for the apple."
response = internVLA_M1.chat_with_M1(image, question)
print(response)
InternVLA-M1 Action Prediction Demo (two views)
from InternVLA.model.framework.M1 import InternVLA_M1
from PIL import Image
import requests
from io import BytesIO
import torch

def load_image_from_url(url: str) -> Image.Image:
    resp = requests.get(url, timeout=15)
    resp.raise_for_status()
    img = Image.open(BytesIO(resp.content)).convert("RGB")
    return img

saved_model_path = "/PATH/checkpoints/steps_50000_pytorch_model.pt"
internVLA_M1 = InternVLA_M1.from_pretrained(saved_model_path)

image_url = "https://raw.githubusercontent.com/InternRobotics/InternVLA-M1/InternVLA-M1/assets/table.jpeg"
view1 = load_image_from_url(image_url)
view2 = view1.copy()

# Construct input: batch size = 1, two views
batch_images = [[view1, view2]]  # List[List[PIL.Image]]
instructions = ["Pick up the apple and place it on the plate."]

device = torch.device(
  "cuda" if torch.cuda.is_available()
  else "xpu" if hasattr(torch, "xpu") and torch.xpu.is_available()
  else "cpu"
)
internVLA_M1 = internVLA_M1.to(device)

pred = internVLA_M1.predict_action(
    batch_images=batch_images,
    instructions=instructions,
    cfg_scale=1.5,
    use_ddim=True,
    num_ddim_steps=10,
)
normalized_actions = pred["normalized_actions"]  # [B, T, action_dim]
print(normalized_actions.shape, type(normalized_actions))

📘 Examples

We provide several end-to-end examples for reference:

  • Reproduce InternVLA-M1 in SimplerEnv Example

  • Reproduce InternVLA-M1 in LIBERO Example

  • Training/Deployment on real robots Example

📈 Model Zoo

We release a series of pretrained models and checkpoints to facilitate reproduction and downstream use.

✅ Available Checkpoints

ModelDescriptionLink
InternVLA-M1Main pretrained model🤗 Hugging Face
InternVLA-M1-Pretrain-RT-1-BridgePretraining on RT-1 Bridge data🤗 Hugging Face
InternVLA-M1-LIBERO-LongFine-tuned on LIBERO Long-horizon tasks🤗 Hugging Face
InternVLA-M1-LIBERO-GoalFine-tuned on LIBERO Goal-conditioned tasks🤗 Hugging Face
InternVLA-M1-LIBERO-SpatialFine-tuned on LIBERO Spatial reasoning tasks🤗 Hugging Face
InternVLA-M1-LIBERO-ObjectFine-tuned on LIBERO Object-centric tasks🤗 Hugging Face

🗺️ Roadmap

  • 1215: Add Co-Training Multimodel Multitask README.md
  • 0930: Unified Inference Server for Simpler and LIBERO
  • 0918: Release model weights

🤝 Contributing

We welcome contributions via Pull Requests or Issues. Please include detailed logs and reproduction steps when reporting bugs.

📜 Citation

If you find this useful in your research, please consider citing our ICLR paper and technical report:

@inproceedings{ye2026st4vla,
  title={ST4VLA: Spatially Guided Training for Vision-Language-Action Models},
  author={Ye, Jinhui and Wang, Fangjing and Gao, Ning and Yu, Junqiu and Zhu, Yangkun and Wang, Bin and Zhang, Jinyu and Jin, Weiyang and Fu, Yanwei and Zheng, Feng and Chen, Yilun and Pang, Jiangmiao},
  booktitle={International Conference on Learning Representations (ICLR)},
  year={2026}
}
@article{internvlam1,
  title   = {InternVLA-M1: A Spatially Guided Vision-Language-Action Framework for Generalist Robot Policy},
  author  = {InternVLA-M1 Contributors},
  journal = {arXiv preprint arXiv:2510.13778},
  year    = {2025}
}

📬 Contact

  • Issues: Submit via GitHub Issues with detailed logs and steps

🙏 Acknowledgements

We thank the open-source community for their inspiring work. This project builds upon and is inspired by the following projects (alphabetical order):

  • IPEC-COMMUNITY: Curated OXE / LIBERO style multi-task datasets and formatting examples.
  • Isaac-GR00T: Standardized action data loader (GR00T-LeRobot).
  • Qwen2.5-VL: Multimodal input/output format, data loader, and pretrained VLM backbone.
  • CogACT: Reference for a DiT-style action head design.
  • Llavavla: Baseline code structure and engineering design references.
  • GenManip Simulation Platform: Simulation platform for generalizable pick-and-place based on Isaac Sim.

Notes:

  • If any required attribution or license header is missing, please open an issue and we will correct it promptly.
  • All third-party resources remain under their original licenses; users should comply with respective terms.

Thanks for using InternVLA-M1! 🌟 If you find it useful, please consider giving us a ⭐ on GitHub.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
starVLA/starVLA

StarVLA: A Lego-like Codebase for Vision-Language-Action Model Developing

4.0k
Nov 26, 2026
RepositoryPython
commaai/openpilot

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 300+ supported cars.

64.3k
Dec 3, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.6k
Dec 3, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
Repository
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

85.1k
Nov 28, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.7k
Dec 1, 2026
RepositoryPython
AtsushiSakai/PythonRobotics

Python sample codes and textbook for robotics algorithms.

31.0k
Nov 30, 2026
RepositoryPython
earthtojake/text-to-cad

Design physical products with AI

28.0k
Dec 2, 2026
RepositoryPython
zauberzeug/nicegui

Create web-based user interfaces with Python. The nice way.

16.4k
Nov 30, 2026