fine-tuning-serving-openpi

Fine-tune and serve OpenPI robot policies from checkpoints and custom datasets.

Updated May 4, 2026
One-click install
npx skills add https://github.com/Supporter09/Face_Anti_Spoofing_Biometric --skill fine-tuning-serving-openpi-supporter09
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fine-tuning-serving-openpi
Source: https://github.com/Supporter09/Face_Anti_Spoofing_Biometric/tree/main/.claude/skills/openpi
Command: npx skills add https://github.com/Supporter09/Face_Anti_Spoofing_Biometric --skill fine-tuning-serving-openpi-supporter09

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you adapt, train, and deploy Physical Intelligence OpenPI robot policies without juggling separate workflows for JAX, PyTorch, checkpoints, and inference serving.

Core Features & Use Cases

  • Fine-tuning workflows: Prepare configs, compute normalization statistics, and train pi0, pi0-fast, or pi0.5 policies on custom datasets.
  • Checkpoint conversion and serving: Convert JAX checkpoints to PyTorch format and launch policy servers for robot control.
  • Validation and debugging: Use the built-in troubleshooting guidance to handle memory limits, missing norm stats, config mismatches, and transformer patching issues.
  • Use Case: You have a DROID or LIBERO dataset and need a reliable path from data preparation to a working WebSocket policy server for robot inference.

Quick Start

Use this Skill to set up an OpenPI fine-tuning run, validate the checkpoint, and serve the policy for robot inference.

Frequently Asked Questions about fine-tuning-serving-openpi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fine-tune OpenPI robot policies on a custom dataset?

To fine-tune OpenPI policies, prepare your config and compute normalization statistics for your custom dataset. You can train pi0, pi0-fast, or pi0.5 policies using ALOHA, DROID, or LIBERO datasets.

How do I convert JAX checkpoints to PyTorch for OpenPI serving?

You can convert JAX checkpoints to PyTorch format to ensure compatibility during policy serving. This conversion step is required before launching the WebSocket inference server for robot control.

Why does my OpenPI fine-tuning run fail due to missing normalization statistics?

OpenPI fine-tuning fails because normalization statistics are required to process custom datasets correctly. You must compute and provide these statistics in your config before training pi0, pi0-fast, or pi0.5 policies.

Can I serve OpenPI policies for real-time robot inference?

Yes, you can launch a WebSocket policy server for real-time robot inference. After converting your JAX checkpoints to PyTorch format, the server handles inference for your trained pi0, pi0-fast, or pi0.5 policies.

Do I need to patch transformers for PyTorch compatibility with OpenPI?

You need optional transformer patching to resolve PyTorch compatibility issues when converting OpenPI checkpoints. The built-in troubleshooting guidance also helps handle config mismatches and backend memory limits.

Does OpenPI fine-tuning work with DROID and LIBERO datasets?

OpenPI fine-tuning works directly with DROID and LIBERO datasets. The workflow applies to pi0, pi0-fast, and pi0.5 policies, allowing you to prepare configs, train, and serve models for these specific robotics datasets.