Skip to content

Add Newton Steel solver presets and benchmark support - #8940

Merged
ooctipus merged 5 commits into
isaac-sim:mainfrom
ooctipus:steel-dev
Nov 11, 2026
Merged

ooctipus merged 5 commits into
isaac-sim:mainfrom
ooctipus:steel-dev

Conversation

@ooctipus

@ooctipus ooctipus commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Add Newton Steel as a solver in the shared Newton backend and expose presets=newton_steel across supported Isaac Lab task families. Steel uses point friction by default, the shared Newton manager, and one owner for each task family preset.

This branch is rebased onto upstream main at d4be26397. The Steel presets include the tuned settings from contributor PR #12. Franka Reach and Drawer select the driven PhysX USD variant.

Dependencies

  • PR #8953 updates Newton to 1.9 and MuJoCo/MuJoCo Warp to 3.17. Dependency pins, the lockfile, wheel overrides, the actuator compatibility fix, and the MPM rendering reference are there.
  • PR #8954 migrates contact sensors for Steel, MuJoCo, XPBD, VBD, and Kamino to Newton solver observables.
  • PR #8957 aligns explicit contact capacity before solver construction.

PRs #8953 and #8954 are merged into main. PR #8957 is still open and remains a dependency for explicit contact-capacity alignment. The benchmark table below was collected before the Newton Manager redesign and is retained as historical data, not as a current-revision performance claim.

Historical benchmark: Steel point friction vs MJWarp

All 42 Steel-configured task families were benchmarked sequentially on RTX 5090 GPU 0. The original 16,384-environment pairs used point-friction runtime code at 8b8799c40. Steel rows affected by the driven Franka USD variant or the default solver tuning were rerun with the final integration settings; their MJWarp rows are unchanged. The SO101 row was rerun after #8954's contact-observable migration, before the Newton Manager redesign merged into main. The other rows predate that migration and should be read as a baseline, not current-code measurements. The measurements include the dependency versions in #8953: official Newton 7f0c13af6e4d and MuJoCo/MuJoCo Warp 3.17. Steel uses friction_anchor_beta=0.0.

  • 41 task pairs completed at 16,384 environments. Both SO101 solvers ran out of GPU memory there, so SO101 was rerun at its configured default of 4,096 environments; both completed.
  • In that earlier run, Steel was faster on 28 of 39 pairs without MJWarp line-search warnings at 16,384 environments. The historical geometric mean Steel/MJWarp ratio was 1.31× (median 1.12×).
  • Two 16,384-environment pairs emitted MJWarp line-search warnings; their numbers are shown but excluded from that summary. SO101 uses 4,096 environments and is also outside the 16,384-environment summary.
  • After Migrate Newton contact sensors to solver observables #8954's migration on the earlier base, SO101 measured 172,477 aggregate steps/s with Steel and 135,059 with MJWarp on GPU 0. Earlier Steel reruns ranged from 157,878 to 172,872 aggregate steps/s. GPU process checks detected brief unrelated startup overlap on one earlier rerun; per-step contention was not continuously measured. The shared runtime uses Isaac Sim 6.1, while the repository lock targets 6.2.

The SO101 task packs 108 keyboard joints into one Newton articulation per environment. Its default Steel preset keeps two substeps. On the earlier combined code with #8954, Steel took 23.7 ms per full env.step() call at 4,096 environments; MJWarp took 30.3 ms in its paired rerun. Each result is one 100-call run. These timings have not been repeated after the Newton Manager redesign on current main.

What the numbers mean

We timed 100 full env.step() calls after 20 warmup calls. The table shows the total environment steps per second across all environments: environments × 100 ÷ the combined host wall time of those calls. Higher is better. This includes work inside env.step(), not just the physics solver. GPU completion is not synchronized at every call.

Default Steel tuning

The tuned solver settings from contributor PR #12 are selected by presets=newton_steel. The measurements below were taken before this rebase; the tuning improves some tasks and reduces throughput on others in that earlier run.

Historical result table (presets=newton_steel)

Task Envs Steel aggregate env steps/s MJWarp aggregate env steps/s Steel / MJWarp Note
Isaac-Ant 16,384 5,318,029 2,626,845 2.02×
Isaac-Ant-Direct 16,384 6,559,093 5,599,628 1.17×
Isaac-Cartpole 16,384 9,422,295 8,633,389 1.09×
Isaac-Cartpole-Camera 16,384 970,962 938,307 1.03×
Isaac-Cartpole-Camera-Direct 16,384 1,014,796 987,499 1.03×
Isaac-Cartpole-Direct 16,384 10,603,728 11,049,601 0.96×
Isaac-Humanoid 16,384 1,716,377 1,381,116 1.24×
Isaac-Humanoid-Direct 16,384 1,889,483 1,567,169 1.21×
Isaac-Lift-Franka 16,384 761,653 723,584 1.05×
Isaac-Lift-KukaAllegro 16,384 630,889 473,922 1.33×
Isaac-Lift-KukaAllegro-Camera 16,384 269,357 232,573 1.16×
Isaac-Open-Drawer-Franka 16,384 3,724,915 793,857 4.69×
Isaac-Open-Drawer-Franka-Direct 16,384 3,768,857 818,514 4.60×
Isaac-Reach-Franka 16,384 2,836,122 2,031,628 1.40×
Isaac-Reach-Franka-OSC 16,384 1,467,223 1,248,146 1.18×
Isaac-Reach-UR10 16,384 4,697,814 2,458,897 1.91×
Isaac-Reorient-Cube-Allegro 16,384 474,390 321,799 1.47×
Isaac-Reorient-Cube-Allegro-Direct 16,384 473,186 330,940 1.43× MJWarp line search (3)
Isaac-Reorient-KukaAllegro 16,384 619,824 475,442 1.30×
Isaac-Reorient-KukaAllegro-Camera 16,384 260,914 236,028 1.11×
Isaac-Velocity-Flat-AnymalD 16,384 623,494 394,514 1.58× MJWarp line search (1)
Isaac-Velocity-Flat-Cassie 16,384 980,049 872,366 1.12×
Isaac-Velocity-Flat-G1 16,384 395,715 413,783 0.96×
Isaac-Velocity-Flat-H1 16,384 811,177 732,821 1.11×
Isaac-Velocity-Flat-UnitreeGo2 16,384 861,115 929,370 0.93×
Isaac-Velocity-Rough-AnymalD 16,384 262,903 309,238 0.85×
Isaac-Velocity-Rough-Cassie 16,384 626,981 546,664 1.15×
Isaac-Velocity-Rough-G1 16,384 219,665 225,923 0.97×
Isaac-Velocity-Rough-H1 16,384 534,495 480,473 1.11×
Isaac-Velocity-Rough-UnitreeGo2 16,384 360,563 385,435 0.94×
IsaacContrib-Cartpole-Showcase-Direct 16,384 13,125,361 11,187,047 1.17×
IsaacContrib-Keyboard-SO101 4,096 172,477 135,059 1.28× Both OOM at 16,384; rerun with #8954 contact observables
IsaacContrib-Open-Drawer-Franka-IK-Abs 16,384 3,278,941 637,379 5.14×
IsaacContrib-Open-Drawer-Franka-IK-Rel 16,384 3,120,403 584,387 5.34×
IsaacContrib-Velocity-Flat-AnymalB 16,384 752,575 462,837 1.63×
IsaacContrib-Velocity-Flat-AnymalC 16,384 757,105 442,263 1.71×
IsaacContrib-Velocity-Flat-UnitreeA1 16,384 789,132 1,041,755 0.76×
IsaacContrib-Velocity-Flat-UnitreeGo1 16,384 635,813 937,895 0.68×
IsaacContrib-Velocity-Rough-AnymalB 16,384 431,995 439,662 0.98×
IsaacContrib-Velocity-Rough-AnymalC 16,384 410,209 404,162 1.01×
IsaacContrib-Velocity-Rough-UnitreeA1 16,384 396,145 451,066 0.88×
IsaacContrib-Velocity-Rough-UnitreeGo1 16,384 330,732 396,851 0.83×
Geometric mean (39 comparable pairs) 16,384 — — 1.31× Excludes pairs with MJWarp line-search warnings; SO101 uses 4,096 envs

Type of change

  • New feature
  • Bug fix
  • Documentation update

Validation

Focused checks on the rebased branch:

  • Newton Steel solver: 5 passed
  • Newton manager Steel build and step: 1 passed
  • Steel contact-sensor force: 1 passed
  • Steel task presets: 17 passed
  • Benchmark capture: 20 passed
  • Ruff lint and format checks passed; git diff --check passed

The historical benchmark table has not been rerun on this revision. PR #8957 is still open, so the full integration and CI remain subject to that dependency.

Checklist

  • I have read and understood the contribution guidelines
  • I have run pre-commit checks on the changed files
  • I have made corresponding documentation changes
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria
  • I have added changelog fragments for every touched source package
  • My name already exists in CONTRIBUTORS.md

@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team infrastructure labels Nov 4, 2026
@ooctipus ooctipus added the ci:run-docker Trigger the on-demand Docker and GPU CI workflow label Nov 4, 2026
@ooctipus ooctipus closed this Nov 5, 2026
@ooctipus ooctipus reopened this Nov 5, 2026
@jaredmejia

Copy link
Copy Markdown
Contributor

@ooctipus The Franka arm loads with zero position-drive stiffness under presets=steel (measured at 7b90c59c4; the same lines are unchanged at 8b8799c40). With rsl_rl (2 seeds, 500 iterations on Reach, 400 on Drawer), Steel's last-10% mean rewards were about -3.65 on Isaac-Reach-Franka and -14.57 on Isaac-Open-Drawer-Franka on both seeds. MJWarp reached about 1.0 success on Reach and rewards of 62-85 on Drawer, although Drawer success stayed near zero at that length.

Repro, 2 envs, run with the repo's env (uv run python repro.py steel / newton_mjwarp):

import sys

import gymnasium as gym

import isaaclab_tasks  # noqa: F401
from isaaclab.app import launch_simulation
from isaaclab_tasks.utils import resolve_task_config

task, preset = "Isaac-Reach-Franka", sys.argv[1]
env_cfg, _ = resolve_task_config(task, None, overrides=[f"presets={preset}"])
env_cfg.scene.num_envs = 2
with launch_simulation(env_cfg, None):
    env = gym.make(task, cfg=env_cfg)
    print(preset, env.unwrapped.scene["robot"].data.joint_stiffness.torch[0].tolist())
    env.close()
steel          [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
newton_mjwarp  [1000.0, 1000.0, 750.0, 750.0, 300.0, 300.0, 300.0, 350.0, 0.0]

Joint armature is 0 under Steel too (0.1 under MJWarp), and the gripper has no drive.

Cause: Reach and Cabinet use FRANKA_PANDA_CFG with stiffness=None, so the gains come from the USD, and the physics variant is preset(default="mujoco", isaacsim_physx="physx", physx="physx", ovphysx="physx"). presets=steel falls through to mujoco:

  • source/isaaclab_tasks/isaaclab_tasks/core/reach/config/franka/franka_reach_env_cfg.py:162
  • source/isaaclab_tasks/isaaclab_tasks/core/cabinet/config/franka/joint_pos_env_cfg.py:27
  • source/isaaclab_tasks/isaaclab_tasks/core/cabinet/config/franka/cabinet_direct_env_cfg.py:25

The mujoco variant authors its drive gains as MuJoCo actuator attributes and its joint armature as mjc:armature. At Newton 7f0c13af, the actuator-to-joint-target conversion needs the MuJoCo custom attributes to be registered (newton/_src/utils/import_usd.py:3005), and this branch enables SchemaResolverMjc, which reads the armature, only when SolverMuJoCo is in solver_classes (newton_builder.py:88-99). SteelSolver inherits NewtonSolver.solver_classes (newton_solver.py:69), which registers only SolverSteel. Reach-Franka-OSC and the Contrib IK-Abs/IK-Rel drawer tasks inherit these scenes and lose the armature and gripper drive the same way.

Fix: select the physx variant for Steel at those three sites, i.e. add steel="physx". Steel's rigid PGS with implicit PD drives is closest to PhysX, and the physx variant authors UsdPhysics drives, which Newton reads directly. With that change the arm and gripper stiffness, damping, armature and effort limits match MJWarp's, and under Steel the two variants import the same joints, bodies and colliders (the mujoco variant only adds a non-colliding site and finger-pad contact stiffness that Steel's rigid contacts don't read).

Optionally, SteelSolver.solver_classes could return (SolverSteel, SolverMuJoCo). For this asset that also restores the gains and joint properties exactly, since the importer converts its position actuators; it doesn't make every MuJoCo actuator mode work under Steel.

The current Steel presets load these tasks without arm position drives, so I'd rerun the Reach and Cabinet throughput measurements with the corrected gains.

@jaredmejia

Copy link
Copy Markdown
Contributor

@ooctipus Following up with the full sweep, since 8b8799c40 makes point friction the default. I measured throughput and random-action health on all 43 tasks with a Steel preset, and ran short rsl_rl trainings on 16 task configurations. Caveats: this was on 7b90c59c4 with friction_anchor_beta=0.0 set in the presets (the same setting your new default uses), on an RTX PRO 6000 with Isaac Sim 6.2 rather than a 5090 with 6.1. I haven't re-measured your new head, so I'd read the ratios to MJWarp rather than the absolute numbers.

Steel env steps/s ÷ MJWarp on the same GPU, geomean per preset family (16,384 envs; 4,096 for camera tasks, 2,048 for keyboard):

Preset family Tasks Patches (7b90c59c4) Point friction
cabinet (Franka drawer) † 4 1.91× 5.14×
humanoid 2 0.37× 1.20×
lift + reorient KukaAllegro 5 0.69× 1.12×
ant 2 1.15× 1.59×
velocity 19 0.79× 1.05×
allegro reorient 2 0.39× 0.65×
reach † 3 0.58× 0.66×
keyboard 1 0.07× 0.09×
cartpole 5 1.00× 1.00×
all 43 0.76× 1.12×

† Includes the Franka variant fix from my previous comment (steel="physx"), so these rows also change the robot, not just the solver settings.

  • No point-friction preset produced non-finite states or row overflow under random actions.
  • In the trainings with a usable signal, point friction matched or beat the patch presets: Ant, Humanoid, Lift-Franka, Allegro, AnymalD rough, H1 rough, G1 flat, Go2 rough, Cartpole. That's 2 seeds each at reduced iterations, not an equivalence guarantee. Reorient-KukaAllegro and Rough-G1 didn't learn on any backend at my budget, and Keyboard at 150 iterations was too noisy to call.

1 substep on top of point friction gives another 1.2–1.9× where it stays finite, but it isn't safe per family:

  • Diverges under random actions, also with 2× and 4× iterations: Humanoid, Humanoid-Direct, Velocity-Flat-G1, Velocity-Rough-Cassie.
  • Passed random-action health but produced NaN observations in training: Velocity-Rough-H1 (2/2 seeds plain, 3/3 with 2× iterations).
  • Trained on every seed, if you want per-task overrides:
    • Reach-Franka: plain 1 substep.
    • Lift-Franka: 16 iterations.
    • Velocity-Rough-AnymalD: 16 iterations, 1.76× the current preset.
    • Velocity-Flat-AnymalC (Contrib): 16 iterations.
    • Velocity-Rough-UnitreeGo2: joint_limit_activation_gap=0.4. With 0.2 the joint-limit violation jumps to 0.21, apparently from fast joints crossing the gap within one step.
    • Reorient-Cube-Allegro: 24 iterations, 2.37× the current preset.

Other options I measured on 12 representative tasks:

  • Sleeping on costs 0.52–0.98×.
  • CUDA graph off costs 0.35–0.75×.
  • The propagation contact responses run at 0.44–0.75×.
  • Collide every substep on 2-substep tasks costs 0.76× on rough terrain.
  • Warm start fails on rough terrain: buffered contacts cap at 2^20, while the velocity preset allows 12M triangle pairs.
  • Zeroing the Allegro torsion radius gives 1.55×, and Allegro trained to similar success without it.
  • The current row budgets are right; going below the measured high-water marks overflows.
  • Keyboard stays slow (about 900 articulation rows per world).

I have the Franka fix and per-task tables ready. Happy to open a PR into steel-dev with the variant fix (and any per-task overrides you want), or you can take them as suggestions.

@jaredmejia

Copy link
Copy Markdown
Contributor

I opened the preset and option changes from my earlier comments as a PR into steel-dev: ooctipus#12.

@greptile-apps

greptile-apps Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The PR adds an optional solver path across supported Newton task families.

Fix the Steel keyboard task's failure with collision_cfg=None before merging.

Findings

  1. P1 Default collision settings crash startup ▶
  2. P2 Contact budget overrides are ignored ▶

Summary

Adds Newton Steel through the shared solver layer and exposes presets=newton_steel across supported task families.

  • Newton tasks can run the Steel solver through the shared solver layer.
  • Supported task families can select Steel with settings for their robots and scenes.
  • Runtime benchmark records identify Newton Steel runs by name.

Acknowledged by ooctipus: dependency upgrades and actuator compatibility are deferred to #8953, contact-sensor support to #8954, and contact-capacity alignment to #8957. These known prerequisites were not reported again.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A["presets=newton_steel"] --> B["Task-family configuration"]
  B --> C["NewtonCfg and SteelSolverCfg"]
  C --> D["Shared Newton manager"]
  D --> E["SteelSolver.build"]
  E --> F["Newton collision pipeline"]
  F --> G["Steel simulation steps"]
  C --> H["Benchmark label: newton_steel"]
Loading

Reviews (1) · Last reviewed commit: "Use shared contact observable path for S..." · Reviewed by Greptile

Comment on lines +355 to +356
if isinstance(physics, NewtonCfg) and isinstance(physics.solver_cfg, SteelSolverCfg):
physics.collision_cfg.rigid_contact_max = 170 * self.scene.num_envs

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 Default collision settings crash startup

SO101KeyboardEnvCfg.validate_config() assumes collision_cfg is present, but NewtonCfg explicitly supports None. Running the keyboard task with presets=newton_steel env.sim.physics.collision_cfg=null raises AttributeError before simulation starts. Create a NewtonCollisionPipelineCfg when it is absent before setting the task's contact budget.

Knowledge Base Used: Task library

"""Scale the Steel contact budget to the resolved number of keyboard worlds."""
physics = self.sim.physics
if isinstance(physics, NewtonCfg) and isinstance(physics.solver_cfg, SteelSolverCfg):
physics.collision_cfg.rigid_contact_max = 170 * self.scene.num_envs

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.

P2 Contact budget overrides are ignored

validate_config() always replaces rigid_contact_max, so an explicit override such as env.sim.physics.collision_cfg.rigid_contact_max=1000000 is silently discarded when the environment starts. Users cannot increase the budget to address contact overflow or test a different allocation. Apply the scaled budget only when no explicit budget was supplied, while keeping automatic budgets in sync with scene.num_envs.

Knowledge Base Used: Task library

@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 (1), Style consistency (1), Test quality (3). Other reviewed categories look good.

  • PR description: Remove branch-history rename and substep claims; the 1.31× claim mixes stale revisions, so remeasure current baseline/candidate with revisions, command, RTX 5090, backends, environment counts, warmup, and aggregate steps/s.
  • Design and architecture: SO101 validation mutates collision capacity from scene state, mixing checking with configuration wiring; derive the budget during initialization or launch preparation instead.
  • Scope and over-engineering: Minimal implementation: keep steel_solver.py and steel_solver_cfg.py under the existing Newton solver owners, retain task-family preset roots and benchmark dispatch, collapse flat-task preset reconstruction into direct field resets, and delete source-layout manifest tests. Scope is cohesive; no split recommended.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: Two changed changelog fragments duplicate branch history and describe an unreleased rename; fold them into the existing Steel addition fragment.
  • Test quality: Delete the source-layout grep, preset-owner manifest, and duplicate unknown-preset case; retain the distinct solver, filtering, force, benchmark, and resolved-preset coverage.

Minor fixes needed. Posted 6 inline findings.

Automated review; human maintainers own approval decisions.

from isaaclab.test.utils import test_devices


def test_steel_stays_in_the_solver_layer() -> 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.

🟡 Warning · Test Quality — Delete source-layout grep test

This asserts never-existing files are absent and greps __init__.pyi text, guarding branch-local layout rather than behavior. The manager build-and-step case already covers Steel solver integration.

@@ -0,0 +1 @@
* Renamed the Steel task selector to ``presets=newton_steel`` and made the tuned solver settings the default while preserving task substep counts.

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 — Changelog describes unreleased selector rename

presets=newton_steel is added by this diff, so "Renamed the Steel task selector" documents branch history users never saw, and steel-pr12-presets.changed.rst repeats it. Fold both into the single .added fragment.

self.sim.render_interval = self.decimation
self.sim.visualizer_cfgs = VisualizerCfg(eye=(0.85, -0.75, 1.0), lookat=(0.25, 0.0, 0.1), focal_length=28.0)

def validate_config(self) -> 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.

🟡 Warning · Design Architecture — validate_config performs configuration wiring

Validation hooks may only check a config's own fields; this writes collision_cfg.rigid_contact_max derived from scene.num_envs. Derive the Steel contact budget in __post_init__ or launch preparation instead.

newton_mjwarp.solver_cfg.cone = "elliptic"
newton_mjwarp.solver_cfg.impratio = 100.0
self.sim.physics.default = newton_mjwarp
self.sim.physics.newton_steel = RoughPhysicsCfg().newton_steel

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 · Scope Complexity — Revert one field, not preset

Reconstructing RoughPhysicsCfg().newton_steel silently discards any other parent Steel tuning and adds a module import to revert one field. Assign solver_cfg.iterations = 8 here, and joint_limit_activation_gap = 0.2 in go2/flat_env_cfg.py.

)


def test_newton_steel_preset_has_one_owner_per_task_family() -> 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.

🟡 Warning · Test Quality — Delete preset-owner manifest test

This AST walk hard-codes an exact set of preset-owning files and forbidden names, so legitimate preset additions fail it while no behavior is protected. The resolved-task preset tests already cover composition.

assert cfg.sim.physics.default_shape_cfg.gap == 0.002


def test_legacy_steel_selector_is_rejected() -> 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.

🟡 Warning · Test Quality — Duplicate unknown-preset negative control

steel was never a released selector, so this only re-exercises the generic unknown-preset guard already owned by test_unknown_preset_name_raises in this file. Remove it.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

These tests feel out of place, if not un-needed? LGTM otherwise! Thanks Octi!

StafaH pushed a commit that referenced this pull request Nov 6, 2026
# Description

Update the pinned Newton revision from `42f7def118c2` (1.8.0.dev0) to
`7f0c13af6e4d` (1.9.0.dev0), and align MuJoCo and MuJoCo Warp from 3.15
to 3.17 in `pyproject.toml`, `uv.lock`, and the wheel-builder overrides.

Newton 1.9 requires explicit opt-in when its USD actuator parser loads a
Torch checkpoint. Scope that opt-in to `NewtonActuator` prims whose
`newton:modelPath` ends in `.pt`, `.pth`, or `.pt2`; add focused
coverage for checkpoint and non-checkpoint paths. Refresh the MPM
rendering reference produced by the updated Newton stack.

Warm up the Valiant PPISP camera before comparing its RGB output: CI
captured an unshaded green frame while depth was already populated. Keep
the 12% pixel-difference gate and use a 0.90 SSIM gate for the warmed
splat image, which measured 0.9155 in CI.

This dependency update is required by [the Steel integration
PR](#8940), which will be
narrowed to Steel-specific changes.

# Validation

- `uv lock --check`
- Newton adapter tests: 23 passed
- MuJoCo/MJWarp solver tests (CPU and CUDA): 36 passed
- Rendering architecture tests: 2 passed
- `ISAACLAB_CHANGELOG_BASE_REF=upstream/main uv run isaaclab -f`
- CI on `91bca223b`: `rendering-correctness`,
`rendering-correctness-kitless (legacy)`, `isaaclab_newton`, and
`pre-commit` passed
- CI `performance-smoke-benchmarks`: passed on retry after runner
shared-memory startup failures
@AntoineRichard AntoineRichard self-assigned this Nov 6, 2026

@maxkra15 maxkra15 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.

Port build to the current instance API; the classmethod signature misbinds model as cfg and crashes. Handle collision_cfg=None and preserve explicit contact budgets. Drop source-layout/AST inventory tests. Rebase onto merged #8953, land #8954/#8957, then rerun Steel CI.

solver_class = SolverSteel
deterministic = True

@classmethod

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: Current main instantiates NewtonSolver and calls self.build(model, mode, env_template). This override is still classmethod build(cls,cfg,model,mode,...), so the model binds to cfg and cfg.contact_torsion raises immediately after merging. Use build(self,model,mode,env_template), read self.cfg and call the instance super().build(...).

self.sim.render_interval = self.decimation
self.sim.visualizer_cfgs = VisualizerCfg(eye=(0.85, -0.75, 1.0), lookat=(0.25, 0.0, 0.1), focal_length=28.0)

def validate_config(self) -> 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.

P2: NewtonCfg allows collision_cfg=None, but this validation hook immediately writes through it. That override raises AttributeError. With a real config, an explicit rigid_contact_max=1000000 is silently replaced by696320 at4096worlds. Derive a default budget during configuration preparation, handle None, and preserve explicit user values.

resolve_presets,
)


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.

P2: This AST walk pins an exact set of preset-owning files and rejects harmless source reorganization. The real resolved-task preset tests already cover configuration composition. Drop it, the filesystem/grep test_steel_stays_in_the_solver_layer, and the redundant legacy-selector case; retain runtime solver build/step and resolved preset behavior tests.

ooctipus added a commit that referenced this pull request Nov 7, 2026
## Description

Use Newton's `CONTACT_F` solver observables for Isaac Lab contact
sensors with MuJoCo, XPBD, VBD, Kamino, and Steel. The backend allocates
the solver output when a contact sensor is registered, requests it on
the final solver substep of the environment step, and passes it to the
sensor. Native collision detectors receive a `Contacts` buffer for
observable contact indexing. Late sensor registration invalidates
captured step graphs.

Newton deprecated `Contacts.force` and `solver.update_contacts()` in
version 1.7. Isaac Lab no longer uses that path for contact sensors.
Featherstone and implicit MPM do not provide `CONTACT_F` in the pinned
Newton version, so contact-sensor registration reports that limitation
directly. The changelog fragment records this until Newton adds support.

This PR contains no Steel solver or task presets and no contact-capacity
change. [#8940](#8940) adds
Steel; [#8957](#8957)
independently aligns explicit contact capacity.

## Base

Rebased on `main` at `bb4d9915f`, which includes
[#8953](#8953) (Newton 1.9 and
MuJoCo/MuJoCo Warp 3.17) and
[#8946](#8946) (Newton manager
redesign). The solver observable changes use the new instance-based
solver interface.

## Validation

- On `bb4d9915f`: the Newton manager, Newton solver, and contact-sensor
test files passed with 119 passed and 3 existing skips. Resting-contact
cases cover both MuJoCo collision paths, XPBD, VBD, and Kamino with both
collision paths.
- Pre-commit hooks, changelog gate, and diff whitespace checks passed.
- Follow-up `90e1f74d9`: 4 coupled-solver runtime tests and 56 Newton
manager tests passed locally. [Activated Docker + Tests
CI](https://github.com/isaac-sim/IsaacLab/actions/runs/42301974155)
passed, including `isaaclab_assets` and contrib environments.
@ooctipus
ooctipus force-pushed the steel-dev branch 2 times, most recently from 2214322 to b0ae176 Compare November 7, 2026 02:13
@ooctipus

ooctipus commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator Author

Addressed the latest review in 8a259e6a1 and rebased #8940 onto current main (d4be26397).

  • Ported SteelSolver.build to Newton's instance API and exercised construction through the manager.
  • Moved SO101's default contact budget to configuration initialization. A missing collision configuration and explicit CLI contact-capacity overrides are preserved.
  • Removed the source-layout and duplicate selector tests; moved task-specific preset assertions out of Hydra's utility tests.
  • Simplified the flat-task tuning overrides and consolidated the changelog fragments.

Focused checks passed: 5 Steel solver, 1 manager, 1 Steel contact sensor, 17 task preset, and 20 benchmark capture tests; Ruff and whitespace checks passed. The PR description now marks the old benchmark table as historical. #8957 remains the open contact-capacity dependency.

@ooctipus

ooctipus commented Nov 7, 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 Nov 7, 2026

@kellyguo11 kellyguo11 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.

could you also update the command builder docs with the new solver backend? we should include the new solver for any tasks/examples that support it.

@fatimaanes for viz - we should also include the new solver in the benchmarks once this is merged.

@maxkra15
maxkra15 self-requested a review November 9, 2026 18:49
@ooctipus
ooctipus merged commit 94e8c23 into isaac-sim:main Nov 11, 2026
59 checks passed
ooctipus added a commit that referenced this pull request Nov 11, 2026
)

## Description

Set an explicit `NewtonCollisionPipelineCfg.rigid_contact_max` on the
model before constructing the solver. This keeps solver scratch and the
collision pipeline at the same contact capacity. Reject a conflicting
`KaminoPADMMSolverCfg.max_contacts_per_world` instead of silently
overriding that value.

This change is independent of the contact-sensor observable migration in
[#8954](#8954).
[#8940](#8940) has merged.
This PR remains a needed follow-up: its SO101 Steel preset sets an
explicit collision capacity, and this change applies that capacity to
the model before solver construction.

## Validation

- Newton manager tests are rerunning in CI on the rebased head.
- Ruff, Python syntax, changelog gate, and diff whitespace checks passed
locally after rebase.

## Type of change

- Bug fix
@ooctipus
ooctipus deleted the steel-dev branch November 14, 2026 09:44
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.

6 participants