Pepijn
bd6e27f9a1
chore: restore adding_benchmarks + test_dispatch, drop env_processor changes
...
- Restore docs/source/adding_benchmarks.mdx (belongs in this PR)
- Restore tests/envs/test_dispatch.py (belongs in this PR)
- Revert docs/source/env_processor.mdx to main (out of scope for this PR)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 14:39:39 +02:00
Pepijn
a4b76c22fd
docs(env_processor): remove deprecated add_envs_task from pipeline example
...
add_envs_task is replaced by env.call("task_description") in this PR.
Remove it from the pipeline walkthrough and renumber the steps (8→7).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 14:15:27 +02:00
Pepijn
76129ab130
chore: apply prettier formatting to docs
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 12:48:35 +02:00
Pepijn Kooijmans
861a7c7068
chore: revert env_processor.mdx changes (not part of this PR)
...
Made-with: Cursor
2026-04-07 20:11:31 +02:00
Pepijn Kooijmans
fa6d7d23d3
style: revert quadruple backticks to triple (prettier compat)
...
Made-with: Cursor
2026-04-07 20:11:25 +02:00
Pepijn Kooijmans
e05cf3c742
docs: remove duplicate code blocks in env_processor.mdx
...
Made-with: Cursor
2026-04-07 20:00:22 +02:00
Pepijn Kooijmans
3a6600f7b0
style: fix markdown code fences in env_processor.mdx
...
Made-with: Cursor
2026-04-07 19:42:42 +02:00
Pepijn
91bf889837
Update docs/source/env_processor.mdx
...
Co-authored-by: Khalil Meftah <khalil.meftah@huggingface.co >
Signed-off-by: Pepijn <138571049+pkooij@users.noreply.github.com >
2026-04-07 19:12:36 +02:00
Pepijn
da50391a23
Update docs/source/env_processor.mdx
...
Co-authored-by: Khalil Meftah <khalil.meftah@huggingface.co >
Signed-off-by: Pepijn <138571049+pkooij@users.noreply.github.com >
2026-04-07 19:12:28 +02:00
Pepijn
0ada7f94d8
Update docs/source/env_processor.mdx
...
Co-authored-by: Khalil Meftah <khalil.meftah@huggingface.co >
Signed-off-by: Pepijn <138571049+pkooij@users.noreply.github.com >
2026-04-07 19:12:19 +02:00
Pepijn
24d9b74d81
refactor(envs): move dispatch logic from factory into EnvConfig subclasses
...
Replace hardcoded if/elif chains in factory.py with create_envs() and
get_env_processors() methods on EnvConfig. New benchmarks now only need
to register a config subclass — no factory.py edits required.
Net -23 lines: factory.py shrinks from ~200 to ~70 lines of logic.
Made-with: Cursor
2026-04-03 13:23:44 +02:00
Jade Choghari
6e86a69dcd
feat(envs): add envs pre-post processor ( #2474 )
...
* more changes
* working changes
* more changes
* more fixes
* fix style
* more
* clean
* put axis-1
* more fixes
* more styling fixes:
* iterate on review:
* more changes
* add env processor
* style
* more changes
* add docs
* fix imports
* fix test, add to train
* Update src/lerobot/envs/factory.py
Co-authored-by: Michel Aractingi <michel.aractingi@huggingface.co >
Signed-off-by: Jade Choghari <chogharijade@gmail.com >
* iterate on review
---------
Signed-off-by: Jade Choghari <chogharijade@gmail.com >
Co-authored-by: jade.choghari@huggingface.co <“chogharijade@gmail.com ”>
Co-authored-by: Michel Aractingi <michel.aractingi@huggingface.co >
2025-11-19 18:36:14 +01:00