Skip to content

[Warp] Part 2b/8: Reset by mask in Warp kernels where main uses torch - #8997

Merged
hujc7 merged 42 commits into
isaac-sim:mainfrom
hujc7:jichuanh/actuator-net-mask-reset
Dec 3, 2026
Merged

hujc7 merged 42 commits into
isaac-sim:mainfrom
hujc7:jichuanh/actuator-net-mask-reset

Conversation

@hujc7

@hujc7 hujc7 commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • A Warp graph alone (no Torch stream alignment) records the whole compute of both network actuators (ActuatorNetMLP and ActuatorNetLSTM, now both on Warp-NN) and every masked reset of the actuator networks and the ray-caster drift. Both actuators are capturable.
  • Per compute call against main eager: in a Warp graph, Go1 MLP 377.5 → 82.0 µs and ANYdrive LSTM 686.1 → 76.6 µs at 4096 envs; run eagerly, on par or faster (E3, E4).
  • Env step against main: unchanged (E5). With the default use_newton_actuators=True, Newton's own actuator runs these networks, so this PR's actuators run when Newton actuators are disabled.

Dependencies

# Item State
D1 The env step does not record these actuators yet: velocity tasks keep the Isaac Lab actuator path eager (their contact sensor samples between physics steps, so the physics does not take over the actions; ActuatorCollection.is_graphable excludes explicit groups) follow-up
D2 warp-nn 0.5.0 (released 2026-11-29) runs both networks (0.4.1 rejects the LSTM export's Slice); this PR requires warp-nn>=0.5.0 done
D3 ActuatorNetLSTM on Warp-NN done in this PR
D4 With the default use_newton_actuators=True, Newton runs the network from a Torch .pt2 export, which Newton cannot capture; handing it ONNX instead, with the shipped checkpoints moved to ONNX so both paths load only .onnx (no export at load) follow-up

Description

# Change Where
C1 MLP compute = history kernel (shift + scaled network input) → Warp-NN → scale + DC motor clip kernel; efforts in preallocated Warp buffers, computed_effort/applied_effort stay Torch views actuator_net.py, actuator_kernels.py
C2 LSTM compute = input kernel → Warp-NN → new hidden and cell states copied into their state buffers → the same clip kernel; sea_* stay Torch views of the Warp buffers actuator_net.py
C3 Shared base ActuatorNetBase: network file check, computed-effort buffer, network loading, scale + clip launch actuator_net.py
C4 Network file: .onnx loaded by its local path, so weights the exporter stores next to it (.onnx.data) resolve (with use_newton_actuators=False only; the native path names the flag when it gets a non-TorchScript file); a TorchScript file is exported to ONNX at load for the actuator's batch (the LSTM reads its layer count and hidden size from the weights, so traced checkpoints load). When Warp-NN cannot run a TorchScript network (an unsupported operator, or any ONNX export error), Torch runs the module as before, with a FutureWarning naming the file and operator: deprecated, that actuator instance is not capturable, and network stays the TorchScript module. Such an ONNX file fails with a ValueError naming the file. Otherwise network is the Warp-NN runtime (breaking; no caller in the repo) actuator_net.py, actuator_net_cfg.py, utils/io/onnx.py, schemas_actuators.py
C5 Masked resets in Warp kernels (LSTM states, MLP histories); env_ids keep main's Torch path actuator_net.py
C6 Both actuators capturable: drops the opt-outs main added in #9120 actuator_net.py
C7 The network actuators' kernels sit in the actuators package's kernel module, in their own section actuator_kernels.py
C8 DCMotor clips its effort with the network actuators' dc_motor_clip kernel into a preallocated buffer (applied_effort is its Torch view), so the torque-speed envelope lives in one place (E6) actuator_pd.py, actuator_kernels.py
C9 Ray-caster drift resampled from per-env Warp RNG states, seeded once when the rays initialize from the env seed and the sensor's prim path and offset; a later env.reset(seed=...) does not restart the drift base_ray_caster.py, ray_caster/kernels.py, utils/warp/kernels.py::initialize_rng_state
C10 Test LSTM fixtures take the last time step with squeeze (Warp-NN 0.5.0 has no Gather); a CumSum head pins the Torch fallback of both actuators (LSTM state carry, MLP history window, partial resets, as the Warp-NN path) and the ONNX load error; actuator concepts page describes the network file actuator_equivalence.py, test_dc_motor.py, test_actuator_net.py, concepts/actuators.rst
C11 New dependency warp-nn>=0.5.0 pyproject.toml, uv.lock
C12 MDP2 reads capturable from the actuator instance, so it refuses an actuator whose network Torch runs; ActuatorBase.capturable says an instance may turn it off mdp2_scene_data.py, actuator_base.py

Known limitations

# Case Behaviour
L1 A network whose Warp-NN warm-up fails at the actuator's batch: the shipped ANYdrive LSTM at 1 env × 1 joint (Warp-NN's Squeeze has no 0-D output) raises NotImplementedError instead of falling back; main ran it with Torch. No task reaches a batch of 1 (ANYdrive groups have 12 joints); reported to Warp-NN
L2 compute called inside a non-default Torch stream that Warp does not follow Warp kernels and Torch work are not ordered (Warp-NN path and Torch fallback alike); the repo's callers run on the default stream or put Torch on Warp's stream (Newton's torch_follows, MDP2 capture)
L3 A remote (Nucleus or URL) ONNX file with external weights only the .onnx is downloaded; keep the weights inline for remote files

Evidence

Per compute call (µs):

# Compared Host 512 envs · main eager 512 envs · this PR 4096 envs · main eager 4096 envs · this PR
E1 Go1 MLP, Warp graph (warp-nn MR !41 head, before 0.5.0) L40 386.3 30.2 (−92 %) 377.5 82.0 (−78 %)
E2 ANYdrive LSTM, Warp graph RTX PRO 6000 471.0 36.9 (−92 %) 686.1 76.6 (−89 %)
E3 Go1 MLP, eager RTX PRO 6000 211.8 196.1 (−7 %) 205.2 196.7 (−4 %)
E4 ANYdrive LSTM, eager RTX PRO 6000 497.0 493.6 (−1 %) 738.0 510.2 (−31 %)

E5: env step (ms, RTX PRO 6000, 4096 envs, Newton MJWarp; main d56d381a20f vs this PR ec5dc495c89, alternating runs, median of 6 × 100 steps):

# Actuator path Task main this PR
1 Newton actuators (default) Isaac-Velocity-Rough-AnymalD 11.75 / 11.96 11.83 / 11.88
2 Newton actuators (default) IsaacContrib-Velocity-Flat-UnitreeGo1 5.72 / 5.77 5.64 / 5.67
3 Isaac Lab actuators (use_newton_actuators=False) Isaac-Velocity-Flat-AnymalD 15.00 14.86
4 Isaac Lab actuators (use_newton_actuators=False) IsaacContrib-Velocity-Flat-UnitreeGo1 5.74 5.78

E6: DCMotor.compute eager (µs, RTX PRO 6000, 12 joints; ec5dc495c89 vs ac3553dfd46, alternating, 2 runs each): 512 envs 64.9 / 65.9 → 48.7 / 44.5; 4096 envs 63.9 / 66.9 → 48.1 / 44.3.

At 46c853c902d (RTX PRO 6000): test_actuator_net.py 16, test_dc_motor.py 22, test_actuator_collection.py 29, test_newton_adapter.py 26, test_newton_actuators_newton.py 38 and test_newton_raycast_sensor.py 10 passed. At ec5dc495c89 (RTX PRO 6000): test_actuator_net.py 13, test_dc_motor.py 22, test_actuator_collection.py 30 (2 skipped) and test_newton_actuators_newton.py 38 passed. Both actuators' compute and masked reset replay from a Warp graph on Warp's own stream, from a Warp graph on Torch's stream and from torch.cuda.graph with zero error (12/12). ANYdrive LSTM at 3a8360a89d9: against main eager with TF32 off, 9.7e-4 (512 envs) and 1.1e-3 (4096 envs) over 24 steps; against an FP64 reference, Warp-NN 1.7e-5 and main's FP32 cuDNN 9.5e-4. At ecf06ff652f (merged main: warp-lang 1.20.0, warp-nn 0.5.0; RTX PRO 6000): test_actuator_net.py 20 (Torch fallback of both actuators on CPU and CUDA; a mutation of the MLP fallback input fails it) test_newton_adapter.py 26 and test_mdp2_env.py::test_env_rejects_assets_it_cannot_reset_or_write_in_place 2 passed. Ray-caster tests at e7c807e3226: test_newton_raycast_sensor.py 10, test_ray_caster_sensor.py 4, test_ray_caster_integration.py 10 passed.

History

  • 2026-12-02: Torch fallback keeps the module in network and calls it as main did (65613e278bb, eac128b5242); MDP2 reads capturable from the instance (11fbdd45b1b); ONNX export errors fall back, MLP fallback test, .onnx needs use_newton_actuators=False (e7c79b77c1a); ONNX loaded by path, network change marked breaking (cc76ff167c2); merged main (ecf06ff652f).
  • 2026-12-02: Torch fallback, deprecated, for TorchScript networks Warp-NN cannot run (7aa3d43435d); merged main with the CI cache fix [CI] Let CI recover from evicted Warp and OVRTX caches #9359 (77fa7ad3a00).
  • 2026-12-01: review round: traced checkpoints load, unsupported-operator error, ONNX loading split from the TorchScript export, ActuatorNetBase, DCMotor shares the clip kernel, the collection's device copy dropped, drift seeded once at init (ac3553dfd46 … b4175b1a588); merged main (46c853c902d).
  • 2026-11-30: ActuatorNetLSTM on Warp-NN with a shared base (3a8360a89d9); both actuators capturable (d98b83c5b12); TorchScript exported for the actuator's batch (6f4030a8889); review cleanups (5d49b8dd94e, ec5dc495c89).
  • 2026-11-30: merged main; require warp-nn 0.5.0 (19d9aab3247).
  • 2026-11-23: MLP actuator fully in Warp (review rounds 9–16): 6c27eb313a7, 0ef4971028a, 4634d7863fa; merged main.
  • 2026-11-16: drift seeded per sensor config (e7c807e3226), reseeded by configure_seed (4b9dd927aa2); test trims.
  • 2026-11-13: rebuilt on main after [Warp] Part 1a/8: Resolve id and mask selections through shared helpers #8821 merged and [Warp] Part 2a/8: Reset only the masked environments #6646 closed.

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)

Release backport

  • Backport this pull request to the active release branch after it merges into main

Screenshots

Not applicable.

Checklist

Docker and GPU tests run on demand. Push the commits you want tested, then
comment run-ci on the pull request.

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump package versions — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@hujc7

hujc7 commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@greptile-apps

greptile-apps Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with a non-blocking concern about matching drift across sensors sharing one body.

Findings

  1. P2 Scanners share their noise ▶

Summary

Moves masked actuator resets and ray-caster drift sampling into Warp kernels.

  • Actuator networks clear selected environments during every captured reset replay.
  • Actuator collections accept reset masks from another device.
  • Ray casters resample selected environments’ drift with per-environment Warp random states.
  • Reset tests cover environment masks across scenes, assets, and simulation backends.

The earlier thruster finding is fixed. The short-mask finding was withdrawn after hujc7 clarified that it was outside the documented contract and already existed on main.

Reviews (2) · Last reviewed commit: "Resample the ray-caster drift from per-e..." · Reviewed by Greptile

"""
for actuator in self.values():
actuator.reset(env_ids)
actuator.reset(env_ids=env_ids, env_mask=env_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Unselected thrusters get reset

Multirotor.reset(env_mask=mask) still resets every thruster. The parent Articulation.reset turns missing env_ids into slice(None) before calling _ThrusterCollection.reset. This collection forwards the slice unchanged, so Thruster.reset skips its mask conversion and resets all environments. Meanwhile, thrust targets are restored only where the mask is true. Running environments therefore get new motor parameters and current thrust unexpectedly.

Normalize slice(None) to None before forwarding to the thrusters, as ActuatorCollection.reset does.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in edc7ec3 (#6646): _ThrusterCollection.reset turns the slice(None) the articulation forwards into None, so a mask-only reset resamples only the masked thrusters. The multirotor unit test covers it.

Comment on lines +474 to +477
self.assert_shape_and_dtype_mask(body_poses, (env_mask, body_mask), wp.transformf, "body_poses")
wp.launch(
shared_kernels.set_body_link_pose_to_sim_mask,
dim=(self.num_instances, self.num_bodies),
dim=(env_mask.shape[0], body_mask.shape[0]),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Short masks get overread

The newly accepted short masks still reach a full-size launch after the collection write. Each changed writer calls _invalidate_fk_mask, which forwards the same masks to NewtonBackend.invalidate_fk. That method launches over every row of articulation_ids, and its kernel reads env_mask[env] without checking the mask length. It also loops over every body when reading articulation_mask.

A short environment or body mask therefore causes reads past its end and can schedule resets for unselected objects. Bound this follow-up launch and loop by the supplied mask lengths, or expand the masks into full-size storage.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not changed here. On main this writer launches over (num_instances, num_bodies) and reads env_mask[i] and body_mask[j], so a short mask already reads past its end there. #8821 launches the writer over the mask lengths; NewtonBackend.invalidate_fk keeps main's launch size. The masks are documented as (num_instances,) and (num_bodies,).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I treated short masks as supported even though the API documents full-length masks, and the overread was already present on main. This isn't a regression introduced by this PR, so my finding should be withdrawn.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR no longer changes rigid_object_collection.py: it was rebuilt on main after #6646 closed, and the collection mask writers are main's (1a3ef00).

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Needs attention: Design and architecture (1), Scope and over-engineering (2), Compatibility and deprecation (8), Implementation (4), Style consistency (2), Test quality (2). Other reviewed categories look good.

  • PR description: Clarify cumulative scope, correct “non-breaking,” remove the duplicate diagram, and provide test commands; benchmark MLP latency/memory baseline versus candidate with revisions, workload, hardware, backend, environment count, warmup, and software environment.
  • Design and architecture: PhysX reset forwards competing selectors to consumers with different precedence, clearing different environments within one articulation; apply one selection consistently across actuator and wrench state.
  • Scope and over-engineering: Minimal implementation: extend actuator_net.py and NewtonActuatorAdapter, batch LSTM fills, and delete the parallel reset-callable list; keep preallocated masks, fixed-address histories, and direct reset forwarding; no source modules were added. Suggested PR breakdown: selector normalization in memory.py and backend consumers, validated by writer contracts; scene/reset integration with compatibility bridges, validated at extension boundaries; actuator_net.py and its changelog, validated by graph replay and legacy resets.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: legacy reset overrides, InteractiveSceneWarp imports, camera selectors, numeric Newton/OVPhysX masks, and gradient-enabled MLP histories lose accepted behavior; retain functional bridges with targeted warnings, migration/removal guidance, and transition coverage.
  • Implementation: Optional-scratch mask resolution accepts oversized masks, allowing Newton tendon launches to address shorter outputs; reject masks exceeding the destination length while retaining short-mask support.
  • Style consistency: Changed selector docstrings promise mask precedence where supplied IDs win; correct the precedence descriptions and remove unsupported thruster timing claims.
  • Test quality: New simulator-free files lack kitless routing, and network tests hard-code cuda:0; add file-level marks and use repository-selected CUDA devices.

Needs rework. Posted 19 inline findings.

Automated review; human maintainers own approval decisions.

if isinstance(actuator, ActuatorBase):
actuator.reset(group_env_ids)
self._control.reset_native_actuators(slice(None) if group_env_ids is None else group_env_ids)
actuator.reset(env_ids=group_env_ids, env_mask=env_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Compatibility — Preserve custom actuator resets

Every custom reset(env_ids) override now receives an unexpected env_mask keyword, including for index-only calls. Bridge the old invocation with targeted deprecation guidance and validate old and new overrides.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in edc7ec3 (#6646): ActuatorCollection.reset passes env_mask only when a mask is given, so a model with reset(self, env_ids) works for index resets again. A test covers it.

actuator.reset(group_env_ids)
self._control.reset_native_actuators(slice(None) if group_env_ids is None else group_env_ids)
actuator.reset(env_ids=group_env_ids, env_mask=env_mask)
self._control.reset_native_actuators(slice(None) if group_env_ids is None else group_env_ids, env_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Compatibility — Preserve native reset hooks

Existing ActuatorControl.reset_native_actuators(env_ids) overrides now receive a second positional argument on every reset. Preserve the one-argument hook through a warned, documented transition.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reset_native_actuators is an internal ActuatorControl method; the PhysX, Newton and OvPhysX implementations all take env_mask.

# -- assets
for articulation in self._articulations.values():
articulation.reset(env_ids)
articulation.reset(env_ids=env_ids, env_mask=env_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Compatibility — Preserve legacy entity resets

Passing env_mask=None on ordinary resets breaks custom assets and sensors implementing reset(env_ids). Keep their old call functional through a warned, documented deprecation transition and validate both signatures.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intended and listed under Breaking changes: custom assets and sensors accept env_mask, as AssetBase.reset and SensorBase.reset do.

raise ValueError("Selectors must be rank-1 arrays")
if mask is not None or selection.dtype == wp.bool:
if selection.dtype != wp.bool or selection.shape != scratch_mask.shape:
if selection.dtype != wp.bool or (scratch_mask is not None and selection.shape != scratch_mask.shape):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Implementation — Bound masks by destination length

Without scratch_mask, a mask longer than all_mask passes validation; Newton tendon writers launch over its length and address shorter outputs. Permit short masks but reject oversized ones.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 11d840a (#8821): resolve_1d_mask rejects a mask longer than all_mask with or without a scratch mask; shorter masks stay allowed. A test covers both.

"""
for actuator in self.values():
actuator.reset(env_ids)
actuator.reset(env_ids=env_ids, env_mask=env_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Implementation — Honor mask-only thruster resets

PhysX Articulation.reset turns omitted IDs into slice(None); Thruster.reset treats that as supplied IDs and ignores the forwarded mask, resetting every thruster. Normalize the full slice before forwarding.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in edc7ec3 (#6646): _ThrusterCollection.reset turns the slice(None) the articulation forwards into None, so a mask-only reset resamples only the masked thrusters. The multirotor unit test covers it.


pytestmark = pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA device required")

DEVICE = "cuda:0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Test Quality — Use selected CUDA test devices

Hard-coded cuda:0 bypasses the repository's multi-GPU device mask. Parameterize both graph tests with test_devices(DeviceScope.CUDA) and pass the selected device through their helpers.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 14de6e9: both graph tests are parametrized with test_devices(DeviceScope.CUDA).

"""Reset every thruster actuator for the given environments.

.. caution::
If both ``env_ids`` and ``env_mask`` are provided, the mask is used: the masked write measured faster.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Correct thruster precedence prose

The caution promises mask precedence, but Thruster.reset uses supplied IDs first; its timing claim is unsupported here. State the actual selection behavior without the timing claim.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in ddb4825 (#6646): the caution now says env_ids is used when both are given, as in Thruster.reset.

mask = mask.to(torch.bool)
return wp.from_torch(mask, dtype=wp.bool)
return mask
return resolve_1d_mask(mask=mask, all_mask=full_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Preserve Newton mask coercion

Newton deformable and MPM writers previously accepted numeric Torch masks by casting to bool; they now raise. Keep that conversion through a warned, documented transition in both consumers.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Masks are boolean only, as on the other backends; a numeric tensor raises instead of being cast.

if isinstance(env_mask, wp.array) and str(env_mask.device) != self._device:
env_mask = wp.clone(env_mask, device=self._device)
return env_mask
return resolve_1d_mask(mask=env_mask, all_mask=self._ALL_TRUE_ENV_MASK)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Preserve numeric Torch masks

OVPhysX mask resolvers previously cast numeric Torch masks to bool; the shared resolver rejects them across affected assets. Retain the conversion through a warned, documented transition.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Masks are boolean only, as on the other backends; a numeric tensor raises instead of being cast.


Args:
joint_ids: Joint indices. If None, then all indices are used.
joint_mask: Boolean mask; takes precedence over ``joint_ids``.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Correct selector precedence docstrings

Joint, body, and tendon resolver docstrings promise mask precedence, while resolve_ids prefers supplied IDs. Correct these descriptions and the matching rigid-object resolver prose.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 11d840a (#8821): the joint, body and tendon helpers now say the mask is converted to ids only when no ids are given.

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Needs attention: Design and architecture (1), Scope and over-engineering (2), Compatibility and deprecation (6), Implementation (2), Style consistency (4), Test quality (3). Other reviewed categories look good.

  • PR description: Cumulative scope is mapped correctly; replace “non-breaking,” collapse the duplicate diagram, and benchmark MLP latency/peak-memory with baseline/candidate revisions, command/workload, hardware, backend, environment-count, warmup, and software environment; reported passes establish correctness only.
  • Design and architecture: Conflicting IDs and masks reset different environments across actuator models; preserve mask precedence and resolve one selection before dispatch.
  • Scope and over-engineering: Minimal implementation: extend ActuatorCollection, actuator_net.py, NewtonActuatorAdapter, InteractiveScene, and memory.py; batch LSTM fills and delete duplicate reset-callback storage; no source modules are added. Essential flow is selection, forwarding, and owned-state reset. Suggested PR breakdown: shared selectors and tendon writers with writer-contract validation; scene/backend/sensor resets with compatibility and selective-reset validation; network resets and fixed history storage with CUDA replay and gradient-input validation.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: legacy reset overrides, InteractiveSceneWarp imports/configurations, permissive camera IDs, numeric masks, and seeded sampling change without complete transitions; preserve old contracts with targeted warnings, migration/removal guidance, and transition coverage.
  • Implementation: Articulation normalizes mask-only resets to slice(None), causing Thruster.reset to resample every environment; treat the full slice as absent explicit IDs before resolving the mask.
  • Style consistency: Multirotor reset documentation claims mask precedence despite ID-preferring thrusters; document the corrected dispatch policy and remove the unsupported speed rationale.
  • Test quality: New simulator-free regression files lack kitless markers and miss text-based CI selection; add file-level markers while retaining distinct network, backend, and physical-fixture coverage.

Needs rework. Posted 18 inline findings.

Automated review; human maintainers own approval decisions.

if isinstance(actuator, ActuatorBase):
actuator.reset(group_env_ids)
self._control.reset_native_actuators(slice(None) if group_env_ids is None else group_env_ids)
actuator.reset(env_ids=group_env_ids, env_mask=env_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Design Architecture — Resolve reset selection once

With conflicting IDs and mask, network actuators use IDs while delayed and native actuators use the mask. One reset splits state across episodes. Preserve the prior mask precedence and dispatch one selection.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not changed: callers pass either ids or a mask, or both selecting the same environments; each reset's docstring states which one it uses when both are given.

actuator.reset(group_env_ids)
self._control.reset_native_actuators(slice(None) if group_env_ids is None else group_env_ids)
actuator.reset(env_ids=group_env_ids, env_mask=env_mask)
self._control.reset_native_actuators(slice(None) if group_env_ids is None else group_env_ids, env_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Compatibility — Bridge native reset overrides

The new second positional argument breaks backend reset_native_actuators(env_ids) overrides on ordinary resets. Preserve the old hook through a warned, documented transition and validate both signatures.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reset_native_actuators is an internal ActuatorControl method; the PhysX, Newton and OvPhysX implementations all take env_mask.

# move history queue by 1 and update top of history
# -- positions
self._joint_pos_error_history = self._joint_pos_error_history.roll(1, 1)
torch.index_select(self._joint_pos_error_history, 1, self._history_shift, out=self._joint_pos_error_spare)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Implementation — Preserve gradient-bearing compute inputs

Gradient-bearing inputs make history require gradients; the next index_select(out=...) then raises where roll worked. Retain a differentiable history path for those inputs.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not changed: the history is filled from simulation state and inference-time actions, and we found no caller that needs gradients through it; main's roll chaining gradients across steps was not wanted either.

# -- assets
for articulation in self._articulations.values():
articulation.reset(env_ids)
articulation.reset(env_ids=env_ids, env_mask=env_mask)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Compatibility — Preserve existing entity resets

Passing env_mask=None on every scene reset breaks custom assets and sensors implementing reset(env_ids). Keep legacy calls functional through a targeted warning, migration guidance, and old/new coverage.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intended and listed under Breaking changes: custom assets and sensors accept env_mask, as AssetBase.reset and SensorBase.reset do.

env_ids: Env indices to reset. If ``None``, resets all envs.
env_mask: Env mask. Shape is (num_envs,). Defaults to None.
"""
if env_ids is None and env_mask is not None:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical · Implementation — Honor mask-only multirotor resets

Articulation passes slice(None) with the mask, so this branch ignores the mask and resamples every thruster environment. Treat the full slice as no explicit IDs before resolving the mask.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in edc7ec3 (#6646): _ThrusterCollection.reset turns the slice(None) the articulation forwards into None, so a mask-only reset resamples only the masked thrusters. The multirotor unit test covers it.

from isaaclab.utils import instantiate
from isaaclab.utils.types import ArticulationActions

pytestmark = pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA device required")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Test Quality — Route simulator-free regressions

This and the new delayed-actuator, selector-resolution, and masked-write files omit pytest.mark.kitless. Text-based CI routing misses them; add a file-level marker to each.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 1c1d47e: test_actuator_net.py is marked kitless.


pytestmark = pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA device required")

DEVICE = "cuda:0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Test Quality — Respect selected CUDA devices

Hard-coded cuda:0 ignores the runtime device mask. Parameterize with test_devices(DeviceScope.CUDA) and pass the selected device through capture and assertion helpers.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 14de6e9: both graph tests are parametrized with test_devices(DeviceScope.CUDA).

"""Reset every thruster actuator for the given environments.

.. caution::
If both ``env_ids`` and ``env_mask`` are provided, the mask is used: the masked write measured faster.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Correct reset precedence documentation

This says the mask wins, but Thruster.reset prefers explicit IDs while the target-buffer write uses the mask. Document one actual policy after fixing dispatch; remove the unsupported speed rationale.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in ddb4825 (#6646): the caution now says env_ids is used when both are given, as in Thruster.reset.

limits[..., 1] = 0.2
wp.capture_launch(capture.graph)

written = {"stiffness": stiffness, "damping": damping, "pos_limits": limits}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Test Quality — Assert the tendon simulation write

The test captures write_fixed_tendon_properties_to_sim_mask but checks only staged properties; removing the simulation write would pass. Assert selected and unselected simulation bindings after replay.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data.fixed_tendon_* wraps the _sim_bind_* arrays bound to the Newton model, not staged values, so the test reads what the write put into the model.

if isinstance(env_mask, wp.array) and str(env_mask.device) != self._device:
env_mask = wp.clone(env_mask, device=self._device)
return env_mask
return resolve_1d_mask(mask=env_mask, all_mask=self._ALL_TRUE_ENV_MASK)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Preserve numeric mask inputs

OVPhysX masks and Newton deformable/MPM masks previously cast numeric Torch tensors to bool; resolve_1d_mask rejects them. Retain conversion through a warned, documented transition.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Masks are boolean only, as on the other backends; a numeric tensor raises instead of being cast.

@hujc7
hujc7 marked this pull request as draft November 10, 2026 21:18
hujc7 added 5 commits December 1, 2026 20:00
…ments

The networks take one row per (environment, joint): the ONNX LSTM operator has a
single batch axis and the MLP's first layer is a Gemm. Keep the network input and
torque in that layout and index them by row in the kernels, instead of holding a
second per-environment view of the same memory. Pass the MLP history samples and
column order to the kernel as arguments again; compiling them into a kernel per
configuration measured no faster.
Each network actuator reads an .onnx file, or loads its TorchScript file, builds
the sample inputs from the loaded module and exports it with
export_torchscript_to_onnx, which now takes the module and the inputs. Drop the
shared loader that took a sample-input function and the warning on every
TorchScript load; a small helper only names the network file when Warp-NN cannot
run it.
ActuatorNetBase loads the network file once for both actuators; each actuator only
builds the sample inputs that trace its TorchScript network for the export. The
LSTM checks and reads its inputs through a dictionary keyed by name.
Converting checkpoints offline belongs with the change that moves both actuator
paths to ONNX files, so remove the converter script and the export's dynamic-axes
option it alone used. Warp-NN already checks the input names when it prepares the
network, so drop the actuators' own name and count checks and the base class's
placeholder for the export sample.
@hujc7

hujc7 commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Dec 2, 2026
@hujc7
hujc7 requested a review from StafaH December 2, 2026 18:59
hujc7 added 2 commits December 2, 2026 17:04
A TorchScript actuator network with an operator Warp-NN does not support ran with Torch before the network actuators moved to Warp-NN, and failed to load after it. The actuators now run such a network with Torch, warn with the network file, the operator and the rewrite that lets Warp-NN run it, and report the instance as not capturable. An ONNX network file has no Torch module to fall back to and still fails to load.
@hujc7

hujc7 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Dec 3, 2026
hujc7 added 6 commits December 2, 2026 20:02
The Torch fallback wrapped the module in a class that mimicked the Warp-NN
runtime (input and output specs, a no-op prepare, nested-tuple flattening, a
sample run at load). Keep the module instead and call it in compute as the
actuators did before Warp-NN.
The actuator network is a Warp-NN runtime or, when Warp-NN cannot run it, the
TorchScript module; _is_torch_fallback selects the call. Rename the MLP kernel
flag pos_first to is_pos_first.
A network actuator whose network Torch runs turns capturable off on the
instance, which MDP2 missed by reading the class value. Read it from the
instance, and say on ActuatorBase.capturable that an instance may turn it off.
A TorchScript network whose operator has no ONNX export now falls back to
Torch like one Warp-NN cannot run. Test the MLP fallback, say that an ONNX
network file needs use_newton_actuators=False, and say in the changelog that
network stays the TorchScript module when Torch runs it.
Read an ONNX network file by its local path, so weights the exporter stores
next to it (.onnx.data) resolve; fall back to Torch on any ONNX export error;
name use_newton_actuators=False when the native path gets a non-TorchScript
file; mark the network attribute change as breaking in the changelog.
…et-mask-reset

# Conflicts:
#	pyproject.toml
#	uv.lock
@hujc7

hujc7 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Dec 3, 2026
@hujc7
hujc7 merged commit ccd75ad into isaac-sim:main Dec 3, 2026
67 of 96 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.1.0 as b836c5c.

isaaclab-bot Bot pushed a commit that referenced this pull request Dec 3, 2026
…#8997)

## Summary

- A Warp graph alone (no Torch stream alignment) records the whole
`compute` of both network actuators (`ActuatorNetMLP` and
`ActuatorNetLSTM`, now both on Warp-NN) and every masked reset of the
actuator networks and the ray-caster drift. Both actuators are
`capturable`.
- Per `compute` call against `main` eager: in a Warp graph, Go1 MLP
377.5 → 82.0 µs and ANYdrive LSTM 686.1 → 76.6 µs at 4096 envs; run
eagerly, on par or faster (E3, E4).
- Env step against `main`: unchanged (E5). With the default
`use_newton_actuators=True`, Newton's own actuator runs these networks,
so this PR's actuators run when Newton actuators are disabled.

## Dependencies

| # | Item | State |
|---|---|---|
| D1 | The env step does not record these actuators yet: velocity tasks
keep the Isaac Lab actuator path eager (their contact sensor samples
between physics steps, so the physics does not take over the actions;
`ActuatorCollection.is_graphable` excludes explicit groups) | follow-up
|
| D2 | warp-nn 0.5.0 (released 2026-11-29) runs both networks (0.4.1
rejects the LSTM export's `Slice`); this PR requires `warp-nn>=0.5.0` |
done |
| D3 | `ActuatorNetLSTM` on Warp-NN | done in this PR |
| D4 | With the default `use_newton_actuators=True`, Newton runs the
network from a Torch `.pt2` export, which Newton cannot capture; handing
it ONNX instead, with the shipped checkpoints moved to ONNX so both
paths load only `.onnx` (no export at load) | follow-up |

# Description

| # | Change | Where |
|---|---|---|
| C1 | MLP `compute` = history kernel (shift + scaled network input) →
Warp-NN → scale + DC motor clip kernel; efforts in preallocated Warp
buffers, `computed_effort`/`applied_effort` stay Torch views |
`actuator_net.py`, `actuator_kernels.py` |
| C2 | LSTM `compute` = input kernel → Warp-NN → new hidden and cell
states copied into their state buffers → the same clip kernel; `sea_*`
stay Torch views of the Warp buffers | `actuator_net.py` |
| C3 | Shared base `ActuatorNetBase`: network file check,
computed-effort buffer, network loading, scale + clip launch |
`actuator_net.py` |
| C4 | Network file: `.onnx` loaded by its local path, so weights the
exporter stores next to it (`.onnx.data`) resolve (with
`use_newton_actuators=False` only; the native path names the flag when
it gets a non-TorchScript file); a TorchScript file is exported to ONNX
at load for the actuator's batch (the LSTM reads its layer count and
hidden size from the weights, so traced checkpoints load). When Warp-NN
cannot run a TorchScript network (an unsupported operator, or any ONNX
export error), Torch runs the module as before, with a `FutureWarning`
naming the file and operator: deprecated, that actuator instance is not
`capturable`, and `network` stays the TorchScript module. Such an ONNX
file fails with a `ValueError` naming the file. Otherwise `network` is
the Warp-NN runtime (**breaking**; no caller in the repo) |
`actuator_net.py`, `actuator_net_cfg.py`, `utils/io/onnx.py`,
`schemas_actuators.py` |
| C5 | Masked resets in Warp kernels (LSTM states, MLP histories);
`env_ids` keep `main`'s Torch path | `actuator_net.py` |
| C6 | Both actuators `capturable`: drops the opt-outs `main` added in
#9120 | `actuator_net.py` |
| C7 | The network actuators' kernels sit in the actuators package's
kernel module, in their own section | `actuator_kernels.py` |
| C8 | `DCMotor` clips its effort with the network actuators'
`dc_motor_clip` kernel into a preallocated buffer (`applied_effort` is
its Torch view), so the torque-speed envelope lives in one place (E6) |
`actuator_pd.py`, `actuator_kernels.py` |
| C9 | Ray-caster drift resampled from per-env Warp RNG states, seeded
once when the rays initialize from the env seed and the sensor's prim
path and offset; a later `env.reset(seed=...)` does not restart the
drift | `base_ray_caster.py`, `ray_caster/kernels.py`,
`utils/warp/kernels.py::initialize_rng_state` |
| C10 | Test LSTM fixtures take the last time step with `squeeze`
(Warp-NN 0.5.0 has no `Gather`); a `CumSum` head pins the Torch fallback
of both actuators (LSTM state carry, MLP history window, partial resets,
as the Warp-NN path) and the ONNX load error; actuator concepts page
describes the network file | `actuator_equivalence.py`,
`test_dc_motor.py`, `test_actuator_net.py`, `concepts/actuators.rst` |
| C11 | New dependency `warp-nn>=0.5.0` | `pyproject.toml`, `uv.lock` |
| C12 | MDP2 reads `capturable` from the actuator instance, so it
refuses an actuator whose network Torch runs; `ActuatorBase.capturable`
says an instance may turn it off | `mdp2_scene_data.py`,
`actuator_base.py` |

## Known limitations

| # | Case | Behaviour |
|---|---|---|
| L1 | A network whose Warp-NN warm-up fails at the actuator's batch:
the shipped ANYdrive LSTM at 1 env × 1 joint (Warp-NN's `Squeeze` has no
0-D output) | raises `NotImplementedError` instead of falling back;
`main` ran it with Torch. No task reaches a batch of 1 (ANYdrive groups
have 12 joints); reported to Warp-NN |
| L2 | `compute` called inside a non-default Torch stream that Warp does
not follow | Warp kernels and Torch work are not ordered (Warp-NN path
and Torch fallback alike); the repo's callers run on the default stream
or put Torch on Warp's stream (Newton's `torch_follows`, MDP2 capture) |
| L3 | A remote (Nucleus or URL) ONNX file with external weights | only
the `.onnx` is downloaded; keep the weights inline for remote files |

## Evidence

Per `compute` call (µs):

| # | Compared | Host | 512 envs · `main` eager | 512 envs · this PR |
4096 envs · `main` eager | 4096 envs · this PR |
|---|---|---|---|---|---|---|
| E1 | Go1 MLP, Warp graph (warp-nn MR !41 head, before 0.5.0) | L40 |
386.3 | 30.2 (−92 %) | 377.5 | 82.0 (−78 %) |
| E2 | ANYdrive LSTM, Warp graph | RTX PRO 6000 | 471.0 | 36.9 (−92 %) |
686.1 | 76.6 (−89 %) |
| E3 | Go1 MLP, eager | RTX PRO 6000 | 211.8 | 196.1 (−7 %) | 205.2 |
196.7 (−4 %) |
| E4 | ANYdrive LSTM, eager | RTX PRO 6000 | 497.0 | 493.6 (−1 %) |
738.0 | 510.2 (−31 %) |

E5: env step (ms, RTX PRO 6000, 4096 envs, Newton MJWarp; `main`
`d56d381a20f` vs this PR `ec5dc495c89`, alternating runs, median of 6 ×
100 steps):

| # | Actuator path | Task | `main` | this PR |
|---|---|---|---|---|
| 1 | Newton actuators (default) | Isaac-Velocity-Rough-AnymalD | 11.75
/ 11.96 | 11.83 / 11.88 |
| 2 | Newton actuators (default) | IsaacContrib-Velocity-Flat-UnitreeGo1
| 5.72 / 5.77 | 5.64 / 5.67 |
| 3 | Isaac Lab actuators (`use_newton_actuators=False`) |
Isaac-Velocity-Flat-AnymalD | 15.00 | 14.86 |
| 4 | Isaac Lab actuators (`use_newton_actuators=False`) |
IsaacContrib-Velocity-Flat-UnitreeGo1 | 5.74 | 5.78 |

E6: `DCMotor.compute` eager (µs, RTX PRO 6000, 12 joints; `ec5dc495c89`
vs `ac3553dfd46`, alternating, 2 runs each): 512 envs 64.9 / 65.9 → 48.7
/ 44.5; 4096 envs 63.9 / 66.9 → 48.1 / 44.3.

At `46c853c902d` (RTX PRO 6000): `test_actuator_net.py` 16,
`test_dc_motor.py` 22, `test_actuator_collection.py` 29,
`test_newton_adapter.py` 26, `test_newton_actuators_newton.py` 38 and
`test_newton_raycast_sensor.py` 10 passed. At `ec5dc495c89` (RTX PRO
6000): `test_actuator_net.py` 13, `test_dc_motor.py` 22,
`test_actuator_collection.py` 30 (2 skipped) and
`test_newton_actuators_newton.py` 38 passed. Both actuators' `compute`
and masked reset replay from a Warp graph on Warp's own stream, from a
Warp graph on Torch's stream and from `torch.cuda.graph` with zero error
(12/12). ANYdrive LSTM at `3a8360a89d9`: against `main` eager with TF32
off, 9.7e-4 (512 envs) and 1.1e-3 (4096 envs) over 24 steps; against an
FP64 reference, Warp-NN 1.7e-5 and `main`'s FP32 cuDNN 9.5e-4. At
`ecf06ff652f` (merged `main`: warp-lang 1.20.0, warp-nn 0.5.0; RTX PRO
6000): `test_actuator_net.py` 20 (Torch fallback of both actuators on
CPU and CUDA; a mutation of the MLP fallback input fails it)
`test_newton_adapter.py` 26 and
`test_mdp2_env.py::test_env_rejects_assets_it_cannot_reset_or_write_in_place`
2 passed. Ray-caster tests at `e7c807e3226`:
`test_newton_raycast_sensor.py` 10, `test_ray_caster_sensor.py` 4,
`test_ray_caster_integration.py` 10 passed.

## History

- 2026-12-02: Torch fallback keeps the module in `network` and calls it
as `main` did (`65613e278bb`, `eac128b5242`); MDP2 reads `capturable`
from the instance (`11fbdd45b1b`); ONNX export errors fall back, MLP
fallback test, `.onnx` needs `use_newton_actuators=False`
(`e7c79b77c1a`); ONNX loaded by path, `network` change marked breaking
(`cc76ff167c2`); merged `main` (`ecf06ff652f`).
- 2026-12-02: Torch fallback, deprecated, for TorchScript networks
Warp-NN cannot run (`7aa3d43435d`); merged `main` with the CI cache fix
#9359 (`77fa7ad3a00`).
- 2026-12-01: review round: traced checkpoints load,
unsupported-operator error, ONNX loading split from the TorchScript
export, `ActuatorNetBase`, `DCMotor` shares the clip kernel, the
collection's device copy dropped, drift seeded once at init
(`ac3553dfd46` … `b4175b1a588`); merged `main` (`46c853c902d`).
- 2026-11-30: `ActuatorNetLSTM` on Warp-NN with a shared base
(`3a8360a89d9`); both actuators capturable (`d98b83c5b12`); TorchScript
exported for the actuator's batch (`6f4030a8889`); review cleanups
(`5d49b8dd94e`, `ec5dc495c89`).
- 2026-11-30: merged `main`; require warp-nn 0.5.0 (`19d9aab3247`).
- 2026-11-23: MLP actuator fully in Warp (review rounds 9–16):
`6c27eb313a7`, `0ef4971028a`, `4634d7863fa`; merged `main`.
- 2026-11-16: drift seeded per sensor config (`e7c807e3226`), reseeded
by `configure_seed` (`4b9dd927aa2`); test trims.
- 2026-11-13: rebuilt on `main` after #8821 merged and #6646 closed.

## 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)

## Release backport

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

## Screenshots

Not applicable.

## Checklist

Docker and GPU tests run on demand. Push the commits you want tested,
then
comment `run-ci` on the pull request.

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`uv run isaaclab --format`
- [x] I have made corresponding changes to the documentation
- [ ] 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/main/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

(cherry picked from commit ccd75ad)
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 Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants