Repository navigation
Enable Replicator dynamically for Isaac RTX - #6797
kellyguo11 merged 3 commits into
Conversation
Declare Replicator directly in the GUI and headless base experiences because Isaac RTX renderer settings import its Python module. Keep bundled Warp and pip archive extensions excluded so Isaac Lab's installed versions remain authoritative.
Load Replicator through the extension manager only after Isaac Lab's Warp module is already imported. This prevents Kit startup from selecting the bundled Warp dependency. Replace the static app dependency test with renderer initialization coverage that verifies Replicator is enabled before global settings.
Greptile SummaryDynamically enables Replicator during Isaac RTX renderer initialization before global renderer settings are applied.
Confidence Score: 5/5The PR appears safe to merge, with the new initialization order matching existing extension-enablement patterns and no actionable defects identified. The renderer loads Isaac Lab’s Warp module before enabling Replicator, enables the extension idempotently before any global setting can import it, and the regression test captures the required call order. Important Files Changed
Sequence DiagramsequenceDiagram
participant Caller
participant Renderer as IsaacRtxRenderer
participant Kit as Kit Extension Manager
participant Settings as Global RTX Settings
Caller->>Renderer: construct(cfg)
Renderer->>Kit: enable omni.replicator.core
Kit-->>Renderer: extension enabled/already active
Renderer->>Settings: apply global settings
Settings-->>Renderer: settings applied
Reviews (1): Last reviewed commit: "Merge branch 'develop' into kellyguo11/f..." | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
The PR scopes dynamic Replicator activation to IsaacRtxRenderer construction, after Isaac Lab imports Warp and before renderer settings may import Replicator. The changed initialization path, focused ordering test, and package changelog are consistent with the stated regression fix.
- Design and architecture: Keeping Replicator out of the base Kit experiences preserves the intended dependency boundary and activates it only when the Isaac RTX backend is selected. Repeated renderer construction relies on the existing extension-enablement utility to handle an already-enabled extension.
- API: The renderer constructor signature, configuration types, exports, and public symbols remain unchanged. The change affects internal initialization timing only, and the required
isaaclab_physxchangelog fragment is present under the correct category. - Implementation: Module-level ordering imports Isaac Lab's Warp before constructor-time Replicator activation, while the constructor enables Replicator before global settings, determinism settings, and Hydra attachment. The regression test directly checks the critical enable-before-global-settings ordering, and the existing constructor test isolates the new extension side effect.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
# Description Dynamically enables `omni.replicator.core` when `IsaacRtxRenderer` is constructed, before global renderer settings can import the Replicator module. PR isaac-sim#6499 intentionally removed broad Isaac Sim extension dependencies from the Kit experiences because Replicator directly depends on `omni.warp.core`. Declaring Replicator statically allows Kit to resolve the bundled Warp extension during startup, before Isaac Lab's selected Warp package is established. The Isaac RTX renderer module imports Isaac Lab's `warp` first, then enables Replicator only when that renderer is selected. Replicator's dependency resolution can therefore no longer replace the already-loaded public `warp` module. The base `.kit` experiences remain unchanged. The regression test verifies that runtime enablement happens before global settings can perform the first `omni.replicator.core` import. ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## Screenshots Not applicable; this is a renderer initialization fix. ## Validation - Confirmed the focused regression test fails without the runtime enablement call. - `.\isaaclab.bat -p -m pytest source\isaaclab_physx\test\renderers\test_isaac_rtx_renderer_contract.py -q` (`10 passed`) - Launched the minimal headless Kit experience, constructed `IsaacRtxRenderer` with DLAA, and verified: - `omni.replicator.core` becomes enabled dynamically. - The `warp` module object and filesystem path are identical before and after Replicator enablement. - Kit's known duplicate-public-module warning prevents bundled Warp from replacing Isaac Lab's Warp. - `.\isaaclab.bat -p tools\changelog\cli.py check develop` - `.\isaaclab.bat -f` ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with `.\isaaclab.bat -f` - [x] Documentation changes are not required for this internal renderer initialization fix - [x] My changes generate no new unexpected warnings - [x] I have added tests that prove the fix is effective - [x] I have added a changelog fragment for the touched package - [x] My name already exists in `CONTRIBUTORS.md`
Description
Dynamically enables
omni.replicator.corewhenIsaacRtxRendererisconstructed, before global renderer settings can import the Replicator module.
PR #6499 intentionally removed broad Isaac Sim extension dependencies from the
Kit experiences because Replicator directly depends on
omni.warp.core.Declaring Replicator statically allows Kit to resolve the bundled Warp
extension during startup, before Isaac Lab's selected Warp package is
established.
The Isaac RTX renderer module imports Isaac Lab's
warpfirst, then enablesReplicator only when that renderer is selected. Replicator's dependency
resolution can therefore no longer replace the already-loaded public
warpmodule. The base
.kitexperiences remain unchanged.The regression test verifies that runtime enablement happens before global
settings can perform the first
omni.replicator.coreimport.Type of change
Screenshots
Not applicable; this is a renderer initialization fix.
Validation
call.
.\isaaclab.bat -p -m pytest source\isaaclab_physx\test\renderers\test_isaac_rtx_renderer_contract.py -q(
10 passed)IsaacRtxRendererwith DLAA, and verified:omni.replicator.corebecomes enabled dynamically.warpmodule object and filesystem path are identical before andafter Replicator enablement.
replacing Isaac Lab's Warp.
.\isaaclab.bat -p tools\changelog\cli.py check develop.\isaaclab.bat -fChecklist
.\isaaclab.bat -fCONTRIBUTORS.md