From 4efa9da0d931a88af1523847bc36b89afad70dab Mon Sep 17 00:00:00 2001 From: Nicolas Rabault Date: Wed, 24 Jun 2026 12:03:19 +0200 Subject: [PATCH] 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. --- docs/source/il_robots.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/il_robots.mdx b/docs/source/il_robots.mdx index 2670f1ad5..1d4ed35ee 100644 --- a/docs/source/il_robots.mdx +++ b/docs/source/il_robots.mdx @@ -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. + ```bash