Repository navigation
Conversation
pv-nvidia
requested review from
AntoineRichard,
StafaH,
fatimaanes,
kellyguo11,
ooctipus and
pbarejko
as code owners
October 19, 2026 20:51
pv-nvidia
marked this pull request as draft
October 19, 2026 20:51
Contributor
Author
|
run-ci |
Contributor
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Implementation (1), Style consistency (1). Other reviewed categories look good.
- PR description: The title and body match the five-file diff; substantiate the two-second startup claim with exact baseline and candidate revisions, command, warmup, and startup metric methodology.
- 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 full-stage hierarchy update runs even when construction seeds no transforms, adding avoidable startup work; track whether any helper seeded a matrix and update only then.
- Style consistency: The new constraint comment uses the undefined acronym “FSD”; spell out “Fabric Scene Delegate” as the adjacent changelog does.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 2 inline findings.
Automated review; human maintainers own approval decisions.
Contributor
[Medium impact] The PR appears safe to merge; no actionable defects were found. SummaryRuns the host Fabric Hierarchy update after frame views seed their transforms. This fills the hierarchy matrices before later GPU updates, including when the Fabric Scene Delegate is off.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Seed transforms from USD] --> B[Run host Fabric Hierarchy update]
B --> C[Build frame view selections]
C --> D[Later GPU hierarchy updates]
D --> E[Keep camera world positions]
Reviews (2) · Last reviewed commit: "Run the Fabric Hierarchy update for ever..." · Reviewed by Greptile |
usdrt's *XformFromUsd helpers write legacy transform attributes. Only the host Fabric Hierarchy update converts them into the omni:fabric matrices, and Kit runs that update per frame only with the Fabric Scene Delegate. Without it, PhysX's GPU hierarchy update recomposed the environment prims from identity local matrices, so cameras of reset environments moved to their env-local pose. The selection now runs the host update once after seeding. This makes the second Kit update at simulation start unnecessary. The Fabric re-attach stays for timeline resumes (isaac-sim#4279).
Skip the full-stage host update for selections that seed nothing, for example an empty view or a view whose prims already carry both matrices. Spell out the Fabric Scene Delegate in the comment.
Without it, the RTX renderer draws root-scaled kinematic rigid objects with the wrong scale (test_kinematic_rigid_object_scale_and_pose_are_rendered). The host Fabric Hierarchy update alone fixes the camera reset bug.
pv-nvidia
force-pushed
the
pv/fix-fabric-hierarchy-update-after-seed
branch
from
October 20, 2026 13:24
cbdb3a6 to
e4ecc68
Compare
The update now runs whether or not the selection seeded transforms, so a selection behaves the same regardless of what another system authored before.
Contributor
Author
|
run-ci |
pv-nvidia
marked this pull request as ready for review
October 20, 2026 15:42
kellyguo11
approved these changes
Oct 20, 2026
5 of 7 tasks
pv-nvidia
enabled auto-merge (squash)
October 20, 2026 20:48
ooctipus
approved these changes
Oct 20, 2026
pv-nvidia
added a commit
to pv-nvidia/pv-isaac-lab
that referenced
this pull request
Oct 22, 2026
usdrt's *XformFromUsd helpers write legacy transform attributes. Only the host Fabric Hierarchy update converts them into the omni:fabric matrices, and Kit runs that update per frame only with the Fabric Scene Delegate. Without it, PhysX's GPU hierarchy update recomposed the environment prims from identity local matrices, so cameras of reset environments moved to their env-local pose. Release counterpart of isaac-sim#8739.
kellyguo11
pushed a commit
that referenced
this pull request
Oct 26, 2026
#8760) # Description This is the release counterpart to #8433 and #8739. On `release/3.0.0`, PhysX camera tasks have two camera pose problems: - When the benchmark loads the RTX renderer at runtime (`summary` or `omniperf` formatter), cameras with the Newton Warp renderer sit at the world origin and render empty images. Benchmark FPS for these tasks is therefore too high. With 8192 environments, the render step takes 12.6 ms instead of about 140 ms. - The first camera observation after a reset shows the poses from before the reset (#8428). Both come from the Fabric re-attach in `PhysxManager.play()` at simulation start. This PR: - Backports #8433: `play()` re-attaches Fabric only after a timeline resume (#4279), not at simulation start. At simulation start, it runs one extra Kit update instead. #8433 also refreshes nine task rendering goldens (cartpole, Cartpole-Camera-Direct, Reorient-Cube-Shadow-Camera-Direct, and shadow hand) and the cartpole `physx-kit-tiled` visualizer golden. - Backports #8739: Fabric frame views run the host Fabric Hierarchy update once after they seed their transforms. Without it, removing the re-attach makes every camera of a reset environment move to its env-local pose when the Fabric Scene Delegate is off. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Validation Tested on an RTX A6000 with `Isaac-Lift-KukaAllegro-Camera`, PhysX, the Newton Warp renderer, and 8192 environments: - After all environments reset, all 8192 cameras are correct in training. - In the `summary` benchmark mode, all 8192 cameras are correct. On the unchanged release, all 8192 sit at the world origin. - The new test `test_hierarchy_update_keeps_seeded_world_poses` fails without the fix and passes with it. - The Fabric frame view tests, the RTX rigid object rendering tests, the #8428 first-frame tests, the simulation context tests, and the Kit pause/resume tests pass. The play() change makes two release tests need an update: - `test_visualizer_golden[physx-anymal_d-kit-tiled]` now captures the robots after the reset events. This PR uses the golden from `main`, which also has the 6.2 checkerboard refresh (#8684). - On CPU, the Kit update at simulation start runs one more physics step before the first test step. The finite-difference acceleration in the PhysX `test_gravity_vec_w` tests then misses 9.81 by 2.7e-5. These tests now allow `atol=1e-4`. GPU runs the same number of steps as before. This PR also updates `test_published_wheel_docs_cover_one_off_and_managed_uv_workflows`. #8738 pinned Python 3.12 in the release `uvx` commands, but not in this test, so the core tests failed for every release PR. #8739 is still open on `main`. This PR carries its final change. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage and applied the [test-audit criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md) to any test changes - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump package versions — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Signed-off-by: JF Lafleche <[email protected]> Co-authored-by: JF Lafleche <[email protected]> Co-authored-by: pv-nvidia <[email protected]> Co-authored-by: Octi Zhang <[email protected]>
Yanbo-Zhu
pushed a commit
to Yanbo-Zhu/IsaacLab
that referenced
this pull request
Nov 6, 2026
isaac-sim#8760) # Description This is the release counterpart to isaac-sim#8433 and isaac-sim#8739. On `release/3.0.0`, PhysX camera tasks have two camera pose problems: - When the benchmark loads the RTX renderer at runtime (`summary` or `omniperf` formatter), cameras with the Newton Warp renderer sit at the world origin and render empty images. Benchmark FPS for these tasks is therefore too high. With 8192 environments, the render step takes 12.6 ms instead of about 140 ms. - The first camera observation after a reset shows the poses from before the reset (isaac-sim#8428). Both come from the Fabric re-attach in `PhysxManager.play()` at simulation start. This PR: - Backports isaac-sim#8433: `play()` re-attaches Fabric only after a timeline resume (isaac-sim#4279), not at simulation start. At simulation start, it runs one extra Kit update instead. isaac-sim#8433 also refreshes nine task rendering goldens (cartpole, Cartpole-Camera-Direct, Reorient-Cube-Shadow-Camera-Direct, and shadow hand) and the cartpole `physx-kit-tiled` visualizer golden. - Backports isaac-sim#8739: Fabric frame views run the host Fabric Hierarchy update once after they seed their transforms. Without it, removing the re-attach makes every camera of a reset environment move to its env-local pose when the Fabric Scene Delegate is off. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Validation Tested on an RTX A6000 with `Isaac-Lift-KukaAllegro-Camera`, PhysX, the Newton Warp renderer, and 8192 environments: - After all environments reset, all 8192 cameras are correct in training. - In the `summary` benchmark mode, all 8192 cameras are correct. On the unchanged release, all 8192 sit at the world origin. - The new test `test_hierarchy_update_keeps_seeded_world_poses` fails without the fix and passes with it. - The Fabric frame view tests, the RTX rigid object rendering tests, the isaac-sim#8428 first-frame tests, the simulation context tests, and the Kit pause/resume tests pass. The play() change makes two release tests need an update: - `test_visualizer_golden[physx-anymal_d-kit-tiled]` now captures the robots after the reset events. This PR uses the golden from `main`, which also has the 6.2 checkerboard refresh (isaac-sim#8684). - On CPU, the Kit update at simulation start runs one more physics step before the first test step. The finite-difference acceleration in the PhysX `test_gravity_vec_w` tests then misses 9.81 by 2.7e-5. These tests now allow `atol=1e-4`. GPU runs the same number of steps as before. This PR also updates `test_published_wheel_docs_cover_one_off_and_managed_uv_workflows`. isaac-sim#8738 pinned Python 3.12 in the release `uvx` commands, but not in this test, so the core tests failed for every release PR. isaac-sim#8739 is still open on `main`. This PR carries its final change. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage and applied the [test-audit criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md) to any test changes - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump package versions — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Signed-off-by: JF Lafleche <[email protected]> Co-authored-by: JF Lafleche <[email protected]> Co-authored-by: pv-nvidia <[email protected]> Co-authored-by: Octi Zhang <[email protected]>
Yanbo-Zhu
pushed a commit
to Yanbo-Zhu/IsaacLab
that referenced
this pull request
Nov 7, 2026
isaac-sim#8760) # Description This is the release counterpart to isaac-sim#8433 and isaac-sim#8739. On `release/3.0.0`, PhysX camera tasks have two camera pose problems: - When the benchmark loads the RTX renderer at runtime (`summary` or `omniperf` formatter), cameras with the Newton Warp renderer sit at the world origin and render empty images. Benchmark FPS for these tasks is therefore too high. With 8192 environments, the render step takes 12.6 ms instead of about 140 ms. - The first camera observation after a reset shows the poses from before the reset (isaac-sim#8428). Both come from the Fabric re-attach in `PhysxManager.play()` at simulation start. This PR: - Backports isaac-sim#8433: `play()` re-attaches Fabric only after a timeline resume (isaac-sim#4279), not at simulation start. At simulation start, it runs one extra Kit update instead. isaac-sim#8433 also refreshes nine task rendering goldens (cartpole, Cartpole-Camera-Direct, Reorient-Cube-Shadow-Camera-Direct, and shadow hand) and the cartpole `physx-kit-tiled` visualizer golden. - Backports isaac-sim#8739: Fabric frame views run the host Fabric Hierarchy update once after they seed their transforms. Without it, removing the re-attach makes every camera of a reset environment move to its env-local pose when the Fabric Scene Delegate is off. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Validation Tested on an RTX A6000 with `Isaac-Lift-KukaAllegro-Camera`, PhysX, the Newton Warp renderer, and 8192 environments: - After all environments reset, all 8192 cameras are correct in training. - In the `summary` benchmark mode, all 8192 cameras are correct. On the unchanged release, all 8192 sit at the world origin. - The new test `test_hierarchy_update_keeps_seeded_world_poses` fails without the fix and passes with it. - The Fabric frame view tests, the RTX rigid object rendering tests, the isaac-sim#8428 first-frame tests, the simulation context tests, and the Kit pause/resume tests pass. The play() change makes two release tests need an update: - `test_visualizer_golden[physx-anymal_d-kit-tiled]` now captures the robots after the reset events. This PR uses the golden from `main`, which also has the 6.2 checkerboard refresh (isaac-sim#8684). - On CPU, the Kit update at simulation start runs one more physics step before the first test step. The finite-difference acceleration in the PhysX `test_gravity_vec_w` tests then misses 9.81 by 2.7e-5. These tests now allow `atol=1e-4`. GPU runs the same number of steps as before. This PR also updates `test_published_wheel_docs_cover_one_off_and_managed_uv_workflows`. isaac-sim#8738 pinned Python 3.12 in the release `uvx` commands, but not in this test, so the core tests failed for every release PR. isaac-sim#8739 is still open on `main`. This PR carries its final change. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage and applied the [test-audit criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md) to any test changes - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump package versions — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Signed-off-by: JF Lafleche <[email protected]> Co-authored-by: JF Lafleche <[email protected]> Co-authored-by: pv-nvidia <[email protected]> Co-authored-by: Octi Zhang <[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
With PhysX and a camera that Kit does not render (for example the Newton Warp renderer), every camera whose environment resets moves to its env-local pose. The camera then renders an empty floor instead of its environment. Training runs are affected after the first episode.
Fabric frame views seed their transforms with usdrt's
*XformFromUsdhelpers, which write legacy transform attributes. Only the host Fabric Hierarchy update turns these into theomni:fabricmatrices, and Kit runs that update every frame only when the Fabric Scene Delegate is on. The headless experience has it off. PhysX's GPU hierarchy update then rebuilt the environment prims from identity local matrices.This PR runs the host Fabric Hierarchy update once after each Fabric xform selection seeds its transforms.
It replaces #8682.
Type of change
Release backport
developrelease/3.0.0needs its own PR, because itsPhysxManager.play()differs.Validation
Isaac-Lift-KukaAllegro-Camera, PhysX, Newton Warp renderer, 8192 environments, RTX A6000:c8a06a87c, after all environments reset, all 8192 cameras are correct in training and in thesummarybenchmark mode.develop, no camera falls back to its env-local pose anymore. A separate regression ondevelopassigns cameras to the wrong environments, with or without this PR. It also happens with the Fabric Scene Delegate on.test_hierarchy_update_keeps_seeded_world_posesfails without the fix and passes with it.isaaclab.benchmark.entrypoints.runtime --benchmark_formatter json --num_envs 8192 --num_steps 300 --warmup_steps 50 --seed 42 presets=isaacsim_physx, two runs each) reported a "simulation start" time of 110.9 s and 112.1 s onc8a06a87c. With the host update (a5211fa0d), it reported 113.8 s and 113.6 s. FPS and peak memory stayed within run-to-run noise.Checklist
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