Pi0.5 S1 stack cups — pub54 expert pilot, step 2000
Full PyTorch checkpoint from pilot_pub054_expert_v2_20261019, trained from
the official Pi0.5 base on one episode: published v3 episode 54.
The action expert was trained for 2,000 steps; the vision/language backbone
was frozen. This is a single-training-case reproduction checkpoint.
| Setting | Value |
|---|---|
| Official OpenPI revision | 215abfb217dbac7d5f1273282331b9b1866c0479 |
| Initial weights | gs://openpi-assets/checkpoints/pi05_base, converted to PyTorch |
| Training source | v3 human-align, revision 7c47fe51 |
| Selected training episode | 54, physical_02__stack_cups_ep000000 |
| Trainable / frozen parameters | 430,098,464 / 3,186,659,056 |
| Training | expert only; batch 16; learning rate 0.0002; warmup 20; seed 20261019 |
| Prompt | Stack_the_cups_together. |
| Prediction / execution | horizon 50; 30 Hz; execute 50 actions before replanning |
| Inference denoising | 10 steps |
| Additional image augmentation | disabled |
Normalization was computed from all 111 source episodes. The trained example and normalization population are not a held-out evaluation split.
Native observation and action contract
Use the included native_s1 adapter and pipeline_contract.json.
- State: 32 actual scalar joint positions in radians, including all torso
coordinates and passive finger joints; order is
state_namesin the contract. - Images: raw RGB
uint8[3,224,224,3], in head, left-wrist, right-wrist order. The shared training preprocessing converts these to model tensors once. - Actions: 22 absolute desired joint positions in radians, in
action_namesorder. Native22 is quantile-normalized before ten zero channels are appended. Decode only the first22 model outputs to native targets. - Action and state orders differ: the first six action coordinates are torso1, torso2, head1, head2, torso3, torso4. Gripper L1 actions are indices 13 and21. Complete names and formulas are in the contract.
- Apply targets using the original named S1
JointServo(mode='sim2')conversion. Gripper motor control uses100 * L1_angle / 0.93. Returned angles are joint targets, not the mixed-unit MuJoCoctrlvector.
The loader preserves the trained FP32 expert and the frozen backbone's BF16/FP32 precision policy. Do not cast every parameter to BF16 after loading.
Download and inference
First install the pinned official OpenPI source
using its installation instructions. Install the versions in
runtime_requirements.txt in that environment, and apply that revision's
src/openpi/models_pytorch/transformers_replace/ patches to the installed
Transformers package, as described in the official PyTorch setup.
The recorded runtime used PyTorch 2.10.0 with CUDA12.8 and Transformers4.53.2.
runtime_versions.json records the tested core package versions.
Download the model, normalization, contract, and adapter:
import sys
from huggingface_hub import snapshot_download
checkpoint_dir = snapshot_download(
"starry0929/pi05_s1_stack_cups_pub054_expert_v2_20261019_step2000_pytorch",
ignore_patterns=["optimizer.pt", "training_source/*"],
)
sys.path.insert(0, checkpoint_dir)
from native_s1 import NativeS1Policy
policy = NativeS1Policy(checkpoint_dir, device="cuda")
# state32: actual joint angles [32], in policy.state_joint_names order
# rgb: uint8 [3,224,224,3], ordered head / left wrist / right wrist
actions = policy.infer(state32, rgb, seed=0) # float32[50,22], absolute radians
joint_names = policy.joint_names
The adapter does not need the training dataset cache or the original PFS paths.
OpenPI's tokenizer downloads its normal public tokenizer asset on first use.
For an NPZ observation containing state32 and rgb, run from the downloaded
repository (using the configured OpenPI environment):
python -m native_s1.infer_npz --checkpoint . --input observation.npz --output actions.npz
Frozen data.py and modeling.py match the training implementation hashes.
The portable adapter's preprocessing, tokens, RGB conversion, and action
decoding were checked against all nine recorded pilot inference requests on CPU;
see adapter_validation.json. That adapter check does not constitute an
additional model rollout.
Recorded simulation result
The checkpoint completed one actual closed-loop evaluation on its training case54, restored from the published v3 actual-native-time-zero registry:
- 15 seconds, 450 executed actions, 9 fresh observation/inference calls.
- Native task success and native hard constraints passed.
- Independent distance audit checked all 30,001 recorded native states at0.5ms intervals. The minimum opposing-arm/gripper clearance was 66.013 mm, exceeding the requested20mm at those states.
- This is not a mathematical continuous-time clearance certificate, a held-out/generalization success rate, or a real-robot result.
The recorded evaluation used current three-camera Blender observations driven by MuJoCo3.3.7 physics, without future demonstration images, reference actions, task-phase inputs, grasp assistance, or later object-pose overrides. Restoration uses reset plus recorded qpos/qvel/ctrl/time plus forward; unrecorded integration and warm-start fields use defaults.
evaluation/pilot_acceptance.json and
evaluation/every_native_step_acceptance.json preserve the original receipts.
Their absolute paths identify original provenance and are not download-time
dependencies. Offline action error is recorded separately from closed-loop success.
Files and provenance
All seven files of the requested original step2000 checkpoint are included,
unchanged, including optimizer.pt. Inference does not require that file.
training_source/ contains frozen training provenance; it is not a standalone
dataset preparation or exact training-resumption package.
Model SHA256:
fdc7e92c81e6eec630ed1b79aaab69425699f96d62ec41f6fcf575a37c15511f
Official-base PyTorch conversion SHA256:
95b43feebe028b40749d421b23b73cdb193f57f60df611f3b58a851de0ecadd1
See training_metadata.json, publication_manifest.json, and checksums.json.
License and attribution
This release retains the upstream OpenPI Apache2.0 license and applicable
Gemma terms. See LICENSE, LICENSE_APACHE_2.0.txt, LICENSE_GEMMA.txt, and
NOTICE. Model weights were modified through the expert fine-tuning described
above; new native S1 preprocessing and portable inference code are included.