docs(train): note how to pin a pushed model version for inference

Document --policy.pretrained_revision alongside --policy.path so a
specific Hub-pushed checkpoint (once --save_checkpoint_to_hub has
committed several) can be selected for inference.
This commit is contained in:
Nicolas Rabault
2026-06-24 12:03:19 +02:00
parent 71a89d30f0
commit 4efa9da0d9
+2
View File
@@ -641,6 +641,8 @@ hf upload ${HF_USER}/act_so101_test${CKPT} \
Use `lerobot-rollout` to deploy a trained policy on your robot. You can choose different strategies depending on your needs:
The examples below load the model from `--policy.path`. To pin a specific pushed version — useful once `--save_checkpoint_to_hub=true` has committed several checkpoints — add `--policy.pretrained_revision` with a commit hash, branch, or tag.
<hfoptions id="eval">
<hfoption id="Base mode (no recording)">
```bash