ethan-li-k/astra_bench/pi0-finetune
Claude Code and agent skill by ethan-li-k/astra_bench
- community
Checking that the SKILL.md file is still in the repository.
Finetune π₀ or π₀.₅ on a RoboRSI-built LeRobot dataset. Wraps lerobot-train under the hood.
Install
npx vskill@latest install ethan-li-k/astra_bench/pi0-finetuneSKILL.md
The same SKILL.md was published earlier as nssmd/roborsi/pi0-finetune.
pi0_finetune — π₀ / π₀.₅ finetune on RoboRSI datasets
Overview
Finetune a pretrained π₀ / π₀.₅ checkpoint on a single-task LeRobot dataset produced by dataset/lerobot_build. No multi-task mixing in this skill — that belongs in a future training/pi0_multitask sibling.
When to use
- You have ≥ 50 successful episodes for a task.
- You want a fast-inference policy for this task that replaces
expert_replay or rollout_vlm in execution mode.
Phases
- Validate dataset:
LeRobotDataset(dataset)loads; camera set matches
the policy's expected input (else fail loud).
- Resolve base checkpoint:
physical-intelligence/pi0.5or local path. - Launch
lerobot-trainsubprocess with CLI args derived fromparams. - Stream logs; persist
output_dir/training_state.json+ final
checkpoint.
- Return summary: final step, val loss (if split provided), output path.
Success criteria
- Final checkpoint directory non-empty.
- Val loss (if any) monotonic-ish (no divergence).
- Hook downstream
evaluation/success_rateto verify actual robot
performance — loss is not a success proxy for manipulation.
Failure modes
| Symptom | Likely cause | Fix | |
|---|---|---|---|
| OOM on H100 | Batch size too big for base model | Drop to 4 or enable gradient_accumulation_steps | |
| Dataset schema mismatch | Camera names differ from pretrain | Rename in dataset/lerobot_build params | |
| Loss plateaus high | Too few episodes or data too uniform | Collect more / add domain randomization |
Implementation status
SKELETON. The shipped policy.py prints the would-be lerobot-train command and exits. Wiring the actual subprocess requires deciding on the checkpoint cache location and pulling in HF auth / proxy handling from roborsi.config.loader. Lands in the next slice.
Why a skill and not a script
Because the task bundle needs to say "train then evaluate" declaratively without shell-script glue. Everything a task does is a skill.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingref/RoboRSI/roborsi/embodied/skills/_lib/training/pi0_finetune/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ethan-li-k/astra_bench/pi0-finetune)