Repository navigation
Conversation
|
run-ci |
[Medium impact] The changes affect recorded Warp work across assets, sensors, and Newton physics steps. Fix the coupled MPM reset path before merging. Findings
SummaryAdds CUDA graph recording helpers and makes lazy asset and sensor reads refresh during replay.
The three previous findings are addressed. One new issue remains: single-world coupled MPM runs can still capture a reset that reads GPU data on the host. Reviews (2) · Last reviewed commit: "Restore the lazy finite differences of t..." · Reviewed by Greptile |
| if isinstance(value, wp.array): | ||
| return value.ptr | ||
| if isinstance(value, torch.Tensor): | ||
| return value.data_ptr() |
There was a problem hiding this comment.
Different views reuse old graphs
_value_key treats every view starting at the same address as the same argument. Calling a GraphedCallable with values[:2] and then values[:4] replays the two-element graph instead of recording the new size. Changing strides or dtype at the same address also reuses the old reads and writes.
Include array type, shape, strides, dtype, and device alongside the pointer in the key.
There was a problem hiding this comment.
Fixed in 0953e28: an array's key now holds its shape, strides, dtype and device besides the pointer; a test records values[:2] and values[:4] as two graphs.
| wp.launch( | ||
| articulation_kernels.get_joint_acc_from_joint_vel, | ||
| dim=(self._num_instances, self._num_joints), | ||
| inputs=[ | ||
| self.joint_vel.warp, | ||
| self._previous_joint_vel, | ||
| dt, |
There was a problem hiding this comment.
Initial accelerations become non-finite
Newton's update now divides by dt even when it is zero. Articulation._initialize_impl calls self.update(0.0), and rigid objects and collections do the same. The kernels divide by that zero, and the new plain acceleration getters return the resulting NaN or infinity until a positive-time update.
Skip the finite difference when no time has passed, while keeping the acceleration buffers finite. Apply the same guard to all three data classes.
There was a problem hiding this comment.
Fixed in 0953e28: the Newton articulation, rigid object and collection data skip the finite differences on update(0.0), so the accelerations keep their values (zero at initialization). Tests cover them.
| if env_ids is None and env_mask is not None: | ||
| # parameters are sampled per reset env, so the mask becomes indices | ||
| env_ids = wp.to_torch(env_mask).nonzero(as_tuple=False).squeeze(-1) | ||
| self.reset_idx(env_ids) |
There was a problem hiding this comment.
One reset restarts every motor
A mask-only Multirotor.reset still resets every thruster. The parent Articulation.reset changes env_ids=None to slice(None) before forwarding both selections through _ThrusterCollection. This condition then ignores env_mask because env_ids is no longer None.
Thruster history and sampled parameters reset everywhere, while thrust targets reset only in the masked environments. Treat slice(None) as an absent selection when a mask is supplied, or normalize it in _ThrusterCollection.
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Scope and over-engineering (1), Compatibility and deprecation (7), Implementation (4), Style consistency (5), Test quality (4). Other reviewed categories look good.
- PR description: Clarify cumulative versus recording-only scope, correct non-breaking labels, and replace the duplicated review diagram with a link; supplement reported correctness tests with baseline/candidate revisions, command/workload, hardware, backend, environment count, warmup, latency, and memory.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: Minimal implementation: Keep capture.py for graph and stream lifecycle; extend TimestampedBuffer, SensorBase, NewtonManager, and existing selector owners, without allocating Warp selections for Torch-only terms or adding parallel layers. Suggested PR breakdown: 1) selective resets and selector reuse, validated at asset boundaries; 2) origins and SceneEntityCfg migration, validated through public compatibility paths; 3) capture utilities, lazy refresh, and Newton notifications/FK, validated through replay and solver-state tests.
- API: API changes look good.
- Compatibility and deprecation: Breaking changes: origins, reset overrides, camera selectors, experimental exports, and documented mask precedence lose established contracts; retain functional bridges with targeted warnings, migration documentation, removal guidance, and transition coverage.
- Implementation: Pointer-only graph keys reuse incompatible array views, producing incorrect replay; include device, dtype, shape, strides, and array type in the key.
- Style consistency: The TimestampedBuffer docstring references nonexistent warp.utils.recordings, breaking documentation resolution; point it to warp.capture.recordings.
- Test quality: The mocked eager-reset case supplies its own decorator and replaces eager, proving neither production Torch-state reset nor graph replay; delete it and its fixture.
Needs rework. Posted 21 inline findings.
The full PR diff was reviewed; some supplemental surrounding file context was omitted.
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) |
There was a problem hiding this comment.
🔴 Critical · Implementation — Use one reset selection
With conflicting selectors, network actuators use IDs while delayed and native actuators use the mask; wrench composers also use the mask. Resolve one selection before dispatch.
There was a problem hiding this comment.
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.
| @property | ||
| def env_origins(self) -> torch.Tensor: | ||
| """Per-env world origins, shape ``(num_envs, 3)``.""" | ||
| def env_origins(self) -> ProxyArray: |
There was a problem hiding this comment.
🔴 Critical · Compatibility — Preserve tensor-valued origins
Scene and terrain env_origins now return ProxyArray instead of Torch tensors, changing runtime type and metadata. Keep the tensor property functional through deprecation; expose Warp storage separately.
There was a problem hiding this comment.
Intended: env_origins is a ProxyArray on every path. Indexing, arithmetic and torch.cat still work and return tensors, with a DeprecationWarning on implicit torch use; isinstance(x, torch.Tensor) and .shape change, as listed under Breaking changes, and nothing in the repo relies on either.
| # -- assets | ||
| for articulation in self._articulations.values(): | ||
| articulation.reset(env_ids) | ||
| articulation.reset(env_ids=env_ids, env_mask=env_mask) |
There was a problem hiding this comment.
🔴 Critical · Compatibility — Preserve custom entity reset hooks
Even an index-only scene reset now passes env_mask=None to custom assets and sensors implementing reset(env_ids), raising TypeError. Retain that invocation through a warned, documented, validated transition.
There was a problem hiding this comment.
Intended and listed under Breaking changes: custom assets and sensors accept env_mask, as AssetBase.reset and SensorBase.reset do.
| wp.launch( | ||
| ray_caster_kernels.init_rng_state_kernel, | ||
| dim=self._view_count, | ||
| inputs=[int(torch.randint(0, 2**31 - 1, (1,)))], |
There was a problem hiding this comment.
🔴 Critical · Implementation — Avoid unused global RNG draws
Every ray caster now consumes a Torch global-generator draw at initialization, even when drift is disabled. This shifts subsequent seeded randomization. Initialize drift RNG only when needed.
| def _argument_key(args: tuple, kwargs: dict[str, Any]) -> tuple: | ||
| """Key a call by the pointers of its arrays and the values of its scalars.""" | ||
| return tuple(_value_key(value) for value in args) + tuple( | ||
| (name, _value_key(value)) for name, value in kwargs.items() |
There was a problem hiding this comment.
🔴 Critical · Implementation — Key graphs by array layout
Array keys contain only pointers. Views sharing storage but differing in shape, strides, or dtype can replay a graph captured for the wrong layout. Include array type, device, dtype, shape, and strides.
There was a problem hiding this comment.
Fixed in 0953e28: an array's key now holds its shape, strides, dtype and device besides the pointer; a test records values[:2] and values[:4] as two graphs.
| graphed(old) | ||
| graphed(new) | ||
| graphed(new) | ||
| graphed(new, 5) |
There was a problem hiding this comment.
🟡 Warning · Test Quality — Make scalar changes observable
_Affine ignores the scalar passed in this row. Recording counts cannot prove changed scalar values reach recorded work. Use the scalar in a launch and assert the result.
There was a problem hiding this comment.
Fixed in 0953e28: _Affine applies the shift it is called with, and the test asserts that the replays add the new shift.
| import warp as wp | ||
|
|
||
| from isaaclab.scene import InteractiveScene | ||
|
|
There was a problem hiding this comment.
🟡 Warning · Compatibility — Retain the Warp scene export
Deleting InteractiveSceneWarp breaks its documented import and scene configurations. Retain a functional compatibility class and export with targeted deprecation guidance and old/new validation.
There was a problem hiding this comment.
No shim: isaaclab_experimental is folded into the stable package without deprecation shims, as on #8824; the changelog names InteractiveScene as the replacement.
| from isaaclab.managers.scene_entity_cfg import SceneEntityCfg as _SceneEntityCfg | ||
|
|
||
| if TYPE_CHECKING: | ||
| from isaaclab.scene import InteractiveScene |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Bridge experimental entity configuration
Deleting this exported class removes direct imports, joint_mask, and from_stable; the stable replacement lacks those members. Retain a functional warned bridge and validate both paths.
There was a problem hiding this comment.
No shim, as for the rest of isaaclab_experimental: the name now resolves to isaaclab.managers.SceneEntityCfg, and the changelog lists joint_mask and from_stable as removed.
| np.testing.assert_allclose(sampled_heading.numpy(), yaw, atol=1e-5) | ||
|
|
||
|
|
||
| @pytest.mark.parametrize("device", test_devices(DeviceScope.CUDA)) |
There was a problem hiding this comment.
🟡 Warning · Test Quality — Consolidate tendon capture scenes
This rebuilds the sibling test’s tendon scene and checks staged getters, which still pass if the simulation writer is removed. Put distinct masked-cell assertions in the solver-replay scene.
There was a problem hiding this comment.
Kept separate: the two tests check different copies, the Newton model and the MJWarp solver's tendon_stiffness; merging them would save one scene build.
| from isaaclab_experimental.managers import ManagerTermBase | ||
| from isaaclab_experimental.utils.warp.utils import wrap_to_pi | ||
|
|
||
| from isaaclab.managers import SceneEntityCfg |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Restore package import order
The new isaaclab import follows isaaclab_experimental imports. Put Isaac Lab imports first here and in the changed locomotion MDP files.
There was a problem hiding this comment.
This is the order the repo's ruff isort configuration produces; pre-commit passes.
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Design and architecture (1), Scope and over-engineering (2), API (1), Compatibility and deprecation (6), Implementation (2), Style consistency (9), Test quality (6).
- PR description: Correct non-breaking labels and neural-reset claims; shorten the duplicated series map while preserving template sections; supplement reported validation with step/reset baseline/candidate benchmarks specifying revisions, command/workload, hardware, backend, environment count, warmup, and latency.
- Design and architecture: Resolve one selection in ActuatorCollection.reset; neural actuators currently use IDs while delayed and native states use masks, clearing different environments in the same call.
- Scope and over-engineering: Minimal implementation: extend warp.memory, SceneEntityCfg, TimestampedBuffer, SensorBase, and NewtonManager; keep capture.py for graph lifecycle, collapse unconditional selector uploads and unused RNG setup into consumer-driven initialization, then record and replay owner updates. Suggested PR breakdown: (1) memory selectors and masked resets, validated at asset boundaries; (2) origins and selections, validated through frontend consumers; (3) capture and lazy refresh, validated by replay; (4) Newton FK and finite differences, validated against solver state.
- API: Include shape, strides, dtype, and device in GraphedCallable array keys; pointer-only keys reuse the first recording for different layouts and execute incorrect launches.
- Compatibility and deprecation: Breaking changes: tensor origins, experimental scene/configuration exports, custom entity/native reset hooks, and camera selector coercion change without complete deprecation bridges; retain functional legacy contracts with targeted warnings, migration/removal guidance, and transition coverage.
- Implementation: Mask-only multirotor resets reach Thruster.reset with slice(None), causing every motor to resample; treat the full slice as unspecified when a mask is present.
- Style consistency: Changed imports leave adjacent documentation recommending removed configuration classes and denying newly supported capture behavior; update those references and rationale to the current contracts.
- Test quality: The collection eager-reset test supplies its asserted behavior through a mock and never records a graph; delete it and its fake actuator or exercise a real recorded reset.
Needs rework. Posted 27 inline findings.
The full PR diff was reviewed; some supplemental surrounding file context was omitted.
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) |
There was a problem hiding this comment.
🔴 Critical · Design Architecture — Resolve one actuator reset selection
With both selectors, neural actuators use IDs while delayed and native states use the mask. One reset clears different environments. Choose one selection at the collection boundary and forward it consistently.
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
🔴 Critical · Compatibility — Preserve native actuator reset hooks
Existing ActuatorControl.reset_native_actuators(env_ids) overrides now receive a second positional argument on every reset. Preserve the old call through a warned, documented transition covering old and new hooks.
There was a problem hiding this comment.
reset_native_actuators is an internal ActuatorControl method; the PhysX, Newton and OvPhysX implementations all take env_mask.
| @property | ||
| def env_origins(self) -> torch.Tensor: | ||
| """Per-env world origins, shape ``(num_envs, 3)``.""" | ||
| def env_origins(self) -> ProxyArray: |
There was a problem hiding this comment.
🔴 Critical · Compatibility — Preserve tensor origins
Scene and terrain env_origins now return ProxyArray, changing runtime type and shape, dtype, and device metadata. Keep the Torch property functional and add Warp access through a documented, warned transition.
There was a problem hiding this comment.
Intended: env_origins is a ProxyArray on every path. Indexing, arithmetic and torch.cat still work and return tensors, with a DeprecationWarning on implicit torch use; isinstance(x, torch.Tensor) and .shape change, as listed under Breaking changes, and nothing in the repo relies on either.
| # -- assets | ||
| for articulation in self._articulations.values(): | ||
| articulation.reset(env_ids) | ||
| articulation.reset(env_ids=env_ids, env_mask=env_mask) |
There was a problem hiding this comment.
🔴 Critical · Compatibility — Preserve custom entity reset hooks
Even scene.reset() now passes env_mask=None. Existing custom assets and sensors implementing reset(env_ids) raise TypeError. Retain legacy invocation during a targeted, documented deprecation transition and test both signatures.
There was a problem hiding this comment.
Intended and listed under Breaking changes: custom assets and sensors accept env_mask, as AssetBase.reset and SensorBase.reset do.
|
|
||
| def _argument_key(args: tuple, kwargs: dict[str, Any]) -> tuple: | ||
| """Key a call by the pointers of its arrays and the values of its scalars.""" | ||
| return tuple(_value_key(value) for value in args) + tuple( |
There was a problem hiding this comment.
🔴 Critical · Api — Key graphs by array layout
Arrays with one pointer but different shapes, strides, or dtypes share a recording. Replay then executes the first layout's launches. Include layout and device alongside the pointer in the key.
There was a problem hiding this comment.
Fixed in 0953e28: an array's key now holds its shape, strides, dtype and device besides the pointer; a test records values[:2] and values[:4] as two graphs.
|
|
||
| from isaaclab.envs.mdp.events import randomize_rigid_body_mass as _StableRandomizeRigidBodyMass | ||
| from isaaclab.envs.mdp.events import randomize_rigid_body_material as _StableRandomizeRigidBodyMaterial | ||
| from isaaclab.managers import SceneEntityCfg |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Update selection configuration guidance
The module docstring still recommends the removed experimental SceneEntityCfg, while this import uses the stable class. Name the current class in the guidance.
| np.testing.assert_allclose(sampled_heading.numpy(), yaw, atol=1e-5) | ||
|
|
||
|
|
||
| @pytest.mark.parametrize("device", test_devices(DeviceScope.CUDA)) |
There was a problem hiding this comment.
🟡 Warning · Test Quality — Combine tendon replay scenes
Both new tendon replay tests build the same tendon island. Check selected cells and successive solver refreshes in one scene instead of paying for a second simulation.
There was a problem hiding this comment.
Kept separate: the two tests check different copies, the Newton model and the MJWarp solver's tendon_stiffness; merging them would save one scene build.
| def __init__(self, shape): | ||
| self.data = wp.zeros(shape, dtype=wp.float32, device="cpu") | ||
| self.timestamp = -1.0 | ||
| def Buffer(shape): |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Name the factory as a function
Buffer is now a function rather than the class it replaced. Rename it and its calls to snake_case.
There was a problem hiding this comment.
Left as is: a test-local name.
| from isaaclab_experimental.managers.manager_base import ManagerTermBase | ||
|
|
||
| import isaaclab.utils.string as string_utils | ||
| from isaaclab.managers import SceneEntityCfg |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Remove obsolete capture warning
The adjacent comment says lazy asset data cannot be graph-captured, but this diff makes its recorded updates capturable. Remove or correct that rationale.
|
|
||
| # Per-env origins (Warp view for kernels; Torch env uses `self.scene.env_origins` directly). | ||
| self.env_origins = wp.from_torch(self.scene.env_origins, dtype=wp.vec3f) | ||
| self.env_origins = self.scene.env_origins.warp |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Correct the origins comment
The adjacent comment says Torch uses scene.env_origins directly, but the property now returns ProxyArray. Describe explicit .torch access instead.
|
run-ci |
The PhysX, OVPhysX and visuo-tactile sensors no longer mark their refresh with eager_method: a step is recorded only with Newton physics, so these sensors never refresh inside a recording.
The eager timestamp test and the single-read sensor capture test fail only when the articulation contract tests and the repeated-read sensor test fail too. The in-recording invalidation test passes without the recording rule. The CPU capture check joins the foreign-capture test as its CPU case, and the PhysX ray caster test matches the sensor's own error again.
GraphedCallable no longer follows the physics backend through a class-level subscription (watch, unwatch, generation, invalidate), and cached Warp launches no longer have a global clear_all. Nothing in this part records a step, so the owner that does resets its own callables and clears its own caches, as main's physics backend and asset data do.
f099c6c to
7c0784c
Compare
|
run-ci |
|
run-ci |
|
run-ci |
|
run-ci |
| if self.transforms_may_change_on_graph_replay: | ||
| self._resolve_flagged() |
There was a problem hiding this comment.
Coupled resets still break capture. In a single-world Newton run with a capture-capable MPM entry and
use_cuda_graph=True, recording a state write sets transforms_may_change_on_graph_replay. The next step now records _resolve_flagged(), which calls CouplerSolver.reset(). That method reads world_mask.numpy() on the host when an MPM entry is present. This read cannot run during CUDA capture, so stepping fails.
The new condition only avoids this for runs without recorded writes. Keep host-reading resets outside the captured step, or make those resets work entirely on the device.
Knowledge Base Used: Newton backend
There was a problem hiding this comment.
Fixed in 741e29d. A solver now reports whether its reset can be recorded (reset_is_capturable); the coupled solver says no for one world with an MPM entry, and then the step resets it eagerly before the step graph on every step, as on main, also after state writes were recorded, so the graph never records the host read. Reproduced first with IsaacContrib-G1-Terrain (granular preset, Newton) on the Warp frontend, which failed at step 1 with CUDA error 906; it now steps 60 times. Test: test_a_reset_that_reads_the_host_resolves_before_the_captured_step in test_newton_manager.py.
…fter recorded state writes
|
run-ci |
Summary
Lazily computed data (asset data properties, sensor buffers) is correct when read inside a recorded CUDA graph, and
isaaclab.utils.warp.captureadds the recording utilities the Warp frontend builds on:GraphedCallableandeager_method.Description
Update (2026-11-17,
741e29de8c6): a solver whose reset reads the host (the coupled solver with one world and an MPM entry) is reset before the step graph on every step, as onmain, also after state writes were recorded in a graph; the graph no longer records that reset. This fixesIsaacContrib-G1-Terrainwith the granular preset on Newton, whose recorded step failed with CUDA error 906 onworld_mask.numpy().Update (2026-11-17,
3c65f77950c): the Newton asset data are back tomain's lazy finite differences, keeping only the fix of their first value after the ordering setup (item 3); "record" now names only aGraphedCallable's own CUDA graph, and the launch cache speaks of cached launches.Update (2026-11-17,
02fb34cf577):GraphedCallable.__call__runs the callable plainly in one branch for its three cases (inside a graph capture something else started, on a CPU device, after an abandoned recording), and each recording step is commented. No behaviour change.Update (2026-11-17): Newton resolves flagged state writes inside the step's CUDA graph only once a state write was recorded in a graph; otherwise the solver reset and forward kinematics run before the step as on
main. This fixes the coupled and MPM tasks (Franka-Pour, UR10-Particle-Push, the coupler and MPM demos), whose solver reset reads the world mask on the host and failed under capture with CUDA error 906.Update (2026-11-16): rebased onto
main(no longer stacked on 3a). Since the previous head,eager,record_at_endandis_recordingare removed andeager_methodis the only marker: a recording that reaches one is abandoned and the call runs without a graph from then on. AGraphedCallablerecords again when its owner callsreset, not on its own when the physics backend rebinds. Recordings now check that no torch operation or host synchronization runs while the graph records. The cached Warp launches keep one recorded launch per call site. Newton no longer changesadd_model_change.isaaclab.utils.warp.capture):GraphedCallablerecords a call as a CUDA graph on its first run with a given argument layout and replays it after; it records again for another layout, or after its owner callsreset(for example, after a physics rebind).eager_methodmarks a method that cannot be recorded. AGraphedCallablethat calls one while it records abandons the recording without launching it, runs without a CUDA graph from then on and logs a warning that names both calls.RuntimeErrornaming the recorded call and the operation, with and without Kit.TimestampedBufferreads as stale and an update does not mark it fresh, so a cached value read in a capture is recomputed on every replay.update_in_graph=Falsekeeps the plain timestamp rule. On Newton, 15 data properties that raised while a graph recorded now record their update. On PhysX and OvPhysX, data that a graph cannot refresh is read as it is: the finite-difference accelerations, and on PhysX also the CPU-only body views and the joint positions and velocities, so the PhysX host actuator runtime still captures its graphs.main's lazy finite difference (the property computes when stale over the elapsed time, andupdate(dt)reads it each physics step), withupdate_in_graph=False, so a read inside a recording sees the real timestamp and records nothing. Fixed: after the joint or body ordering is set up,mainreset their timestamps to -1, so the first difference ran overdt + 1s; the data is now zeroed instead.SensorBaserecords its buffer refresh in every CUDA graph capture that reads the data, so each replay refreshes the environments whose data is outdated.Camerarenders on the host, so a recorded call that reads it runs without a CUDA graph.transforms_may_change_on_graph_replay), the solver reset and forward kinematics for the worlds flagged by state writes run at the start of each physics step inside the step's CUDA graph, instead of eagerly before every step. Until then they run before the step as onmain, which keeps a solver reset that reads the world mask on the host, such as the coupler's, out of the graph. Without flagged worlds the masked kernels do no work.Evidence
MEASURED on 8gpu (
isaac-lab:latest-main, Newton MJWarp, Kit PhysX and OvPhysX) at7c0784c04d1, one file per process: 79 test files, 1595 tests passed and none failed. The files are the capture, capture-guard, launch-cache andTimestampedBuffertests; every test underisaaclab/test/actuators,isaaclab/test/sensorsandisaaclab/test/utils/warp; the PhysX and OvPhysX asset and sensor tests; the Newton physics and asset tests; and the articulation contract tests.At
741e29de8c6(4-GPU L40 host,isaac-lab:latest-main):test_newton_manager.py65,test_coupler.py66,test_newton_solver_reset.py4 andtest_articulation_contract.py506 (16 skipped) passed;IsaacContrib-G1-Terrain(env=granular physics=newton_mjwarp) steps 60 times on the Warp frontend of the full series (failed at step 1 before) and on the torch frontend.At
3c65f77950c(4-GPU L40 host,isaac-lab:latest-main, one file per process):test_articulation_contract.py506 (16 skipped),test_rigid_object_contract.py231 (4 xfailed), Newtontest_articulation.py44 andtest_rigid_object.py23,test_capture.py19,test_capture_kit.py1,test_timestamped_buffer.py7,test_launch_cache.py3,test_sensor_update_schedule.py14 andtest_newton_solver_reset.py4 passed.At
02fb34cf577(4-GPU L40 host,isaac-lab:latest-main, one file per process):test_capture.py19,test_capture_kit.py1,test_timestamped_buffer.py7,test_newton_solver_reset.py4,test_sensor_update_schedule.py14 andtest_articulation_contract.py506 (16 skipped) passed.At
90bbae9c71f: the coupled tasks that failed CI at7c0784c04d1pass (test_franka_pour_spill.py,test_contrib_environments_kitless.py -k Pourand-k Particle), andtest_newton_manager.pypasses (64). Warp-frontend step time (Newton MJWarp, 4096 envs, 5 interleaved runs, recorded) is unchanged by the fix: Cartpole 0.775 ms, Ant 1.396 ms; resolving before the step on every step instead would cost Cartpole 1.341 ms.Type of change
Release backport
mainScreenshots
Not applicable.
Checklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks withuv run isaaclab --formatisaaclab.utils.warp.captureis in the API referencesource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists there