Skip to content
orchestra-research avatar

Fine Tuning Serving Openpi

Fine-tune and serve Physical Intelligence OpenPI robot policies (pi0, pi0-fast, pi0.5) on JAX or PyTorch backends.

CCM score
61 of 100
skills.sh installs
1K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers blank-machine setup, JAX fine-tuning on LeRobot data, PyTorch training, and JAX-to-PyTorch checkpoint conversion
  • Includes config examples for ALOHA, DROID, and LIBERO, plus norm-stat computation and a WebSocket policy server with a test client
  • Requires precomputed norm stats before each training launch, with a re-run cycle after any config or dataset change
  • Designed for robotics teams adapting pi0 models to custom datasets or debugging GPU memory and checkpoint issues

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill fine-tuning-serving-openpi -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

OpenPI Fine-Tuning and Serving

End-to-end workflows for fine-tuning and serving Physical Intelligence's OpenPI models (pi0, pi0-fast, pi0.5) on robot manipulation tasks from the public openpi repository. Covers blank-machine setup, JAX training, PyTorch training, checkpoint conversion, and policy inference serving.

Quick start

Clone the public repo, install the workspace, then serve a pretrained policy:

git clone --recurse-submodules https://github.com/Physical-Intelligence/openpi.git
cd openpi
GIT_LFS_SKIP_SMUDGE=1 uv sync
GIT_LFS_SKIP_SMUDGE=1 uv pip install -e .
uv run scripts/serve_policy.py --env DROID
from openpi_client import websocket_client_policy

client = websocket_client_policy.WebsocketClientPolicy(host="localhost", port=8000)
result = client.infer(observation)
actions = result["actions"]  # numpy array of shape (chunk_size, action_dim)

Core concepts

Model family: OpenPI implements three model variants from Physical Intelligence:

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
Data Science & Analytics, AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What does the fine-tuning-serving-openpi skill do?

The fine-tuning-serving-openpi skill fine-tunes and serves Physical Intelligence OpenPI models pi0, pi0-fast and pi0.5 using JAX or PyTorch backends. It covers robot policy inference across ALOHA, DROID and LIBERO environments, plus converting JAX checkpoints to PyTorch and debugging norm stats and GPU memory issues.

How do I install the fine-tuning-serving-openpi skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill fine-tuning-serving-openpi -y in your project to install it. Once installed, fine-tuning-serving-openpi lets your agent walk through blank-machine setup, JAX training on LeRobot data and PyTorch checkpoint conversion.

What do I need to run fine-tuning-serving-openpi?

fine-tuning-serving-openpi depends on uv 0.4.0 or later, jax 0.4.30 or later, torch 2.1.0 or later and transformers 4.53.2 or later. Serving pi0.5 needs one A100 or H100 GPU with about 24 GB of VRAM, while fine-tuning pi0.5 with JAX needs about 60 GB on one A100 80GB.

Who should use the fine-tuning-serving-openpi skill?

fine-tuning-serving-openpi is for robotics developers who want to adapt pi0, pi0-fast or pi0.5 models to custom datasets. It also suits teams serving OpenPI policies for ALOHA, DROID or LIBERO evaluation and debugging OpenPI training issues.

More from orchestra-research/ai-research-skills

All 92

Similar to Fine Tuning Serving Openpi

More Data Science & Analytics