Skip to content

Commit a906df7

Browse files
Release isaaclab 4.6.17 for wp.to_torch ProxyArray shim
Documents the new shim that lets legacy wp.to_torch(ProxyArray) call sites keep working with a one-shot DeprecationWarning, covering both wp.to_torch and wp._src.torch.to_torch entry points.
1 parent c0d2f80 commit a906df7

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

source/isaaclab/config/extension.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
# Note: Semantic Versioning is used: https://semver.org/
4-
version = "4.6.16"
4+
version = "4.6.17"
55

66
# Description
77
title = "Isaac Lab framework for Robot Learning"

source/isaaclab/docs/CHANGELOG.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
Changelog
22
---------
33

4+
4.6.17 (2026-04-24)
5+
~~~~~~~~~~~~~~~~~~~
6+
7+
Changed
8+
^^^^^^^
9+
10+
* Installed a shim over :func:`warp.to_torch` that accepts
11+
:class:`~isaaclab.utils.warp.ProxyArray` inputs transparently.
12+
Previously, legacy code using ``wp.to_torch(asset.data.<field>)``
13+
after the ProxyArray migration raised
14+
``AttributeError: 'ProxyArray' object has no attribute 'requires_grad'``
15+
because ``ProxyArray`` does not replicate the full ``wp.array``
16+
attribute surface. The shim now routes ``ProxyArray`` inputs to
17+
their zero-copy ``.torch`` view and emits a one-shot
18+
:class:`DeprecationWarning` pointing callers to the explicit
19+
``.torch`` accessor. Non-``ProxyArray`` inputs fall through to the
20+
original ``warp.to_torch`` unchanged. The shim is installed once at
21+
``isaaclab.utils.warp`` import time on both ``wp.to_torch`` and
22+
``wp._src.torch.to_torch`` so ``import warp as wp`` and
23+
``from warp._src.torch import to_torch`` call sites are both
24+
covered.
25+
26+
427
4.6.16 (2026-04-24)
528
~~~~~~~~~~~~~~~~~~~
629

0 commit comments

Comments
 (0)