Skip to content

Add RSL-RL SuperMimic motion tracking and G1 deployment - #9193

Merged
kellyguo11 merged 37 commits into
isaac-sim:mainfrom
Double7sBurger:review/g1-supermimic-deploy
Nov 25, 2026
Merged

kellyguo11 merged 37 commits into
isaac-sim:mainfrom
Double7sBurger:review/g1-supermimic-deploy

Conversation

@Double7sBurger

@Double7sBurger Double7sBurger commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Adds SuperMimic-style motion tracking using rsl-rl-lib-extras, with LEAPP export and G1 deployment.

  • Reuses the existing Isaac-Motion-Tracking-G1 task with a SuperMimic agent and state_obs preset.
  • Keeps GenCoord velocity-increment dynamics and analytic pose integration. Removes MaxCoord and the duplicate task/MDP implementations.
  • Reuses RSL-RL playback and standard LEAPP observation/history/action export, with reference-motion publishing and start/stand controls. Published dance checkpoints remain supported.
  • Includes a single user guide and a command-builder demo.

Validation

  • Local GPU training: 16 environments, 30 steps, including CUDA graphs. New and published checkpoint playback and default ONNX Dynamo LEAPP export passed.
  • CPU/GPU integration and gradient comparisons passed; predicted-state rewards and termination thresholds matched the shared environment. Published LEAPP outputs matched the original over 375 recorded frames.
  • 122 existing tests passed, 2 skipped. Repository formatting checks and the documentation build passed.
  • Reference checkpoint: previously trained on 129,985 BONES-SEED G1 clips (263.25 hours), using 2 NVIDIA L40 GPUs, 4,096 environments, horizon 32 and initial learning rate 2e-4. Completed 320,000 environment iterations / 127,997 learning updates in approximately 23.7 hours and was successfully validated on a real G1. This full training and hardware validation used the original implementation; the shared-task configuration has been checked locally as described above.

@Double7sBurger Double7sBurger changed the title Add standalone SuperMimic training, playback and G1 deployment Add RSL-RL SuperMimic motion tracking and G1 deployment Nov 25, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 25, 2026
@kellyguo11
kellyguo11 requested a review from frlai as a code owner November 25, 2026 05:06
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 25, 2026
@kellyguo11
kellyguo11 merged commit 0b71c89 into isaac-sim:main Nov 25, 2026
59 checks passed
lgulich added a commit that referenced this pull request Nov 25, 2026
## Motivation

#9193 added a public option, `final_obs_every_step`, to the configs of
the manager-based, direct and multi-agent environments. Only SuperMimic
uses it: its learned dynamics needed every environment to capture the
physical successor on every step, before resets and interval events.
That is a public API change to every environment type for a single
learner, and it hasn't shipped yet. This PR reverts it before 3.1 is
released.

## Change

The revert is possible because of `rsl-rl-lib-extras` 6.0.0.2
(leggedrobotics/rsl_rl#308). Learned dynamics there follows the same
contract as SAC: the successors of finished episodes come from the
regular `extras["final_obs"]`, and the others from the returned
observations. The environments go back to their state before #9193, the
SuperMimic runner config enables `compute_final_obs` instead of the
removed option, and the dependency moves to 6.0.0.2.

## Effect on training

Training is unaffected. Resets are handled as before, and replay windows
still stop at dones. Command updates only change goal observations, not
the `state` and `labels` groups the world model learns from. So the only
difference is that physical interval edits such as pushes now enter the
world model's targets, about one transition in 600 in G1 motion
tracking. On `Isaac-Motion-Tracking-G1` (Newton, default environment
count, one L40S per run, 3 seeds × 60 minutes per recipe), training with
and without every-step capture gave the same results: episode reward
12.1 ± 0.4 without vs 11.7 ± 0.3 with it for the SuperMimic recipe, and
13.8 ± 0.2 vs 13.5 ± 0.7 for the BlinkMimic recipe, with the same
world-model error.

## Viewer-reset fix

Since SuperMimic now relies on `final_obs`, this also fixes a gap that
affected SAC: a reset requested from the viewer on a step without an
automatic reset ended episodes without capturing their final
observations. The three environment types now capture them in that case
too.

## Testing

To train:

```
uv run isaaclab train --rl_library rsl_rl --task Isaac-Motion-Tracking-G1 \
    --agent rsl_rl_supermimic_cfg_entry_point presets=state_obs
```

On one RTX 6000 Ada with 1024 environments, the reward rose from 0.17 to
7.4 in under 8 minutes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
kellyguo11 pushed a commit that referenced this pull request Dec 3, 2026
… in pre-commit (#9343)

## Summary

The nightly changelog compile has failed every night since 2026-11-20.
It runs uv 0.13.1, while `uv.lock` and every other uv pin in the
repository use uv 0.12.9. This PR pins the nightly to 0.12.9 and adds a
pre-commit check that keeps every uv pin and the lockfile format on one
version.

# Description

Fixes NVBug 7139341

1. **Cause.** After bumping package versions, `tools/changelog/cli.py
compile` runs `uv lock` and rejects any lockfile change other than
version lines. uv 0.13.1 rewrites a lock written by uv 0.12.9: `revision
= 3` becomes `5` and the open3d dependency list changes, so the compile
fails. #8695 pinned the nightly to 0.13.1 while the lock was at revision
5. Since then, contributors on different uv versions have flipped the
lock between revisions 3 and 5 six times, most recently back to 3 in
#9193.
2. **Fix.** Pin the nightly to 0.12.9, the version of the Docker images,
the other workflows and the current `uv.lock`. Add a `check-uv-version`
pre-commit hook (`tools/pre_commit/check_uv_version.py`): every uv image
and `setup-uv` version must name one version, and `uv.lock` must carry
the revision that version writes. `uv lock --check` accepts a lock
written by either version, so it cannot catch this drift.
3. **Test.** With uv 0.12.9, `python3 tools/changelog/cli.py compile`
passes on `main` (6b20eac) and `release/3.1.0` (31b11f2): 16
packages bump and `uv.lock` changes only version lines. The hook passes
on this branch and fails on `main` (two uv versions), on a revision-5
lock, and with one Dockerfile at 0.13.1.

The scheduled nightly also compiles `release/3.0.0`, whose lock is still
at revision 5: #9344 re-locks it with uv 0.12.9 and should merge before
the next changelog fragment reaches that branch.

Suggested reviewer: kellyguo11 (#8695).

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `main`

## Screenshots

Not applicable.

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`uv run isaaclab --format`
- [x] No documentation change is needed: only CI and pre-commit change
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the [test-audit
criteria](https://github.com/isaac-sim/IsaacLab/blob/HEAD/skills/developer/test-audit/SKILL.md)
to any test changes: no test changes; the hook was run against passing
and failing pin sets
- [x] No changelog fragment: no source package changes
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
isaaclab-bot Bot pushed a commit that referenced this pull request Dec 3, 2026
… in pre-commit (#9343)

## Summary

The nightly changelog compile has failed every night since 2026-11-20.
It runs uv 0.13.1, while `uv.lock` and every other uv pin in the
repository use uv 0.12.9. This PR pins the nightly to 0.12.9 and adds a
pre-commit check that keeps every uv pin and the lockfile format on one
version.

# Description

Fixes NVBug 7139341

1. **Cause.** After bumping package versions, `tools/changelog/cli.py
compile` runs `uv lock` and rejects any lockfile change other than
version lines. uv 0.13.1 rewrites a lock written by uv 0.12.9: `revision
= 3` becomes `5` and the open3d dependency list changes, so the compile
fails. #8695 pinned the nightly to 0.13.1 while the lock was at revision
5. Since then, contributors on different uv versions have flipped the
lock between revisions 3 and 5 six times, most recently back to 3 in
#9193.
2. **Fix.** Pin the nightly to 0.12.9, the version of the Docker images,
the other workflows and the current `uv.lock`. Add a `check-uv-version`
pre-commit hook (`tools/pre_commit/check_uv_version.py`): every uv image
and `setup-uv` version must name one version, and `uv.lock` must carry
the revision that version writes. `uv lock --check` accepts a lock
written by either version, so it cannot catch this drift.
3. **Test.** With uv 0.12.9, `python3 tools/changelog/cli.py compile`
passes on `main` (6b20eac) and `release/3.1.0` (31b11f2): 16
packages bump and `uv.lock` changes only version lines. The hook passes
on this branch and fails on `main` (two uv versions), on a revision-5
lock, and with one Dockerfile at 0.13.1.

The scheduled nightly also compiles `release/3.0.0`, whose lock is still
at revision 5: #9344 re-locks it with uv 0.12.9 and should merge before
the next changelog fragment reaches that branch.

Suggested reviewer: kellyguo11 (#8695).

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `main`

## Screenshots

Not applicable.

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`uv run isaaclab --format`
- [x] No documentation change is needed: only CI and pre-commit change
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the [test-audit
criteria](https://github.com/isaac-sim/IsaacLab/blob/HEAD/skills/developer/test-audit/SKILL.md)
to any test changes: no test changes; the hook was run against passing
and failing pin sets
- [x] No changelog fragment: no source package changes
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

(cherry picked from commit 87d5f53)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants