Repository navigation
[Backport release/3.0.0] Update Isaac Sim image and nested conversion - #7234
Conversation
This automated draft updates CI to the current Isaac Sim nightly image. | Field | Value | |---|---| | Image | `nvcr.io/0947644777160149/internal/isaac-sim` | | Moving tag | `latest-develop` | | Current pin | `latest-develop@sha256:d4667d2c0cbc1d0dcd3aac3213799777ee2cbf8de1e91cc41684023c256f176f` | | Candidate pin | `latest-develop@sha256:e7cd73cd7a9a6621274bd3a1bacddfd4ac1a15f92893e6a10cfb6b8100762a0c` | 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. --------- Co-authored-by: isaaclab-bot[bot] <282401363+isaaclab-bot[bot]@users.noreply.github.com> Co-authored-by: Kelly Guo <[email protected]> Co-authored-by: Kelly Guo <[email protected]> (cherry picked from commit f2b0e26)
# Description `convert_dict_to_backend()` recursively processed nested dictionaries without forwarding `backend` or `array_types`. Nested values therefore silently reverted to the default NumPy backend. This forwards the caller's conversion settings through recursion, adds regression coverage, and includes a changelog fragment. ## Type of change - Bug fix --------- Signed-off-by: Sylvester Kaczmarek <[email protected]> (cherry picked from commit 0f204e9)
There was a problem hiding this comment.
Isaac Lab Review Bot
Reviewed the backported Isaac Sim CI image digest update and the nested dictionary backend-conversion fix. The recursion now consistently propagates the caller-selected backend and array types, with focused regression coverage and a changelog fragment.
- Design and architecture: The change preserves the existing recursive conversion design while carrying conversion parameters through every dictionary depth. The image update remains isolated to the shared CI workflow configuration.
- API: The public signature, defaults, and validation behavior of
convert_dict_to_backendare unchanged. Nested dictionaries now correctly follow the backend and source array types explicitly requested by callers, aligning nested behavior with the existing top-level contract. - Implementation: Traced the nested NumPy-to-Torch conversion path and confirmed the recursive call receives both
backendandarray_types. The regression test exercises the corrected observable behavior, its new imports are used, and the user-visible fix has an appropriate package changelog fragment. The digest-only CI update does not alter workflow integration paths; correspondence between the unchanged image-version comment and the new digest remains external metadata to maintain when future images are pinned.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
Greptile SummaryThis backport updates the pinned Isaac Sim CI image and propagates backend-conversion options through nested dictionaries.
Confidence Score: 4/5The PR appears safe to merge, with a non-blocking edge case for callers that pass a one-shot iterable as Nested conversion now preserves the requested backend for ordinary tuple and list inputs, but the recursive call can silently skip conversions after a generator-backed Files Needing Attention: source/isaaclab/isaaclab/utils/dict.py Important Files Changed
Reviews (1): Last reviewed commit: "Fix backend propagation in nested dictio..." | Re-trigger Greptile |
| # -- nested dictionaries | ||
| elif isinstance(data[key], dict): | ||
| output_dict[key] = convert_dict_to_backend(value) | ||
| output_dict[key] = convert_dict_to_backend(value, backend=backend, array_types=array_types) |
There was a problem hiding this comment.
Preserve one-shot array type iterables
When array_types is a generator or another one-shot iterable, the outer conversion exhausts it before passing it into this recursive call, so nested arrays silently remain in their original backend.
| output_dict[key] = convert_dict_to_backend(value, backend=backend, array_types=array_types) | |
| output_dict[key] = convert_dict_to_backend(value, backend=backend, array_types=tuple(array_types)) |
Summary
Cherry-picks the following merged PRs from
developontorelease/3.0.0, preserving each as an individual commit with-xprovenance:e7cd73cd7a9aThe commits are applied in their
develophistory order. Both cherry-picks completed without conflicts.Validation
cherry picked fromfooters.git diff --check upstream/release/3.0.0..HEADuv run --extra test --frozen python -m pytest source/isaaclab/test/utils/test_dict.py -q --disable-warnings— 10 passed.github/workflows/config.yamland verified the exacte7cd73cd7a9a...Isaac Sim digest.release/3.0.0passed.uv run isaaclab -fpassed all code, formatting, whitespace, YAML/TOML, license, and safety hooks. Its changelog hook reported pre-existing release-only fragments (ant-direct-device-mask-reset.rstandomniverse-client-2-72-1-update.rst) followed by the known Windows CP1252 reporting error; the targeted release-base changelog check passed.