Skip to content

Fix G1 coupling policy loading on release 3.0 - #8661

Merged
AntoineRichard merged 1 commit into
isaac-sim:release/3.0.0from
maxkra15:maxkra15/fix-g1-policy-config-release-6939708
Oct 16, 2026
Merged

AntoineRichard merged 1 commit into
isaac-sim:release/3.0.0from
maxkra15:maxkra15/fix-g1-policy-config-release-6939708

Conversation

@maxkra15

@maxkra15 maxkra15 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

The release's mpm-g1-coupling example passes deprecated inherited model fields directly to RSL-RL 5.5.1, so MLPModel rejects the stochastic keyword before policy loading. Reused the existing configuration migration and runner factory from the release's standard RSL-RL playback entrypoint. This preserves deprecated release APIs, the configured policy/distribution, device, seeding and strict checkpoint loading.

Enabled the existing G1 standalone launch case, which was unconditionally skipped for its published checkpoint download. The opt-in simulation matrix now runs it with coarse 0.1 m voxels and two policy steps; no duplicate test or new production test seam was added.

Fixes NVBug 6939708, reported at 1241f4b. This PR intentionally targets release/3.0.0: develop removed the legacy configuration path in #7784 and does not need this compatibility fix.

Type of change

  • Bug fix (non-breaking)

Validation

The same existing launch case failed before the fix with the reported stochastic TypeError, then passed with a real CUDA coupled environment and the actual published Isaac-Velocity-Flat-G1_newtonmjwarp_none_rsl_rl.pt checkpoint. Native strict state loading succeeded; the test used PyTorch's restricted weights-only loader.

HEADLESS=1 TORCH_FORCE_WEIGHTS_ONLY_LOAD=1 \
ISAACLAB_RUN_STANDALONE_SCRIPT_TESTS=1 \
ISAACLAB_STANDALONE_SCRIPT_SCOPE=examples/mpm/g1_coupling.py \
ISAACLAB_STANDALONE_VISUALIZER=none \
uv run python -m pytest source/isaaclab/test/app/test_standalone_scripts.py \
  -q -k standalone_script_runs_cleanly
  • Enabled G1 launch: 1 passed; owning file without launch opt-in: 28 passed, 359 skipped.
  • Existing RSL-RL configuration migration tests: 29 passed.
  • Full uv run isaaclab -f and git diff --check passed against the release base.
  • Startup, checkpoint loading and stepping were qualified; long-horizon walking quality and GUI variants were not.

Checklist

  • Read the contribution guidelines
  • Ran all repository formatting/lint hooks
  • Validated the changed behavior and applied the test-audit criteria
  • Added the package changelog fragment
  • Preserved deprecated release APIs; no new dependency

Use the release playback configuration migration and runner factory so
deprecated fields do not reach the pinned RSL-RL model constructor.
Enable the existing published-policy simulation regression.

Fixes NVBug 6939708
@maxkra15
maxkra15 requested a review from a team October 16, 2026 08:26
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Oct 16, 2026
@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found.

Summary

Updates the G1 coupling example to use the shared RSL-RL configuration migration and runner factory.

  • The G1 coupling example now loads its RSL-RL policy with migrated settings.

No actionable issues found. This review checked the code paths; it did not run the simulation.

Reviews (1) · Last reviewed commit: "fix: Restore G1 policy loading on releas..." · Reviewed by Greptile

@maxkra15

Copy link
Copy Markdown
Contributor Author

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 Oct 16, 2026
@maxkra15

Copy link
Copy Markdown
Contributor Author

run-ci

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

All reviewed code categories look good.

  • PR description: The title and body match the final diff, release target, changelog, and reported validation; no measurable performance claim or hot-path change requires benchmark evidence.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

No blocking issues. No inline findings.

Automated review; human maintainers own approval decisions.

@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 Oct 16, 2026
@AntoineRichard
AntoineRichard merged commit 8704698 into isaac-sim:release/3.0.0 Oct 16, 2026
66 of 89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants