Skip to content

[PR5B] Route deformable, particle, and cable geometry through SDP - #7995

Merged
ooctipus merged 11 commits into
isaac-sim:developfrom
ooctipus:refactor/pr5-plan-geometry
Sep 25, 2026
Merged

ooctipus merged 11 commits into
isaac-sim:developfrom
ooctipus:refactor/pr5-plan-geometry

Conversation

@ooctipus

@ooctipus ooctipus commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

PR5B follows merged #8005 and is rebased directly onto develop 0173b0436. This PR now contains only the geometry changes.

Complete SDP geometry transport for deformables, MPM particles and cables:

  • ClonePlan stays generic. Backend imports read declared prototypes and retain native geometry mappings; no geometry fields or point-cloud assets are added to the plan.
  • Physics publishes native pointers and exact visual-path ranges. SDP either borrows native point views or converts/interpolates directly into the requested destination, once per publication timestamp.
  • OVRTX no longer calls Newton for geometry. Shared Fabric rendering and foreign Newton rendering also consume SDP publications.
  • Fabric meshes stay on GPU. Kit's Points/Curves sink requires CPU Fabric writes; SDP owns the transfer. Removed per-frame USD attr.Set(), renderer-side host packing, duplicate remapping and obsolete internal point APIs.
  • PR5A removes implicit Newton construction, not native-only startup without a plan. PhysX/OVPhysX can initialize without geometry declarations; SDP geometry requests require an initialized declaration and distinguish it from an explicitly empty scene.

Relative to develop: production −1,708 LOC; tests −991 LOC; overall −2,602 LOC.

Performance

Pre-rebase matched warm sample per workload after cache priming, physical GPU 1 (RTX 5090), 128 environments, Newton MJWarp+VBD proxy physics, Newton renderer, no visualizer, seed 42. Baseline: PR5A efc70de0b (develop 1e520e9d5 plus lifecycle enforcement); candidate: e4b01c453. Both used the same harness and dependencies, with checkout imports verified. Startup includes imports through environment construction, excluding first step. Runtime excludes 20 warmup steps and measures 100 steps with GPU synchronization at window boundaries. Timings have not been rerun for this rebase.

Camera workload Startup PR5B / PR5A Step PR5B / PR5A Aggregate FPS PR5B / PR5A
Franka cloth lift 8.82 / 8.85 s 29.21 / 29.27 ms 4,382 / 4,373
Franka cable lift 7.44 / 7.46 s 19.73 / 19.95 ms 6,488 / 6,417

These samples are performance-neutral; no broad speedup is claimed. Image means and standard deviations matched for both workloads.

A focused 1,024-world × 1,024-vertex GPU measurement compares the former interpolation-then-scatter path with direct SDP-to-Fabric writes: 0.0294–0.0299 ms → 0.0217–0.0223 ms across two paired orders, with identical results. This is a geometry-kernel saving, not an end-to-end FPS claim.

Validation

  • Rebased onto develop 0173b0436, preserving upstream PhysX/OVPhysX test pruning. The conflict resolutions changed no production logic. Geometry cache naming now uses geometry_timestamp, with its relation to articulation and rigid-object buffer timestamps documented; cache behavior is unchanged.
  • Current focused validation: 32 SDP/Newton geometry checks passed (1 skipped), 42 OVPhysX checks passed, and 79 renderer checks passed. These groups ran in separate processes to respect schema-registration ordering. Formatting and changelog checks passed. No PR5A example or AGENTS.md changes remain; documentation builds stay in CI.
  • On the preceding stack revision: 116 focused CPU checks, 12 native Kit/PhysX lifecycle and publication checks, and all 10 GPU geometry checks passed. Formatting and changelog checks passed. Preserved upstream test consolidation and the global native-deformable import regression.
  • Fixed the native-Fabric request shared by 77 failing CI cases: the preceding transform request already updates the whole native stage, so rendering no longer requests geometry a second time or requires a dummy plan. The regression failed before the fix and passed afterward. 57 CPU contract checks and 36 Kit checks passed, covering cameras, environment render scheduling, XR feeds, all visuotactile tests, and foreign Newton geometry/cables. Included PR5A's stale documentation-snippet fix; full documentation validation remains in CI.
  • Earlier validation on the pre-rebase revision:
  • 176 focused CPU tests and four subtests passed; 10 CUDA/native cases were skipped in that CPU run.
  • All 10 geometry tests passed with GPU 1 enabled, including CPU↔GPU and native Fabric destinations, pointer ownership and version caching.
  • Native Fabric storage-reallocation regression failed before the fix and passed afterward. Pixel probes verified moving meshes, points and curves without modifying authored USD point values.
  • Formatting and changelog checks passed. Documentation builds are left to CI.

Checklist

  • Followed contribution guidelines and ran formatting checks
  • Updated documentation and package changelog fragments
  • Consolidated existing tests and removed obsolete coverage
  • Backport to the active release branch

@ooctipus
ooctipus requested a review from a team September 24, 2026 04:05
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Sep 24, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator Author

Benchmark reproducibility (kept outside the source changes): use the same script and dependencies in each worktree. Run once to prime caches, then once for the reported warm sample. When sharing a virtual environment, put all source-package directories from the selected worktree first on PYTHONPATH.

CUDA_VISIBLE_DEVICES=1 uv run --no-sync python /tmp/pr5_bench.py \
    --task Isaac-Lift-Cloth-Franka-Camera --num_envs 128 \
    --num_steps 100 --warmup_steps 20 --seed 42 \
    --visualizer none --device cuda:0 \
    physics=newton_mjwarp_vbd_proxy renderer=newton_renderer
# Repeat with --task Isaac-Lift-Cable-Franka-Camera.
Local timing harness: /tmp/pr5_bench.py
import time

start = time.perf_counter()
import argparse
import contextlib
import json
import sys

import gymnasium as gym
import torch
import warp as wp

from isaaclab.app import add_launcher_args, launch_simulation
from isaaclab.benchmark.stepping import run_runtime_loop, run_runtime_warmup
import isaaclab_tasks
from isaaclab_tasks.utils import resolve_task_config, setup_preset_cli

parser = argparse.ArgumentParser()
parser.add_argument("--task", required=True)
parser.add_argument("--num_envs", type=int, default=128)
parser.add_argument("--num_steps", type=int, default=100)
parser.add_argument("--warmup_steps", type=int, default=20)
parser.add_argument("--seed", type=int, default=42)
parser.add_argument("--ovphysx", action="store_true")
add_launcher_args(parser)
args, remaining = setup_preset_cli(parser)
sys.argv = [sys.argv[0], *remaining]
imports_done = time.perf_counter()
cfg, _ = resolve_task_config(args.task, None)
if args.ovphysx:
    from isaaclab_ov.physics import OvPhysxCfg
    cfg.sim.physics = OvPhysxCfg(gpu_found_lost_pairs_capacity=2**22)
config_done = time.perf_counter()
with launch_simulation(cfg, args):
    app_done = time.perf_counter()
    cfg.scene.num_envs = args.num_envs
    cfg.sim.device = args.device
    cfg.seed = args.seed
    env_start = time.perf_counter()
    with contextlib.closing(gym.make(args.task, cfg=cfg)) as env:
        wp.synchronize_device(cfg.sim.device)
        torch.cuda.synchronize(cfg.sim.device)
        env_done = time.perf_counter()
        warmup = run_runtime_warmup(env, args.warmup_steps)
        wp.synchronize_device(cfg.sim.device)
        torch.cuda.synchronize(cfg.sim.device)
        runtime_start = time.perf_counter()
        samples = run_runtime_loop(env, args.num_steps, reset=False)
        wp.synchronize_device(cfg.sim.device)
        torch.cuda.synchronize(cfg.sim.device)
        elapsed = time.perf_counter() - runtime_start
        images = {}
        for name, sensor in env.unwrapped.scene.sensors.items():
            if hasattr(sensor.data, "output"):
                for kind, value in sensor.data.output.items():
                    if kind in ("rgb", "rgba"):
                        values = value.float()
                        assert torch.isfinite(values).all()
                        images[name + ":" + kind] = {"mean": values.mean().item(), "std": values.std().item()}
        provider = env.unwrapped.sim.get_scene_data_provider()
        result = {
            "task": args.task, "num_envs": args.num_envs, "steps": args.num_steps,
            "warmup_steps": args.warmup_steps, "device": cfg.sim.device,
            "imports_s": imports_done-start, "config_s": config_done-imports_done,
            "app_s": app_done-config_done, "env_s": env_done-env_start,
            "startup_s": env_done-start, "first_step_s": warmup[0],
            "runtime_ms": elapsed/args.num_steps*1000,
            "fps": args.num_envs*args.num_steps/elapsed, "images": images,
            "geometry_count": len(provider.backend.geometry_paths), "point_count": provider.point_count,
        }
        print("PR5_RESULT " + json.dumps(result), flush=True)

@ooctipus

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 24, 2026
@greptile-apps

greptile-apps Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

The PR is not safe to merge until contributed Newton deformables with partial clone-plan coverage no longer fail during Fabric or OVRTX binding initialization.

Findings

  1. P1 Partial coverage breaks bindings ▶

Summary

This PR captures deformable, cable, and point-cloud geometry in the shared clone plan before backend replication, then uses the planned paths, counts, and native ordering for PhysX, OVPhysX, Newton/Fabric, and OVRTX synchronization.

  • Adds pre-dispatch prototype geometry compilation to ClonePlan.
  • Reworks deformable expansion and native scene-data bindings around exact planned paths.
  • Authors MPM render clouds before cloning and binds them to imported particle ranges.
  • Moves cable synchronization to plan-recorded topology.
  • Adds cross-backend regression coverage for custom namespaces, sparse IDs, partial masks, shared roots, and heterogeneous remaps.
  • One partial-coverage failure remains in contributed Newton deformable binding initialization.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Declared prototype assets] --> B[Spawn prototype USD geometry]
  B --> C[Compile geometry into ClonePlan]
  C --> D[Clone-plan dispatch]
  D --> E[PhysX exact deformable views]
  D --> F[OVPhysX native bindings]
  D --> G[Newton model and shadow geometry]
  D --> H[USD and OVRTX cloning]
  G --> I[Fabric cable/deformable/MPM sync]
  E --> J[SceneData points]
  F --> J
  J --> G
  G --> K[Newton and OVRTX rendering]
  H --> K
Loading

Reviews (1) · Last reviewed commit: "Use clone-plan geometry for native defor..."

counts.append(entity.vis_particle_count)
continue
instances = [item for path, item in planned.items() if re.fullmatch(entry.prim_path, path)]
for instance, offset in zip(instances, entry.particle_offsets, strict=True):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Partial coverage breaks bindings

When a contributed Newton deformable has partial environment coverage, instances contains only the destinations selected by its clone-mask row. However, the per-world builder hook still adds every registered deformable to every Newton world and records one particle_offset per world. This strict zip therefore raises during Fabric or OVRTX initialization whenever the asset is omitted from any environment, preventing that scene from starting. The builder hook must honor the plan mask, or the binding paths must correspond to every world for which an offset was recorded.

Knowledge Base Used:

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

The plan-owned geometry flow is coherent across clone dispatch, Newton shadow geometry, PhysX/OVPhysX publication, Fabric, OVRTX, and pre-clone MPM authoring. One compatibility regression remains: OVRTX camera initialization now requires isaaclab_newton even though that integration was previously optional.

  • Design and architecture: Capturing declared prototype geometry in ClonePlan before replication removes completed-stage rediscovery and environment-path guessing while preserving shared prototype arrays. The producer and consumer paths are consistently migrated across the affected backends.
  • API: The new ClonePlan geometry fields have backward-compatible defaults and are documented. However, OVRTX’s deformable setup paths removed the existing guarded import of the optional isaaclab_newton integration, changing camera initialization behavior for installations without that package.
  • Implementation: The native ordering checks, PhysX packing offsets, OVPhysX flat-buffer aliases, cable topology lookup, and MPM point-cloud binding paths are supported by focused tests. Restore the ImportError guard in both OVRTX deformable setup paths so rendering can continue without Newton deformable bindings when isaaclab_newton is unavailable.

Minor fixes needed. Posted 1 actionable finding inline.

Automated review; human maintainers own approval decisions.

)
def _setup_deformable_bindings_legacy(self) -> None:
"""Bind the visual meshes declared by the clone plan."""
from isaaclab_newton.physics import NewtonManager

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Api — OVRTX now hard-imports isaaclab_newton

Both deformable setup paths replaced the try/except ImportError around from isaaclab_newton.physics import NewtonManager with an unconditional import called during camera render-data initialization. Previously an installation without isaaclab_newton logged and skipped deformable bindings; now every OVRTX scene raises ImportError. The accompanying test module still treats isaaclab_newton as optional. Restore the guarded import and return early when it is unavailable.

@ooctipus

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 24, 2026
@ooctipus ooctipus changed the title Use ClonePlan for deformable, cable, and particle geometry Bind deformable, cable, and MPM geometry from declared prototypes Sep 24, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 24, 2026
@ooctipus ooctipus changed the title Bind deformable, cable, and MPM geometry from declared prototypes Route deformable, particle, and cable geometry through SDP Sep 24, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added the ci:run-docker Trigger the on-demand Docker and GPU CI workflow label Sep 24, 2026
@ooctipus
ooctipus force-pushed the refactor/pr5-plan-geometry branch from 60ae240 to ddf750e Compare September 25, 2026 06:14
@ooctipus

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 25, 2026
@ooctipus
ooctipus merged commit 8b94e78 into isaac-sim:develop Sep 25, 2026
53 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as d33c96a.

isaaclab-bot Bot pushed a commit that referenced this pull request Sep 25, 2026
)

## Summary

PR5B follows merged #8005 and is rebased directly onto develop
`0173b0436`. This PR now contains only the geometry changes.

Complete SDP geometry transport for deformables, MPM particles and
cables:

- `ClonePlan` stays generic. Backend imports read declared prototypes
and retain native geometry mappings; no geometry fields or point-cloud
assets are added to the plan.
- Physics publishes native pointers and exact visual-path ranges. SDP
either borrows native point views or converts/interpolates directly into
the requested destination, once per publication timestamp.
- OVRTX no longer calls Newton for geometry. Shared Fabric rendering and
foreign Newton rendering also consume SDP publications.
- Fabric meshes stay on GPU. Kit's Points/Curves sink requires CPU
Fabric writes; SDP owns the transfer. Removed per-frame USD
`attr.Set()`, renderer-side host packing, duplicate remapping and
obsolete internal point APIs.
- PR5A removes implicit Newton construction, not native-only startup
without a plan. PhysX/OVPhysX can initialize without geometry
declarations; SDP geometry requests require an initialized declaration
and distinguish it from an explicitly empty scene.

Relative to develop: **production −1,708 LOC; tests −991 LOC; overall
−2,602 LOC.**

## Performance

Pre-rebase matched warm sample per workload after cache priming,
physical GPU 1 (RTX 5090), 128 environments, Newton MJWarp+VBD proxy
physics, Newton renderer, no visualizer, seed 42. Baseline: PR5A
`efc70de0b` (develop `1e520e9d5` plus lifecycle enforcement); candidate:
`e4b01c453`. Both used the same harness and dependencies, with checkout
imports verified. Startup includes imports through environment
construction, excluding first step. Runtime excludes 20 warmup steps and
measures 100 steps with GPU synchronization at window boundaries.
Timings have not been rerun for this rebase.

| Camera workload | Startup PR5B / PR5A | Step PR5B / PR5A | Aggregate
FPS PR5B / PR5A |
|---|---:|---:|---:|
| Franka cloth lift | 8.82 / 8.85 s | 29.21 / 29.27 ms | 4,382 / 4,373 |
| Franka cable lift | 7.44 / 7.46 s | 19.73 / 19.95 ms | 6,488 / 6,417 |

These samples are performance-neutral; no broad speedup is claimed.
Image means and standard deviations matched for both workloads.

A focused 1,024-world × 1,024-vertex GPU measurement compares the former
interpolation-then-scatter path with direct SDP-to-Fabric writes:
**0.0294–0.0299 ms → 0.0217–0.0223 ms** across two paired orders, with
identical results. This is a geometry-kernel saving, not an end-to-end
FPS claim.

## Validation

- Rebased onto develop `0173b0436`, preserving upstream PhysX/OVPhysX
test pruning. The conflict resolutions changed no production logic.
Geometry cache naming now uses `geometry_timestamp`, with its relation
to articulation and rigid-object buffer timestamps documented; cache
behavior is unchanged.
- Current focused validation: 32 SDP/Newton geometry checks passed (1
skipped), 42 OVPhysX checks passed, and 79 renderer checks passed. These
groups ran in separate processes to respect schema-registration
ordering. Formatting and changelog checks passed. No PR5A example or
`AGENTS.md` changes remain; documentation builds stay in CI.
- On the preceding stack revision: 116 focused CPU checks, 12 native
Kit/PhysX lifecycle and publication checks, and all 10 GPU geometry
checks passed. Formatting and changelog checks passed. Preserved
upstream test consolidation and the global native-deformable import
regression.
- Fixed the native-Fabric request shared by 77 failing CI cases: the
preceding transform request already updates the whole native stage, so
rendering no longer requests geometry a second time or requires a dummy
plan. The regression failed before the fix and passed afterward. 57 CPU
contract checks and 36 Kit checks passed, covering cameras, environment
render scheduling, XR feeds, all visuotactile tests, and foreign Newton
geometry/cables. Included PR5A's stale documentation-snippet fix; full
documentation validation remains in CI.
- Earlier validation on the pre-rebase revision:
- 176 focused CPU tests and four subtests passed; 10 CUDA/native cases
were skipped in that CPU run.
- All 10 geometry tests passed with GPU 1 enabled, including CPU↔GPU and
native Fabric destinations, pointer ownership and version caching.
- Native Fabric storage-reallocation regression failed before the fix
and passed afterward. Pixel probes verified moving meshes, points and
curves without modifying authored USD point values.
- Formatting and changelog checks passed. Documentation builds are left
to CI.

## Checklist

- [x] Followed contribution guidelines and ran formatting checks
- [x] Updated documentation and package changelog fragments
- [x] Consolidated existing tests and removed obsolete coverage
- [x] <!-- backport-active-release --> Backport to the active release
branch

(cherry picked from commit 8b94e78)
@ooctipus ooctipus self-assigned this Sep 25, 2026
@ooctipus ooctipus added this to the Isaac Lab 3.0 GA milestone Sep 25, 2026
ooctipus added a commit that referenced this pull request Sep 25, 2026
# Core (`isaaclab`) test job: 32:18 → 22:40 (−30%)

The core job (`pytest tools`, excluding `isaaclab_*` packages, as the
three core CI shards run it) ran on the same machine with a warm Warp
cache, once on `develop` and once on this PR.
- **Timing fix.** In the worktree the two benchmark smoke files launched
the system Python and failed fast. The pruned time is corrected with
their 2:00 baseline duration; they are unchanged by this PR.
- **Shared failures.** Six files fail on both sides only because of
local tools and environment: video conversion, `nsys`, device
constructors and visualizer markers.
- **Fixed here.** The four asset interface files that fail on `develop`
fail because of an OVPhysX fixture bug, which this PR fixes.

| | `develop` | this PR |
|---|---:|---:|
| Core job wall time | 32:18 | **22:40** |
| Test files | 312 | 289 |
| Test functions | 3,069 | 2,229 |
| Test lines | 97,369 | 81,275 |

Changes outside test files:
- `tools/test_settings.py` drops `TESTS_TO_SKIP` entries for five
deleted files.
- `docs/source/refs/contributing.rst` pointed at the deleted
`deps/test_torch.py`; it now points at `utils/test_circular_buffer.py`.

## What changed
Pruned with the `isaaclab-auditing-tests` skill (#8007), campaign mode.
The work ran in seven lanes:
- sim
- assets
- sensors
- envs / managers / controllers / actuators
- scene / cloner / renderers / markers
- utils
- CLI / app / benchmarks

**Method.** Every test was marked keep, fix, merge or delete. Whenever a
deletion's keeper does not carry the assertions verbatim, a deliberate
production mutation proves the keeper fails. An independent review per
lane restored every gap it found, each mutation-proven:
- OSC variable-impedance masking
- render interval in all three workflows
- per-backend deprecated friction writer
- CPU segmentation
- ray-caster mesh cache
- rendering-kit defaults
- non-default `dt`
- schema API application
- joint drive type
- file-log level
- global torque reset
- terrain origins

- **Largest cuts:**
- asset interface tests: mocked cases ~6,400 → ~1,050; about 114 getter
tests became 4 table tests, with rows diffed mechanically
  - 10 OSC convergence sims, covered by the repaired unit-law test
  - manager tests moved off Kit
  - actuator and rendering cartesian products
  - SimulationContext 52 → 30 tests
- **Tests that could not fail, now fixed:**
  - partial writes with a non-trivial joint/body ordering
  - alias equality compared by shape only
  - writer read-backs
  - schema validators that inspected only children
  - `test_reset` lifecycle checks
  - a camera test that compared a shared cache with itself
- **Multi-GPU lane:** tests now use `DeviceScope.DEFAULT_CUDA` or
`CPU_AND_DEFAULT_CUDA`, so no file enters the multi-GPU job unless it
boots Kit with `resolve_test_sim_device()`.

Merged with #7995. Its new renderer source-scan test was not carried
over: the behavior it guards, SDP writing geometry into Fabric, is
covered by `test_scene_data_geometry.py`.

## Product defects found (not fixed here)
- When physics handles decimation, the render check only fires on exact
multiples. For example, `render_interval=10` with `decimation=4` renders
at half rate. This affects all four env classes.
- PhysX-Fabric FrameView: after a USD parent move, whichever of the
world/local reads comes second is stale.
- The MJCF physics scene is written to payload layers, not under the
default prim.
- PhysX fixed-tendon position limits are `(N, T, 2)`, which contradicts
the docstring and OVPhysX.
- EventManager does not register class terms when created while the sim
is already playing.
- `FrameTransformer.__str__` swaps the frame count and names.
- RigidObjectCollection `set_coms_index` raises KeyError on PhysX.

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## 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`
- [x] My changes generate no new warnings
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: Octi Zhang <[email protected]>
ooctipus pushed a commit that referenced this pull request Sep 28, 2026
# Description

`scripts/benchmarks/nsys_trace.json` referenced six `OVRTXRenderer`
methods that were renamed or consolidated away, so `test_nsys_trace.py`
failed to resolve them. The test skips when `isaaclab_ov` is not
importable, which is why this only surfaces on PRs that install the `ov`
extra — for example #7137, where it fails the required `isaaclab (core)
[1/3]` check.

Each rename was verified against the commit that made it:

| Removed | Replaced by | Commit |
|---|---|---|
| `_clone_sources_in_ovrtx`, `_clone_sources_ovstage` | `_clone_sources`
| #8045 |
| `_update_scene_partitions_after_clone_ovstage` |
`_update_scene_partitions_after_clone` (already listed) | #8045 |
| `_setup_xform_bindings` | `_setup_xform_bindings_legacy`,
`_setup_xform_bindings_ovstage` | #6602 |
| `_setup_deformable_bindings`, `_setup_particle_bindings` |
`_setup_geometry_bindings_legacy`, `_setup_geometry_bindings_ovstage` |
#7995 |

Both the `legacy` and `ovstage` variants are listed because
`ISAAC_LAB_OVRTX_USE_OVSTAGE` selects the path at runtime, so the config
has to resolve under either setting.

Net 17 traced functions to 16. No code or behaviour change — this only
brings the NVTX trace definitions back in line with the functions that
exist.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## 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`
- [x] 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 added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

Notes on the checklist: no changelog fragment is required —
`tools/changelog/cli.py` scopes to `source/`, and this change is under
`scripts/`. No new test is added because `test_nsys_trace.py` already
covers this exactly; it is the test that currently fails and will pass
with this change. No documentation change is needed as no public API or
behaviour changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants