Repository navigation
Tune Steel presets per task and add torsion, fixed-root and per-world contact options - #12
Merged
ooctipus merged 0 commit intoNov 5, 2026
Conversation
jaredmejia
requested review from
StafaH,
hujc7,
kellyguo11 and
ooctipus
as code owners
November 5, 2026 19:19
5 of 7 tasks
ooctipus
added a commit
to isaac-sim/IsaacLab
that referenced
this pull request
Nov 11, 2026
# 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](ooctipus#12). Franka Reach and Drawer select the driven PhysX USD variant. ## Dependencies - [PR #8953](#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](#8954) migrates contact sensors for Steel, MuJoCo, XPBD, VBD, and Kamino to Newton solver observables. - [PR #8957](#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 #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 - [x] I have read and understood the contribution guidelines - [ ] I have run pre-commit checks on the changed files - [x] I have made corresponding documentation changes - [ ] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage and applied the test-audit criteria - [x] I have added changelog fragments for every touched source package - [x] My name already exists in CONTRIBUTORS.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Into
ooctipus:steel-dev(isaac-sim#8940). These are the Steel settings I found worth changing on top of your current head (7d6a368). On the 14 tasks they touch, Steel goes from 1.12× to 1.89× MJWarp (geomean env steps/s), which is 1.69× your current presets. The large gains are on Keyboard (12.4×), Allegro (3.4×), the two tuned Reach tasks (1.9×) and Lift-Franka (1.56×). Apart from the Franka fix, everything is per task or behind a switch that defaults off; the one new default isuse_parallel_streams=True.Commits
Use the physx Franka USD variant for Steel in reach and cabinet. The bug from my earlier comment: under
presets=steelthe Franka loads the mujoco variant, whose drive gains and armature need MuJoCo attributes that Steel doesn't register, so the arm has zero stiffness and the gripper no drive. Reach-Franka and Open-Drawer-Franka don't learn without this.Expose
use_parallel_streamsandparallel_treeinSteelSolverCfg, defaulting streams to True.SteelSolverCfgforwards only declared fields, so both were stuck at Newton's False. Streams run each articulation-size group on its own CUDA stream and gate Steel's fused mass factorization and sparse-diagonal contact solve. Across AnymalD rough, Allegro, Lift-Franka, Humanoid and G1 flat it's 0.996–1.041× with unchanged health; on Keyboard it's 0.087× → 0.65× MJWarp on its own.parallel_treestays off by default (it helps broad trees and can slow narrow ones).Per-task substep and iteration overrides in each robot's
__post_init__, the same way the configs already tunenewton_mjwarp, so each family keeps one Steel preset owner:joint_limit_activation_gap=0.4.contact_torsionswitch inSteelSolverCfg(default True). False zeroesmodel.steel.min_torsional_patch_radiusbefore Steel is built, so a preset can drop torsion rows the asset authors for PhysX (physxCollision:minTorsionalPatchRadius).Allegro reorient preset (manager and Direct share it): 1 substep, 8 iterations,
contact_friction_gap_max=0.001,contact_torsion=False. Joint and velocity limits and the 192/64 budgets are unchanged.filter_fixed_root_contactsswitch inSteelSolverCfg(default False). It drops contact pairs between static shapes and bodies welded to the world by a zero-DOF root joint. That's the subset of MuJoCo's filtering that matters for a robot base on a table: mujoco_warp 3.17_src/io.py:822-832skips nxn pairs where both weld bodies have no DOFs, and Newton's SolverMuJoCo turns fixed roots into mocap bodies. Pairs between two welded bodies, and fixed descendants of a welded root, are left alone. On UR10 the base sits on the table and otherwise makes 3 contacts per world on every step. It only replacesmodel.shape_contact_pairs, which Newton documents as assignable.Keyboard preset:
parallel_tree=True, a 2 mm contact gap (NewtonShapeCfg(gap=0.002)instead of the 10 mm default), 2 substeps kept. On one GPU at 2,048 envs:parallel_tree: about 0.77×, with no contact change;The gap removes most speculative ground-key and far arm-key contacts, so it also changes arm-key contact behaviour. I'd treat it as a candidate that needs longer training than my 2 seeds × 1000 iterations; drop that one line if you'd rather not take it yet.
NewtonCollisionPipelineCfg.rigid_contact_max_per_world.rigid_contact_maxis a total, so a tuned value breaks at anothernum_envs. The per-world field is multiplied by the world count when the solver is built, and is exclusive withrigid_contact_max. Keyboard uses 170 per world instead of the ~7,800 Newton estimates. This allocates twice the largest individual-world count observed in my probes (85). Random and trained-policy samples at 16 and 2,048 envs showed no overflow; other scenes or trajectories can require a larger budget. Same-GPU at 2,048 envs it's 1.15× the automatic capacity, and 17 per world (twice the batch-average peak) measured no faster.Optional: register MuJoCo USD attributes for Steel. Not needed after (1). For assets that only ship a mujoco variant it restores position-actuator gains and MJC joint properties such as armature. Drop it if you'd rather not register MuJoCo attributes under Steel.
Results
"Your head" means your current presets (point friction by default, streams off), taken from earlier same-GPU sweeps, so ×Your head is a ratio of two ×MJWarp ratios from different runs. This branch's ×MJWarp is against an MJWarp run on the same GPU in the same job, except ‡, where I divide by the earlier same-GPU MJWarp run for that task. Health is random actions at 4,096 envs (2,048 for Keyboard) for 400 steps; joint-limit violation is in rad or m.
† The Franka rows of "your head" already include fix (1): without it, Reach and Drawer run a limp arm, so their throughput isn't comparable. On all three Reach tasks the baseline is point friction, which by itself is already 1.5–2.3× the patch preset there, because patch bookkeeping runs over the full contact capacity even with zero contacts.
Training
rsl_rl with each task's default config, last 10% of iterations:
The Keyboard runs cover 1000 iterations with 2–4 seeds per arm. The sampled runs include high and low outcomes (high is about 0.07–0.08 uniform success): MJWarp 2 of 4 high, streams 2 of 4, streams with the 2 mm gap 1 of 2. The streams arms enabled streams, and the gap arm also used the 2 mm gap. None used the final parallel-tree and capacity combination. These short runs don't establish learning equivalence or the training quality of the final preset.
For the other tasks, these runs passed the same Steel settings to the solver from my harness on an earlier tree, with streams off and
parallel_treeoff. Lift-Franka seed 2 is the exception: I trained it on this branch. I haven't retrained the rest with streams on. None of those tasks qualifies for the sparse-diagonal path, which needs exactly two articulations per world. On the five I checked, throughput and random-action health were unchanged with streams on.Health notes
Options I left out
rigid_contact_maxto 2× the measured high-water mark (under both random actions and a trained policy, no overflow) gave under 2% on Allegro, the three Reach tasks and rough AnymalD/Go2, whose estimates are already 130–865 per world. With patches on it was a large win (2.2× Allegro, 1.4–1.8× Reach); point friction takes most of that.Method and caveats
uv.lock. Your measurements in Add Newton Steel solver presets and benchmark support isaac-sim/IsaacLab#8940 were on an RTX 5090 with Isaac Sim 6.1.