Repository navigation
Conversation
Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Rafael Cathomen <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
RSL-RL aligned SuperMimic's parameter names with SAC and PPO and added CUDA graph capture. The replay capacity key also has to match, since RSL-RL consumes it while building the replay buffer. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Per-term joint and body indices are device tensors built once, and products over feet and contact bodies multiply explicitly, since the backward of prod synchronizes with the host. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The velocity task's heads now run inside captured graphs, and graphed learner iterations match eager ones. Co-Authored-By: Claude Opus 5.5 <[email protected]>
7 tasks done
The every-step extras key is now cleared beside the final_obs key it pairs with in reset and reset_to. The physical observation groups rely on the group default for corruption, the velocity task resolves its contact sensor name once, and the docs and docstrings drop references to the parity test and to G1 being the first consumer. Co-Authored-By: Claude Opus 5.5 <[email protected]>
lgulich
force-pushed
the
lgulich/g1-motion-tracking-supermimic
branch
from
November 23, 2026 10:31
82bd0bb to
fb80dbe
Compare
The typed SuperMimic configurations covered only part of the RSL-RL constructor options, so the constructor-tracking test failed against the current SuperMimic. Add the remaining actor, world-model and algorithm options: the BlinkMimic settings (reference-action actor, mirrored world-model batches, Muon and the actor learning-rate multiplier with its decay triggers), the reference recipe's schedule, replay-window and critic switches, and the actor and world-model network options. The environment's maximum episode length is injected by construct_algorithm. Co-Authored-By: Claude Opus 5.5 <[email protected]>
lgulich
force-pushed
the
lgulich/g1-motion-tracking-supermimic
branch
from
November 23, 2026 21:45
fb80dbe to
6579a70
Compare
Contributor
Author
|
Rebased onto #8867: the BlinkMimic config fields moved there, and the motion tracking task uses the new per-component mirror hooks of leggedrobotics/rsl_rl#255. #9173 (G1 velocity) is stacked on this. |
The use_cuda_graph docstring named only learner iterations, while RSL-RL also captures the collection calls act and process_env_step. It now says so, and notes that Python values read inside the captured calls, such as the reward weights the differentiable velocity task reads from the reward manager, are fixed at capture time. Signed-off-by: Rafael Cathomen <[email protected]>
RSL-RL's SuperMimic now passes the applied policy actions and the privileged context to post_dynamics, and the actor observation history to critic_obs, for tasks whose analytic state or critic depends on them. The differentiable velocity task needs neither: its contact clocks advance from the predicted contact events alone and its critic keeps its privileged inputs. It accepts the new arguments so that the learner can call it. Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Clemens Schwarke <[email protected]>
Isaac-Motion-Tracking-G1 gets an rsl_rl_supermimic_cfg_entry_point agent that trains with RSL-RL's SuperMimic. The task's rewards, terminations, commands and events are unchanged and shared with the PPO agent; an opt-in state_obs preset adds the physical state, goal, context and label groups SuperMimic reads. MotionTrackingTask provides the world-model state (root pose and velocities, joint positions and velocities), forward kinematics from the Newton model, the nine reward terms and soft versions of the terminations. The kinematics and tracking objectives follow Octi's G1 tracking work. Tests check the kinematics against simulated body poses and every reward and termination against the env's managers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The G1 agent uses BlinkMimic's sizes and settings: Muon, a raised actor learning rate with a decay start, a policy that corrects the task's reference action, and mirrored world-model batches. The motion tracking task provides the reference joint targets, and the G1 task mirrors states, actions, body masses and self-collision labels across the sagittal plane. Its forward kinematics run per tree depth instead of per joint. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The physical observation groups rely on the group default for corruption, the G1 agent leaves the warm-up steps and actor learning-rate decay length at their defaults, and the task looks up its action term once. Co-Authored-By: Claude Opus 5.5 <[email protected]>
RSL-RL's SuperMimic now passes the actor observation history to DifferentiableTask.critic_obs as a fifth argument (rsl_rl#255). The motion-tracking critic does not use it. The parameter defaults to None, so the task works with RSL-RL revisions from before and after that change. Signed-off-by: Rafael Cathomen <[email protected]>
Signed-off-by: Clemens Schwarke <[email protected]>
ClemensSchwarke
force-pushed
the
lgulich/g1-motion-tracking-supermimic
branch
from
November 24, 2026 21:11
9a7eb89 to
a0d94e7
Compare
This branch has not been deployed
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.
Isaac Lab's G1 motion tracking task (#8878) trains with PPO. This adds a second agent for it that trains with RSL-RL's SuperMimic (leggedrobotics/rsl_rl#255), the model-based algorithm that fits a world model and optimizes the policy through imagined rollouts. On this task it reaches PPO's best reward in about 11 minutes on one L40S, where PPO needs most of an hour.
The task's rewards, terminations, commands and events are unchanged and shared with the PPO agent. An opt-in
state_obspreset adds the noise-free state, goal, context and label groups SuperMimic reads; the default observations stay as they are.MotionTrackingTaskis the differentiable side of the task. Its world-model state is the root pose and velocities plus joint positions and velocities. It computes body poses with forward kinematics read from the Newton model, the nine reward terms with the weights and scales from the reward manager, and smooth versions of the terminations for imagined rollouts. The kinematics and tracking objectives follow Octi's G1 tracking work in #8826; his separate learner is not used. Tests check the kinematics against simulated body poses and every reward and termination against the env's managers.The G1 agent uses the BlinkMimic recipe (arXiv 2611.16422): Muon on the actor and world model, a 4× actor learning rate that decays after 1400 learner iterations, a policy that corrects the reference joint targets, mirrored world-model batches, and BlinkMimic's smaller world model and batches. These come from optional settings that are now part of leggedrobotics/rsl_rl#255. Both SuperMimic variants run their learner and collection in CUDA graphs.
On 3 seeds of 60 minutes each on one L40S, against the Isaac Lab PPO agent on the same task:
Curves and videos: https://linkify.nvidia.com/s/rsl-rl-ppo-supermimic-motion-tracking/ (NVIDIA internal).
Stacked on #8867, so the diff includes its commits until it merges; the motion tracking changes alone: lgulich/IsaacLab@d8b70d4...lgulich/g1-motion-tracking-supermimic. It needs an rsl-rl-lib release with leggedrobotics/rsl_rl#255 before CI can import SuperMimic.
Open points: the forward kinematics and the reference action read private attributes (the articulation's
_root_view, the action term's_scaleand_offset), asassemble_trocaralready does, and the kinematics need the Newton backend.To train it:
and to run the tests:
🤖 Generated with Claude Code