Skip to content

Migrate supported task and example defaults to standalone OV backends - #9145

Merged
kellyguo11 merged 20 commits into
isaac-sim:mainfrom
kellyguo11:kellyg/migrate-deprecated-backend-defaults
Nov 25, 2026
Merged

kellyguo11 merged 20 commits into
isaac-sim:mainfrom
kellyguo11:kellyg/migrate-deprecated-backend-defaults

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Switch supported task defaults from Isaac Sim PhysX/RTX to OvPhysX/OVRTX, and replace supported Kit visualization defaults with Newton RTX. Preserve task controls, rewards, timing, scene tuning, and policy-facing articulation ordering.

Fixed-renderer tasks such as Trocar keep their existing configuration surface: RTX is selected automatically for the chosen runtime. Explicit legacy physics selections and Kit recording outputs remain compatible. Install the ov extra (video for recording).

Validation

  • Paired rollouts and full/shortened training runs provide execution and early-learning evidence. Full convergence parity is not established.
  • Latest follow-up: 391 focused tests, 18 tutorial/runtime cases, native semantic-palette rendering, optical-material partial resets, and 100-frame RTX/legacy recording checks passed.
  • Formatting, changelogs, generated environment docs, and Sphinx -W passed.
  • Final-head CI: with OVStage and without OVStage both passed.

Remaining limits

Unsupported integrations retain Kit. CloudXR/humanoid-imitation guides retain legacy commands requiring explicit selectors. Dense ray-camera overlays remain expensive; the documented RTX command uses --disable_debug_vis. Explicit task contact tuning is retained. RTX recording has higher steady-state cost in the measured sample. Concurrent native RTX teardown can stall; standalone CI launches run serially (52s versus 298s for four cases).

@github-actions github-actions Bot added documentation Improvements or additions to documentation asset New asset feature or request labels Nov 21, 2026
@greptile-apps

greptile-apps Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[High impact] The PR changes default physics and viewing paths across a broad set of simulation tasks and examples.

The PR appears safe to merge, with non-blocking fixes needed for explicit OpenGL selection and one example's installation commands.

Findings

  1. P2 OpenGL selection still starts RTX ▶
  2. P2 Example commands miss Isaac Sim ▶

Summary

Moves supported task defaults to OvPhysX/OVRTX and updates examples, viewers, and recording guidance.

  • OvPhysX now supports the settings and data paths these tasks need.
  • Supported task defaults now use OvPhysX while preserving task-specific settings.
  • Examples and tutorials now open supported Newton and OVRTX views by default.
  • The recording tutorial now separates the viewport, tiled view, and sensor clips.
  • Multitask PPO keeps losses and task diagnostics in separate results.

Acknowledged by kellyguo11: retained Kit paths, incomplete training comparisons, and unproven convergence parity are documented scope limits. They are not reported as defects.

Reviews (1) · Last reviewed commit: "Isolate legacy physics documentation fix..." · 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), Scope and over-engineering (4), Compatibility and deprecation (7), Implementation (1), Style consistency (2), Test quality (2). Other reviewed categories look good.

  • PR description: The title matches the migration; condense repeated campaign history while preserving sections, limitations, and validation, and provide RTX-default baseline/candidate measurements with revisions, commands, hardware, backend, environment count, warmup, startup, throughput, and memory.
  • Design and architecture: Factory dispatches native material operations using a separately supplied physics configuration; move that selection into the asset view contract to keep backend ownership consistent.
  • Scope and over-engineering: Minimal implementation: Extend existing task configurations, asset ordering constants, OvPhysX owners, and script entry points; collapse grocery-loop extraction and friction forwarding, and share repeated orders; no source modules were added. Essential flow remains configuration, launch, simulation, recording. Suggested PR breakdown: (1) OvPhysX settings/fixes with backend tests; (2) task defaults/compatibility with configuration and rollout validation; (3) examples/recording/docs with launch and artifact checks; (4) PPO return fix with one optimizer regression.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: backend defaults, physics CLI choices, the deprecated Reach alias, camera outputs, recording artifacts, and three-argument friction calls lose working contracts; retain old paths with targeted warnings, migration/removal guidance, and transition coverage.
  • Implementation: The multi-mesh raycaster-camera commands install OV despite requiring Isaac Sim physics; restore the isaacsim extra in all three commands.
  • Style consistency: SONIC and create_empty retain runtime descriptions contradicted by their migrated configurations; update the prose to name the standalone defaults and retained Kit paths accurately.
  • Test quality: New solver assertions repeat unchanged authoring paths across force overrides; check them once per device, preserve override coverage, and remove the redundant second PPO rollout/update.

Significant concerns. Posted 17 inline findings.

Automated review; human maintainers own approval decisions.

Comment thread docs/source/isaaclab/demos.rst Resolved
Comment thread examples/bin_packing.py Resolved
Comment thread examples/bin_packing.py Resolved
physx = PhysxAutoCfg(isaacsim_physx=isaacsim_physx)
default = isaacsim_physx
physx = PhysxAutoCfg(isaacsim_physx=isaacsim_physx, ovphysx=ovphysx)
default = ovphysx

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 · Compatibility — Stage the task default migration

Omitted physics selection now chooses OvPhysX for existing task IDs, changing dependencies and simulation behavior. Keep the former default functional for a warned, documented transition and validate both paths.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changing the supported defaults to OvPhysX is intentional for this migration. Explicit physics=isaacsim_physx selection remains functional through deprecation, including automatic Isaac RTX selection for camera tasks. The changelog now marks the default change Breaking and documents the ov extra and legacy selector. Paired rollouts and full/shortened training runs provide evidence for both paths; full convergence parity is not established.

@kellyguo11

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 Nov 24, 2026
@isaaclab-bot isaaclab-bot Bot added ci:run-ovstage Run the opt-in OVStage rendering correctness lane and removed ci:run-ovstage Run the opt-in OVStage rendering correctness lane labels Nov 25, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci ovstage

@isaaclab-bot isaaclab-bot Bot added ci:run-ovstage Run the opt-in OVStage rendering correctness lane and removed ci:run-ovstage Run the opt-in OVStage rendering correctness lane labels Nov 25, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci ovstage

@isaaclab-bot isaaclab-bot Bot added ci:run-ovstage Run the opt-in OVStage rendering correctness lane and removed ci:run-ovstage Run the opt-in OVStage rendering correctness lane labels Nov 25, 2026
@kellyguo11

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 Nov 25, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci ovstage

@isaaclab-bot isaaclab-bot Bot added ci:run-ovstage Run the opt-in OVStage rendering correctness lane and removed ci:run-ovstage Run the opt-in OVStage rendering correctness lane labels Nov 25, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci ovstage

@isaaclab-bot isaaclab-bot Bot added ci:run-ovstage Run the opt-in OVStage rendering correctness lane and removed ci:run-ovstage Run the opt-in OVStage rendering correctness lane labels Nov 25, 2026
@kellyguo11

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 Nov 25, 2026
@kellyguo11
kellyguo11 merged commit d7df24f into isaac-sim:main Nov 25, 2026
103 of 132 checks passed
kellyguo11 added a commit that referenced this pull request Nov 25, 2026
#9145 serialized standalone smoke tests, increasing non-Kit test
execution from roughly 7 minutes to 20 minutes. Restore four pytest
workers within the existing CI job slot budgets. Runner counts, launch
cases, assertions, and timeouts stay unchanged.

Kit smoke-test children use a test-only bootstrap that flushes Python
and native stdout/stderr instead of Isaac Sim 6.3's global
`fflush(NULL)`, which was observed hanging on an unrelated native file
lock. Normal app cleanup still runs. Production launchers and simulator
code are unchanged; no new tests are added.

Validation on `005a4d524`:
- Full formatting/lint, changelog, and whitespace checks passed.
- [Full GPU CI
passed](https://github.com/isaac-sim/IsaacLab/actions/runs/45684084621/attempts/1).
- Kit: 19 passed / 2 skipped in 4m32s; [repeat passed in
4m34s](https://github.com/isaac-sim/IsaacLab/actions/runs/45684084621/attempts/2).
- Non-Kit: 23 passed / 3 skipped in 10m27s; [repeat passed in
9m11s](https://github.com/isaac-sim/IsaacLab/actions/runs/45684084621/attempts/3).
- No timeout or crash occurred in either standalone group across those
runs. Times above measure test execution, excluding job setup.

Native RTX destruction remains slow for H1/NIST under concurrent load:
they reached 292s/288s in the first run and 275s/283s in the repeat,
against the unchanged 300s limit. The green runs demonstrate that the
test-only bootstrap works, but the native teardown delay remains a
timeout-margin risk. This PR does not claim to fix that separate native
delay.
kellyguo11 added a commit that referenced this pull request Nov 30, 2026
…9309)

# Description

After #9145 moved contributed camera tasks to standalone OVRTX,
`test-contrib-environments` continued restoring only the Kit shader
cache. Restore both cache trees, and add the existing Trocar and
Cartpole Camera Showcase smoke-test nodes to the post-merge shader
warmer to capture their task-specific shader variants. PR smoke-test
selection and assertions are unchanged.

Investigated while diagnosing slow contrib CI on #9217. Historical
successful runs show Trocar increasing from about 50s to 361s and
Cartpole Camera Showcase from 1.8s to 270s across the backend migration.
The comparison below measures the consumer-side restore correction using
the existing compatible cache. The expanded warmer has not yet published
its additional task-specific shaders.

## Type of change

- Bug fix (CI configuration)

## Release backport

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

## Validation

- Full `ISAACLAB_CHANGELOG_BASE_REF=upstream/main uv run --no-sync
isaaclab --format`: passed, including YAML, TOML, and changelog checks.
- `git diff --check`: passed.
- All 14 shader-warmer targets have matching test functions and included
files; target IDs are unique.
- Workflow tooling tests: 3 passed; 1 failed because macOS's Bash 3 does
not support the existing `${command,,}` expression in the unchanged
`run-docker-ci.yml` workflow.
- GPU contrib CI passed: 43 Kitless, 3 Kit camera, and 5 Kit physics
tests passed, with the same expected skips as the baseline. The log
confirms a standalone shader-cache hit.
- [Full Docker + Tests CI
passed](https://github.com/isaac-sim/IsaacLab/actions/runs/46363860089)
on attempt 2 at the same commit. The initial HDF5 file-lock failure and
H1 standalone demo timeout passed on retry without code changes. All
other PR checks are green; normal conditional skips remain.

## Observed CI timings

Compare [baseline
#9217](https://github.com/isaac-sim/IsaacLab/actions/runs/46358014690/job/141649462880)
with [this
PR](https://github.com/isaac-sim/IsaacLab/actions/runs/46363860089/job/141667427631).
Both use the same standalone OVRTX version and compatible NVIDIA
driver/GPU cache collection. These are separate CI runs rather than a
controlled A/B benchmark.

| Measurement | Baseline | This PR | Reduction |
| --- | ---: | ---: | ---: |
| All contrib test execution, excluding image pull and queue | 17m
11.91s | 13m 19.52s | 22.5% |
| Kitless file wall time | 767.86s | 547.34s | 28.7% |
| Assemble Trocar case | 342.59s | 79.41s | 76.8% |
| Cartpole Camera Showcase case | 265.38s | 176.19s | 33.6% |

PR test selection and assertions are unchanged. The cache grew by 155 MB
beyond the restored snapshot, so additional shader compilation remains;
the expanded post-merge warmer is intended to capture those
task-specific variants.

## Checklist

- [x] Read the contribution guidelines and applied the test-audit
criteria to the warmer selection.
- [x] Run the full formatting and lint checks.
- [x] CI-only change; no source-package changelog or rendered
documentation changes required.
isaaclab-bot Bot pushed a commit that referenced this pull request Nov 30, 2026
…9309)

# Description

After #9145 moved contributed camera tasks to standalone OVRTX,
`test-contrib-environments` continued restoring only the Kit shader
cache. Restore both cache trees, and add the existing Trocar and
Cartpole Camera Showcase smoke-test nodes to the post-merge shader
warmer to capture their task-specific shader variants. PR smoke-test
selection and assertions are unchanged.

Investigated while diagnosing slow contrib CI on #9217. Historical
successful runs show Trocar increasing from about 50s to 361s and
Cartpole Camera Showcase from 1.8s to 270s across the backend migration.
The comparison below measures the consumer-side restore correction using
the existing compatible cache. The expanded warmer has not yet published
its additional task-specific shaders.

## Type of change

- Bug fix (CI configuration)

## Release backport

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

## Validation

- Full `ISAACLAB_CHANGELOG_BASE_REF=upstream/main uv run --no-sync
isaaclab --format`: passed, including YAML, TOML, and changelog checks.
- `git diff --check`: passed.
- All 14 shader-warmer targets have matching test functions and included
files; target IDs are unique.
- Workflow tooling tests: 3 passed; 1 failed because macOS's Bash 3 does
not support the existing `${command,,}` expression in the unchanged
`run-docker-ci.yml` workflow.
- GPU contrib CI passed: 43 Kitless, 3 Kit camera, and 5 Kit physics
tests passed, with the same expected skips as the baseline. The log
confirms a standalone shader-cache hit.
- [Full Docker + Tests CI
passed](https://github.com/isaac-sim/IsaacLab/actions/runs/46363860089)
on attempt 2 at the same commit. The initial HDF5 file-lock failure and
H1 standalone demo timeout passed on retry without code changes. All
other PR checks are green; normal conditional skips remain.

## Observed CI timings

Compare [baseline
#9217](https://github.com/isaac-sim/IsaacLab/actions/runs/46358014690/job/141649462880)
with [this
PR](https://github.com/isaac-sim/IsaacLab/actions/runs/46363860089/job/141667427631).
Both use the same standalone OVRTX version and compatible NVIDIA
driver/GPU cache collection. These are separate CI runs rather than a
controlled A/B benchmark.

| Measurement | Baseline | This PR | Reduction |
| --- | ---: | ---: | ---: |
| All contrib test execution, excluding image pull and queue | 17m
11.91s | 13m 19.52s | 22.5% |
| Kitless file wall time | 767.86s | 547.34s | 28.7% |
| Assemble Trocar case | 342.59s | 79.41s | 76.8% |
| Cartpole Camera Showcase case | 265.38s | 176.19s | 33.6% |

PR test selection and assertions are unchanged. The cache grew by 155 MB
beyond the restored snapshot, so additional shader compilation remains;
the expanded post-merge warmer is intended to capture those
task-specific variants.

## Checklist

- [x] Read the contribution guidelines and applied the test-audit
criteria to the warmer selection.
- [x] Run the full formatting and lint checks.
- [x] CI-only change; no source-package changelog or rendered
documentation changes required.

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

Labels

asset New asset feature or request documentation Improvements or additions to documentation infrastructure isaac-mimic Related to Isaac Mimic team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants