Repository navigation
Conversation
ooctipus
requested review from
AntoineRichard,
StafaH,
fatimaanes,
kellyguo11 and
pbarejko
as code owners
November 27, 2026 09:07
Contributor
There was a problem hiding this comment.
Isaac Lab Review Bot
All reviewed code categories look good.
- PR description: Title and six-file scope match; replace “all other locked package entries” with “other third-party locked packages,” since isaaclab-dev metadata changes; reported reset and packaging validation supports the stated behavior.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: Style consistency looks good.
- Test quality: Test quality looks good.
No blocking issues. No inline findings.
Automated review; human maintainers own approval decisions.
Contributor
[Medium impact] The PR appears safe to merge; no actionable regression was established. SummaryPins MuJoCo Warp to a MuJoCo 3.17 backport intended to fix stale velocity data after resets.
No actionable issue was established. Reviews (1) · Last reviewed commit: "Pin MuJoCo Warp 3.17 with corrected equa..." · Reviewed by Greptile |
Collaborator
Author
|
run-ci |
kellyguo11
reviewed
Nov 30, 2026
Update Newton to the current upstream revision and MuJoCo Warp to the newest revision that retains the pose API Newton consumes. Align the MuJoCo 4.0.1, Warp 1.19, and USD schema dependencies across source and wheel installations. Adopt the current contact API directly and rename the soft contact gap configuration without retaining compatibility aliases.
ooctipus
force-pushed
the
codex/mujoco-reset-recovery
branch
from
November 30, 2026 23:11
5952cc2 to
a9f6cfe
Compare
Collaborator
Author
|
run-ci |
ooctipus
requested review from
huidongc,
marcodiiga and
rilei-nvidia
as code owners
December 1, 2026 02:03
Collaborator
Author
|
run-ci ovstage |
Collaborator
Author
|
run-ci ovstage |
Collaborator
Author
|
run-ci |
Collaborator
Author
|
run-ci |
Collaborator
Author
|
run-ci |
4 tasks done
This branch has not been deployed
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.
Summary
Update to the MuJoCo and MuJoCo Warp 4.1.0 releases and adapt Isaac Lab to Newton's current APIs.
14e6321, the merged MuJoCo 4.1 compatibility commit from Newton #5750.Newton supplies the MuJoCo Warp dependency. A single
mujoco-warp~=4.1.0override remains because Isaac Sim 6.2 pinsmujoco-warp==3.12.0; removing the override makes the combined installation unsatisfiable. The direct MuJoCo Warp requirement and redundantmujoco-coreoverride are removed.The 4.1 release includes the equality-reset fix in MuJoCo Warp #1998.
Why other code changes are needed
The snippets below show the API changes in simplified form.
Reset buffers: Warp 1.20 cannot evaluate the kernel argument
sourcein this compile-time check:Read
ndimin Python and capture it in a cached kernel factory before compilation. A shared row-copy kernel handles both reset-buffer reads and writes, preserving masks and strided views. The reset-buffer tests pass on the new Warp version.Sensors: Newton moved acceleration and joint-force readings from simulation state to solver outputs:
Request these outputs before solver initialization, then bind the readers once they exist. Newton now also computes them with deterministic physics enabled, so remove the old restriction on that combination.
Actuators: use Newton's current delay API, including in test helpers:
Use
InputProcessorDelayin place ofDelay, and remove the deprecated"controller"component alias; callers use"drive". Pack delays directly and use Newton's guaranteed component lists without fallback handling. Update contact calls and renamesoft_contact_margintosoft_contact_gaptoo.Solver defaults: adopt Newton's synchronization on every step and automatic world separation:
Remove these config fields and their task overrides, the ignored-option warning shims, and explicit
separate_worldsoverrides. Reset becomes one public call:Newton now handles synchronization, so delete the extra private
_update_mjc_data()call and duplicate CPU mask check.flags=0preserves the task's authored pose while clearing solver history. Tasks that used sparse imports now synchronize every step. MuJoCo CPU requires a single-world model.Contact mixing: MuJoCo 4.1 removed per-collider
solmix. RemoveMujocoCollisionCfg.solmixand its USD writer and validation, with no alias. Equal-priority colliders now have equal weights; useprioritywhen one collider's contact parameters should win.Warp packaging: use the standard indexed CUDA 13 release with a single requirement:
"warp-lang==1.20.0"The remaining changes follow from upstream behavior:
collider_basis="pic27", and upstream changed particle contacts to account for particle radius, prioritize contacts in capped cells, and shield contacts behind other particles; the rheology solve also changed. Swapping only the native MPM solver code across that commit reproduces the main displacement while keeping the current Lab code, MuJoCo, and Warp fixed. Both stacks start from identical particle positions, but some positions differ by about 3.6 cm after 60 steps. On the current solver, captured and ordinary stepping agree within 0.4 micrometres. The MPM reference update is justified by changed simulation behavior; it does not address the RGB lighting bug.One independent fix is still included: remove an unused Omniverse docs inventory that returns HTTP 403. This also affects the old dependency versions.
Kamino: the merged Newton revision rejects
compl_tolerance, so even our default Kamino configuration would raiseTypeError. Remove it from our config and the DR Legs preset; primal and dual tolerances still control convergence:KaminoPADMMCfg( primal_tolerance=1.0e-5, dual_tolerance=1.0e-5, - compl_tolerance=1.0e-5, )LEAPP fixes CUDA 13 CI
LEAPP 0.8.1, previously installed by the Linux RL job, changes these Warp globals just by being imported:
That overrides Warp's automatic compiler selection for the entire application. The current runner's driver supports CUDA 13.2, while Warp 1.20 bundles CUDA 13.4. The forced PTX setting makes conditional-graph capture fail with CUDA error 222.
The merged LEAPP #112, commit
e43b364, removes those global assignments and preserves export portability when saving the model instead:The export retains generated CUDA source so Warp can recompile an incompatible binary for the destination GPU. LEAPP's native replay loader enables that path too. Its regression tests cover kernels compiled before tracing and fresh-input inference after deliberately invalidating the saved binary; they pass with Warp 1.19 and 1.20.
On the original failing runner and exact CI image, installing this full LEAPP commit and TorchRL 0.15.0 passes the entire RL suite: 292 passed, one skipped, across 16 test files. That includes all 10 simulation wrappers and the LEAPP export/replay checks. The host driver remains 595.58.03, and the standard Warp wheel is unchanged. A driver update is not needed for this failure.
Pin that exact upstream LEAPP commit in both the
leappextra and the RL CI job. The lock update changes only LEAPP; no transitive dependencies move. This uses the mergeddevelopversion directly, with no separate 0.8.1 backport branch. This PR keeps the single standard Warp requirement, with no CUDA 12 wheel URLs or application compiler override.Validation
With merged Newton
14e6321, standard Warp 1.20.0 (CUDA 13.4), and MuJoCo/MuJoCo Warp 4.1.0:pytetwilddependency, which is absent from the local environment.isaaclab_rljob in the new GitHub Docker CI run also passes with the exact pinned LEAPP commit. Other jobs are still running.e43b364, 69 Lab LEAPP export/replay tests pass (one skip), all 10 RL wrapper tests pass, and the LEAPP CLI startup check passes. Importing LEAPP preserves Warp compiler settings.Other outstanding CI findings:
geom.solmix, which MuJoCo 4.1 removed. The kit-less job reports 11 converter failures and 34 passes, including the CUDA 13 Newton/MJWarp training smoke test. This needs an upstream converter update.