Repository navigation
Migrate supported task and example defaults to standalone OV backends - #9145
kellyguo11 merged 20 commits into
Conversation
[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. FindingsSummaryMoves supported task defaults to OvPhysX/OVRTX and updates examples, viewers, and recording guidance.
Acknowledged by Reviews (1) · Last reviewed commit: "Isolate legacy physics documentation fix..." · Reviewed by Greptile |
There was a problem hiding this comment.
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.
| physx = PhysxAutoCfg(isaacsim_physx=isaacsim_physx) | ||
| default = isaacsim_physx | ||
| physx = PhysxAutoCfg(isaacsim_physx=isaacsim_physx, ovphysx=ovphysx) | ||
| default = ovphysx |
There was a problem hiding this comment.
🟡 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.
There was a problem hiding this comment.
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.
|
run-ci |
|
run-ci ovstage |
|
run-ci ovstage |
|
run-ci |
|
run-ci ovstage |
|
run-ci ovstage |
|
run-ci |
#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.
…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.
…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)
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
ovextra (videofor recording).Validation
-Wpassed.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).