Repository navigation
[release/3.1.0] Backport fixes, Newton/MuJoCo upgrade, and documentation - #9368
kellyguo11 merged 15 commits into
Conversation
## Description With twelve cloned environments, writing deformable row 2 changes `env_10`. Reproduced on `main` at `7d4024cf3` with the pinned `ovphysx==0.8.1.45833638316` runtime on an RTX 5090. Wildcard bindings enumerate `env_0, env_1, env_10, ...`, while the asset APIs index by environment. Resolve deformable body and material selections through the existing clone-plan path expansion used by rigid assets. Native bindings preserve the supplied explicit order, including materials that expose no path metadata. Shared materials retain their shared selection. Remove the redundant path lookup and remapping from deformable geometry publication, which already supplies explicit paths. Fixes isaac-sim#8963. Alternative to isaac-sim#8972 that also addresses its material-ordering gap. Generic rigid/contact sorting retains wildcard consumers outside this change. ## Validation - All **22 deformable asset cases passed**: 21 passed initially; the optional volume-meshing case passed after installing the `tetrahedralization` extra and rerunning that case. - Existing scene-data backend tests: **23 passed**. - Extended the existing mixed-scene test from 4 to 12 environments: independently addressed native objects verify indexed position writes and per-environment materials; published geometry matches the same environment. Removed the older overlapping volume position-write assertions. - Regression fails on the original selection. Independently reverting material selection, suppressing the position write, or reversing publication entries also fails the retained integration test. - Native surface-binding probe: twelve independently authored objects preserve a deliberately reordered explicit selection for current and rest positions. - Review follow-up: renamed shared path expansion to `expand_env_pattern` and updated all callers; 55 existing view and mixed-scene regression cases passed. - Full `uv run isaaclab --format` passed. During investigation, a separate surface-mesh-at-asset-root cloning setup realized only the source body on current main. That cloning problem is outside this change; the native surface selection probe uses independently authored objects. ## Type of change - Bug fix ## Release backport - [ ] <!-- backport-active-release --> Backport to `release/3.1.0` after this pull request merges into `main`. ## Checklist - [x] Read the contribution guidelines. - [x] Ran the full formatting and lint checks. - [x] Validated the changed behavior and applied the test-audit criteria. - [x] Added a changelog fragment for the changed package. - [x] Contributor name already appears in `CONTRIBUTORS.md`. (cherry picked from commit 467b345)
## Description Kuka-Allegro Lift and Reorient ray-caster presets point at `/Camera` prims that only rendered cameras spawn. Scene creation fails with `No prim found .../Camera`. Correcting the paths alone still leaves OVPhysX base cameras at authored USD positions instead of their cloned environment positions. The configuration now names an existing mount and its offset. OVPhysX and Newton ray casters obtain that mount's pose through the existing `FrameView`; the sensor only applies its offset and casts rays. - Set the Kuka mounts to the environment root and palm link, with explicit 2.5 m depth clipping. - Resolve environment-root frames through clone placements. Frame views own ancestry, destination ordering, and body/world attachment. - Expose borrowed Warp transforms from frame views. OVPhysX frame views reuse shared scene-data publications; body-frame reads borrow their poses directly, and composed frames share storage with the existing pose outputs. - Remove both sensor pose mixins, Newton ray-caster site registration and pose kernels, OVPhysX per-view native pose bindings, and the now-unused per-world site-injection machinery. IMU, PVA, and frame-transformer site registration remains in use. - Preserve infinite missed-ray depth before clipping, avoiding NaN from `inf * 0` during projection. Production code is net **−256 lines** relative to `a691e2c34`. Coverage extends existing tests; no new test files or lifecycle hooks. Documentation and package changelog fragments are included. No unmerged dependencies. Custom ray-caster configurations must name existing mount frames. Newton ray-caster poses are available through `sensor.data.pos_w` / `quat_w`; the sensor-specific pose getter was removed with its mixin. ## Validation Reproduced before fixing: - Actual Lift scene fails at the missing `/Camera` path; config-only correction leaves camera positions wrong by up to 1.5 m. - Existing frame-view tests detect missing clone expansion (OVPhysX: 2 roots instead of 12; Newton: 1 instead of 4). - The missed-ray test returns NaN without the kernel fix. Freezing OVPhysX frame poses makes the native-write regression fail. With the fix: - **130 passed** across frame views (45 Newton, 38 OVPhysX), ray casters (8 Newton, 2 OVPhysX), ray-caster kernels (17), site injection/hard resets (10), and clone labels (10). - OVPhysX frame-view contract tests now move parents through the real asset API instead of bypassing native reads with a fixture buffer. - Actual Lift and Reorient on OVPhysX and Newton MJWarp, plus Lift on Newton Steel: 4 environments, both cameras, 64×64 depth, reset and two steps. Checked mount placement, wrist attachment, and finite depth within 2.5 m. - USD packed-transform reads and the writer guard checked directly. Full `uv run isaaclab --format` passed. Isaac Sim/Kit was unavailable locally. Its separate ray-caster adapter is unchanged by the frame-tracking consolidation and remains unvalidated here. Task checks are short rollouts, not training benchmarks. ## CI follow-up validation Camera pose conversion now uses Warp views to preserve the row strides of the shared transform buffer. The previous raw-pointer conversions read the wrong positions and quaternions after the first camera. The existing lighting regression reproduced this failure before the fix; all seven previously failing Newton image comparisons pass with unchanged reference images and tolerances. Consolidated the packed-transform buffer and writer-guard assertions into the existing frame-write test, which uses the supported writer API. Updated and consolidated depth-clipping assertions to require infinite missed-ray distances before clipping, rather than NaNs. - **111 existing tests passed:** 45 Newton frame-view cases, 38 OVPhysX frame-view cases, 17 ray-caster kernel cases, 3 lighting cases, 7 Newton image comparisons, and the exact H1 demo smoke test that timed out in CI (passed locally in 64 seconds). - The consolidated USD frame-write contract passed on CPU and both GPUs; the exact updated depth-clipping test body also passed with OVPhysX. - Full repository formatting and lint checks passed. - Isaac Sim/Kit remains unavailable locally. Additional standalone RTX validation was blocked locally in native stage attachment; the complete rendering and Fabric jobs still need CI confirmation. ## Type of change - Bug fix and consolidation of frame tracking ## Release backport - [x] <!-- backport-active-release --> Backport to 3.1 after merging into `main` ## Checklist - [x] Read the contribution guidelines - [x] Run repository formatting and lint checks - [x] Update documentation - [x] Validate behavior and consolidate coverage in existing tests - [x] Add changelog fragments for each touched package --------- Co-authored-by: Octi Zhang <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 8cee60b)
## Description YAML reads currently use the system text encoding: UTF-16 configuration files fail on UTF-8 systems, and UTF-8 text can be silently misdecoded on legacy Windows locales. Read binary streams so PyYAML detects UTF-8 or BOM-marked UTF-16, and explicitly write UTF-8. The runtime fix changes only the two file-opening calls. Consolidated the output-encoding regression into the existing save/load test, retained the parametrized Unicode-input test, and enabled kitless CI selection. Rebased onto current `main`, retaining tensor serialization support. ## Compatibility Legacy locale-encoded YAML must be converted to UTF-8 before loading. The changelog records this compatibility change and includes the required major-version marker. ## Validation - All eight existing and consolidated YAML I/O cases passed. - Independently reverting binary input or explicit UTF-8 output makes the corresponding retained regression fail. - Full repository formatting and lint checks passed. ## Release backport - [x] <!-- backport-active-release --> Backport to `release/3.1.0` after this pull request merges into `main`. (cherry picked from commit 4d5efc9)
## Summary Since 19:24 UTC on 2026-12-02, every pull request that runs the standalone demo smoke test has failed it (17 of 17): the shared Warp and OVRTX caches were evicted, and with cold caches three demos exceed their startup budget. This stops the license check from filling the cache budget, and lets the demos pass with cold caches so CI recovers by itself. # Description Two changes, one per commit: 1. **Disable the uv cache of the license check** (`.github/workflows/license-check.yaml`). The workflow runs only on pull requests, so its `license-check` job saves its ~2 GB uv cache under `refs/pull/<n>/merge`, where no other pull request can restore it: eight pull requests held eight identical copies. Once the repository is over its cache limit, GitHub evicts entries by last access, so the main-scoped Warp kernel and OVRTX shader caches are lost whenever the GPU jobs do not read them for a while. 2. **Raise the startup timeout of the demos that exceed it with cold caches** (`source/isaaclab/test/app/standalone_script_cases.py`): `startup_timeout=600.0` for `nist`, `h1_locomotion` and `bin_packing`, as `zoo` and `sharpa_rj45` already use. Without it, a cache eviction fails every pull request, so nothing merges to `main` and the caches, which only `main` publishes, never come back. Measured on 2026-12-01..02: | Observation | Value | | --- | --- | | Cache held at 22:22 UTC | ~18 GB, 16.8 GB of it `license-check` uv caches (GitHub evicts asynchronously: the total exceeds the 10 GB limit until the next eviction pass) | | Evictions at 22:26, 22:33 and 22:38 UTC | every entry not accessed in the previous ~15–20 min | | Warp kernel cache from `main` | last restored at 16:19 UTC, gone at 19:32 UTC | | `standalone demos (headless, non-Kit)` from 19:24 to 23:00 UTC | all 17 jobs that ran the demos timed out (cache misses) | | Cold-cache demo time on this pull request ([Docker + Tests run](https://github.com/isaac-sim/IsaacLab/actions/runs/46993763727), CI GPU runners sm120, driver 595.58.03; Warp, OVRTX kit and kitless caches all missed) | `nist` 382 s, `h1_locomotion` 375 s, `bin_packing` 361 s: all passed under the 600 s budget (warm `bin_packing`: 57–80 s) | | `license-check` install step with the cache on (188 jobs) | median 187 s (restored: 187 s, not restored: 187 s) | | `license-check` install step with the cache off (3 runs on this pull request) | 283 s, 95 s, 208 s | ## 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 `main` ## 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` - Documentation changes are not required because only CI configuration and test settings changed - [x] My changes generate no new warnings - Test changes: the standalone demo smoke test run on this pull request, with the caches empty, exercises the new timeouts - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (`.skip`: test-only change) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there (cherry picked from commit b79a348)
# Description This automated draft updates CI to the current image from the configured Isaac Sim stream. | Field | Value | |---|---| | Image | `nvcr.io/0947644777160149/internal/isaac-sim` | | Moving tag | `latest-release-6-3` | | Current pin | `latest-release-6-3@sha256:3300cff37fde9d7ed77a5cb8fe555d623d0affa2a505e6f757fa9c5d7013aaf2` | | Candidate pin | `latest-release-6-3@sha256:6745f1725c9b4464b0e2a2ace196c0df88dca065bd3996037c43072e05dd730a` | Source: https://registry.ngc.nvidia.com/orgs/0947644777160149/teams/internal/containers/isaac-sim/tags New PRs are opened as drafts so maintainers can merge after the CI results are acceptable. ## Type of change - Infrastructure update ## Release backport - [x] <!-- backport-active-release --> Backport to `release/3.1.0` after this pull request merges into `main`. ## Screenshots Not applicable. ## Checklist Docker and GPU tests run on demand. This workflow comments `run-ci` after opening the pull request or updating its commit. - [ ] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there Co-authored-by: isaaclab-bot[bot] <282401363+isaaclab-bot[bot]@users.noreply.github.com> (cherry picked from commit 7168db3)
Performance CI uses two older GitHub Actions that trigger Node.js 20 warnings. This PR updates `setup-uv` to v10.2.0 in the benchmark and reporting jobs, matching Windows CI. It also updates the GPU cache restore and save actions to v5.1.0. Both Linux GPU jobs restored the cache without the warning. [Base GPU log](https://github.com/isaac-sim/IsaacLab/actions/runs/45271219823/job/138031528098#step:6:1) · [PR GPU log](https://github.com/isaac-sim/IsaacLab/actions/runs/45271219823/job/138031528042#step:6:1) (cherry picked from commit 783d44d)
Confidence Score: 4/5
[High impact] The backport reaches shared simulation sensors, asset state, YAML I/O, and release CI. Keep the backing memory alive for returned frame poses before merging. Findings
SummaryBackports shared frame tracking for ray casters, deformable binding fixes, YAML encoding fixes, and CI updates.
Reviews (1) · Last reviewed commit: "[CI] Update setup-uv and cache in perfor..." · Reviewed by Greptile |
| layout = dict(shape=(count,), strides=transforms.strides, device=device) | ||
| positions = wp.array(ptr=transforms.ptr, dtype=wp.vec3f, **layout) | ||
| orientations = wp.array(ptr=transforms.ptr + 3 * 4, dtype=wp.vec4f, **layout) |
There was a problem hiding this comment.
Saved frame poses become invalid
The returned position and orientation arrays borrow raw pointers into transforms, but do not keep it alive. Only the frame view owns that memory through _world_transforms; ProxyArray retains only the borrowed array. If a caller keeps get_world_poses() results after discarding the view or rebuilding its buffers, those results can read freed memory and return invalid values or crash. Previously, the returned arrays owned their storage. Make both returned arrays retain the backing allocation.
) # Description Use the same floating-point dtype for digital filter coefficients and history buffers so integer configuration literals work with floating-point input. Preserve the existing filter response and reset behavior. Fixes isaac-sim#9246. ## Type of change - Bug fix ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `main` ## Validation - Both new integer-coefficient cases failed on main and passed after the fix. - All 13 tensor-processor tests passed on CPU. - Changelog and diff checks passed. - GPU, simulator integration and full formatting checks were not run. ## Checklist - [x] Read contribution guidelines. - [x] Added regression coverage and a changelog fragment. - [x] Added contributor name. - [ ] Full formatting and integration checks. --------- Signed-off-by: Sylvester Kaczmarek <[email protected]> (cherry picked from commit 7d4024c)
The uniform and triangular samplers unpack the requested shape into torch.rand. An empty tuple, which represents a scalar tensor, supplies no size argument and raises TypeError. This also affects log-uniform sampling. Pass the shape as a tuple instead. Validation: full pre-commit checks, including changelog validation, and `git diff --check` pass. Manual CPU checks confirm tuple-shaped, scalar, and empty-tensor requests work with the tuple argument; unpacking an empty tuple reproduces the missing-size error. No new tests are included. The full math suite was not rerun for the test-only removal. ## Release backport - [ ] <!-- backport-active-release --> Backport to `release/3.1.0` after this pull request merges into `main`. --------- Signed-off-by: Sylvester Kaczmarek <[email protected]> Co-authored-by: Octi Zhang <[email protected]> (cherry picked from commit dec7cef)
…-sim#9333) Reduce shared OVStage startup work for `Isaac-Reorient-Cube-Shadow-Camera-Direct` by resolving joint-wrench bindings through explicit articulation paths from the clone plan. Remove the separate binding-readiness event and prepare native physics consumers directly during OVPhysX runtime initialization. Assets, contact sensors, and joint-wrench sensors initialize after native cloning and warmup, before deferred render copies and public `PHYSICS_READY` callbacks. - Remove `PhysicsManager.binding_init_event`, `SensorBase.initialize_event`, and the OVPhysX binding event. - Keep `PHYSICS_READY` as the public readiness event, preserving existing callback priorities and owned-stage initialization order. - Track consumers through weak references, honor callback deregistration, and retain idempotent initialization. - Prepare late-created consumers on subsequent non-soft resets and reinitialize consumers after runtime rebuilds. - Complete and seal deferred render copies before public readiness callbacks can write stage data. - Use the upstream public `expand_env_pattern` helper for joint-wrench path resolution. ## Validation - 73 focused tests passed on current main with OVPhysX 0.8.1, covering lifecycle handling, joint-wrench/contact sensors, rigid-object collections, and deformables. - Verified shared-stage consumers initialize before public callbacks, including callbacks at priority −1000. - Verified late-created consumers, runtime rebuilds, and soft-reset behavior. - Seeded shared-main versus PR captures produced bitwise-identical RGB, policy observations, and wrench values. - Formatting, lint, changelog checks, and `git diff --check` passed. ### Local legacy / main / PR comparison Main revision: `467b3457` PR revision: `47049eac` All three arms used the same machine and library versions: - AMD Ryzen Threadripper PRO 3975WX - RTX PRO 6000 Blackwell Workstation Edition, driver 615.71.09 - OVPhysX `0.8.1.45833638316` - OVRTX `0.7.0.1794596436` - OVStage `0.4.0.1794520352` Workload: 1,225 environments, 64×64 RGB cameras, 50 warmup steps, and 100 measured simulation steps. Each arm received one excluded application warmup, followed by three unprofiled repetitions in balanced order. Application caches were retained. | Measurement | Legacy on main | Shared OVStage on main | Shared OVStage with PR | | --- | ---: | ---: | ---: | | Startup KPI — median | 17.172 s | 17.713 s | 17.485 s | | Startup KPI — mean | 17.155 s | 17.832 s | 17.509 s | | Initial reset-return observation — median | 21.405 s | 28.967 s | 23.077 s | | Wrench initialization — diagnostic | 155.85 ms | 159.09 ms | 7.59 ms | The PR’s startup median was **1.3% lower than shared main** and **1.8% above legacy main**. ## Release backport - [x] <!-- backport-active-release --> Backport to `release/3.1.0` after this pull request merges into `main`. (cherry picked from commit c1f10c3)
# Description Adds the citation for *A Balanced Data Diet: Addressing the Exploration Bottleneck in Mega-Scale RL for Robot Control* (CoRL 2026) to the `isaaclab_tasks.contrib.nist` package docstring, next to the existing AlphaNIST citation. That paper introduced the success-guided reset sampling (SGS) that the NIST assembly tasks use through their Beta-score reset sampler (`contrib/nist/utils/variant_sampling.py`). This changes only the docstring, so it includes a `.skip` changelog fragment. ## Type of change - Documentation update ## 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/) on the changed files - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there (cherry picked from commit 672fedc)
## Description ARM CI does not have the NVIDIA 590-series or newer driver required by OptiX 9.1. Mark the parametrized OptiX rendering test as `xfail(run=False)` on `aarch64` and `arm64`, so these cases report expected failures without initializing the unsupported runtime. x86 OptiX coverage and Newton Warp tests remain enabled. ### Driver documentation check Verified that [docs/source/concepts/renderers.rst](https://github.com/isaac-sim/IsaacLab/blob/main/docs/source/concepts/renderers.rst#L101-L114) already requires NVIDIA driver 590 or newer for OptiX 9.1 and identifies `ImportError: Unsupported ABI version` on older drivers. No documentation change is needed. ### Validation - Passed `UV_NO_SYNC=1 uv run isaaclab --format` using the existing uv-managed environment. - Passed `uv run --no-sync python tools/changelog/cli.py check upstream/main --include-worktree` and `git diff --check`. - Evaluated the actual xfail decorator for `aarch64`, `arm64`, `x86_64`, and `AMD64`: only ARM64 enables the marker; verified Newton Warp has no xfail marker. - GPU execution was not available locally. Attempted focused pytest collection with `-k optix --collect-only`; collection is blocked because this macOS environment lacks `isaaclab_newton`. ## Type of change - Bug fix (CI test expectations) ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with `uv run isaaclab --format` - [x] I have verified the existing driver requirement documentation - [ ] My changes generate no new warnings (GPU validation pending) - [x] I have applied the test-audit criteria and checked the platform marker conditions - [x] I have added a changelog skip fragment for this test-only change - [x] My name already exists in `CONTRIBUTORS.md` (cherry picked from commit 24da77b)
|
run-ci |
|
run-ci |
## Description Document an explicit `uv pip install "tyro==0.9.17"` step for GR00T N1.7 to fix `ModuleNotFoundError` when importing `gr00t.configs.model`. Keep `tyro`, `shtab`, and `typeguard` out of Isaac Lab's `rlinf` extra and lockfile. The separate user installation still brings MPL-2.0-licensed `shtab` into the external GR00T environment. The N1.7 Git installation skips demo LFS downloads and upstream uv source overrides. This avoids a missing demo LFS object and uv rejecting the upstream repository-local torchcodec wheel reference. ## Type of change - Bug fix - Documentation update ## Validation - Prior Linux aarch64 / NVIDIA GB10 validation confirmed the missing-`tyro` failure and successful N1.7 configuration, RLinf model, and Isaac Lab RLinf extension imports after installing `tyro==0.9.17`. CUDA tensor computation passed; end-to-end training was not run. - Final repository formatting and lint checks passed: `uv run --no-sync isaaclab --format`. - Confirmed `pyproject.toml` and `uv.lock` match their pre-PR versions; none of the three packages appear in the lockfile. - The earlier revision passed a clean documentation build on Linux aarch64. The final local documentation build was blocked during configuration by missing `sphinx_book_theme`. ## Checklist - [x] Read the contribution guidelines - [x] Ran repository formatting and lint checks - [x] Updated the installation documentation - [x] No source package changes requiring a changelog fragment - [x] Contributor already listed (cherry picked from commit e88e8df)
## Summary Update Newton to merged [`838ddf5`](newton-physics/newton@838ddf5), including the MuJoCo 4.1 integration and camera graph-capture fix. Use MuJoCo/MuJoCo Warp **4.1.0**, standard indexed Warp **1.20.0** with CUDA 13, and Newton USD schemas **0.8.0**. The released MJCF converter is temporarily patched inside Isaac Lab. There is **no converter fork pin**, no dependency on an unmerged PR, and no converter tests are skipped. The MuJoCo 4.0.1/Warp 1.19 rollback is removed. Newton owns the MuJoCo Warp requirement. Keep a single `mujoco-warp~=4.1.0` override because Isaac Sim pins an older release. The two Newton overrides preserve its `sim` and optional `optix` extras; a plain override silently drops those extras. Wheel overrides are generated from the same root requirements. No unrelated package versions are updated. ## Temporary MJCF converter patch MuJoCo 4.1 removed per-geom `solmix`. The existing released converter still reads it, so MJCF-to-USD conversion fails on collision geometry. Existing USD assets and simulation paths that do not invoke this converter are unaffected. During conversion only, supply the old default weight of `1.0`, which matches MuJoCo 4.1's equal weighting. Simplified: ```python with patch.object(mujoco.MjsGeom, "solmix", 1.0, create=True): generated_usd_path = MJCFImporter(import_config).import_mjcf() ``` The implementation preserves an existing field if present, restores the original interface on exit, and serializes imports while the temporary field is active. The existing importer test checks restoration. Remove this local patch once a release contains [mujoco-usd-converter isaac-sim#161](newton-physics/mujoco-usd-converter#161); merging this PR does not require waiting for it. ## Why other code changes accompany the bump **Reset buffers:** Warp 1.20 rejects a kernel argument in this compile-time expression: ```diff - if wp.static(len(source.shape) == 1): + if wp.static(ndim == 1): ``` Read the rank in Python and specialize a shared gather/scatter kernel. Masks, strided views, and graph replay remain covered. **Sensors:** Newton moved acceleration and joint-force outputs into solver observables: ```diff - state.body_qdd + observables.body_qdd - state.body_parent_f + observables.body_parent_f ``` Request the outputs before solver initialization and bind the arrays afterward. IMU, PVA, and joint-wrench sensors can then work when MuJoCo's sensor stage is disabled for deterministic execution. **Actuators:** adopt the current command-interface API and update existing callers: ```diff - Actuator(delay=delay, ...) + Actuator(command_interface=delay, ...) - state.delay_state + state.command_interface_state ``` Use `CommandInterfaceDelay`, remove the deprecated `"controller"` alias, and use `"drive"` directly. Tests use real Newton actuators instead of maintaining a stand-in for Newton internals. **Solver defaults and reset:** Newton synchronizes inputs on every step and infers world separation: ```diff - MJWarpSolverCfg(update_data_interval=2, ls_parallel=False) + MJWarpSolverCfg() ``` Delete ignored-option warning shims and the private synchronization call. Reset becomes: ```python self.native.reset(state, world_mask=world_mask, flags=0) ``` `flags=0` preserves the authored pose while clearing solver history. Native MuJoCo CPU simulation requires one world. Remove `KaminoPADMMCfg.compl_tolerance`, which Newton rejects; primal and dual tolerances remain. Other changes required by upstream behavior: - Remove `MujocoCollisionCfg.solmix` and its USD writer; MuJoCo 4.1 removed that field. Use `priority` when one collider's parameters should win. - Rename `soft_contact_margin` to Newton's `soft_contact_gap`. - Clear joint-level collision filtering for visual-only clones. - Retain the original RGB camera references. Merged [Newton isaac-sim#5791](newton-physics/newton#5791) fixes the captured upload from freed ambient-light host memory. - Keep only the MPM reference update: [Newton isaac-sim#5021](newton-physics/newton#5021) changes the fixture's particle contact calculation. Swapping only that solver code reproduces the pile-shape change. - Allow ten minutes for NIST and H1 startup; first-time kernel compilation exceeded five minutes on CI. One independent CI fix remains: remove an unused Omniverse documentation inventory that returns HTTP 403. ## CUDA 13 and CI Use standard indexed Warp 1.20 without platform wheel URLs or application compiler overrides. The merged [LEAPP isaac-sim#112](nvidia-isaac/leapp#112), commit [`e43b364`](nvidia-isaac/leapp@e43b364), stops changing process-wide Warp compiler settings on import. Pin that merged `develop` commit in the LEAPP extra and RL CI job. On the original runner, this fix passed the full RL suite: 292 passed, one skipped. **ARM OptiX still needs a runner driver update.** Newton now installs OptiX on ARM64 too. The Spark runner has `580.159.03`; OptiX 9.1 requires **R590 or newer** ([NVIDIA requirements](https://developer.nvidia.com/designworks/optix/download)). Its eight Newton Warp rendering cases pass against the original goldens, but OptiX fails during import with `Unsupported ABI version`. The merged CI configuration marks this ARM-only case as an expected failure until the runner driver is updated. ## Validation - Updated the windowless viewer fixtures for camera revisions, the relocated GUI module, and text-input capture. All 55 visualizer adapter tests pass. - Updated OVPhysX native-delay coverage to `CommandInterfaceDelay` and `command_interface_state`. All 51 OV articulation tests pass, with 15 existing skips. Both suites failed on the old fixture APIs before the update. - All 11 MJCF importer tests pass with published converter 0.7.0, MuJoCo 4.1.0, Warp 1.20.0, and the local patch. The original CI run failed all 11 on the missing `solmix` field. - All 54 actuator-collection and root/wheel packaging tests pass with the restored dependency set. - Full formatting/lint, changelog, LFS, and lock consistency checks pass. - The same Newton revision previously passed nine selected rendering cases with the original references and 182 focused actuator, solver, sensor, reset, and packaging cases. The final converter patch changes only MJCF conversion. CI validates the rebuilt images and platform coverage on the updated head. ARM OptiX is recorded as an expected failure pending the driver update above. --------- Co-authored-by: Kelly Guo <[email protected]> (cherry picked from commit 2578a6a)
|
run-ci |
# Description `MPMSolver.prepare_builder` retyped every convex hull in a scene as a triangle mesh, including robot links that MPM never touches. That changed their rigid collision representation and sent them through the mesh collision path. Keep their authored types and let Newton's implicit MPM solver handle convex hulls directly. The regression fixture creates a real, non-degenerate convex hull through the builder API and checks that its type survives solver construction. Merged main after isaac-sim#9270. Its Newton revision `838ddf544927333559af894dfba0edb1a9efba04` already includes convex-hull MPM support. Dependency pins, the lockfile, wheel overrides, contact API cleanup, `soft_contact_gap` rename, and removal of the unused Omniverse documentation inventory are all inherited from main. Removed the duplicate contact API changelog and major-bump marker. No dependency on an unmerged Newton PR remains. ## Type of change - Bug fix ## Validation Cleanup revision `3add63a3b`: - Full repository formatting/lint passed using `UV_NO_SYNC=1 ISAACLAB_CHANGELOG_BASE_REF=upstream/main uv run isaaclab --format`. - Changelog validation against `upstream/main`, whitespace checks, and merge-conflict checks passed. - Confirmed the Newton revision inherited from isaac-sim#9270 accepts `CONVEX_MESH` in its implicit MPM collider implementation. - Focused solver tests could not collect in the local macOS environment because `ovstorage` is missing. Frozen synchronization is unsupported on macOS by the project lockfile. The CUDA MPM regression requires CI verification on a supported platform. ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the repository formatting/lint checks. - [x] I have updated the PR description for the final scope. - [x] I have applied the test-audit criteria to the retained regression coverage. - [x] I have retained the changelog fragment for the MPM behavior change. --------- Co-authored-by: Octi Zhang <[email protected]> Co-authored-by: Kelly Guo <[email protected]> (cherry picked from commit e5f0a3f)
|
run-ci |
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Compatibility and deprecation (16), Style consistency (3), Test quality (1). Other reviewed categories look good.
- PR description: Condense superseded validation and complete the removal ledger; substantiate MJWarp synchronization and MPM speed claims with reproducible baseline/candidate revisions, commands, hardware, backend, environment count, warmup, throughput, latency, and peak memory.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: Breaking changes: the controller alias disappears before its promised 3.2 removal, alongside configuration, lifecycle, sensor, site, and encoding contracts; restore functional bridges, targeted warnings, migration/removal guidance, and transition coverage.
- Implementation: Implementation looks good.
- Style consistency: The generated reset kernel lacks required compilation isolation; add module="unique" and the factory return annotation.
- Test quality: The missed-depth kernel cases duplicate the stronger public camera clipping regression; remove the replay and retain sensor-boundary proof.
Significant concerns. Posted 20 inline findings.
Automated review; human maintainers own approval decisions.
| collection: ActuatorCollection, name: str, component: str, attr: str | ||
| ) -> list[tuple[Actuator, Any]]: | ||
| """Resolve the component instances exposing ``attr`` for one native group.""" | ||
| if component == "controller": |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Keep controller alias until 3.2
Removing the translation makes existing group-parameter calls fail before the announced 3.2 removal; restore the alias, targeted DeprecationWarning, migration guidance, and compatibility assertions until that release.
| def _make_copy_rows_kernel(ndim: int, scatter: bool): | ||
| """Specialize indexed row copying by rank and direction while preserving strided views.""" | ||
|
|
||
| @wp.kernel |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Isolate generated reset kernels
The cached kernel factory omits the required module="unique", leaving specializations in a shared compilation module; use the prescribed isolated decorator and annotate the factory return as wp.Kernel.
| backend_name: ClassVar[str] | ||
| """Backend implementation key used by asset and sensor factories.""" | ||
|
|
||
| binding_init_event: Enum = PhysicsEvent.PHYSICS_READY |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Bridge binding readiness removal
Removing the documented binding_init_event attribute breaks extension subscriptions and overrides; retain functional event selection and dispatch through deprecation, with targeted warning, replacement/removal guidance, and transition validation.
| if not hasattr(self, "_view_count"): | ||
| view: Any = self._view | ||
| self._view_count = view.count | ||
| self._view_count = self._view.count |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Preserve pose-tracking extension hooks
Documented subclasses supplying _view_count and transform overrides now require _view.count, while get_world_poses-only views lose the packing fallback; preserve both extension paths through deprecation with targeted migration guidance.
| disp_cam = wp.quat_rotate_inv(quat_w[env], disp_w) | ||
| value = disp_cam[0] | ||
| value = depth | ||
| if not wp.isinf(depth): |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Transition the missed-depth sentinel
Unclipped image-plane misses change from the previously tested NaN sentinel to infinity, breaking NaN-based detection; preserve legacy behavior during a warned transition and document and validate the replacement sentinel.
|
|
||
| body_expr = _CONCRETE_ENV_NS.sub(_ENV_SLOT_NS + "/", body_expr.replace("{}", "[^/]+")) | ||
| site_transform = wp.transform(fixed_pos or (0.0, 0.0, 0.0), fixed_quat or (0.0, 0.0, 0.0, 1.0)) | ||
| self._sensor_site_label = self._backend_manager.register_site(body_expr, site_transform) |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Transition synthetic Newton mounts
Previously accepted missing Camera/RayCaster child paths now fail frame resolution; preserve deprecated parent-mount resolution with FutureWarning, explicit-frame migration/removal guidance, and old/new validation.
|
|
||
|
|
||
| class NewtonRaycastSensor(_NewtonRayCasterPoseMixin, BaseRayCaster): | ||
| class NewtonRaycastSensor(BaseRayCaster): |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Retain ray-caster pose accessors
Removing the pose mixins drops count and get_world_poses(indices) from Newton and OVPhysX ray-caster families; retain deprecated accessors with original return, selection, and freshness semantics until migration completes.
| ``(0.9, 0.95, 0.001, 0.5, 2.0)`` when the attribute is not authored. | ||
| """ | ||
|
|
||
| solmix: float | None = None |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Deprecate solmix before removal
Existing solmix configurations now raise TypeError and lose their mixing policy; retain the input and compatible execution through a warned, documented transition, or postpone the incompatible dependency upgrade.
| __backend_name__: str = "ovphysx" | ||
| """The name of the backend for the joint wrench sensor.""" | ||
|
|
||
| def _register_callbacks(self): |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Move callback registration below public members
The new private _register_callbacks method precedes init, unlike the prescribed member order and adjacent contact-sensor implementation; move it into the private implementation section.
| ), | ||
| mesh_prim_paths=RAYCASTER_CAMERA_MESH_PRIM_PATHS, | ||
| max_distance=2.5, | ||
| depth_clipping_behavior="max", |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Transition policy observation defaults
Existing Lift/Reorient presets now feed finite 2.5 m values for missed rays, changing trained-policy inputs; expose corrected clipping separately and retain legacy defaults during a warned, documented migration.
Description
Backport fourteen merged PRs to
release/3.1.0:6745f1725c9b.Cherry-picked with
-x, preserving one commit per source PR. The first six were applied in merge order (#9334, #9062, #9292, #9359, #9346, #9172), followed by #9247, #9285, #9333, #9366, #9369, #9365, #9270, and #9317. All fourteen applied without conflicts or manual edits. Every stable patch ID matches its original merge commit. Original documentation, regression tests, and changelog fragments are preserved.Compatibility
These are the original PRs in full, including their compatibility changes and version markers:
Read YAML streams independently of the system encoding #9292: legacy locale-encoded YAML must be converted to UTF-8.
Fix ray-caster mounts through shared frame views #9062: ray casters require an existing mount frame; the old Newton/OVPhysX synthetic mounting behavior is removed. The shared FrameView transform API is added. Kuka-Allegro missed rays now clip at 2.5 m, changing observations seen by previously trained policies.
Initialize OVPhysX joint-wrench bindings before render cloning #9333: removes unreleased internal binding-event plumbing; public
PhysicsEvent.PHYSICS_READYsubscriptions and callback priorities remain supported. This includes the lifecycle changes from the original PR.Bump Newton and MuJoCo Warp for MuJoCo 4.1 #9270: upgrades core dependencies and includes breaking API removals. Actuators use
command_interface/command_interface_stateanddrive; Newton sensors use solver observables. Removed options includeMujocoCollisionCfg.solmix,MJWarpSolverCfg.update_data_interval/ls_parallel, andKaminoPADMMCfg.compl_tolerance;soft_contact_marginbecomessoft_contact_gap. Native MuJoCo CPU simulation requires one world. The temporary MJCF converter patch and original migration documentation are included. ARM OptiX requires an R590+ driver; Mark ARM OptiX rendering tests as expected failures #9369 retains the expected failure on current ARM CI.Type of change
Validation
Latest combined head:
1a2304c75. The branch includes a merge of release tip7cfe2659fin9f60679bc; existing changes from that merge are preserved.Final combined-head checks
upstream/release/3.1.0, andgit diff --check upstream/release/3.1.0passed at1a2304c75.838ddf544927333559af894dfba0edb1a9efba04is already locked through Bump Newton and MuJoCo Warp for MuJoCo 4.1 #9270.uv run --no-sync python -m pytest source/isaaclab_newton/test/physics/test_newton_solvers.py -k mpm -q; collection is blocked by the missingisaaclab_newtoninstallation in this macOS environment. The CUDA regression requires supported-platform CI.Earlier thirteen-backport checks
ISAACLAB_CHANGELOG_BASE_REF=upstream/release/3.1.0 uv run --no-sync isaaclab --format.upstream/release/3.1.0andgit diff --check upstream/release/3.1.0passed.uv run --no-sync python -m pyteston the corresponding CLI test files.838ddf544927333559af894dfba0edb1a9efba04.Earlier twelve-backport checks
upstream/release/3.1.0, andgit diff --check upstream/release/3.1.0passed at26293b3bc.pyproject.tomlanduv.lockare unchanged by this cherry-pick.bash -n. External GR00T installation and training were not rerun locally.Earlier eleven-backport checks
upstream/release/3.1.0, andgit diff --check upstream/release/3.1.0passed at2a7783ebe.aarch64,arm64,x86_64, andAMD64: only ARM64 enablesxfail(run=False); Newton Warp tests retain no xfail marker.Earlier ten-backport checks
The following checks passed at
97dc765f9, before the test-marker-only #9369 cherry-pick:ISAACLAB_CHANGELOG_BASE_REF=upstream/release/3.1.0 uv run --no-sync isaaclab --format.uv run --no-sync python tools/changelog/cli.py check upstream/release/3.1.0 --include-worktree.git diff --check upstream/release/3.1.0passed.uv run --no-sync python -m pytest source/isaaclab/test/utils/test_tensor_processors.py -q.Earlier six-backport checks
The following passed at
2afdfd8be, before the four additional cherry-picks, usinguv run --no-sync python -m pytest <file> -q, one file per process:Remaining validation
uv run --no-sync isaaclab --docs; its nested uv invocation was blocked by that platform restriction. The expanded documentation changes still need a supported-platform build.Checklist