Repository navigation
Conversation
r-schmitt
requested review from
AntoineRichard,
huidongc,
marcodiiga,
pbarejko and
rilei-nvidia
as code owners
November 5, 2026 16:00
Collaborator
Author
|
run-ci |
Contributor
[Medium impact] The PR changes how OVStage-based physics and rendering scenes are populated. The PR appears safe to merge, with a non-blocking gap in coverage of the new OVStage 0.4 path. Findings
SummaryAdds physics population descriptions for OVStage builds that removed physics domains, while retaining the older domain-based path.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Populate OVStage] --> B{Physics requested?}
B -->|No| C[Populate requested domains]
B -->|Yes| D{PHYSICS domain exists?}
D -->|Yes| E[Add physics domain]
E --> C
D -->|No| F[Populate rendering and physics descriptions]
C --> G[Clone and commit]
F --> G
Reviews (1) · Last reviewed commit: "implement physics population descriptio..." · Reviewed by Greptile |
Contributor
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Implementation (1), Style consistency (2), Test quality (1). Other reviewed categories look good.
- PR description: The body omits the new config and export-policy changes, presents capability detection as a strict 0.4.0 cutoff, and provides no validation commands; describe both behaviors and list tested OVStage versions.
- 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: The renderer infers physics population from
scene_key, so isolated physics scenes can preserve references incorrectly; useself.scene.cfg.populate_physicsas the owning contract. - Style consistency: The compatibility helper weakens the concrete population-domain type and misnames
metersPerUnit; retainovstage.PopulationDomainand rename the expressionmeters_per_unit. - Test quality: The population regression test protects distinct units, defaults, bindings, and clone relationships, but its docstring claims both API paths while only the installed runtime path executes; narrow the wording.
Minor fixes needed. Posted 4 inline findings.
Automated review; human maintainers own approval decisions.
pbarejko
approved these changes
Nov 5, 2026
Collaborator
Author
|
run-ci |
6 tasks done
AntoineRichard
pushed a commit
that referenced
this pull request
Nov 9, 2026
## Description Scene initialization currently forces `physxScene:envIdInBoundsBitCount=4` whenever clone recipes exist. The population-description path added in #8949 forwards this setting, which reduces throughput in the Franka reach workload with shared ground. Remove the unconditional override so scenes use an explicitly authored value or the runtime default. Clone environment IDs and collision-group setup are unchanged. The [PhysX API documentation](https://github.com/NVIDIA-Omniverse/PhysX/blob/main/physx/include/PxBroadPhase.h) explains that environment bits can expand shared objects' search bounds and increase collision-processing work. A controlled diagnostic on `Isaac-Reach-Franka` (4,096 environments, 100 training iterations, seed 42) recovered approximately 8.3% collection throughput by removing only this attribute. Adding only the attribute back reproduced the slowdown. Reported final reward and episode length matched. ## Type of change - Bug fix ## Validation - Full repository formatting, lint and changelog checks passed. - 105 focused tests passed, covering CPU/GPU cloning, 2,048 overlapping-environment collision isolation, lifecycle/population behavior, and shared-ground contacts. - ANYmal D and G1 training completed with 4,096 environments and two iterations each. - Franka training completed 100 iterations with 4,096 environments on this patch. - The throughput result above is from single-setting isolation, not a claim of improvement across all workloads. ## Checklist - [x] Read the contribution guidelines. - [x] Ran `uv run --no-sync isaaclab --format`. - [x] Reviewed affected documentation; no API documentation changes are needed. - [x] Validated cloning, collision isolation and shared-ground contacts with existing tests. - [x] Added the required `isaaclab_ov` changelog fragment. - [x] Contributor is already listed in `CONTRIBUTORS.md`. Co-authored-by: marcodiiga <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
OVStage changed its physics population API within the 0.4 release line. This PR preserves legacy domain-based population when
PopulationDomain.PHYSICSexists and uses population descriptions/selectors otherwise.OvstageBackendCfg.populate_physicsexplicitly controls physics population. OVRTX exports composed collider geometry whenever physics population is enabled, including isolated stages. Newton + OVRTX stages request rendering data only.Adds compatibility-dispatch coverage and an isolated-physics export regression case. Native tests verify unit-scaled defaults, authored overrides, material bindings, and cloned joint relationships.
Repository dependency pins,
uv.lock, CI configuration, and the default legacy population path remain unchanged.Validation
Local validation: 270 passed, zero skipped.
Six additional end-to-end cases passed with OVStage enabled:
The isolated-physics regression failed before the fix and passed afterward.
Newer OVPhysX end-to-end simulation remains unverified because the cached binary is incompatible with newer OVStage. Native selector population and renderer contracts passed independently.
Checklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists there