Repository navigation
Add native RSL-RL SuperMimic support - #8867
rafaelcathomen wants to merge 19 commits into
Conversation
4946b57 to
e30aae2
Compare
|
Could you also set |
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]>
fa47afe to
67d85ec
Compare
|
Rebased onto main (now that #8866 and #9103 are in) and onto the rebased leggedrobotics/rsl_rl#255.
|
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]>
|
Pushed two commits: the velocity task's SuperMimic heads now run inside CUDA graphs (device-tensor indices, no |
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]>
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]>
|
Pushed one commit: the SuperMimic configs now track every constructor option of leggedrobotics/rsl_rl#255, including the BlinkMimic settings (moved here from #9151) and the options for the official SuperMimic recipe. The G1 velocity agents are stacked on top as #9173. |
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]>
Description
Adds RSL-RL SuperMimic support:
state_obspreset on the velocity tasks with noise-free state, command and contact groups. The default observations are unchanged.actor_ema_halflifein the SuperMimic algorithm config, for exporting a deployment-only moving average of the actor. Off by default.Requires an rsl-rl-lib release with SuperMimic (leggedrobotics/rsl_rl#255). Until then the rsl_rl pin stays at its current commit, so CI cannot import SuperMimic yet.
Size, SuperMimic part only: about 1.35k lines.
isaaclab_tasks, mostly the differentiable velocity task the algorithm trains through.isaaclab_rl.isaaclab, for the opt-in every-step capture.Part of #8863
Type of change
Screenshots
G1 velocity learning curves and evaluation can be attached on request.
Checklist
pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.mdor my name already exists there