Repository navigation
Add visualizers and scene data provider - #4
Closed
matthewtrepte wants to merge 46 commits into
Closed
matthewtrepte wants to merge 46 commits into
matthewtrepte wants to merge 46 commits into
Conversation
matthewtrepte
requested review from
kellyguo11,
ooctipus and
pascal-roth
as code owners
February 10, 2026 21:12
matthewtrepte
changed the base branch from
main
to
develop_simulation_context
February 10, 2026 21:12
ooctipus
force-pushed
the
develop_simulation_context
branch
from
February 11, 2026 22:48
ba468e6 to
07a8e1f
Compare
ooctipus
pushed a commit
that referenced
this pull request
May 7, 2026
…ic_write (isaac-sim#5380) ## Summary Replace the `sync_usd_on_fabric_write` workaround in `FabricFrameView` with proper `PrepareForReuse()` calls on the Fabric `PrimSelection`. This tells the renderer (FSD/Storm) that Fabric data has changed, so the next rendered frame reflects updated transforms — eliminating the need to copy Fabric writes back to USD. ## Motivation The existing `sync_usd_on_fabric_write` flag worked by mirroring every Fabric write back to USD, which defeated the performance benefits of Fabric. With `PrepareForReuse()`, the rendering pipeline is properly notified of Fabric data changes without any USD writeback. Additionally, the old code incorrectly fell back to USD for CPU devices — Warp handles CPU Fabric buffers correctly, so the fallback was unnecessary. This addresses two of the issues raised in @pbarejko Piotr's review of PR isaac-sim#4923: - **Issue #1** (USD write-back): Fabric writes no longer sync back to USD - **Issue #4** (PrepareForReuse): Renderer notification via `PrepareForReuse()` instead of USD writeback ## Changes ### Core (FabricFrameView) - Call `_prepare_for_reuse()` in write paths (`set_world_poses`, `set_scales`) to notify the renderer - Remove `sync_usd_on_fabric_write` parameter (accepted via `**kwargs` for backward compat) - Remove incorrect CPU/device fallback warnings — Warp handles CPU Fabric buffers correctly - Add `_rebuild_fabric_arrays()` for topology change recovery when `PrepareForReuse()` returns True, with assertion guarding the prim-count invariant ### Camera - Remove `sync_usd_on_fabric_write=True` from FrameView construction in `camera.py` ## Benchmark Results 1024 prims, 50 iterations, NVIDIA L40 GPU: | Operation | USD (ms) | Fabric (ms) | Speedup | |---|---|---|---| | Get World Poses | 14.71 | 0.07 | **203x** | | Set World Poses | 40.75 | 0.16 | **259x** | | Interleaved Set→Get | 55.90 | 0.24 | **232x** | | Get Local Poses | 11.08 | 11.12 | 1.0x | | Set Local Poses | 16.14 | 16.28 | 1.0x | Local poses fall back to USD (expected — Fabric only accelerates world poses via `omni:fabric:worldMatrix`). ## Tests Added | Test | What it validates | |------|------------------| | `test_camera_pose_update_reflected_in_render` | Camera pose changes propagate to rendered depth (close vs far) for CPU/GPU, tiled/non-tiled | | `test_fabric_set_world_does_not_write_back_to_usd` | Fabric writes stay in Fabric, USD prim unchanged | | `test_set_world_updates_local` (xfail) | Documents Issue #5: `set_world_poses` doesn't update local pose in Fabric mode | ## Test Results | Test Suite | Passed | Skipped | Xfailed | Total | |---|---|---|---|---| | Fabric contract tests (`test_views_xform_prim_fabric.py`) | 17 | 16 | 1 | 34 | | USD contract tests (`test_views_xform_prim.py`) | 45 | 0 | 0 | 45 | | Camera render test (`test_tiled_camera.py`) | 8 | 0 | 0 | 8 | ## Type of change - Performance improvement (removes redundant USD writeback on Fabric operations) ## 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 `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there *No doc changes needed (parameter wasn't referenced in any docs)*
ooctipus
pushed a commit
that referenced
this pull request
Sep 12, 2026
…dential (isaac-sim#7741) # Description A job that pulls a public `nvcr.io/nvidia/*` base image fails with `denied: Access Denied`. The runners carry an ambient docker credential for a private NGC organization, and nvcr.io refuses that credential a pull token for a public repository instead of downgrading the request to anonymous. `_lib/setup-docker-config` now takes an optional `base-image-ref`: when the configured credentials are denied that image and anonymous access can read it, the stored nvcr.io credential is dropped from the job's temp config so the pull proceeds anonymously. `_lib/compute-deps-hash` stops swallowing an unreadable base image manifest, which silently dropped the digest from the dependency-cache key. | Before | After | | ------ | ----- | | `load metadata for nvcr.io/nvidia/isaac-sim:6.1.0` fails with `failed to fetch oauth token: denied: Access Denied`, and an unreadable manifest degrades the deps-cache key to a bare tag string with only a `🟠` note | The credential is dropped for nvcr.io only when it is provably the obstacle, the pull proceeds anonymously, and an unreadable manifest fails with a named `::error::` | ## Reproduction 1. Point `.github/workflows/config.yaml` at a public base image: `isaacsim_image_name: nvcr.io/nvidia/isaac-sim` and `isaacsim_image_tag: 6.1.0`. 2. Open a pull request from a fork, so no `NGC_API_KEY` is available and the runner's ambient credential is the only one present. 3. Observe any job that builds the base image, for example `Docker Dependency Licenses Check`: ``` #3 [auth] nvidia/isaac-sim:pull token for nvcr.io #4 [internal] load metadata for nvcr.io/nvidia/isaac-sim:6.1.0 #4 ERROR: failed to authorize: failed to fetch oauth token: denied: Access Denied ERROR: failed to build: failed to solve: failed to fetch oauth token: denied: Access Denied ``` 4. The same step also logs `🔵 Base image ID: nvcr.io/nvidia/isaac-sim:6.1.0` with no `sha256:` suffix, which is the silent digest fallback in `compute-deps-hash`. ## Scope Every workflow on this branch pins the private `nvcr.io/0947644777160149/internal/isaac-sim` image today, where the configured credentials succeed and the fallback stays dormant. This change is the prerequisite that lets a public base image be configured without the failure above; it does not change which image any workflow uses. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Not applicable; this changes CI action behavior only. ## Validation The fallback only narrows credentials, never widens them, so each guard was exercised against a stubbed `docker` and a realistic three-registry config (nvcr.io, ECR, Docker Hub): - Public nvcr.io image, credentials denied, anonymous readable: the nvcr.io entry is dropped and the ECR and Docker Hub entries survive, so pushes keep working. - `ubuntu:24.04`, which `kitless-docker.yml` passes: the ref is not an nvcr.io image, so the config is left untouched and the Docker Hub credential keeps its pull-rate budget. - Private internal image readable with credentials: no probe fallback, no change. - Registry 503 rather than an authorization refusal: retried, then a warning, and the credential is kept, so a transient error cannot cost a working credential. - A docker config this action did not create: left unchanged, so a runner-level `DOCKER_CONFIG` is never edited. - `NVCR.IO/...` and `nvcr.io:443/...` resolve to the same registry as `nvcr.io/...`; `nvcr.io.evil.com/...` does not match. - `compute-deps-hash`: a digest-pinned tag such as `latest-develop@sha256:...` is used directly with no network call, a malformed digest pin fails with a named error, an authorization refusal fails immediately, a transient failure is retried 5 times over about 50 seconds, and a warning on stderr during a successful read is no longer concatenated into the digest. - These are committed as `.github/actions/_lib/test_registry_credential_fallback.py` (14 tests, the co-located pattern of `run-package-tests/test_cleanup_docker_storage.py`) and registered in `tools-tests.yml` so they run in CI. - Mutation checks: removing the nvcr.io scope, the exact-digest check, the ownership guard, or the `credHelpers` handling each makes the corresponding test fail, so the suite exercises the intended behavior rather than only the happy path. - `python -m py_compile` on the new helper, `bash -n` on every `run:` block in the five changed files, YAML parse of each, and `codespell` clean. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` — not run; this change touches only `.github/`, validated with `bash -n`, `py_compile`, a YAML parse and `codespell`, and the repository's own `pre-commit` check on this branch - [x] I have made corresponding changes to the documentation — the action's `description` and the new input document the fallback - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [ ] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) — not applicable; no package is touched - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
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
Adding a scene data provider interface layer which shares simulation data from any physics backend to any renderer or visualizer.
Also, this change includes initial implementations for visualizers which use and test the interface layer.
Type of change
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there