Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fine-tunes and serves OpenPI robot policy models (pi0, pi0-fast, pi0.5) using JAX or PyTorch.
35% 96%+61 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 8 of 23 without it.
We want to quickly spin up an OpenPI policy server for the simulated ALOHA environment using the standard pre-trained checkpoint preset. What CLI command starts this server?
Runs scripts/serve_policy.py with --env ALOHA_SIM
3 of 3 safety checks passed
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.
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)
Model family: OpenPI implements three model variants from Physical Intelligence:
| Model | Architecture | Speed | Quality | Typical use |
|---|---|---|---|---|
| pi0 | Flow-matching VLA | Baseline | Highest | Research, complex tasks |
| pi0-fast | Autoregressive action tokens | 2-5x faster | Good | Real-time control |
| pi0.5 | pi0 + improved vision encoder | Baseline | Best | Latest default |
Key design choices:
src/openpi/training/config.pyNext to this one in the catalogue, plus more from the same author.