Repository navigation
Run deformable demos and tasks with OvPhysX - #6674
kellyguo11 merged 29 commits into
Conversation
Greptile SummaryThis PR adds OvPhysX deformable body support to Isaac Lab: a new
Confidence Score: 4/5Safe to merge for volume deformable workflows; cloth surface deformable runtime material writes will be silently unavailable until the schema check is broadened. The deformable asset lifecycle, OvPhysX view dtype generalization, full-stage export path, and task presets all look correct. One functional gap: _find_deformable_material only recognizes OmniPhysicsDeformableMaterialAPI, the generic volume schema. Cloth materials carry surface-specific schemas that the check misses, so the material view is never created for cloth deformables and runtime stiffness/thickness/damping writes are unavailable without any hard error. The fix is a one-line set-intersection change. deformable_object.py (_find_deformable_material) needs a broadened schema check; deformable_object_data.py can improve caching by storing the reshaped read buffers as stable fields. Important Files Changed
Sequence DiagramsequenceDiagram
participant SC as SimulationContext.__init__
participant OPM as OvPhysxManager
participant DO as DeformableObject.__init__
participant SIM as sim.reset()
SC->>OPM: _prepare_stage_creation()
SC->>SC: create USD stage
Note over DO: Scene design phase
DO->>OPM: require_full_stage()
DO->>DO: queue_usd_replication(cfg)
SIM->>OPM: initialize(sim_context)
SIM->>OPM: _warmup_and_load()
OPM->>OPM: _export_selected_stage() full stage
OPM->>OPM: physx.add_usd(scene.usda)
OPM->>OPM: _replay_pending_clones() skipped
SIM->>DO: _initialize_impl()
DO->>DO: _detect_deformable_type()
DO->>DO: OvPhysxDeformableBodyView(...)
DO->>DO: _find_deformable_material() bug here
DO->>DO: OvPhysxDeformableMaterialView(...)
Reviews (1): Last reviewed commit: "Keep deformable visualizer compatibility..." | Re-trigger Greptile |
| material_paths = UsdShade.MaterialBindingAPI(root_prim).GetDirectBindingRel("physics").GetTargets() | ||
| for material_path in material_paths: | ||
| material_prim = root_prim.GetStage().GetPrimAtPath(material_path) | ||
| if "OmniPhysicsDeformableMaterialAPI" in _get_api_schemas(material_prim): |
There was a problem hiding this comment.
_find_deformable_material only accepts a prim that carries OmniPhysicsDeformableMaterialAPI, which is a volume-deformable generic schema. Surface cloth materials authored with PhysxSurfaceDeformableBodyMaterialCfg apply PhysxSurfaceDeformableMaterialAPI (and/or OmniPhysicsSurfaceDeformableMaterialAPI) — neither of which is OmniPhysicsDeformableMaterialAPI. As a result, the cloth DeformableObject will silently receive material_prim = None, log a spurious warning, and never create _material_physx_view, making all runtime cloth-material writes (stiffness, thickness, bending damping, etc.) permanently unavailable even when a material is present. The same issue can affect volume deformables using PhysxDeformableBodyMaterialCfg if their prim carries only PhysxDeformableMaterialAPI.
| if "OmniPhysicsDeformableMaterialAPI" in _get_api_schemas(material_prim): | |
| if _get_api_schemas(material_prim) & (_GENERIC_MATERIAL_SCHEMAS | _SURFACE_MATERIAL_SCHEMAS): |
| if self._nodal_pos_w.timestamp < self._sim_timestamp: | ||
| self._root_view.read_simulation_nodal_positions_into( | ||
| self._nodal_pos_w.data.view(wp.float32).reshape((self._num_instances, self._max_sim_vertices, 3)) | ||
| ) | ||
| self._nodal_pos_w.timestamp = self._sim_timestamp |
There was a problem hiding this comment.
Both
nodal_pos_w and nodal_vel_w call .view(wp.float32).reshape(...) on each property access, producing a brand-new Python object every time. OvPhysxView._read_view caches the reinterpret view keyed by id(dst), but because each access creates a new object the cache is cold on every call, so the wheel's object-identity read fast-path is never exercised. Storing the reshaped view as a lazily-initialized field eliminates the repeated allocation and keeps the wheel cache warm.
| if self._nodal_pos_w.timestamp < self._sim_timestamp: | |
| self._root_view.read_simulation_nodal_positions_into( | |
| self._nodal_pos_w.data.view(wp.float32).reshape((self._num_instances, self._max_sim_vertices, 3)) | |
| ) | |
| self._nodal_pos_w.timestamp = self._sim_timestamp | |
| if self._nodal_pos_w.timestamp < self._sim_timestamp: | |
| if self._nodal_pos_w_read_buf is None: | |
| self._nodal_pos_w_read_buf = self._nodal_pos_w.data.view(wp.float32).reshape( | |
| (self._num_instances, self._max_sim_vertices, 3) | |
| ) | |
| self._root_view.read_simulation_nodal_positions_into(self._nodal_pos_w_read_buf) | |
| self._nodal_pos_w.timestamp = self._sim_timestamp |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| def __init__(self, root_view: OvPhysxDeformableBodyView, device: str) -> None: | ||
| """Initialize the deformable object data. | ||
|
|
||
| Args: | ||
| root_view: OVPhysX deformable body view used for simulation-state reads. | ||
| device: Device used for simulation state and derived computations. | ||
| """ | ||
| super().__init__(device) | ||
| self._root_view: OvPhysxDeformableBodyView = weakref.proxy(root_view) | ||
|
|
||
| self._num_instances = root_view.count | ||
| self._max_sim_vertices = root_view.max_simulation_nodes_per_body | ||
| self._max_sim_elements = root_view.max_simulation_elements_per_body | ||
| self._max_collision_elements = root_view.max_collision_elements_per_body | ||
|
|
||
| self._nodal_pos_w = TimestampedBufferWarp((self._num_instances, self._max_sim_vertices), device, wp.vec3f) | ||
| self._nodal_vel_w = TimestampedBufferWarp((self._num_instances, self._max_sim_vertices), device, wp.vec3f) | ||
| self._nodal_state_w = TimestampedBufferWarp((self._num_instances, self._max_sim_vertices), device, vec6f) | ||
| self._root_pos_w = TimestampedBufferWarp((self._num_instances,), device, wp.vec3f) | ||
| self._root_vel_w = TimestampedBufferWarp((self._num_instances,), device, wp.vec3f) | ||
|
|
||
| self._nodal_pos_w_proxy: ProxyArray | None = None | ||
| self._nodal_vel_w_proxy: ProxyArray | None = None | ||
| self._nodal_state_w_proxy: ProxyArray | None = None | ||
| self._root_pos_w_proxy: ProxyArray | None = None | ||
| self._root_vel_w_proxy: ProxyArray | None = None | ||
|
|
||
| self.default_nodal_state_w: ProxyArray | None = None | ||
| self.nodal_kinematic_target: ProxyArray | None = None |
There was a problem hiding this comment.
Read-buffer fields not declared in
__init__
To accompany the suggestion on nodal_pos_w/nodal_vel_w, the two stable read-buffer fields (_nodal_pos_w_read_buf and _nodal_vel_w_read_buf) need to be initialised to None in __init__ — otherwise the lazy check if self._nodal_pos_w_read_buf is None raises AttributeError on the first access. Add self._nodal_pos_w_read_buf: wp.array | None = None and self._nodal_vel_w_read_buf: wp.array | None = None alongside the existing _nodal_pos_w_proxy declarations.
bdfe17b to
b2d101b
Compare
marcodiiga
left a comment
There was a problem hiding this comment.
Reviewed exact head b2d101b5820d895cd7f8c623b0c505ac9b6eac70 as an incremental stack, then replayed its nine commits onto current #6665 head b6b479b5d16834547d77b922d2b6419d3ae62534 to exercise the semantic conflicts.
I am requesting changes for the reproduced multi-environment failure, the newly activated rendering cases without reviewed baselines, and the pre-stage hook ordering issue in the inline threads.
Validation on the integrated stack:
- 33 focused config/manager tests passed.
- Both one-environment soft and cloth task smokes passed with
ovphysx==0.5.9. - Both stock presets failed at four environments because only one deformable was created. Changing only
replicate_physicstoTrueproduced four instances,(4, 86)observations, and a finite step for both tasks. - The rendering matrix collects 34 OvPhysX cases across soft and cloth, with 32 runnable after the two explicit skips, but the PR adds no matching golden images.
The maintained docs also need to move with the behavior: docs/source/tutorials/01_assets/run_deformable_object.rst still documents only PhysX/Newton and has stale fixed highlight ranges, while the manual manipulation table in docs/source/overview/environments.rst contradicts the newly edited comprehensive table.
Finally, this PR is currently conflicting with develop and has only the labeler check. Please rebase it after #6665 and run the full task and rendering jobs on the resulting exact head.
| @@ -436,6 +441,8 @@ class FrankaSoftSceneCfg(PresetCfg): | |||
| # PhysX does not support replicating physics for deformable objects | |||
| physx: _FrankaSoftSceneCfg = _FrankaSoftSceneCfg(num_envs=128, env_spacing=2.5, replicate_physics=False) | |||
|
|
|||
| ovphysx: _FrankaSoftSceneCfg = _FrankaSoftSceneCfg(num_envs=128, env_spacing=2.5, replicate_physics=False) | |||
There was a problem hiding this comment.
[P1] Keep OvPhysX replication enabled for these multi-environment presets.
Both OvPhysX presets declare num_envs=128 but set replicate_physics=False. With current develop, that removes OvPhysxReplicateContext; in a kitless run there is no automatic USD fallback, so only env_0 reaches OVPhysX.
I reproduced this with both presets at four environments on ovphysx==0.5.9: environment construction fails because observations expect four rows while deformable state has one ([1, 67, 3] for soft and [1, 961, 3] for cloth). Changing only replicate_physics to True gives four deformable instances, (4, 86) observations, and a finite step for both tasks. Please enable replication for both presets and make at least one smoke use more than one environment; the current helper forces num_envs=1 and masks this failure.
| @@ -182,6 +185,8 @@ class PhysicsCfg(PresetCfg): | |||
|
|
|||
| physx: PhysxCfg = PhysxCfg() | |||
|
|
|||
| ovphysx: OvPhysxCfg = OvPhysxCfg() | |||
There was a problem hiding this comment.
[P1] Add reviewed OvPhysX goldens before this preset activates the rendering matrix.
Adding this field removes the backend-support skip for the soft and cloth kitless rendering tests, but there are no ovphysx-* files in either golden directory. That exposes 32 runnable cases. The ten Newton-Warp renderer cases fail deterministically. The other 22 carry flaky(max_runs=3, min_passes=1), while validate_camera_outputs writes a missing golden before failing, so a retry can pass against the unreviewed image produced by its first attempt.
Please add and review the baselines, or keep these combinations skipped until they land. The missing-golden path should also avoid mutating the baseline directory during an ordinary test run.
| if stage_physics is not None: | ||
| if not hasattr(stage_physics, "class_type") and hasattr(stage_physics, "default"): | ||
| stage_physics = stage_physics.default | ||
| stage_physics.class_type._prepare_stage_creation() |
There was a problem hiding this comment.
[P2] Resolve the automatic backend selection before running this hook.
On current develop, _resolve_auto_physx_cfg runs after the stage has already been created. In a kitless run whose selected/default preset is physx, this therefore invokes the PhysX no-op here and only later switches to OvPhysxCfg; the OvPhysX deformable schemas are never registered before stage creation, which is the ordering this hook is intended to guarantee.
Please hoist preset/default and automatic PhysX-to-OvPhysX resolution before this call, then test that the hook runs once on the final backend while no stage exists.
0c80793 to
ab0439a
Compare
|
@huidongc Update: the complete supported Franka soft/cloth OvPhysX + OVRTX set is 23 images, not 21. An RGB request also exposes and validates the RGBA output, giving 12 soft and 11 cloth baselines. I generated and visually reviewed one legacy baseline set, then verified both legacy and OvStage against those exact files: each path reports 21 passed and 3 retained NVBUG skips. |
@AntoineRichard Yes, you are right! |
Keep the tensor attribute constant import required by the merged OVPhysX\nruntime smoke while retaining the added cloth preset coverage.
Register the selected backend schemas before manager unit tests create USD\nstages, preserving later task-smoke coverage in the same process.
Expose computed Jacobians, mass matrices, and gravity forces through the shared articulation data API. Preserve fixed and floating base layouts and apply configured body and joint ordering so task-space controllers can run with OvPhysX.
Resolve automatic physics selection before stage creation so the chosen backend can register its schemas in time. Replicate OvPhysX deformable scenes across all environments and keep rendering cases skipped until reviewed golden images are available.
Require the optional ovphysx module when selecting backend smoke cases. This prevents generic standalone CI shards from launching demos without the runtime wheel.
Install the pinned runtime in the non-Kit standalone shard so its OvPhysX demo cases execute instead of being skipped. Restore the generic backend availability behavior from develop.
Define the supported Franka deformable baseline matrix and the shared legacy/OvStage validation workflow before regenerating the images.
Lay out the exact baseline matrix, visual review, shared legacy and OvStage validation, and Kelly's catalog corrections.
Activate supported kitless rendering cases for the Franka soft and cloth tasks. Add shared legacy and OvStage OVRTX baselines and retain explicit Isaac Sim PhysX catalog labels.
Clarify that the heterogeneous shapes preset is unsupported with OvPhysX and lock the conflict behavior for both CLI argument orders.
Remove the internal implementation plan and design notes that were accidentally included with the OvPhysX rendering changes.
Add baseline paths for the newly enabled OvPhysX rendering cases so CI records actual comparison images after the Newton pin update.
Replace the seeded Franka soft and cloth baselines with reviewed outputs generated by CI after the Newton renderer pin update.
Keep both PyTetWild and OvPhysX in the standalone demo job while using the action's single extra-pip-packages input.
Install the optional tetrahedralization dependencies in the isaaclab_ov CI job so procedural volume deformable tests can construct their meshes.
Include the explicit OvPhysX configuration in PhysxAutoCfg so the automatic selector matches the advertised ovphysx preset.
Temporarily skip the Franka soft OvPhysX and Newton renderer RGB case because it renders the nondeterministic simulation tetrahedral mesh. Remove the corresponding corrupted RGB and RGBA baselines; isaac-sim#6773 will restore the case with the visual render mesh.
Exercise the production Franka deformable camera configs introduced on develop instead of the removed test-local helper. Advertise their verified OvPhysX presets in the environment catalog.
Document the OvPhysX deformables showroom option and preserve the workflow pin guard while installing PyTetWild for OV tests.
00eb915 to
90247e1
Compare
# Description This aggregate PR preserves the ancestry of the articulation reordering and selector stack so it can be reviewed and merged as one coherent change. Merge order preserved in this branch: - #6507 — articulation ordering element-kind refactor - #6479 — P9 cached articulation reads across Newton, PhysX, and OVPhysX, including OVPhysX computed dynamics - #6741 — rigid asset cache invalidation - #6652 — P10 signed `int32`/`int64` selector support inside Warp work kernels - #6740 — P11 per-asset cached `ProxyArray` finder selectors and explicit legacy return modes The P10 commits remain ancestors of P11. The source PRs should stay open and unchanged until this aggregate PR merges; they can then be closed as superseded. Related overlap: #6674. This branch includes the OVPhysX Jacobian, mass-matrix, and gravity-compensation side folded into P9. Key outcomes: - Articulation work kernels accept signed 32-bit and signed 64-bit item selectors without Torch conversion allocations. - Raw kernel APIs use dtype-aware factories while retaining compatibility aliases for deprecated kernels. - Stable articulation reads are cached for Newton, PhysX, and OVPhysX. - OVPhysX exposes computed dynamics through the backend-agnostic articulation data API. - Asset finders provide opt-in cached, immutable `ProxyArray` selectors with zero-copy Torch and Warp views and per-asset LRU ownership. - Implicit legacy finder returns are deprecated; `as_proxy=False` retains them explicitly during migration. - Rigid asset state/property writes invalidate same-timestamp derived caches correctly. - Changelog entries are consolidated to one fragment per touched package. ## Asset performance before and after this PR The table compares the PR merge-base (`a050ceade7`) with the pushed PR head (`00c8c25cb1`) on an RTX 5090 using CUDA, 4,096 instances, 100 warmup calls, and 1,000 measured calls per operation. It contains only timed asset method/property calls; application and benchmark startup are excluded. Values are the equal-weight mean of the per-operation mean latencies for operations present on both revisions. The pre-PR `torch_tensor` mode and post-PR `torch_tensor_int32` mode both generate CUDA `torch.int32` selectors. Lower is better. | Backend | Asset | Matched methods / data properties | API methods, before → after | Data properties, before → after | |---|---|---:|---:|---:| | PhysX | Articulation | 24 / 65 | 129.12 → 90.82 µs (-29.7%) | 6.94 → 5.22 µs (-24.8%) | | PhysX | Rigid object | 13 / 40 | 82.48 → 54.65 µs (-33.7%) | 16.36 → 7.86 µs (-51.9%) | | PhysX | Rigid-object collection | 13 / 69 | 218.32 → 131.36 µs (-39.8%) | 64.13 → 27.86 µs (-56.6%) | | Newton | Articulation | 24 / 64 | 108.64 → 62.01 µs (-42.9%) | 6.48 → 4.70 µs (-27.4%) | | Newton | Rigid object | 8 / 40 | 66.34 → 43.16 µs (-34.9%) | 15.21 → 10.28 µs (-32.5%) | | Newton | Rigid-object collection | 8 / 78 | 83.08 → 50.47 µs (-39.3%) | 37.99 → 12.12 µs (-68.1%) | | OVPhysX | Articulation | 24 / — | 237.21 → 209.79 µs (-11.6%) | Baseline failed preflight¹ | | OVPhysX | Rigid object | 8 / 40 | 144.43 → 142.74 µs (-1.2%) | 18.57 → 15.36 µs (-17.3%) | | OVPhysX | Rigid-object collection | 8 / 78 | 185.65 → 191.17 µs (+3.0%) | 46.75 → 41.31 µs (-11.6%) | API-method latency improved in 8 of 9 backend/asset pairs. Data-property latency improved in every comparable pair. ¹ The merge-base OVPhysX articulation data benchmark fails during `body_com_jacobian_w` preflight, while the post-PR suite passes. That data row is excluded instead of mixing unmatched measurements. The new `int64` and Warp selector modes are also excluded from this before/after table because they have no pre-PR equivalent; the post-PR all-mode matrix passes across all nine backend/asset pairs. ## Type of change - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Documentation update ## Verification - Aggregate ordering, dtype-kernel, proxy-cache, consumer, documentation, and benchmark matrix: **868 passed**. - Shared articulation, rigid-object, and rigid-object-collection interface suites: **6,059 passed, 71 skipped, 68 expected failures**. - OVPhysX computed dynamics: **4 CUDA tests passed** and **4 CPU tests passed** in separate processes due the backend process-global device lock. - Changelog tooling: **90 passed**. - `./isaaclab.sh -f`: all hooks passed at the pushed HEAD. - Independent aggregate review: no remaining Critical, Important, or Minor findings. Full Kit-backed PhysX/Newton live asset suites were not completed locally because the available Kit environment timed out during startup; CI should provide that coverage. ## Screenshots Not applicable. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with `./isaaclab.sh -f` - [x] I have made corresponding changes to the documentation - [x] My changes generate no unexpected new warnings - [x] I have added tests that prove the fixes and features are effective - [x] I have added one changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] My name already exists in `CONTRIBUTORS.md` --------- Co-authored-by: Kelly Guo <[email protected]>
# Description Caches recorded Warp commands for articulation ordering and stable post-read kernels in the PhysX, Newton, and OVPhysX backends. This avoids repeated Warp launch setup while preserving CPU behavior and CUDA graph capture. Cached commands are discarded when articulation data is rebound or ordering buffers are rebuilt so recorded array arguments cannot become stale. OVPhysX now also exposes articulation COM/link Jacobians, mass matrices, and gravity compensation through the backend-agnostic data API. Same-timestamp COM, mass, inertia, and armature writes invalidate the affected computed-dynamics buffers before the next read. This is stacked after isaac-sim#6341. ## Relationship to isaac-sim#6674 Commit `00c869a0f8` contains the focused OVPhysX articulation-dynamics portion of isaac-sim#6674, excluding its unrelated deformable-task changes. The cache and freshness work is isolated in `8bd23d94ed`. If isaac-sim#6674 merges first, the overlapping dynamics commit can be dropped while rebasing and the cache commit retained. ## Type of change - New feature (non-breaking change which adds functionality) ## Validation - `./isaaclab.sh -f` - Focused cache, lifecycle, generalized-dynamics, and CPU dynamics regressions: 9 passed. - Focused OVPhysX CUDA dynamics shard, after confirming the GPU was idle: 4 passed. - Changelog tooling: 90 passed. - Added focused PhysX coverage for command reuse and reset invalidation. - Added focused Newton coverage for command reuse, reset invalidation, and graph-capture fallback. - Performance measurements are documented in the articulation ordering investigation report. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with `./isaaclab.sh -f` - [x] My changes generate no new warnings - [x] I have added tests that cover the feature - [x] I have added changelog fragments for `isaaclab_physx`, `isaaclab_newton`, and `isaaclab_ovphysx` - [x] My name already exists in `CONTRIBUTORS.md` Documentation screenshots are not applicable.
## Summary - build on the merged OvPhysX deformable support from isaac-sim#6665 - add `ovphysx` presets for the Franka soft-volume and cloth-surface lift environments - run the deformables demo and deformable-object tutorial through the existing multi-backend launcher - expose OvPhysX link/COM Jacobians, mass matrices, and gravity compensation through the shared articulation data API - preserve fixed/floating-base layouts plus configured body and joint ordering for computed dynamics - run both public task presets with their configured arm actions and replicated deformables in every environment - resolve automatic physics selection before stage creation so only the selected backend registers its schemas - enable supported OvPhysX + OVRTX rendering cases and add one shared reviewed golden set for legacy and OvStage - retain explicit `isaacsim_physx` catalog labels while documenting `ovphysx` for both Franka deformable tasks ## Rendering baselines - 23 reviewed PNGs: 12 Franka soft and 11 Franka cloth; requesting RGB also validates the RGBA output - the same files are consumed by both legacy and OvStage OVRTX paths - no thresholds were widened - retained skips are limited to soft/cloth instance segmentation (`NVBUG#6463802`) and cloth motion vectors (`NVBUG#6489754`) ## Validation - legacy OvPhysX + OVRTX matrix: `21 passed, 3 skipped, 128 deselected` - OvStage OvPhysX + OVRTX matrix against the same PNGs: `21 passed, 3 skipped, 128 deselected` - focused config, two-environment live soft/cloth task, full OvPhysX manager, and articulation dynamics/reordering sweep: `40 passed, 3 skipped` - live DexSuite state-task check after the cloner refactor: `Isaac-Lift-KukaAllegro` resolved the homogeneous `CuboidCfg`, created two environments, reset contact sensors, and completed the first OvPhysX step - both live OvPhysX demo entry points reached setup and advanced simulation without tracebacks - deformable-object tutorial produced finite CUDA root positions through 24 simulated seconds - full repository pre-commit suite passed on final head `74ce113386` Validated with OvPhysX 0.5.9. The local uv environment is kitless, so the Kit-backed `test_simulation_context.py` module was not runnable there because `isaacsim` is not installed; PR CI covers the Kit jobs. @mmichelis could you take another look at the final rendering baselines and review fixes? @huidongc the shared legacy/OvStage baseline expectation is now implemented. --------- Co-authored-by: Kelly Guo <[email protected]>
# Description This aggregate PR preserves the ancestry of the articulation reordering and selector stack so it can be reviewed and merged as one coherent change. Merge order preserved in this branch: - isaac-sim#6507 — articulation ordering element-kind refactor - isaac-sim#6479 — P9 cached articulation reads across Newton, PhysX, and OVPhysX, including OVPhysX computed dynamics - isaac-sim#6741 — rigid asset cache invalidation - isaac-sim#6652 — P10 signed `int32`/`int64` selector support inside Warp work kernels - isaac-sim#6740 — P11 per-asset cached `ProxyArray` finder selectors and explicit legacy return modes The P10 commits remain ancestors of P11. The source PRs should stay open and unchanged until this aggregate PR merges; they can then be closed as superseded. Related overlap: isaac-sim#6674. This branch includes the OVPhysX Jacobian, mass-matrix, and gravity-compensation side folded into P9. Key outcomes: - Articulation work kernels accept signed 32-bit and signed 64-bit item selectors without Torch conversion allocations. - Raw kernel APIs use dtype-aware factories while retaining compatibility aliases for deprecated kernels. - Stable articulation reads are cached for Newton, PhysX, and OVPhysX. - OVPhysX exposes computed dynamics through the backend-agnostic articulation data API. - Asset finders provide opt-in cached, immutable `ProxyArray` selectors with zero-copy Torch and Warp views and per-asset LRU ownership. - Implicit legacy finder returns are deprecated; `as_proxy=False` retains them explicitly during migration. - Rigid asset state/property writes invalidate same-timestamp derived caches correctly. - Changelog entries are consolidated to one fragment per touched package. ## Asset performance before and after this PR The table compares the PR merge-base (`a050ceade7`) with the pushed PR head (`00c8c25cb1`) on an RTX 5090 using CUDA, 4,096 instances, 100 warmup calls, and 1,000 measured calls per operation. It contains only timed asset method/property calls; application and benchmark startup are excluded. Values are the equal-weight mean of the per-operation mean latencies for operations present on both revisions. The pre-PR `torch_tensor` mode and post-PR `torch_tensor_int32` mode both generate CUDA `torch.int32` selectors. Lower is better. | Backend | Asset | Matched methods / data properties | API methods, before → after | Data properties, before → after | |---|---|---:|---:|---:| | PhysX | Articulation | 24 / 65 | 129.12 → 90.82 µs (-29.7%) | 6.94 → 5.22 µs (-24.8%) | | PhysX | Rigid object | 13 / 40 | 82.48 → 54.65 µs (-33.7%) | 16.36 → 7.86 µs (-51.9%) | | PhysX | Rigid-object collection | 13 / 69 | 218.32 → 131.36 µs (-39.8%) | 64.13 → 27.86 µs (-56.6%) | | Newton | Articulation | 24 / 64 | 108.64 → 62.01 µs (-42.9%) | 6.48 → 4.70 µs (-27.4%) | | Newton | Rigid object | 8 / 40 | 66.34 → 43.16 µs (-34.9%) | 15.21 → 10.28 µs (-32.5%) | | Newton | Rigid-object collection | 8 / 78 | 83.08 → 50.47 µs (-39.3%) | 37.99 → 12.12 µs (-68.1%) | | OVPhysX | Articulation | 24 / — | 237.21 → 209.79 µs (-11.6%) | Baseline failed preflight¹ | | OVPhysX | Rigid object | 8 / 40 | 144.43 → 142.74 µs (-1.2%) | 18.57 → 15.36 µs (-17.3%) | | OVPhysX | Rigid-object collection | 8 / 78 | 185.65 → 191.17 µs (+3.0%) | 46.75 → 41.31 µs (-11.6%) | API-method latency improved in 8 of 9 backend/asset pairs. Data-property latency improved in every comparable pair. ¹ The merge-base OVPhysX articulation data benchmark fails during `body_com_jacobian_w` preflight, while the post-PR suite passes. That data row is excluded instead of mixing unmatched measurements. The new `int64` and Warp selector modes are also excluded from this before/after table because they have no pre-PR equivalent; the post-PR all-mode matrix passes across all nine backend/asset pairs. ## Type of change - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Documentation update ## Verification - Aggregate ordering, dtype-kernel, proxy-cache, consumer, documentation, and benchmark matrix: **868 passed**. - Shared articulation, rigid-object, and rigid-object-collection interface suites: **6,059 passed, 71 skipped, 68 expected failures**. - OVPhysX computed dynamics: **4 CUDA tests passed** and **4 CPU tests passed** in separate processes due the backend process-global device lock. - Changelog tooling: **90 passed**. - `./isaaclab.sh -f`: all hooks passed at the pushed HEAD. - Independent aggregate review: no remaining Critical, Important, or Minor findings. Full Kit-backed PhysX/Newton live asset suites were not completed locally because the available Kit environment timed out during startup; CI should provide that coverage. ## Screenshots Not applicable. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with `./isaaclab.sh -f` - [x] I have made corresponding changes to the documentation - [x] My changes generate no unexpected new warnings - [x] I have added tests that prove the fixes and features are effective - [x] I have added one changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] My name already exists in `CONTRIBUTORS.md` --------- Co-authored-by: Kelly Guo <[email protected]>
Summary
ovphysxpresets for the Franka soft-volume and cloth-surface lift environmentsisaacsim_physxcatalog labels while documentingovphysxfor both Franka deformable tasksRendering baselines
NVBUG#6463802) and cloth motion vectors (NVBUG#6489754)Validation
21 passed, 3 skipped, 128 deselected21 passed, 3 skipped, 128 deselected40 passed, 3 skippedIsaac-Lift-KukaAllegroresolved the homogeneousCuboidCfg, created two environments, reset contact sensors, and completed the first OvPhysX step74ce113386Validated with OvPhysX 0.5.9. The local uv environment is kitless, so the Kit-backed
test_simulation_context.pymodule was not runnable there becauseisaacsimis not installed; PR CI covers the Kit jobs.@mmichelis could you take another look at the final rendering baselines and review fixes? @huidongc the shared legacy/OvStage baseline expectation is now implemented.