Skip to content

Improve Partial Visualization - #3

Open
matthewtrepte wants to merge 40 commits into
mtrepte/update_viz_2from
mtrepte/partial_viz
Open

matthewtrepte wants to merge 40 commits into
mtrepte/update_viz_2from
mtrepte/partial_viz

Conversation

@matthewtrepte

Copy link
Copy Markdown
Owner

Description

Improve Partial Visualization feature where a subset of envs are shown in the launched visualizers to speed up performance.

Newton visualizers align on using the set_visible_worlds API to select envs to show.

Kit visualizer just sets non selected envs invisible.

Updated docs and added tests.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --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 updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab infrastructure labels Apr 20, 2026
# Description

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link:
https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html

💡 Please try to keep PRs small and focused. Large PRs are harder to
review and merge.
-->

Tests
- Add visualizer tests which load cartpole scene and check the viewport
isn't black or frozen
- Add regression tests for visualization pumping from Pascal's change -
isaac-sim#5056

Newton Visualizer
- Fix "Pause/Resume Rendering" button
- Change "Pause/Resume Training" to "Pause/Resume Simulation"

Kit Visualizer
- Fix recording in headless mode
- Resolve overlapping camera cfg behavior in ViewerCfg and
KitVisualizerCfg (will likely need another PR + design to streamline the
cfgs)

Rerun Visualizer
- Fix issue when launching rerun  + newton physics without KitVisualizer

RTX Renderer
- Fix stale image issue after resets which require Kit Visualizer's
continuous app updates to avoid
- Fix strange wrist camera orientation offset issue

Else
- Rename camera_position/camera_target_position fields to eye/lookat
across the board


<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (existing functionality will not work without user
modification)
- Documentation update

## Screenshots

Please attach before and after screenshots of the change if applicable.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] 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 updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
Signed-off-by: matthewtrepte <mtrepte@nvidia.com>
Signed-off-by: matthewtrepte <mtrepte@nvidia.com>
huidongc and others added 12 commits April 22, 2026 06:17
# Description

This PR upgrades the Newton physics library to git commit `a27277`, pins
`mujoco` and `mujoco-warp` to 3.6.0, and refreshes four Dexsuite Kuka
golden images that changed because the new Newton version now correctly
honors prim visibility in the Warp renderer.

Fixes # (issue)

## Type of change

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (existing functionality will not work without user
modification)
- 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/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
…#5231)

# Description

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link:
https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html

💡 Please try to keep PRs small and focused. Large PRs are harder to
review and merge.
-->

Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (existing functionality will not work without user
modification)
- Documentation update

## Screenshots

Please attach before and after screenshots of the change if applicable.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] 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 updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Signed-off-by: bdilinila <148156773+bdilinila@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
)" (isaac-sim#5348)

We don't need custom instrumentation.

Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (existing functionality will not work without user
modification)
- Documentation update

## Screenshots

Please attach before and after screenshots of the change if applicable.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] 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 updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
Fix documentation bugs, improve installation guides, add install_ci test
coverage, and decouple isaaclab_physx from isaaclab_newton.

[Lines 24, 25, 27 in Isaac Lab Release Tracker]

- Fix incorrect variable, link, comment syntax, and missing pip index
URL in installation docs
- Rewrite cloud installation guide for Isaac Automator v4
- Improve installation docs consistency: standard venv name, aarch64
PyTorch tab, rl_games clarification
- Add install_ci test for Newton-only and PhysX-only installation paths
- Decouple isaaclab_physx from hard isaaclab_newton dependency: remove
NewtonSceneDataProvider from the physx .pyi stub, gate the import behind
an availability check with a warning, and add newton as an optional
dependency in isaaclab_physx setup.py
- Add automatic docker/native environment detection with marker-based
test skipping

## Type of change

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- 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/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
# Description

Fixes 3.0 GA M1 issues.

Code changes in this PR fix:

- NVBug 5985028 (also fixes 5984996) - Win11 isaaclab.bat install +
Sim-binary detection on conda.
- NVBug 5992915 - docs version selector now picks up pre-release tags
like v3.0.0-beta.

Triaged separately (no code changes needed in this PR):

- NVBug 5974917 - hf-xet pip metadata error: fixed via PR#4992 plus
Artifactory cache purge.
- NVBug 5994306 - Docker image not found: already fixed in PR#5189
(ISAACSIM_VERSION=6.0.0-dev2).
- NVBug 5974684 - pip [newton] warp-lang conflict: already aligned
(warp-lang==1.12.0 in tools/wheel_builder/res/python_packages.toml).
Needs next-rc-wheel re-verify.
- NVBug 5983721 - pip pillow conflict: already aligned (pillow==12.1.1
in tools/wheel_builder/res/python_packages.toml). Needs next-rc-wheel
re-verify.
- NVBug 5983082 - duplicate of 5979273 (Isaac Sim sensors.rtx Windows
DLL chain).
- NVBug 5627823 - VDR docs feedback: item 1 already fixed on develop via
-u/--uv; remaining items split into follow-ups.

This should complete M1 issues.

## Type of change

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

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with ./isaaclab.sh --format
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's config/extension.toml file
- [x] I have added my name to the CONTRIBUTORS.md or my name already
exists there
# Description

Transitions the raycaster to warp

## Type of change

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: Antoine Richard <antoiner@nvidia.com>
# Description

Replaces the single-buffer WrenchComposer with a dual-buffer
architecture that stores global (world-frame) and local (body-frame)
forces separately.

Follows develop's warp-first paradigm: all internal buffers are warp
arrays, inputs accept both torch.Tensor and wp.array (warp ingests both
natively), outputs are wp.array.

Updates PhysX and Newton asset write_data_to_sim to use
add_raw_buffers_from
+ compose_to_body_frame instead of the old
composed_force/composed_torque merge pattern.

## Type of change

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

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] 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 updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: ClemensSchwarke <clemens.schwarke@gmail.com>
matthewtrepte and others added 14 commits April 22, 2026 17:09
…c-sim#5268)

# Description

- Add message-channel-based start/stop/reset control from the XR
headset, replacing
the legacy carb message bus path with TeleopCore's native
`teleop_control_pipeline`.
- Introduce `ControlEvents` dataclass, `poll_control_events()` helper,
and
`MessageChannelTeleopStateManager` for consuming control commands over
the
  OpenXR opaque data channel (`XR_NV_opaque_data_channel`).
- Bridge pipeline-based control events to legacy `add_callback()`
callbacks so
  existing scripts work without migration.
- Fix `IsaacTeleopDevice.reset()` to propagate reset to retargeters via
`ExecutionEvents`, and fix `record_demos.py` to reset the teleop device
on
  success-triggered environment resets.
- Fix shutdown hang caused by Kit's pre-shutdown callback racing with
the
  simulation loop.


Fixes # (issue)

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

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

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
# Description

For the rendering correctness test, we don't really need the
`env.reset()` call to fill the camera output buffers. Instead, if we
remove `env.reset()`, the camera output buffers will be filled on the
invocation of camera.data:
```python
    @Property
    def data(self) -> CameraData:
        # update sensors if needed
        self._update_outdated_buffers()
        # return the data
        return self._data
```

This means we can remove `env.reset()` calls in the rendering
correctness test to avoid non-deterministic initial pose. Articulation
bodies will be at their default pose for rendering for all combos. With
this removal I can set the max pixel diff threshold to smaller
(stricter) values:
```python
    "cartpole": 1.0,      # decreased from 2.0
    "shadow_hand": 3.0,   # decreased from 8.0
    "dexsuite_kuka": 4.0, # decreased from 10.0
```

The test will become more sensitive to capture rendering changes but
hopefully it can still tolerate minor pixel noise.

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

- Test-only change


## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
…5360)

# Description

Adds a new column to the environments list with available presets
defined for all example environments.
Fixes recent doc build errors.

## 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/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Co-authored-by: Kelly Guo <kelly@nvidia.com>
…and shared contract tests (isaac-sim#5179)

# Description

### Summary

Rewrites the Newton `XformPrimView` from scratch with correct local-pose
semantics, a clean site-based architecture, and a shared test contract
that enforces the same invariants across all backends (USD, Fabric,
Newton).

**Key changes:**

- **Fix local poses**: `get_local_poses` / `set_local_poses` now
correctly compute parent-relative transforms on GPU (`inv(parent_world)
* prim_world`) instead of incorrectly returning world poses
- **Fix set_world_poses**: Updates `site_local` offset instead of
writing `body_q` directly (which would move the parent body)
- **Guard against misuse**: Raises `ValueError` if prim path resolves to
a physics body or collision shape — XformPrimView is for non-physics
child prims only (cameras, sensors, markers)
- **Warp-native API**: All inputs/outputs are `wp.array` — no torch/list
conversion overhead
- **Factory dispatch**: `from isaaclab.sim.views import XformPrimView`
now auto-selects the correct backend (USD, Fabric, Newton) via
`XformPrimViewFactory`
- **Composition over inheritance**: PhysX `FabricXformPrimView` uses
composition (`self._usd_view`) instead of inheriting from
`UsdXformPrimView`
- **Explicit class names**: `UsdXformPrimView`, `FabricXformPrimView`,
`NewtonSiteXformPrimView` — no more ambiguous `XformPrimView` in every
package
- **Shared contract tests**: 16 test functions in
`xform_contract_tests.py` that any backend imports and runs by providing
a `view_factory` fixture
- **Benchmark updates**: Both benchmark scripts support Newton, use
warp-native arrays, and include per-backend round-trip verification

### Type of change

- [x] Bug fix (Newton local poses were fundamentally broken — `local ==
world`)
- [x] New feature (shared contract test infrastructure, factory
dispatch)
- [x] Breaking change (Newton `XformPrimView` renamed to
`NewtonSiteXformPrimView`, PhysX to `FabricXformPrimView`; indices
parameter changed from `Sequence[int]` to `wp.array`)
- [x] Documentation update

### Expected failures

- `test_set_world_updates_local[cuda:0]` in Fabric — pre-existing
limitation: `set_world_poses` writes to `omni:fabric:worldMatrix` but
`get_local_poses` reads from USD, so local poses are stale after a
Fabric world write. This will be fixed by the Fabric backend PR (isaac-sim#4923)
which adds `omni:fabric:localMatrix` support.

### Test results

| Backend | Passed | Failed | Skipped |
|---|---|---|---|
| Newton | 40 | 0 | 0 |
| USD | 45 | 0 | 0 |
| Fabric | 15 | 1 (xfail) | 16 (CPU) |
| Camera | 20 | 0 | 0 |
| TiledCamera | 61 | 0 | 0 |
| RayCaster | 5 | 0 | 0 |

### Benchmark (1024 prims, 50 iterations, RTX 5090)

```
========================================================================================================================
BENCHMARK RESULTS: 1024 prims, 50 iterations
========================================================================================================================
Operation                         Isaaclab Usd (ms)   Isaaclab Fabric (ms) Isaaclab Newton Site (ms)
------------------------------------------------------------------------------------------------------------------------
Initialization                               3.7168                 3.6596                39.0608
Get World Poses                              6.6730                 0.0296                 0.0180
Set World Poses                             15.5574                 0.0640                 0.0186
Get Local Poses                              4.6086                 4.5637                 0.0216
Set Local Poses                              6.4680                 6.6221                 0.0218
Get Both (World+Local)                      12.1240                 4.7361                 0.0374
Interleaved World Set->Get                  23.4141                 0.1050                 0.0344
========================================================================================================================

Total                                       72.5619                19.7800                39.2126

========================================================================================================================
```

### Checklist

- [x] I have read and understood the contribution guidelines
- [ ] I have run the pre-commit checks with `./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Kelly Guo <kellyg@nvidia.com>
Co-authored-by: Antoine Richard <antoiner@nvidia.com>
Co-authored-by: Kelly Guo <kellyg@nvidia.com>
…aac-sim#5202)

# Description

`Articulation.find_joints` and `find_bodies` delegate to
`resolve_matching_names`, which runs a Python regex double-loop on every
call. Nsight profiling of the pick-place task showed this costs ~881μs
per call (~1.83 ms / 1.5% of step time) for work that always returns the
same result — joint and body names are fixed after construction.

This PR adds a module-level `@functools.cache` on a new private
`_resolve_matching_names_impl` helper. Hashable tuples are used for the
cache key; cached results are immutable tuples that the public wrapper
copies into fresh lists per caller, so callers cannot mutate shared
state. `resolve_matching_names_values` is left uncached because its
current callers only use it during init, never in the step loop.

A `clear_resolve_matching_names_cache()` helper is called from
`SimulationContext.clear_instance()` so cached entries from destroyed
assets do not accumulate across scene rebuilds in long-lived processes.

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link:
https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html

💡 Please try to keep PRs small and focused. Large PRs are harder to
review and merge.
-->

Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- New feature (non-breaking change which adds functionality)

## Screenshots

Please attach before and after screenshots of the change if applicable.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Co-authored-by: Antoine Richard <antoiner@nvidia.com>
# Description

The origin remote points to the public isaac-sim/IsaacLab repo. Agents
and contributors should push to their own fork remote or to the remote
of the PR they are working on instead.

## Type of change

- Documentation update

## Checklist

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] 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 updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
matthewtrepte pushed a commit that referenced this pull request Sep 17, 2026
…dential (isaac-sim#7741)

# Description

A job that pulls a public `nvcr.io/nvidia/*` base image fails with
`denied: Access Denied`. The runners carry an ambient docker credential
for a private NGC organization, and nvcr.io refuses that credential a
pull token for a public repository instead of downgrading the request to
anonymous. `_lib/setup-docker-config` now takes an optional
`base-image-ref`: when the configured credentials are denied that image
and anonymous access can read it, the stored nvcr.io credential is
dropped from the job's temp config so the pull proceeds anonymously.
`_lib/compute-deps-hash` stops swallowing an unreadable base image
manifest, which silently dropped the digest from the dependency-cache
key.

| Before | After |
| ------ | ----- |
| `load metadata for nvcr.io/nvidia/isaac-sim:6.1.0` fails with `failed
to fetch oauth token: denied: Access Denied`, and an unreadable manifest
degrades the deps-cache key to a bare tag string with only a `🟠` note |
The credential is dropped for nvcr.io only when it is provably the
obstacle, the pull proceeds anonymously, and an unreadable manifest
fails with a named `::error::` |

## Reproduction

1. Point `.github/workflows/config.yaml` at a public base image:
`isaacsim_image_name: nvcr.io/nvidia/isaac-sim` and `isaacsim_image_tag:
6.1.0`.
2. Open a pull request from a fork, so no `NGC_API_KEY` is available and
the runner's ambient credential is the only one present.
3. Observe any job that builds the base image, for example `Docker
Dependency Licenses Check`:

```
#3 [auth] nvidia/isaac-sim:pull token for nvcr.io
#4 [internal] load metadata for nvcr.io/nvidia/isaac-sim:6.1.0
#4 ERROR: failed to authorize: failed to fetch oauth token: denied: Access Denied
ERROR: failed to build: failed to solve: failed to fetch oauth token: denied: Access Denied
```

4. The same step also logs `🔵 Base image ID:
nvcr.io/nvidia/isaac-sim:6.1.0` with no `sha256:` suffix, which is the
silent digest fallback in `compute-deps-hash`.

## Scope

Every workflow on this branch pins the private
`nvcr.io/0947644777160149/internal/isaac-sim` image today, where the
configured credentials succeed and the fallback stays dormant. This
change is the prerequisite that lets a public base image be configured
without the failure above; it does not change which image any workflow
uses.

## Type of change

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

## Release backport

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

## Screenshots

Not applicable; this changes CI action behavior only.

## Validation

The fallback only narrows credentials, never widens them, so each guard
was exercised against a stubbed `docker` and a realistic three-registry
config (nvcr.io, ECR, Docker Hub):

- Public nvcr.io image, credentials denied, anonymous readable: the
nvcr.io entry is dropped and the ECR and Docker Hub entries survive, so
pushes keep working.
- `ubuntu:24.04`, which `kitless-docker.yml` passes: the ref is not an
nvcr.io image, so the config is left untouched and the Docker Hub
credential keeps its pull-rate budget.
- Private internal image readable with credentials: no probe fallback,
no change.
- Registry 503 rather than an authorization refusal: retried, then a
warning, and the credential is kept, so a transient error cannot cost a
working credential.
- A docker config this action did not create: left unchanged, so a
runner-level `DOCKER_CONFIG` is never edited.
- `NVCR.IO/...` and `nvcr.io:443/...` resolve to the same registry as
`nvcr.io/...`; `nvcr.io.evil.com/...` does not match.
- `compute-deps-hash`: a digest-pinned tag such as
`latest-develop@sha256:...` is used directly with no network call, a
malformed digest pin fails with a named error, an authorization refusal
fails immediately, a transient failure is retried 5 times over about 50
seconds, and a warning on stderr during a successful read is no longer
concatenated into the digest.
- These are committed as
`.github/actions/_lib/test_registry_credential_fallback.py` (14 tests,
the co-located pattern of
`run-package-tests/test_cleanup_docker_storage.py`) and registered in
`tools-tests.yml` so they run in CI.
- Mutation checks: removing the nvcr.io scope, the exact-digest check,
the ownership guard, or the `credHelpers` handling each makes the
corresponding test fail, so the suite exercises the intended behavior
rather than only the happy path.
- `python -m py_compile` on the new helper, `bash -n` on every `run:`
block in the five changed files, YAML parse of each, and `codespell`
clean.

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format` — not run; this change touches only `.github/`,
validated with `bash -n`, `py_compile`, a YAML parse and `codespell`,
and the repository's own `pre-commit` check on this branch
- [x] I have made corresponding changes to the documentation — the
action's `description` and the new input document the fallback
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package (do **not** edit
`CHANGELOG.rst` or bump `extension.toml` — CI handles that) — not
applicable; no package is touched
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
matthewtrepte pushed a commit that referenced this pull request Dec 2, 2026
# Description

**MDP2 Part 2** is the second update of MDP2 (isaac-sim#9016). It collects two
lines of work:
- the MDP2 features prototyped for [Isaac Lab
Arena](https://github.com/isaac-sim/IsaacLab-Arena) in isaac-sim#9091, without
its pick-and-place example;
- the remaining follow-ups of isaac-sim#9016.

The theme is **training in many ways from one compiled MDP**. Tasks are
built from tasks, values and switches change per world while the CUDA
graphs keep replaying, and policies see a named interface.

Tasks that use none of this compile to **byte-identical MDP kernels**,
and every MDP2 task now steps **15 to 34 µs faster than on `main`**,
because the env keeps its episode logs in one generated kernel. Resets
from a bank of states are developed separately in isaac-sim#9112.

**Contents**
1. [Tasks made of tasks](#1-tasks-made-of-tasks): `compose`, `sequence`,
`split`, `choice`, progress
2. [Changing a task while it
trains](#2-changing-a-task-while-it-trains): `Tunable`, `when`,
`update_task`, variations
3. [Actions](#3-actions): name slots, actions in stages, control rate
4. [Using a part twice](#4-using-a-part-twice): `rename`
5. [The policy interface](#5-the-policy-interface): `spec`, masks
6. [Evaluation, from Arena](#6-evaluation-from-arena): episode budget,
records, cameras, `resting_on`
7. [Any physics backend](isaac-sim#7-any-physics-backend): capture through the
physics manager
8. [Performance](#performance) · [Breaking changes](#breaking-changes) ·
[Not in this PR](#not-in-this-pr)

**At a glance**

| You want to | Use |
|---|---|
| Build a task in steps, or from a scene, an embodiment and a task |
`mdp2.sequence`, `mdp2.compose`, `mdp2.Milestone` |
| Train different tasks in different worlds | `mdp2.split` (fixed
worlds), `mdp2.choice` (drawn per episode) |
| Read how far a task got | `mdp2.progress.<task>.done`, `.active`,
`.score`, `.count`, ... |
| Change a reward weight or a param during training | `mdp2.Tunable`,
`env.tune(...)` |
| Turn a term on or off per world | `when=<field>`,
`when=mdp2.Tunable(True)` |
| Edit the task of a running env | `env.update_task(task)` |
| Randomize a value per episode, record it, replay it |
`mdp.variation(..., mdp.Uniform / Choice / Replay)` |
| Run an embedded controller once per control step |
`rate=mdp2.ActionRate.CONTROL` |
| Use one part for two robots | `mdp2.rename(part, robot="left_arm")` |
| Know which policy column is what | `env.mdp.spec()`, `action_mask`,
`observation_mask` |
| Run a fixed number of evaluation episodes | `episode_budget`,
`env.episode_records()` |

---

## 1. Tasks made of tasks

A task can say when it is done, and it can hold named subtasks, which
are tasks too. Four functions combine them:

| Function | Subtasks run | The task is done when |
|---|---|---|
| `compose(a=..., b=..., require=k)` | together | `k` of them are (all
by default) |
| `sequence(a=..., b=...)` | one after another; the next starts the step
after | the last is |
| `split(a=..., b=..., worlds={"a": 3072, "b": 1024})` | each in its own
worlds | the world's own is |
| `choice(a=..., b=..., weights={"a": 3, "b": 1})` | one per episode and
world, drawn at the reset | the drawn one is |

### Sequences

```python
q = mdp2.quantities
TASK = mdp2.compose(
    BASE,                                                      # observations, action rate, time limit
    mdp2.sequence(
        reach=mdp2.TaskCfg(rewards={"reach": ...}, done=q.near_object),
        grasp=mdp2.TaskCfg(rewards={"grasp": ...}, done=q.grasped, hold=3),
        lift=mdp2.Milestone(q.lifted, hold=10),               # lifted for 10 steps in a row
    ),
)
success = mdp2.Termination(mdp.is_true, inputs={"value": mdp2.progress.done})
```

- **Done.** `done=` is a field of one value per world. `hold=n` asks for
it on `n` steps in a row.
- **Uses.** A task of a sequence runs its uses only while it is active,
and they restart when it starts.
- **Shared uses.** Uses that the tasks of a sequence define alike are
one op, so a shared action-rate term or observation history carries on
across stages.

<!-- GIF: mdp2_sequence.gif -->

*Recorded from 4,096 Cartpole worlds drifting along the rail. Each row
is a world, each color the task it runs, and a gap is a reset.*

### Progress

Every task's progress is a set of fields that any term can read:

```python
mdp2.progress.done                   # the whole task
mdp2.progress.grasp.done             # a subtask; also .holding .active .score .done_at .started_at .stage .count
```

| Field | Meaning |
|---|---|
| `done` | done once, until the episode ends |
| `holding` | its completion holds at this step |
| `active` | it runs at this step |
| `score` | in `[0, 1]`: its subtasks done, weighted by their `score=` |
| `done_at`, `started_at` | episode step it was first done (-1 before)
and last started |
| `stage` | the subtask a sequence or a choice runs |
| `count` | how often a task with `repeat=True` was done |

```python
mdp2.Milestone(q.dropped, repeat=True)                                # counts drops: progress.dropped.count
mdp2.Event(spawn_target, outputs={...}, mode=mdp2.EventMode.START)   # writes the scene when its task starts
```

- **Names.** A subtask reads its own commands, quantities, term state,
tunables and progress by name, as a task alone does. Inner names win.
- **Logs.** `Progress/<task>` is the share of the last episodes in which
each task was done.
- **Reset order.** Reset events run before progress restarts, so a
curriculum can read the milestones of the episode that ended.

### Splits and choices

```python
TASK = mdp2.compose(BASE, mdp2.split(walk=WALK, stand=STAND, worlds={"walk": 3072, "stand": 1024}))
TASK = mdp2.compose(BASE, mdp2.choice(walk=WALK, stand=STAND, weights={"walk": 3, "stand": 1}))
```

- **Split.** Each subtask runs in fixed worlds. A split may be a step of
a sequence, and several splits divide the same worlds.
- **Choice.** It draws one subtask per episode and world, which is
multi-task training in one run. `progress.stage` is the drawn index, and
`Progress/<task>` logs each task over the worlds that drew it.

<!-- GIF: mdp2_choice.gif -->

*The left grid is set by the config. The right grid is recorded: each
cell is a world colored by its drawn task, and it redraws at every
reset.*

---

## 2. Changing a task while it trains

### Tunable values

```python
track = mdp2.Reward(
    mdp.track_lin_vel_xy_exp, ...,
    params={"std": mdp2.Tunable(0.5)},
    weight=mdp2.Tunable(1.5),
)

env.tune("rewards.track.weight", 3.0)                                   # each world at its next reset
env.tune("rewards.track.std", 0.25, worlds=slice(0, 2048), at="step")  # from the next step
```

- **What it is.** A `Tunable` param is a field of one value per world. A
`wp.func` gets its world's value, as for any param. A tunable weight is
the reward's column of `state.reward_weights`.
- **Reading and writing it.** Other terms read a param, and events write
it, for example a curriculum: `mdp2.tunable("rewards.track", "std")`.
- **No recapture.** `tune` writes in place, so the captured graphs keep
replaying.
- **When it applies.** With `at="reset"` (the default), the value waits
in a pending copy that the reset kernel applies, so no episode mixes two
values. Each value has its own pending bit, so a reset leaves values
that events wrote alone.
- **Revisions.** Each world counts the tunings that took effect in
`state.revision`, and the episode records keep that count.

<!-- GIF: mdp2_tune.gif -->

*Recorded: one Cartpole run tunes the left half of the worlds at their
next reset and the right half from the next step.*

### Switches

```python
mdp2.Reward(..., when=mdp2.commands.standing)          # runs where the mode command is positive
mdp2.Reward(..., when=mdp2.Tunable(True))              # a switch per world
env.tune("rewards.feet_air_time.when", False, worlds=eval_worlds)
```

- **Where it works.** `when=` takes any field, on a reward, termination,
observation, command or interval event.
- **Timing.** The field is read at the start of the step, the same rule
as for stages.
- **Off and on.** The use outputs zero while it is off, and it restarts
where it turns on.

### Editing a running task

```python
env.update_task(mdp2.compose(env.cfg.task, mdp2.TaskCfg(rewards={"new": ...})))
```

- **What it does.** It builds the new MDP on the same scene, truncates
the episodes (`truncate=True`), and captures again on the next step,
which takes about a second.
- **What carries over.** `mdp2.migrate(previous, previous_state, mdp,
state)` keeps every array that both MDPs key alike:
  - term state, timers, histories, commands and progress;
  - random streams, by use;
- values declared `Tunable`, with what waits for the reset, as they may
have been tuned.
- **What is new.** Other reward weights and params come from the new
task, and init hooks run again for uses whose params changed.
- **Without truncating.** `update_task(task, truncate=False)` lets the
episodes go on, keeping the reward sums of the rewards both tasks have.
Under an episode budget it raises, since a new task starts a new
evaluation.

### Variations

```python
DRAWER = mdp.variation("drawer", cabinet.joint_pos, cabinet.joints("drawer"), mdp.Uniform(0.0, 0.35))
task = mdp2.compose(SCENE, EMBODIMENT, TASK, DRAWER)

# later: replay what a run recorded
REPLAY = mdp.variation("drawer", cabinet.joint_pos, cabinet.joints("drawer"), mdp.Replay(records["drawer"].tolist()))
```

A variation is a reset event that writes the scene, plus a recorded
quantity:

| Values | Draw |
|---|---|
| `mdp.Uniform(low, high)` | uniform; `low` and `high` are tunable |
| `mdp.Choice(values, weights)` | one of the values |
| `mdp.Replay(values)` | in reset order, by world within a step, so a
replay does not depend on `num_envs`; the row is recorded as
`<name>_row` |

---

## 3. Actions

```python
actions = {
    "wbc": mdp2.Action(g1_wbc_policy, outputs={"targets": robot.joint_pos_target}, rate=mdp2.ActionRate.CONTROL),
    "hand": mdp2.DirectAction(robot.joint_pos_target, subset=robot.joints(".*_hand_.*")),  # every physics step
}
```

- **Control rate.** `ActionRate.CONTROL` applies an action once per
control step, for an embedded controller or IK, like MDP1's
`process_actions`. The default applies it before every physics step.
- **Without the env.** Call `mdp2.process_actions(mdp, state, actions)`
once per control step, before `apply_actions`.
- **Name slots.** Actions have name slots, as observations do: an action
name gets one column range across world configs and stages.
- **Actions in stages.** Tasks of a sequence may take actions of their
own.
- **Last actions.** The last action holds zero in the columns a world
does not take, which replaces `MDP.narrow_action_dims`.

---

## 4. Using a part twice

```python
TASK = mdp2.compose(
    left=mdp2.rename(ARM, robot="left_arm"),
    right=mdp2.rename(ARM, robot="right_arm"),
)
# actions "left.effort", "right.effort"; observations "left.joint_pos", "right.joint_pos"
```

- **`rename`.** It rebinds the entities a part reads and writes.
- **Running together.** Subtasks that run together get their own
columns, named with the subtask's name.
- **Taking turns.** Subtasks that take turns (a sequence, a choice, a
split) share the columns of their name, as wide as the widest.

---

## 5. The policy interface

```python
spec = env.mdp.spec()
spec.actions[1].name, spec.actions[1].columns      # "hand", its slice of the action
spec.actions[1].labels                             # {"actions.hand": ("left_hand_0", ...)}: joint names per op
spec.observations["policy"][0].labels              # body or joint names, where the inputs name them

env.mdp.action_mask(env.state)                     # (num_worlds, action_dim): columns each world takes now
env.mdp.observation_mask(env.state, "policy")      # (num_worlds, dim): columns each world writes now
```

Learners, policy servers and exporters can find a column by name instead
of by offset. Both masks are Torch-only, so they can run inside a graph.

---

## 6. Evaluation, from Arena

```python
cfg.episode_budget = 1000                          # worlds stop starting episodes once 1000 have run
env.reset()
while env.episodes_completed < 1000:
    env.step(policy(obs))
records = env.episode_records()                    # columns: world, episode, length, terminated, <quantity>, progress/<task>, revision
```

```python
cameras = mdp2.ObservationGroup(terms={"rgb": mdp2.Observation(mdp.image_rgb, inputs={"image": camera.rgb})}, concatenate=False)
on_target = mdp2.Quantity(mdp.resting_on, inputs={"normal_force_matrix_w": obj.normal_force_matrix_w, ...},
                          params={"filter_index": 0, "min_force": 0.1, "min_cos": 0.7, "max_speed": 0.003})
done = mdp2.Milestone(mdp2.quantities.on_target, hold=10)
```

- **Cameras.** They render inside the step's graph, and cameras that no
term reads are not rendered.
- **Uncombined groups.** `ObservationGroup(concatenate=False)` keeps a
tensor per term, so `uint8` images stay as they are.
- **Contact checks.** `mdp.resting_on` is Arena's
`object_on_destination`: a contact force within a cone and a speed below
a bound, held with `hold`.
- **Records.** `Quantity(record=True)` (previously `log=True`) is logged
and also recorded per episode.

**Porting from Arena**

| Arena | MDP2 |
|---|---|
| `CompletionCriteria`, `subtasks_are_sequential`, `K` | milestones in
`sequence`, or `compose(require=K)` |
| `desired_subtask_success_state`, `TrueForConsecutiveSteps` | `final=`,
`hold=` |
| tracked events | `repeat=True` |
| run-time variations with JSONL records | `mdp.variation`,
`episode_records()` |
| configclass merging | `mdp2.compose`, `mdp2.rename` |

---

## 7. Any physics backend

```python
manager = env.sim.backend_manager
manager.supports_step_capture()   # Newton: use_cuda_graph and a capturable solver
graph = manager.capture(fn)       # records as the backend records its own step
env.sim.after_replay(num_steps)   # host work of replayed physics steps: step count, sim time
type(actuator).capturable         # ActuatorBase flag; Newton-native actuators by is_graphable()
```

- **Capture.** `MDP2Env` no longer imports Newton's capture function. A
backend that cannot capture its step runs the physics eagerly between
the MDP's graphs.
- **Actuators.** Delayed PD actuators draw the delays of reset worlds
from a device stream, so replayed graphs draw new delays. The network
actuators set `capturable = False` rather than inherit it from
`DCMotor`.
- **`verify_capture`.** Without reproducible physics, it compares the
MDP alone, bitwise.

These core changes are in their own commits, so they can be split out.

---

## Performance

MDP time per step: `env.step` with the physics step replaced by a no-op,
at 4,096 worlds, Newton MJWarp, RTX PRO 6000 Blackwell. Each value is
the median of 5 warm runs, alternating with `main`.

| Task | `main` | this PR | Δ |
|---|---|---|---|
| Cartpole | 74.9 µs | 41.0 µs | -33.9 |
| Go2 flat | 80.0 µs | 63.6 µs | -16.4 |
| Go2 walk/stand (split) | 80.2 µs | 65.5 µs | -14.7 |
| Kuka Allegro lift | 234.4 µs | 212.4 µs | -22.0 |

- **MDP kernels.** They are byte-identical to `main` for all four MDP2
tasks, checked on every commit by dumping the generated sources and the
launch counts.
- **Where the time went.** `MDP2RLEnv` kept its episode statistics with
about 15 Torch operations per step, plus 2 per recorded quantity. Now
one generated world-thread kernel keeps them, a row per logged column,
and one sum per step gives `extras["log"]`.
- **Learning.** A 40-iteration Cartpole RSL-RL run logs the same values
as `main`. The logs match the old path to float rounding.
- **Benchmarks.** About 1 in 7 runs, on `main` and on this branch alike,
take twice as long because of the GPU. They are dropped as runs above
1.5× the fastest.

**What the features cost, on Go2**

| Variant | MDP time | vs plain |
|---|---|---|
| plain | 63.6 µs | |
| every reward weight and tracking width `Tunable` | 63.6 µs | 0 |
| all 10 rewards under `when=Tunable(True)` | 71.6 µs | +8.0 |
| `when` on one observation | 65.6 µs | +2.0 (one more observe kernel) |
| rewards in two stages of a sequence | 73.8 µs | +10.2 (+77 before this
PR's fixes) |
| the same rewards, shared by both stages | 67.6 µs | +4.0 |

The staged cost is down from +77 µs for three reasons:
- uses of every stage now run in the parent's scope;
- progress is logged from the same kernel as the rest of the statistics;
- staged uses that the stages define alike run as one op.

## Design notes

A review of the whole design settled these choices:

| Choice | Why |
|---|---|
| Uses that stages define alike run as one op | A history or action-rate
term carries on across stages without hoisting it. The op compiles
exactly as if hoisted. The cost: it logs under the first stage's name. |
| One pending bit per tuned value | A reset applies only what was tuned,
so values that events or curricula wrote stay. |
| `update_task` keeps only `Tunable` values | Edited weights and params
take effect; tuned ones survive. |
| `when` tuned with `at="step"` switches one step later | Switches latch
at the end of a step, the same rule as stages. |
| Episode logs in an env kernel, not in the MDP's | MDP kernels stay
identical to `main`; the log kernel costs about 3 µs. |

Not built, because each needs a measured gain or a use case first:
- `entered` flags only where read;
- skipping `streak` and `score` where nothing reads them;
- fusing the observation kernel that stages split off;
- tunable choice weights;
- a Warp `Replay`.

---

## Breaking changes

```python
# Before                                         # After
cfg.task = [WALK, STAND]                          cfg.task = mdp2.split(walk=WALK, stand=STAND,
cfg.task_worlds = [3072, 1024]                                          worlds={"walk": 3072, "stand": 1024})
mdp2.Quantity(term, log=True)                     mdp2.Quantity(term, record=True)   # logged and recorded
mdp.interval_writes                               mdp.step_writes
mdp.narrow_action_dims / (last_action, dim)       one last_action, zero where not taken; MDP.action_mask
```

- **Columns.** Observation and action columns of world configs are
allocated by name, rather than packed from the first column.
- **Subtasks.** Two subtasks that run together get separate columns, and
two that take turns share theirs.
- **Episode budget.** `done` stays "terminated or truncated", and a
separate mask selects the worlds that restart.
- **Logs.** Without a time limit, `Episode_Reward/*` is per second of
each episode, rather than 0. A choice's `Progress/<task>` averages over
the finished episodes that drew the task.
- **Merged uses.** A use that two stages define alike is one op, logged
under the first stage's name, so `Episode_Reward/<second stage>.x` no
longer exists. Give the uses different weights to keep them apart.

---

## Not in this PR

| Item | Status |
|---|---|
| Resets from banks of states, resets from milestones | isaac-sim#9112 |
| In-process scene rebuild (Arena build-time variants) | blocked: needs
reliable `SimulationContext` teardown |
| RTX cameras in MDP2 | blocked: Kit path; MDP2 stays Newton-only for
now |
| Newton assets for Arena's library | asset owners and Newton |
| Material randomization without Newton internals, per-world gravity
setter, asset-level state commit, refreshing only changed worlds of the
model | core asset and Newton work |
| Self-describing sensors (stage, rate, capturability), re-rendering
only reset worlds | sensor API work |
| Skipping compute in worlds whose budget is spent | deferred: a branch
in every kernel for the tail of an evaluation |
| Stacked inputs | dropped: built-in progress replaced the need |
| Non-linear milestone graphs | no use case yet |

**Known gaps**
- **Camera workaround.** The Newton camera workaround (no renderer
graphs, for the stale two-camera graph) lost its only test along with
the example, and the upstream bug is still open.
- **Overlap with isaac-sim#9112.** `lift_env_cfg.py` and `eager.py` also change
in isaac-sim#9112. Here they only change `log=` to `record=` and pass default
tunables to `init`.

## Type of change

- New feature (non-breaking change which adds functionality)
- Breaking change (existing functionality will not work without user
modification)
- Documentation update

## 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`
- [x] 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/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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jichuan Hu <jichuanh@nvidia.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure isaac-lab isaac-mimic

Projects

None yet

Development

Successfully merging this pull request may close these issues.