Skip to content

[Backport 3.0] Complete simulation and training fixes from #8463–#8465 - #8495

Merged
StafaH merged 1 commit into
isaac-sim:release/3.0.0from
StafaH:backport/release-3-simulation-training
Oct 12, 2026
Merged

StafaH merged 1 commit into
isaac-sim:release/3.0.0from
StafaH:backport/release-3-simulation-training

Conversation

@StafaH

@StafaH StafaH commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Description

Backport the remaining simulation and training fixes from #8464 and #8465 to release/3.0.0, completing the release coverage for the three PRs split from #8379. This replaces the conflict-resolution drafts #8490 and #8491.

#8463 is already present in the release branch as 78a297879f7a1edbfd32959ea4fcab8e967c8152; replaying its merged commit is empty. Its Newton HDR background and lens-distortion changes are inherited from the base and are not duplicated here.

  • Preserve compliant-contact stiffness during PhysX/OVPhysX material randomization and use full-stage USD import for positive-stiffness acceleration-spring materials, with a warning about the startup cost.
  • Add training-only --resume_optimizer_state / --no-resume_optimizer_state, preserving checkpoint models, iteration, and RND state while allowing a fresh policy optimizer.
  • Expose task discovery for direct workers and preserve literal overrides following named preset selections.

Conflict resolution

Kept the release branch's logging and test organization. Adapted compliant-contact coverage into its existing test_heterogeneous_clone_contacts and retained its scene helper and ordinary settling duration. Used the source PR's focused CPU/GPU scenario selection. Did not import the unrelated develop-only indexed-state test consolidation or logging changes.

Source commits: 171b0ebe03b728997a09c016b37eb49ab074e81a (#8464) and 43100989af845462ac7036a256c01bcc8b84fe4a (#8465). Release base: 6ea915c13.

Validation

  • Existing RSL-RL runner, dispatch, parser, and import checks: 14 passed.
  • Hydra suite: 67 passed.
  • Installed CLI workflow suite: 34 passed.
  • OVPhysX material randomization: CPU and GPU passed in separate processes (2 cases).
  • Heterogeneous clone contacts: CPU and GPU passed in separate processes (6 cases). Removing the cloning fallback makes the compliant GPU case fail its clone-height comparison; the backport passes.
  • Formatting/lint and changelog checks passed against the release base. The release checker requires an origin/ ref, so validation used a temporary base alias that was removed afterward.
  • Camera-output contract suite (including the existing [Newton] Fix camera HDR backgrounds and distortion warnings #8463 backport): 18 passed.
  • uv run --isolated --extra dev -- make -C docs current-docs: passed with warnings treated as errors.
  • Native PhysX integration tests will be covered by requested CI; they were not run locally for this backport.

Checklist

  • Followed contribution guidelines and kept existing tests with their fixes.
  • Included the original package changelog fragments.
  • Preserved ordinary imports at module scope and justified optional/runtime imports.
  • Author already appears in CONTRIBUTORS.md.

…se 3.0

Backports isaac-sim#8464 (171b0eb) and isaac-sim#8465 (4310098). PR isaac-sim#8463 is already present in the release base as 78a2978. Adapt the cloning regression to the release test structure and retain release logging.
@StafaH
StafaH requested a review from a team October 12, 2026 20:01
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Oct 12, 2026
@StafaH

StafaH commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator 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 12, 2026
@StafaH

StafaH commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator 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 12, 2026
@greptile-apps

greptile-apps Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

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

Summary

This backport preserves compliant-contact stiffness, adds a choice to keep a fresh policy optimizer when resuming training, and discovers downstream tasks in direct workers.

  • Material randomization keeps compliant-contact stiffness while changing friction.
  • OVPhysX imports compliant acceleration-spring scenes through USD.
  • RSL-RL resumes checkpoints with or without the policy optimizer.
  • Direct RL workers discover installed tasks before choosing a backend.
  • Hydra lets literal values override resolved preset values.

Acknowledgments: StafaH explicitly chose focused CPU/GPU contact scenarios instead of the previous full combination of cases. StafaH also documented the loss of native-cloning startup savings as the intended cost of preserving acceleration-spring behavior.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Read current shape materials] --> B[Sample friction and restitution]
    B --> C{Current restitution is negative?}
    C -->|Yes| D[Keep compliant stiffness]
    C -->|No| E[Use sampled restitution]
    D --> F[Write selected materials]
    E --> F
    G[Serialize OVPhysX scene] --> H{Positive stiffness and acceleration spring?}
    H -->|Yes| I[Warn and import full stage]
    H -->|No| J[Use existing cloning path]
Loading

Reviews (1) · Last reviewed commit: "Backport compliant contacts and training..." · Reviewed by Greptile

@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

Needs attention: Design and architecture (1). Other reviewed categories look good.

  • PR description: The body matches the 25-file backport and validation, but the full-stage USD fallback changes startup scaling; add base/head timings with revisions, command, GPU, environment counts, warmup, and startup metric.
  • Design and architecture: dispatch.py imports the CLI command package, reversing CLI-to-library layering and loading unrelated command modules in workers; move task discovery to a lightweight core module shared by both callers.
  • 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.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.


import gymnasium as gym

from isaaclab.cli import load_external_tasks

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.

🟡 Warning · Design Architecture — RL dispatch imports CLI command package

Module-level import of isaaclab.cli pulls the installer, docker, and format command modules into every RL worker and inverts layering, since isaaclab.cli already dispatches into isaaclab_rl. Move discovery to a non-CLI module.

@StafaH
StafaH merged commit 8ce1df0 into isaac-sim:release/3.0.0 Oct 12, 2026
62 of 90 checks passed
@StafaH
StafaH deleted the backport/release-3-simulation-training branch October 26, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants