feat(policies): add NVIDIA gr00t N1.6 VLA policy#3085
Open
AravindhShan-nv wants to merge 61 commits intohuggingface:mainfrom
Open
feat(policies): add NVIDIA gr00t N1.6 VLA policy#3085AravindhShan-nv wants to merge 61 commits intohuggingface:mainfrom
AravindhShan-nv wants to merge 61 commits intohuggingface:mainfrom
Conversation
…ce following the lerobot pattern.
…line. Remove auto-wire mechanism.
…shape mismatch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… match orig groot
Working state of LeRobot Groot N1.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(policies): add GR00T N1.6 policy support in LeRobot
Type / Scope
policies/gr00t_n1d6, policy factory, training pipeline, docsSummary / Motivation
gr00t_n1d6support to LeRobot, including model/config/processor integration, policy factory wiring, and docs for installation, training, and evaluation. Original Isaac Groot RepoSO100/SO101andlibero_panda).Related issues
What changed
src/lerobot/policies/gr00t_n1d6/:configuration_gr00t_n1d6.py)gr00t_n1d6.py,modeling_gr00t_n1d6.py)processor_gr00t_n1d6.py)modules/*,eagle3_model/*,utils.py)src/lerobot/policies/factory.py:policy.type=gr00t_n1d6src/lerobot/scripts/lerobot_train.pyto pass dataset context into processor creation (needed for relative-action statistics computation).docs/source/gr00tn1d6.mdx:tests/policies/groot/test_gr00t_n1d6_lerobot.pytests/policies/groot/test_gr00t_n1d6_standalone.pytests/policies/groot/test_gr00t_n1d6_state_dict.pyHow was this tested (or how to run locally)
tests/policies/groot/test_gr00t_n1d6_lerobot.pytests/policies/groot/test_gr00t_n1d6_standalone.pytests/policies/groot/test_gr00t_n1d6_state_dict.pyaravindhs-NV/eval_pickpens50_0220_ah8
file-000_3min.mp4
SO100 Training Command
SO100 Real Robot Eval
Checklist (required before merge)
pre-commit run -a)pytest)Reviewer notes
src/lerobot/utils/control_utils.py(99-128) — this PR adds a GR00T N1.6-specific fast inference path that reuses cached preprocessed batches when the action queue is non-empty (bypassing repeated preprocessing). Please verify correctness, cache lifecycle/reset behavior, and that this path is only active forgr00t_n1d6.src/lerobot/policies/gr00t_n1d6/processor_gr00t_n1d6.py(state/action normalization, relative-action handling, processor state load/save, pre/post integration).src/lerobot/policies/factory.py(processor loading path for pretrained checkpoints and relative-action stats flow).src/lerobot/policies/gr00t_n1d6/utils.pyembodiment modality/stat mappings (MODALITY_CONFIGS,EMBODIMENT_STAT_CONFIGS).docs/source/gr00tn1d6.mdxmatch expected runtime dependencies (flash-attn,torchcodec,albumentations) and supported embodiments.