Skip to content

chore(docs): add more guidance to bring your own policies tutorial#3230

Merged
imstevenpmwork merged 7 commits into
mainfrom
docs/improve-bring-your-own-policies
Mar 27, 2026
Merged

chore(docs): add more guidance to bring your own policies tutorial#3230
imstevenpmwork merged 7 commits into
mainfrom
docs/improve-bring-your-own-policies

Conversation

@Maximellerbach
Copy link
Copy Markdown
Member

Adding more guidance to bring your own policies tutorial

feel free to review / suggest changes and improvements !

Copilot AI review requested due to automatic review settings March 27, 2026 13:36
@github-actions github-actions Bot added the documentation Improvements or fixes to the project’s docs label Mar 27, 2026
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the “Bring Your Own Policies” documentation to provide a more detailed, copy-pastable template for implementing custom policy configs, policies, and processors in LeRobot.

Changes:

  • Expanded the policy config template with validation, optimizer/scheduler presets, and delta-index properties.
  • Expanded the policy implementation template with clearer guidance on validate_features, constants usage, and loss masking.
  • Added processor references, typing, and an explicit note about the required processor factory naming convention.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/source/bring_your_own_policies.mdx
Comment thread docs/source/bring_your_own_policies.mdx Outdated
Comment thread docs/source/bring_your_own_policies.mdx Outdated
Comment thread docs/source/bring_your_own_policies.mdx Outdated
Comment thread docs/source/bring_your_own_policies.mdx
Comment thread docs/source/bring_your_own_policies.mdx
Maximellerbach and others added 5 commits March 27, 2026 14:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Maxime Ellerbach <maxime@ellerbach.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Maxime Ellerbach <maxime@ellerbach.net>
Copy link
Copy Markdown
Collaborator

@imstevenpmwork imstevenpmwork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@imstevenpmwork imstevenpmwork merged commit 975d89b into main Mar 27, 2026
10 of 12 checks passed
@imstevenpmwork imstevenpmwork deleted the docs/improve-bring-your-own-policies branch March 27, 2026 20:25
AtticusZeller added a commit to AtticusZeller/lerobot that referenced this pull request Apr 11, 2026
…uggingface#3230)

* chore(docs): add more guidance to bring your own policies tutorial

* removing normalization to avoid confusion with processors

* trailing whitespace

* Update docs/source/bring_your_own_policies.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Maxime Ellerbach <maxime@ellerbach.net>

* Update docs/source/bring_your_own_policies.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Maxime Ellerbach <maxime@ellerbach.net>

* adding get optim params and predict_action chunk

* removing extra quotes

---------

Signed-off-by: Maxime Ellerbach <maxime@ellerbach.net>
AriannaPietrasanta pushed a commit to gbionics/lerobot that referenced this pull request Apr 30, 2026
…uggingface#3230)

* chore(docs): add more guidance to bring your own policies tutorial

* removing normalization to avoid confusion with processors

* trailing whitespace

* Update docs/source/bring_your_own_policies.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Maxime Ellerbach <maxime@ellerbach.net>

* Update docs/source/bring_your_own_policies.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Maxime Ellerbach <maxime@ellerbach.net>

* adding get optim params and predict_action chunk

* removing extra quotes

---------

Signed-off-by: Maxime Ellerbach <maxime@ellerbach.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or fixes to the project’s docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants