Repository navigation
Update Newton and preserve runtime compatibility - #8381
Conversation
|
run-ci |
|
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: API (1), Compatibility and deprecation (1), Style consistency (1). Other reviewed categories look good.
- PR description: Title and body match the 22-file runtime-compatibility diff; replace grouped validation counts with exact commands and the tested revision, while no performance evidence is needed because no performance claim is made.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: Document resave_checkpoint_with_metadata’s required model_type and input_idx metadata and .pt2 output so callers do not encounter unexplained KeyError failures.
- Compatibility and deprecation: Breaking changes: published wheel metadata now requires a GitHub VCS checkout, blocking PyPI publication and gitless installs; use a published Newton release or exclude the direct reference from wheel metadata.
- Implementation: Implementation looks good.
- Style consistency: LightArticulationView’s docstring and adjacent comment omit the new actuator mapping cache, obscuring a required borrowed-method dependency; document the cache.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 3 inline findings.
Automated review; human maintainers own approval decisions.
| # Pin the Newton release used by both workspace and wheel installs. | ||
| "newton[sim]==1.6.1", | ||
| # Pin borrowed-stage ViewerRTX until it is included in a Newton release. | ||
| "newton[sim] @ git+https://github.com/newton-physics/newton.git@5ea82eef6f7911388025a8df6ccdb172e2fed286", |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Git VCS pin in published metadata
A direct git+ requirement in [project.dependencies] ships in wheel metadata: PyPI rejects direct references and installs then need git plus GitHub access. Confirm the wheel path, or pin a published Newton release.
| self.count_per_world = 1 | ||
| self.device = device | ||
| self.full_mask = wp.ones(num_envs, dtype=wp.bool, device=device) | ||
| self._actuator_dof_mapping_cache = {} |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Docstring contradicts added mapping cache
The class docstring and the adjacent comment state the borrowed implementations consume only the placement attributes listed; they now also read and populate _actuator_dof_mapping_cache. Update both to describe the cache.
| merged = {**existing_meta, **metadata} | ||
|
|
||
| with tempfile.NamedTemporaryFile(suffix=".pt", delete=False) as tmp: | ||
| batch = torch.export.Dim("batch") |
There was a problem hiding this comment.
🟡 Warning · Api — Checkpoint export contract narrowed silently
The helper now raises KeyError unless metadata supplies model_type (and input_idx for the non-LSTM branch), and returns .pt2 rather than a TorchScript archive. Document the required keys and the changed output for existing callers.
|
run-ci |
Newton isaac-sim#4177 imports authored normals and preserves sharp USD mesh shading. Refresh the four affected Newton-rendered ANYmal references; keep the existing pixel and SSIM tolerances.
|
run-ci |
AntoineRichard
left a comment
There was a problem hiding this comment.
I went through the rigid object changes and the reset lifecycle. The rigid_object_data.py changes look correct to me, but the fix stops halfway: RigidObjectCollection has the same problem and should hit the same ReferenceError after this bump.
rigid_object_data.py: OK
- Dropping
_read_launch_cache.clear()from_create_simulation_bindingsis fine. Each data instance gets a fresh cache, and the base_create_buffers()clears it anyway (base_rigid_object_data.py:668). - Dropping
self._num_instances = ...from_create_buffersis fine because__init__always calls_create_simulation_bindings()first. That ordering is now implicit, though. - Folding
_pin_proxy_arrays()into_create_buffers()also fixes a latent bug. On the old rebind path, a fixed-base body re-pinnedProxyArray(None), because the zero-velocity fallback only lives in_create_buffers.
The lifecycle argument holds: reset(soft=False) dispatches STOP → _invalidate_initialize_callback sets _root_view = None → PHYSICS_READY (order 10) builds a new view and RigidObjectData.
RigidObjectCollection: same bug, not fixed
rigid_object_collection.py:1228 registers the same order-0 PHYSICS_READY rebind. RigidObjectCollectionData holds the view through weakref.proxy (rigid_object_collection_data.py:67), and _invalidate_initialize_callback sets _root_view = None (line 1353). Nothing else keeps that view alive, so after newton#4430 the rebind should touch a dead proxy on a hard reset, exactly like RigidObject did. The camera/raycast hard-reset test only uses a RigidObject, so it doesn't cover this.
Why Articulation doesn't crash (by accident)
articulation.py:3404 also stores its view in SimulationManager.views, and reset() never clears that dict. Only clear() (newton_manager.py:851) and the close path do. The old view therefore stays alive until _initialize_impl overwrites the key, so the order-0 rebind succeeds but only rebinds an ArticulationData that is about to be thrown away.
Related: Newton JointWrenchSensor initializes at the same order (10) and does NewtonManager.views.get(...) (joint_wrench_sensor.py:137). It only gets the new view because the articulation usually initializes first. If it ran first, it would reuse the view built on the old model.
Suggestion: apply one rule across all Newton assets
"Data binds once, in its constructor. A hard reset always rebuilds the view and the data."
- Remove the rebind callback and the
_clear_callbacksoverride fromRigidObjectCollection,Articulation,DeformableObject(:481) andMPMObject(:255). Each one registers a new handle in_initialize_impland only deregisters it at teardown, so they look like they accumulate one callback per hard reset. - Apply the same simplification to
ArticulationDataandRigidObjectCollectionData: remove the_read_launch_cache.clear()and thehasattr(... "_root_link_pose_w_ta")re-pin branches (including the joint-reorder launch inArticulationData). - Clear the Newton entries of
NewtonManager.viewsinreset(soft=False)right afterSTOP, sharing a helper withclear(). Articulations then rebuild like everything else, and the joint-wrench-sensor ordering stops mattering. - Add one test parametrized over all the Newton assets: two hard resets, assert
asset.datais a new object, write a state, step, read it back, and assert thePHYSICS_READYcallback count doesn't grow. On this branch I'd expect the collection case to fail.
The collection fix should be in this PR because the bump is what exposes it. The rest is mechanical, and the "Why the reset callback was removed" explanation already covers it. It's also worth a changelog line saying that asset.data references held across a hard reset now go stale.
|
run-ci |
|
run-ci |
|
run-ci |
|
run-ci |
| # RSL-RL is a core dependency (default training library) and also exposed as an extra. | ||
| core_pins = [dep for dep in generated_wheel_project["dependencies"] if dep.startswith("rsl-rl-lib==")] | ||
| assert core_pins == [expected_pin] | ||
| def test_wheel_builder_core_pins_match_root_pyproject(source_checkout_root: Path, generated_wheel_project: dict): |
There was a problem hiding this comment.
what is the point of this test, just checking the pins of two packages?
| self._default_root_state = None | ||
|
|
||
| # Pin all ProxyArray wrappers to current buffers. | ||
| self._default_root_pose_ta = ProxyArray(self._default_root_pose) |
There was a problem hiding this comment.
we need to drop this _ta suffix at some point!
# Description Newton RTX now uses native `ViewerRTX(ovstage=...)` with a simulation-owned scene stage instead of rebuilding viewer USD from the Newton model. Authored lighting, materials, and clone placements reach the viewer directly; Newton retains its window, perspective camera, and debug markers. OVStage and OVRTX share private copy batching that omits children already supplied by their parent. GL and RTX share camera selection and model-reset code. Contact rendering uses the sensor interface directly; selected PhysX environments retain the correct body-pose ordering. Marker inputs normalize directly to the simulation device, including host arrays and partial prototype-index updates. Window defaults merge per field without sharing mutable state. Newton and Kit use shared `WindowCfg(size=...)`; Newton windows use a wall-clock `fps` limit (30 by default) instead of skipping simulation frames. Scene-camera images stay on the GPU for display, and window resizing scales fixed-resolution images without resizing sensors. Backend construction stays inside the visualizer, using the simulation owner passed to `initialize(sim, cameras=...)`. This is **PR6Aiii**. Shared `ImageViewCfg`, window/recorder frame caching, and removal of duplicate CPU composition are split into **PR6Aiv (#8432)**. Follows merged #8103, #8319, and #8381; incorporates #8221 without #8232. **Migration:** Use Camera View instead of Open/Hide. Remove RTX `rtx_environment`, `world_spacing`, and GL model options; author lights and placement in the scene. Use GL for dragging and model overlays. Custom visualizers must adopt `initialize(sim, cameras=...)`. Move `window_width`/`window_height` to `window=WindowCfg(size=(width, height))`, replace Newton `update_frequency` with `window.fps`, and use `render_tiled_rgba_array()` for GPU images. Runtime material randomization is not yet propagated to the borrowed stage. ## Validation The review cleanup passed 121 tests on GPU0, including the full marker suite and native RTX motion/pause/marker integration; the two lighting cases below remain skipped. The extended existing tests reproduced the window aliasing, partial-default inheritance, and marker-device bugs before their fixes. The RTX media configuration now constructs successfully. Formatting/lint and changelog checks passed; full CI is being rerun. Startup to the first rendered image, in seconds: **baseline → combined implementation**, measured at preserved revision `00adda3a9` against `a3acc244d` before this split. These measurements include the shared-view follow-up and are not a new measurement of the isolated PR6Aiii branch. Every case includes the **Newton RTX viewer** at 640×480; RGB adds one 64×64 OVRTX sensor per environment. Timings include process launch, physics, scene, and viewer setup. | Task / physics | Sensor cameras | 1,024 environments | 4,096 environments | |---|---|---:|---:| | ANYmal rough / Newton MJWarp | None | 55.8 → **28.4** | 251.8 → **29.3** | | ANYmal rough / Newton MJWarp | RGB | 60.1 → **32.5** | 258.7 → **44.1** | | ANYmal rough / OVPhysX | None | 64.7 → **38.8** | 294.1 → **70.7** | | ANYmal rough / OVPhysX | RGB | 74.7 → **38.4** | 302.3 → **92.6** | | Kuka–Allegro lift / Newton MJWarp | None | 46.1 → **17.3** | RAM limit → **28.9** | | Kuka–Allegro lift / Newton MJWarp | RGB | 45.2 → **21.9** | RAM limit → **42.1** | | Kuka–Allegro lift / OVPhysX | None | 102.1 → **71.6** | RAM limit → **121.9** | | Kuka–Allegro lift / OVPhysX | RGB | 101.4 → **78.3** | RAM limit → **141.5** | Single runs with warmed caches and identical dependencies on an RTX 5090, GPU0 only. All 16 PR cases passed image validation and three rollout steps. Four 4,096-environment Kuka baselines exceeded available host RAM; these have no valid timing and need a repeat after memory is freed. The other 12 baselines passed. [Benchmark setup](#8303 (comment)). ## Temporary test skip and follow-up The two lighting/lifetime cases using an OVRTX sensor are temporarily skipped because the sensor and native viewer create separate OVRTX renderers; the second can stall when the first has loaded a scene but never rendered. The two Warp-sensor cases remain enabled and passed on GPU0 (2 passed, 2 skipped in 18 seconds). This skips affected coverage; it does not fix the runtime stall. Re-enable those cases after [Newton #4627](newton-physics/newton#4627) merges and Isaac Lab adopts its shared-renderer API. The test body and its ownership, lighting, and sensor-buffer assertions remain intact. The shared-renderer integration will also address stale deformable geometry, pose-offset inference on hard reset, and unnecessary perspective-scene construction for sensor-only windows. These are confirmed limitations of the current separate-stage path, not fixed by this cleanup. GL sensor navigation still reads input one frame late. Fixing that requires an input-update phase before image composition in Newton; the current code does not add a second input pump. ## Type of change - New feature - Breaking change - Bug fix - Documentation update ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] Read the contribution guidelines - [x] Ran formatting/lint and changelog checks - [x] Updated documentation and migration guidance - [x] Validated the split with existing focused tests - [x] Added package changelog fragments - [x] Contributor already listed - [x] Clean local documentation build - [ ] Pass GPU CI
* Update the cartpole OVRTX goldens for OVRTX 0.5.1 (isaac-sim#8443) # Description Updates the four cartpole OVRTX goldens (`cartpole/{newton,ovphysx}-ovrtx_renderer-{rgb,rgba}.png`) to the CI runner's OVRTX 0.5.1 renders. Since isaac-sim#8350, `rendering-correctness-kitless (legacy)` fails on them deterministically (about 1.95% different pixels against the 1.5% threshold; repeated runs are byte-identical). ## 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` ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request. - [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 - [x] 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 * Deprecate legacy deformable cfgs and add OvPhysX fragment support (isaac-sim#8348) # Description Deformable fragment slots now create bodies on OvPhysX. PhysX and OvPhysX use the same OmniPhysics USD authoring for the simulation API, rest state, and bind pose. The legacy deformable cfgs and `define_deformable_body_properties` / `modify_deformable_body_properties` remain functional but warn in 3.1 ahead of removal in 3.2. The affected tutorials, example, and fragment-path tests use the slots. An empty slot creates a body with backend defaults; fragments are needed only for properties being set. The Franka soft and cloth presets retain `deformable_props` during the deprecation period so downstream overrides keep working. The spawner continues to reject configurations that set more than one deformable slot. The legacy OmniPhysics writer and both PhysX managers share one authoring function. No new precedence or adapter path is added. ## Validation - Deprecation tests: 96 passed; deformable fragment tests: 10 passed; backend-split tests: 4 passed. - PhysX mesh spawning: 2 passed; OVPhysX deformables: 20 passed and 1 skipped, with both volume and surface fragment-slot cases passing when the tetrahedralization extra is installed; Newton deformables: 8 passed. - Repository formatting, changelog gate, and a clean Sphinx build with warnings treated as errors passed. - Franka training and tutorial scripts were not run end to end. --------- Co-authored-by: Octi Zhang <[email protected]> * [Docs] DOC-007: Migration guide: per-section review owners and checks (isaac-sim#8389) # Description Before the 3.0 release, the domain owners need to review the "Migrating to 3.0" guide (`docs/source/migration/migrating_to_isaaclab_3-0.rst` and `docs/source/migration/include/*`) one section at a time. This PR assigns each section to likely reviewers and gives each one a concrete check. Reviewers come from `.github/CODEOWNERS` and from `git log` on the source the section describes, counting commits since 2025-10. Names are plain handles with no mentions, so nobody is pinged yet. While preparing the checklist, I compared every Sphinx cross-reference and every `from X import Y` in the guide against the source tree. I fixed the statements that were clearly stale. No other content was rewritten. **Doc fixes in this PR** - Actuator limit aliases: the guide said they stay "through the 3.x release line and will be removed in 3.1". `actuator_base_cfg.py` says they are removed in 3.1, so the guide now says that. - `RayCasterCfg.attach_yaw_only`: the guide called it deprecated, but it was removed (isaaclab CHANGELOG 4.6.11). - `isaaclab.utils.math.convert_quat`: the guide said it was removed. It still exists and is still called by the HDF5 dataset handler and a contrib task, so the guide now says it is no longer needed for Isaac Lab data and is kept for external WXYZ data. - Legacy `write_*_to_sim(data, env_ids)`: the guide said these were removed. They are deprecated forwarders to the `_index` variants. - MJCF importer: `fix_base` and `link_density` came out of the "Removed Settings" list. They were added back to `MjcfConverterCfg` in isaac-sim#5394. - MJCF `collision_type` example: replaced `"default"`, which the `Literal` type does not accept, with values it does accept. - Data Access and Math overview card: `write_root_pose_to_sim_index(pose, env_ids)` became `write_root_pose_to_sim_index(root_pose=pose, env_ids=env_ids)`, since its arguments are keyword-only on every backend. - XR teleop install: `pip install isaacteleop~=1.0 --extra-index-url ...` became `uv sync --extra teleop --extra isaacsim`. The `teleop` extra pins `isaacteleop~=1.4.145`, and uv is the only supported install method. The `skills/user/migrate-2x-to-3x/` skill does not repeat any of these claims, so it needs no change. ## Per-section review checklist Format: `Section — reviewers — check`. "Verified" means the symbol or path was found in `develop`. Each reviewer still needs to run the snippets in a real environment. **Isaac Lab 2.x → 3.0** - [ ] Installation — StafaH, kellyguo11, myurasov-nv — On a fresh checkout, run `uv sync --extra isaacsim` and the `isaaclab train ... physics=isaacsim_physx` command. Confirm that the `isaacsim` / `ovphysx` extras and the `installation-method-uv` reference still match `pyproject.toml`. Verified: `isaaclab.sh` / `isaaclab.bat` are gone. - [ ] Multi-Backend Architecture and Presets (overview, Multi-Backend Architecture, New `isaaclab_physx` / `isaaclab_newton` Extensions, Backend-Neutral Imports, Newton Backend Implementations) — AntoineRichard, ooctipus, StafaH — Run the import snippets under the PhysX, Newton and OVPhysX presets. Confirm the factory still resolves backend classes by module path. Confirm that `SurfaceGripper` is only in `isaaclab_physx`, and that the list of Newton-backed classes is complete (deformables and other sensors). Verified: all referenced classes exist. - [ ] Schema Configuration Class Refactor — vidurv-nvidia, ooctipus, mmichelis — For every row of the deprecated-class → fragment table, construct the deprecated class and compare its warning with the listed replacement set. Confirm that the three `warnings.filterwarnings` regexes still match the emitted messages (they match `schemas_cfg.py` today). Check the removal versions: classes go in 3.2, the `max_effort` / `max_velocity` field aliases in 4.0. The gravcomp note recommends `MujocoRigidBodyPropertiesCfg`, which is itself deprecated; decide whether it should point at `MujocoRigidBodyCfg`. Verified: all fragment classes and `apply_*` writers exist. - [ ] Multi-Backend Support: PresetCfg Pattern — ooctipus, StafaH, AntoineRichard — Run `--task Isaac-Open-Drawer-Franka-Direct physics=newton_mjwarp` and the default launch. Check that the Reach "After" snippet still matches the Reach task source, and that the `MJWarpSolverCfg` parameter table matches the cfg fields. The first `MyPhysicsCfg` snippet uses `PhysxCfg` / `NewtonCfg` without importing them; decide whether to add the imports. Verified: `isaaclab.physics.PhysxAutoCfg` and `isaaclab_tasks.utils.PresetCfg` exist. - [ ] Isaac Sim API Compatibility — kellyguo11, ooctipus, hujc7 — Compare the module rename table with the Isaac Sim 6.1 deprecation list. Run the `enable_extension(...)` + `XformPrim` snippet inside Kit. Verified: every listed `isaaclab.sim.utils.{stage,prims,queries}` function exists, `PhysxManager` / `NewtonManager` are exported, `source/isaaclab/test/deps/isaacsim` is gone, and no `apps/*.kit` contains `extsDeprecated`. - [ ] PhysX Tensors API Module Path — AntoineRichard, ooctipus, kellyguo11 — Confirm on Isaac Sim 6.1 that `omni.physics.tensors.api` exposes the view types. Verified: `source/` no longer imports `omni.physics.tensors.impl`. - [ ] Renaming of `XformPrimView` to `FrameView` — ooctipus, AntoineRichard, StafaH — Confirm that the deprecated `XformPrimView` alias is still exported and warns, and that the `FrameView` factory dispatches to `FabricFrameView` (PhysX) and `NewtonSiteFrameView` (Newton). Verified: all five new classes exist. - [ ] Actuator effort and joint-limit names — ooctipus, StafaH, AntoineRichard — Run an explicit-actuator task and confirm the behaviour change (the solver keeps `joint_effort_limit`). Confirm that the `resolve_joint_parameter(...)` call in the snippet matches its signature. Verified: every read and write target in the removed-group-property table exists, with dynamic friction only on PhysX and OVPhysX. Fixed: removal version. - [ ] Actuator API Moves to `ActuatorCollection` — ooctipus, StafaH, AntoineRichard (LEAPP exception: frlai) — Run the before/after example. Confirm the `set_*_index` / `_mask` setters are keyword-only and that the LEAPP exception still holds. Verified: `target_command`, `computed_effort` and `applied_effort` exist, and `ArticulationData.gear_ratio` is gone. - [ ] RigidObjectCollection API Renaming — AntoineRichard, ooctipus — The rename table and the "After" example point at `write_body_state_to_sim` and similar methods, which are themselves deprecated forwarders in 3.0. Decide whether to point at the `_index` / `_mask` variants instead. Confirm that every listed `object_*` property still forwards. - [ ] Deformable Object API Changes + Migration of Deformables (`include/deformables.rst`) — mmichelis, ooctipus, AntoineRichard — Run `examples/deformables.py` on PhysX and Newton, and the volume before/after snippet. Confirm the removed-property table against `PhysxDeformableBodyPropertiesCfg`. Verified: every listed material and props cfg is exported from `isaaclab_physx.sim` / `isaaclab_newton.sim`, and `linear_damping` / `settling_damping` exist. - [ ] IMU Sensor Renamed to PVA; New Lightweight IMU Sensor — AntoineRichard, ooctipus, StafaH — Check the gravity claims: PVA acceleration excludes gravity and IMU always includes it. Confirm that `ImuData` only exposes `ang_vel_b` / `lin_acc_b`. Verified: `pva_orientation` / `pva_projected_gravity` exist and `gravity_bias` is gone. - [ ] Sensor Pose Properties Deprecation — ooctipus, AntoineRichard — Confirm that `ContactSensorData.pose_w` / `pos_w` / `quat_w` emit a deprecation warning on every backend, and run the `FrameTransformer` replacement snippet. - [ ] Contact force property names — ooctipus, AntoineRichard, yufengsjtu — Check every row of the backend table on PhysX, OVPhysX and Newton: the warn paths and the `NotImplementedError` for `net_friction_forces_w*` on PhysX. Verified: every listed property exists on the base and backend data classes. - [ ] Articulation Joint Wrench Data Moved to `JointWrenchSensor` — ooctipus, AntoineRichard, StafaH — Run both scene snippets. Confirm the body-ordering claim: PhysX includes the root link, Newton reports child bodies only. Verified: `body_incoming_joint_wrench_b` is gone, and `mdp.body_incoming_wrench`, `body_names` and `find_bodies` exist. - [ ] Ray Caster Warp Backend — ooctipus, AntoineRichard, pascal-roth — Run the `RayCasterCfg(ray_alignment="yaw")` snippet. Verified: `env_mask` is the first kernel argument and `RayCaster.meshes` is keyed by `(prim_path, device)`. Fixed: `attach_yaw_only` is removed, not deprecated. - [ ] Quaternion Format / Quaternion Finder Tool / Runtime Quaternion Access Detector / Quaternion Utility API Changes / Quaternion Migration Checklist — AntoineRichard, StafaH — Run `scripts/tools/find_quaternions.py` with every documented flag (`--path`, `--base`, `--check-identity`, `--likely-wxyz`, `--all-quats`, `--fix`, `--fix-identity-only`, `--dry-run`, `--force`) and check the sample output format. Verified: `WARN_ON_TORCH_QUATF_ACCESS` exists in `proxy_array.py`. Fixed: `convert_quat` still exists. - [ ] ProxyArray Backend for Asset and Sensor Data / ProxyArray Interop — AntoineRichard, StafaH, ooctipus — Confirm that the affected-classes table should also list the Newton and OVPhysX sensors. Run the `torch.*` bridge and confirm its one-time `DeprecationWarning`. Verified: the `wp.to_torch` shim, `__torch_function__` and `__cuda_array_interface__` all exist. - [ ] Write Method Index/Mask Split — AntoineRichard — Confirm that every listed `_index` / `_mask` writer exists on Articulation, RigidObject and RigidObjectCollection for every backend. Fixed: the legacy writers are deprecated forwarders, not removed, and the Data Access and Math overview card now uses keyword arguments. - [ ] Timestamped buffers — ooctipus, AntoineRichard — Run the `TimestampedBuffer(wp.zeros(...))` snippet. Verified: `TimestampedBufferWarp` is gone. - [ ] Reinforcement Learning CLI Entrypoints / Unified Checkpoint and Iteration Arguments — StafaH, ooctipus, kellyguo11 (RLinf rows: mingxueg-nv) — Run `isaaclab train` and `isaaclab play` for each of `rsl_rl`, `rl_games`, `skrl`, `sb3` and `rlinf`, plus the `torch.distributed.run` command. Check the `--checkpoint latest|best|pretrained` support matrix and the RLinf `--model_path` / `--checkpoint` semantics. Verified: `scripts/reinforcement_learning/train.py` exists. - [ ] Visualizer CLI and Headless Behavior — matthewtrepte, StafaH, kellyguo11 — Confirm that `--headless` is rejected, then check `HEADLESS=1` with `--viz kit` (plus `--enable_cameras`) and with `--viz newton_gl`, and run `--video viz:kit`. - [ ] Viewport Camera Configuration (`ViewerCfg` deprecated) — matthewtrepte, ooctipus — Confirm the `viewer.*` shim and the `ViewportCameraController` warning. Run the `KitVisualizerCfg(origin_type="asset", origin_track_path=...)` snippet. Check the custom-visualizer `initialize(..., cameras=, stage=)` paragraph against `base_visualizer.py`. Verified: `resolve_camera_sources` and `get_visualized_env_ids` exist. - [ ] Streaming Camera View (`tiled_cam_*` fields removed) — matthewtrepte, ooctipus, pbarejko — Run the `NewtonGLVisualizerCfg(streaming_*)` snippet with a scene-declared camera. Confirm that the removed helpers are gone. Verified: `resolve_streaming_envs` and `Camera.set_world_poses_from_view` exist. - [ ] Newton Visualizer Type Split — matthewtrepte, StafaH — Confirm that `NewtonVisualizerCfg` warns, that `--viz newton` aliases to `newton_gl`, and that `visualizer:newton` / `viz:newton_gl` work as video sources. - [ ] Video Recording (`gym.wrappers.RecordVideo` replaced) — matthewtrepte, ooctipus — Run the `VideoRecorderCfg(source="viz", ...)` snippet. Confirm `eye` / `lookat` were removed and `recording_hooks` is gone. Verified: `SimulationContext.add_render_callback` exists. - [ ] URDF Importer — kellyguo11, stevfeng, ooctipus — With the Isaac Sim 6.1 importer, run `convert_urdf.py` with the documented flags and the Python before/after snippet. Confirm that the deprecated settings warn and that the output path is `{usd_dir}/{robot_name}/{robot_name}.usda`. Verified: the CLI flags exist. - [ ] MJCF Importer — kellyguo11, stevfeng — Run `convert_mjcf.py` with the documented flags and the Python snippet. The Python before/after example still drops `fix_base`, which is now supported again; decide whether to keep it. Fixed: `fix_base` / `link_density` are no longer listed as removed, and `collision_type` examples are valid values. - [ ] Benchmark Workflows — AntoineRichard, StafaH, ooctipus — Run the runtime, training, play and startup commands and `--benchmark_formatter schema,omniperf`. The guide says the "transitional runtime, startup, training, and play scripts were removed", but `scripts/benchmarks/{runtime,startup,training,play}.py` still exist as supported launchers; clarify which scripts are meant. The PhysX micro-benchmarks now live under `source/isaaclab_physx/benchmark/{assets,sensors}/`. Verified: `isaaclab.test.benchmark` is gone and the formatter names match `BenchmarkFormatter`. - [ ] XR Teleoperation: Isaac Capture Integration — rwiltz, hougantc-nvda, kellyguo11 — Run the pipeline-builder snippet against the pinned `isaacteleop~=1.4`. Confirm that the deprecated `isaaclab.devices.openxr` classes warn and that the import-mapping table is still accurate. Fixed: install command. - [ ] Section overview cards (Assets, Actuators, and Sensors / Data Access and Math / Reinforcement Learning / Visualizers, Cameras, and Recording / Tools and Integrations) — ooctipus (Assets), AntoineRichard (Data Access), StafaH (Reinforcement Learning), matthewtrepte (Visualizers), kellyguo11 (Tools) — Check each 2.x/3.0 card against the detailed subsections below it, and run the 3.0 card snippets. - [ ] Getting Help — AntoineRichard, kellyguo11 — Check the links. The CHANGELOG link points at `main`. **Isaac Gym / IsaacGymEnvs (`include/from_isaacgymenvs.rst`, `include/comparing_simulation_isaacgym.rst`)** - [ ] Migration from Isaac Gym and IsaacGymEnvs — StafaH, kellyguo11, ooctipus — Compare the snippets with `source/isaaclab_tasks/isaaclab_tasks/core/cartpole`, then run the training and inference commands. Verified: the referenced classes and the `CARTPOLE_CFG` import exist. - [ ] Comparing Simulations Between Isaac Gym and Isaac Lab — kellyguo11, StafaH — Re-run the OmniPVD recording workflow with `isaaclab benchmark runtime` and the current kit args. **Cross-cutting** - [ ] Agent skills sync — StafaH, AntoineRichard — After the reviews above land, update `skills/user/migrate-2x-to-3x/` and `skills/user/migrate-from-isaac-gym/` to match, since the guide is their source of truth. ## Validation - Clean docs build (`uv run --extra dev make -C docs current-docs`, which runs `sphinx-build -W --keep-going`): succeeded with 0 warnings, and the changed passages render. Sphinx does not run in nitpicky mode, so unresolved `py:` cross-references would not fail this build. The symbol check below covers them. - `pre-commit run --files docs/source/migration/migrating_to_isaaclab_3-0.rst`: all hooks passed. - Static symbol check: a throwaway script, not committed, resolved every `:class:` / `:func:` / `:meth:` / `:attr:` / `:mod:` target and every `from X import Y` in the four migration files against `source/`. The only unresolved targets were intentional 2.x "before" snippets. I also used targeted greps for the CLI flags, file paths and deprecation messages listed above. I did not run any snippet in a simulator. - Docs-only change outside `source/<pkg>/`, so no changelog fragment is needed. ## Type of change - Documentation update ## 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 `uv run isaaclab --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] 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 - [ ] 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 * [6Aiii] Use native Newton RTX with a borrowed scene stage (isaac-sim#8303) # Description Newton RTX now uses native `ViewerRTX(ovstage=...)` with a simulation-owned scene stage instead of rebuilding viewer USD from the Newton model. Authored lighting, materials, and clone placements reach the viewer directly; Newton retains its window, perspective camera, and debug markers. OVStage and OVRTX share private copy batching that omits children already supplied by their parent. GL and RTX share camera selection and model-reset code. Contact rendering uses the sensor interface directly; selected PhysX environments retain the correct body-pose ordering. Marker inputs normalize directly to the simulation device, including host arrays and partial prototype-index updates. Window defaults merge per field without sharing mutable state. Newton and Kit use shared `WindowCfg(size=...)`; Newton windows use a wall-clock `fps` limit (30 by default) instead of skipping simulation frames. Scene-camera images stay on the GPU for display, and window resizing scales fixed-resolution images without resizing sensors. Backend construction stays inside the visualizer, using the simulation owner passed to `initialize(sim, cameras=...)`. This is **PR6Aiii**. Shared `ImageViewCfg`, window/recorder frame caching, and removal of duplicate CPU composition are split into **PR6Aiv (isaac-sim#8432)**. Follows merged isaac-sim#8103, isaac-sim#8319, and isaac-sim#8381; incorporates isaac-sim#8221 without isaac-sim#8232. **Migration:** Use Camera View instead of Open/Hide. Remove RTX `rtx_environment`, `world_spacing`, and GL model options; author lights and placement in the scene. Use GL for dragging and model overlays. Custom visualizers must adopt `initialize(sim, cameras=...)`. Move `window_width`/`window_height` to `window=WindowCfg(size=(width, height))`, replace Newton `update_frequency` with `window.fps`, and use `render_tiled_rgba_array()` for GPU images. Runtime material randomization is not yet propagated to the borrowed stage. ## Validation The review cleanup passed 121 tests on GPU0, including the full marker suite and native RTX motion/pause/marker integration; the two lighting cases below remain skipped. The extended existing tests reproduced the window aliasing, partial-default inheritance, and marker-device bugs before their fixes. The RTX media configuration now constructs successfully. Formatting/lint and changelog checks passed; full CI is being rerun. Startup to the first rendered image, in seconds: **baseline → combined implementation**, measured at preserved revision `00adda3a9` against `a3acc244d` before this split. These measurements include the shared-view follow-up and are not a new measurement of the isolated PR6Aiii branch. Every case includes the **Newton RTX viewer** at 640×480; RGB adds one 64×64 OVRTX sensor per environment. Timings include process launch, physics, scene, and viewer setup. | Task / physics | Sensor cameras | 1,024 environments | 4,096 environments | |---|---|---:|---:| | ANYmal rough / Newton MJWarp | None | 55.8 → **28.4** | 251.8 → **29.3** | | ANYmal rough / Newton MJWarp | RGB | 60.1 → **32.5** | 258.7 → **44.1** | | ANYmal rough / OVPhysX | None | 64.7 → **38.8** | 294.1 → **70.7** | | ANYmal rough / OVPhysX | RGB | 74.7 → **38.4** | 302.3 → **92.6** | | Kuka–Allegro lift / Newton MJWarp | None | 46.1 → **17.3** | RAM limit → **28.9** | | Kuka–Allegro lift / Newton MJWarp | RGB | 45.2 → **21.9** | RAM limit → **42.1** | | Kuka–Allegro lift / OVPhysX | None | 102.1 → **71.6** | RAM limit → **121.9** | | Kuka–Allegro lift / OVPhysX | RGB | 101.4 → **78.3** | RAM limit → **141.5** | Single runs with warmed caches and identical dependencies on an RTX 5090, GPU0 only. All 16 PR cases passed image validation and three rollout steps. Four 4,096-environment Kuka baselines exceeded available host RAM; these have no valid timing and need a repeat after memory is freed. The other 12 baselines passed. [Benchmark setup](isaac-sim#8303 (comment)). ## Temporary test skip and follow-up The two lighting/lifetime cases using an OVRTX sensor are temporarily skipped because the sensor and native viewer create separate OVRTX renderers; the second can stall when the first has loaded a scene but never rendered. The two Warp-sensor cases remain enabled and passed on GPU0 (2 passed, 2 skipped in 18 seconds). This skips affected coverage; it does not fix the runtime stall. Re-enable those cases after [Newton isaac-sim#4627](newton-physics/newton#4627) merges and Isaac Lab adopts its shared-renderer API. The test body and its ownership, lighting, and sensor-buffer assertions remain intact. The shared-renderer integration will also address stale deformable geometry, pose-offset inference on hard reset, and unnecessary perspective-scene construction for sensor-only windows. These are confirmed limitations of the current separate-stage path, not fixed by this cleanup. GL sensor navigation still reads input one frame late. Fixing that requires an input-update phase before image composition in Newton; the current code does not add a second input pump. ## Type of change - New feature - Breaking change - Bug fix - Documentation update ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] Read the contribution guidelines - [x] Ran formatting/lint and changelog checks - [x] Updated documentation and migration guidance - [x] Validated the split with existing focused tests - [x] Added package changelog fragments - [x] Contributor already listed - [x] Clean local documentation build - [ ] Pass GPU CI * [Tests] Serialize flaky Kit lifecycle tests in CI (isaac-sim#8447) # Description Two independent Kit lifecycle operations deadlocked in the same CI run for isaac-sim#8443: - the Spot LEAPP export wrote and validated its artifacts, cleared `SimulationContext`, and then timed out in native Kit shutdown; - the Galbot suction RMPFlow case timed out while synchronously enabling `isaacsim.robot.surface_gripper` during the PhysX reset callback. Both files were running alongside several independent Kit processes through the package scheduler. Keep their behavioral coverage, but run each file alone and run the LEAPP cases serially. This avoids concurrent native extension loading and shutdown without skipping tests or increasing their timeout. Failed jobs: - https://github.com/isaac-sim/IsaacLab/actions/runs/38010614299/job/114089646270 - https://github.com/isaac-sim/IsaacLab/actions/runs/38010614299/job/114089646003 This branch is rebased onto isaac-sim#8443 after it merged. ## Validation - [Final `Docker + Tests` workflow](https://github.com/isaac-sim/IsaacLab/actions/runs/38016776634): passed - [`isaaclab_tasks [3/3]`](https://github.com/isaac-sim/IsaacLab/actions/runs/38016776634/job/114109605708): passed, including all four RMPFlow cases - [`isaaclab_rl`](https://github.com/isaac-sim/IsaacLab/actions/runs/38016776634/job/114109605911): passed; LEAPP export flow had 17 passed and 1 unavailable-checkpoint skip, including the Spot case - [`rendering-correctness-kitless (legacy)`](https://github.com/isaac-sim/IsaacLab/actions/runs/38016776634/job/114109605883): passed with the merged isaac-sim#8443 goldens - All PR checks passed: 49 successful and 11 intentionally skipped - `PYTHONPATH=tools:source/isaaclab uv run pytest --noconftest tools/test_file_scheduler.py -q` (9 passed) - `ISAACLAB_CHANGELOG_BASE_REF=upstream/develop uv run isaaclab -f` - `uv run python tools/changelog/cli.py check upstream/develop --include-worktree` ### CI timing impact Both measurements used the `Docker + Tests` workflow on `cuda:0`, the same 18-case LEAPP suite (17 passed, 1 unavailable-checkpoint skip), its declared mix of default PhysX, Newton MJWarp, Isaac Sim PhysX, and OvPhysX presets, and the same restored Warp cache key (387 MB restored, 578 MB final). The runners differed, so the comparison is directional rather than a hardware-normalized benchmark. | | Parallel baseline | Serial candidate | | --- | ---: | ---: | | Revision | isaac-sim#8443 `976de17` | isaac-sim#8447 `fc66fed` | | Runner | `g6e.4xlarge` | `g7.4xlarge` | | Full `isaaclab_rl` job | 13m 52s | 19m 20s | | LEAPP file wall time | 388.63s | 1051.96s | The candidate adds about five and a half minutes to the full RL job while keeping it far below the workflow budget. (`d6372b0`, the next isaac-sim#8443 revision, changed only changelog-fragment text.) ## Type of change - Bug fix (CI / test infrastructure) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Not applicable. ## 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` - [x] Documentation changes are not required for this CI-only change - [x] 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) - [x] No source package is touched, so no package changelog fragment is required - [x] My name already exists in `CONTRIBUTORS.md` * Add mesh_collision_props slot to all rigid-object spawners (isaac-sim#8349) # Description Adds the `mesh_collision_props` fragment slot to every rigid-object spawner: the USD, URDF and MJCF file spawners, the shape spawners and the mesh spawners. Several deprecation messages already pointed users at "the spawner's `mesh_collision_props` slot", but only `MeshFileCfg` had it. This makes that guidance true and migrates the last in-repo users of the deprecated mesh-collision cfgs. **The slot** - Lives on `RigidObjectSpawnerCfg`. It accepts a `{pattern: fragments}` mapping, a bare fragment, or a list. - Applies only to matched prims that already carry `UsdPhysics.CollisionAPI`. It never creates a collider, and a pattern that matches none logs a warning. - Default target: - File spawners use `"(/.*)?"`, meaning every collider under the spawn prim. That matches the reach of the legacy nested `mesh_collision_property`, so migrating authors identical USD. - Shape and mesh spawners target their geometry prim. On mesh spawners the slot overrides the built-in default approximation. - Legacy `MeshCollisionBaseCfg` / `*PropertiesCfg` values are still accepted in the slot. They are routed through the deprecated writer and warn as before. - Setting it together with any deformable setting raises `ValueError`, on the mesh spawners and on the USD/URDF/MJCF file spawners. - `MeshFileCfg` keeps its existing narrower override, which takes a bare fragment or a list but not the `{pattern: fragments}` mapping. It anchors at each converted mesh prim, which is a single collider, so a mapping would add nothing. **Deprecation guidance and docs** - The Newton mesh/SDF collision warnings now say which fragments go in `collision_props` and which in `mesh_collision_props`. - The `NewtonSDFCollisionCfg` docstring said it authors an approximation token. It doesn't, and neither did the legacy class: Newton enables SDF from `NewtonSDFCollisionAPI` itself. - The schema-fragments concept page and the migration guide are updated. **nist Factory** (`factory_assets_cfg.py`): the robot, socket and plug presets move to `collision_props` + `mesh_collision_props` fragments, with all-`None` fragments dropped. The PhysX presets are unchanged. **Implementation:** The spawner selects existing colliders with the public prim matcher and calls the existing single-prim mesh-collision writer. Coverage is folded into the existing file, shape, mesh, and deformable suites; the two standalone test files and duplicate changelog entry were removed. ## Verification - **Parity on the real assets** (franka_mimic, bolt_m16, nut_m16; schemas, every attribute and relationship): legacy and migrated are identical. All 7 negative controls are flagged. - **Through the gym entry point:** `IsaacContrib-Factory-Franka` cfgs for the default, physx, isaacsim_physx and newton_mjwarp presets were spawned and compared against develop. All 12 are identical, and the branch emits no legacy deprecation warnings. - **Newton runtime:** the Factory task steps 20 times on newton_mjwarp with finite rewards. - **Sphere collider:** the legacy path also applies `PhysicsMeshCollisionAPI` to the franka force-sensor Sphere collider. The slot reproduces this so that migration stays USD-identical. Newton models built with and without it are identical, so it is inert. - **After rebasing:** 116 kitless routing, Factory parity, schema-fragment parity, and deprecation checks passed. The repository formatting and changelog hooks passed. Kit integration checks are pending CI. ## Type of change - New feature (non-breaking change which adds functionality) ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the `pre-commit` checks - [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 --------- Co-authored-by: Octi Zhang <[email protected]> * Fix convert_instanceable mesh path and migrate schema docs to fragments (isaac-sim#8353) # Description The schema-fragment migration left `convert_instanceable.py` passing the removed `collision_approximation` argument to `MeshConverterCfg`, so converting a mesh raised `TypeError`. The script now passes a `UsdPhysicsMeshCollisionCfg` fragment, or `None` when collisions are disabled. `MujocoJointCfg(actuatorgravcomp=True)` also overwrote an explicitly authored body `mjc:gravcomp=0.0`. It now supplies `1.0` only when that attribute has no authored value. The existing joint-drive test covers both `0.0` and a nonzero authored value. The affected guides and Newton asset skill now use the fragment API, with the legacy schema page labeled as deprecated. The Cartpole example edits its existing Newton articulation fragment instead of adding a duplicate. Deprecated PhysX schema docstrings now agree with their 3.2 removal warnings. # Validation - Repository formatter and pre-commit checks passed (`uv run isaaclab -f`). - Skill validation passed (`tools/skills/cli.py check`). - A Kitless USD probe passed for unset, `0.0`, and `0.5` body gravcomp; converter configuration and the Cartpole example instantiated successfully. - The integration test could not run locally because Isaac Sim/Kit is unavailable in this environment. Sphinx is also unavailable locally; the documentation build remains for CI. --------- Co-authored-by: Octi Zhang <[email protected]> * [CI][Auto Version Bump] Compile changelog fragments (schedule) Bumped packages: - isaaclab: 35.2.0 → 36.0.0 - isaaclab_experimental: 0.2.6 → 0.2.7 - isaaclab_mimic: 2.1.2 → 2.1.3 - isaaclab_newton: 9.1.5 → 9.2.0 - isaaclab_ov: 4.1.3 → 5.0.0 - isaaclab_physx: 7.4.4 → 7.5.0 - isaaclab_rl: 4.0.1 → 5.0.0 - isaaclab_tasks: 25.0.1 → 25.0.2 - isaaclab_tasks_experimental: 1.0.0 → 1.0.1 - isaaclab_teleop: 0.10.2 → 0.10.3 - isaaclab_visualizers: 2.0.2 → 3.0.0 * Fix unintended stacking cubes in Agibot place scenes (isaac-sim#8454) # Description Agibot Toy2Box and upright mug place tasks reused the stacking `ObjectTableSceneCfg`. When that shared scene gained three default stacking cubes, both place tasks also began spawning and resetting those unrelated rigid bodies. Introduce a dedicated `AgibotPlaceSceneCfg` with the robot, end-effector sensor, task-supplied table, ground plane, and lighting. Toy2Box now contains only the toy truck and box; upright mug contains only the mug. Their existing table geometry and poses are preserved. Both Agibot Mimic variants inherit the corrected scene. Audited all five registered Galbot tasks: they are stacking tasks that explicitly configure and use all three cubes, so they require no change. The regression checks assert the place tasks' configured rigid objects. Both cases fail on the original code because of `cube_1`, `cube_2`, and `cube_3`, and pass with the dedicated scene. This removes the unintended cubes involved in the reported reset issue; it does not claim to fix a general PhysX collision defect. ## Validation - `uv run --no-sync python -m pytest source/isaaclab_tasks/test/contrib/test_agibot_place_env_cfg.py -q`: 5 passed. The two added cases failed on the original implementation for the expected extra cubes. - Instantiated and validated both registered Agibot tasks, all five registered Galbot tasks, and both Agibot Mimic configs after resolving presets. - `uv run --no-sync isaaclab -f`: passed all repository formatting and lint hooks. - `uv run --no-sync python tools/changelog/cli.py check develop --include-worktree`: passed. - `git diff --cached --check`: passed. Full Kit simulation was not completed: first launch requested acceptance of the NVIDIA Omniverse EULA. The requested QA branch currently pins Isaac Sim 6.1.0.0, whereas the report names 6.2 rc9; its Kit asset root points at 6.2. The full teleop extra also failed while compiling `imgui` 2.0.0 on Python 3.12. Configuration validation used the local `isaaclab_teleop` package without the optional XR/UI dependencies. ## 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` ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the pre-commit checks with `uv run isaaclab --format` (using `--no-sync` to preserve the validated environment). - [x] I have validated the changed behavior with focused coverage and applied the test-audit criteria. - [x] I have added a changelog fragment for the touched package. - [x] My name already exists in `CONTRIBUTORS.md`. - [ ] Full Isaac Sim 6.2 rc9 visual/reset reproduction. --------- Co-authored-by: Ege Sekkin <[email protected]> Co-authored-by: vidurv-nvidia <[email protected]> Co-authored-by: Octi Zhang <[email protected]> Co-authored-by: Antoine RICHARD <[email protected]> Co-authored-by: Kelly Guo <[email protected]> Co-authored-by: isaaclab-bot[bot] <282401363+isaaclab-bot[bot]@users.noreply.github.com> Co-authored-by: Rebecca Zhang <[email protected]>
# Description Cold MJWarp kernel compilation in the zoo's first simulation step can exhaust the standalone runner's 300-second limit. Backport the zoo-specific 600-second timeout from #8381 and the one-environment smoke workload from #8277 to `release/3.0.0`. The test retains every robot family and all ten smoke steps. This is a focused backport of the standalone test override, with the required test-only changelog marker. The original CI failure is [here](https://github.com/isaac-sim/IsaacLab/actions/runs/37416184872/job/112115622885). ## Type of change - CI/test-only bug fix backport ## Validation Validated on an RTX 4090 with the release branch's Newton 1.6.1 and MuJoCo Warp 3.12.0 dependencies: - Existing headless Newton zoo launch with a fresh, empty Warp cache: **1 passed in 146.30 seconds**, completing all ten steps and exiting cleanly. - Standalone supervisor and discovery checks: **16 passed**. - Full repository formatting and lint: `ISAACLAB_CHANGELOG_BASE_REF=release/3.0.0 uv run --no-sync isaaclab --format` passed. - Release-base changelog gate and `git diff --cached --check` passed. Focused launch command: ```bash env -u DISPLAY -u WAYLAND_DISPLAY \ WARP_CACHE_PATH=/tmp/6878146-release-warp-cold \ ISAACLAB_RUN_STANDALONE_SCRIPT_TESTS=1 \ ISAACLAB_STANDALONE_VISUALIZER=none \ ISAACLAB_STANDALONE_SCRIPT_RUNTIME_GROUP=non-kit \ ISAACLAB_STANDALONE_SCRIPT_SCOPE=examples/demos \ OPENBLAS_NUM_THREADS=1 \ uv run --no-sync python -m pytest \ 'source/isaaclab/test/app/test_standalone_scripts.py::test_standalone_script_runs_cleanly[examples-demos-zoo-newton_mjwarp-default-none]' \ -q --durations=1 ``` Docker/GPU CI was requested for commit `1d9aa840f` and is [running here](https://github.com/isaac-sim/IsaacLab/actions/runs/38407344257). ## Checklist - [x] Read and followed the contribution guidelines. - [x] Ran the full pre-commit formatting and lint checks. - [x] Validated the changed behavior with existing coverage and applied the test-audit criteria. - [x] Added a `.skip` changelog fragment for the touched package. - [x] Contributor is already listed in `CONTRIBUTORS.md`. - Documentation and screenshots: not applicable to this test-only change.
…chScript converter import (#8762) ## Summary - The first articulation spawn in a process is ~4 s faster: `test_robot_load_performance[test_config0-cpu]` (Cartpole, CPU, 15 s limit) drops from 11.5–11.9 s to 7.7–8.0 s. - `torch._export.converter` is now imported inside `resave_checkpoint_with_metadata`, its only user, instead of at module scope. # Description #8381 added a module-level `from torch._export.converter import TS2EPConverter` to `isaaclab/sim/schemas/schemas_actuators.py`. PhysX `actuator_control` imports that module on every articulation spawn, and the converter import pulls in `torch._dynamo`, `torch.export` and sympy (~4.3 s). The cost lands on the first `Articulation(cfg)` in a process, which is the first-parametrized case of `test_robot_load_performance`. Since then, that case has failed intermittently on CI hosts, where it runs close to its 15 s limit (NVBug 6937746). Only `resave_checkpoint_with_metadata` uses the converter, so the import moves there. Behaviour is unchanged. Not addressed here: other one-time costs remain in the first spawn (`isaaclab.actuators.newton` import ~2.6 s, Warp CPU kernel compile on a cold cache). Fixes NVBug 6937746 ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Test plan Kit PhysX, `isaac-lab:latest-main` image, desk (5 runs per arm): | Arm | `test_robot_load_performance[test_config0-cpu]` | Result | |---|---|---| | main | 11.50–11.85 s | 5/5 pass | | this PR | 7.73–7.98 s | 5/5 pass | - [x] `source/isaaclab/test/actuators/test_newton_adapter.py` (exercises the converter path): 17/17 pass ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request. - [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` - [x] Documentation changes are not required because no documented API changed - [x] 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/HEAD/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
Description
Update Newton to commit
5ea82eef6f7911388025a8df6ccdb172e2fed286and MuJoCo/MuJoCo Warp to 3.14. Adapt checkpoint loading, actuator selection, cable indexing, deformable registration, and visualization to the changed interfaces. Workspace requirements and wheel metadata use the same Newton revision.Runtime changes and their upstream causes
.pt2during USD authoring, preserving metadata and device placement. Users keep their existing paths and actuator configurations.link_count + 1; use one child-body ID array for writes. Masked writes and CUDA capture remain covered.PlotLogger, their new owner. The old viewer-level lookups left GL plots empty.sensing_obj_transformsalias withsensing_transforms.All seven upstream changes are included in the pinned revision.
Why the reset code can be removed
The rebind callback was introduced in Isaac Lab #4818, when hard resets restarted simulation without first dispatching
STOP. Isaac Lab #8027 subsequently addedSTOPbefore model recreation. Assets are now invalidated and their existingPHYSICS_READYinitialization constructs new views, data, and actuators. Rebinding the discarded data is redundant.The extra callbacks run before asset initialization and access the previous data's weak view reference. Newton #4430 removed global caches that accidentally retained those views, exposing
ReferenceErrorin rigid objects and collections. Articulations avoided that error only because the shared view registry retained their old views; a joint-wrench sensor initialized first could then select a view of the old model.Remove these extra callbacks across rigid objects, collections, articulations, cables, deformables, and MPM. Clear Newton's old registry entries and per-model actuator/step hooks before rebuilding. Each data instance binds once during construction. Remove the rebind-only proxy branches, timestamp invalidation, actuator-executor rebinding, and cleanup overrides. Keep articulation's model-init/post-step cleanup and its separate joint/body ordering setup, which still have callers.
This preserves the existing hard-reset lifetime: reacquire
asset.dataand its arrays aftersim.reset(soft=False). Soft resets retain the current model and data. The directArticulationDatatest now retains itsArticulationViewexplicitly, matching production ownership instead of relying on Newton's former global cache.Existing asset tests now exercise two real hard resets, state writes, physics steps, fresh data containers, and stable callback counts. Replace the synthetic array-swap/rebind test and its helper with this lifecycle check; remove the actuator test whose only caller was the deleted private rebind method. Extend the existing nested-root sensor test to initialize the sensor first. This follow-up removes 200 production lines and 449 lines overall, without adding production files, classes, or helpers.
PhysX and OVPhysX retain their existing reset lifecycle. Inline five one-use proxy-initialization helpers into buffer creation, and remove the unused OVPhysX articulation-data invalidation method and its test-only assertions. Keep PhysX articulation's helper because ordering changes call it again. This cleanup removes 64 production lines and 14 test lines (76 net lines including two changelog fragments), with no new helpers or public API changes.
Validation
Additional PhysX/OVPhysX validation for
6d4202844: 565 shared rigid-object, collection, and articulation contract tests passed on CPU and GPU0, with four existing expected failures. Each file ran in its own process. The retained OVPhysX ordering-cache test also passed. An AST comparison confirmed that inlining preserved every initialization statement and its order; formatting, lint, and changelog checks passed.Validated
f677d2532on GPU0. The collection, articulation, deformable, MPM, and sensor-order regressions failed on9f5d1c3bdfor the expected stale-view or accumulating-callback errors and passed with the fix.148 focused tests passed. Each test file ran in its own process:
The environment included the
test,isaacsim, andtetrahedralizationextras. Local disk pressure required moving compilation temporary files to shared memory; incompatible global Warp cache entries required using the branch's dedicated cache. No production workaround, test tolerance, or timeout was added for either environment issue.Earlier checks on the same dependency revision covered checkpoint numerical agreement and variable batches, viewer teardown and markers, cable masked writes/capture, camera/raycast hard resets, deformable cloning, wheel metadata, and all four updated image references.
The exact Newton VCS pin still requires Git for installation. PyPI does not accept direct-URL dependencies, so a published Newton version containing the required changes is needed before publishing that dependency metadata to PyPI.
Related viewer work: #8303.
Type of change
Release backport
developChecklist
uv run isaaclab -f