Repository navigation
[Tasks] Fix MJWarp line-search overflow in lift tasks - #7942
Conversation
|
run-ci |
There was a problem hiding this comment.
Isaac Lab Review Bot
The PR consistently raises the MJWarp line-search ceiling from 15/20 to 50 across the base rigid lift preset and the soft-body, cloth, and cable coupled presets, with a corresponding Isaac Lab Tasks changelog fragment.
- Design and architecture: The change remains within the existing PresetCfg and MJWarpSolverCfg layering. It updates only the rigid MJWarp solver entries while leaving coupled VBD solvers, preset ownership, default selections, and PhysX configurations unchanged.
- API: No public symbols, config field names, types, exports, or registrations change. The existing ls_iterations field is retuned, and the user-visible change is documented through the required package changelog fragment.
- Implementation: The four affected lift configurations now use a consistent ceiling of 50. Because line search may exit before reaching the ceiling, the principal residual tradeoff is increased worst-case solver work in non-converging states; the stated focused and rollout validation addresses the targeted warning and throughput scenario, though no automated regression test was added.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
|
| solver_cfg=MJWarpSolverCfg( | ||
| cone="elliptic", | ||
| ls_iterations=20, | ||
| ls_iterations=50, |
There was a problem hiding this comment.
Derived preset keeps old limit
The registered custom-coupling soft-lift task derives from this configuration but replaces the updated preset with its own MJWarpSolverCfg(ls_iterations=20). Contact states requiring more than 20 line-search iterations can therefore still exhaust the budget and emit the warnings this change is intended to eliminate. Please align that lift variant with the new ceiling or document why it must retain the lower limit.
|
Backported to |
## Description MuJoCo Warp now reports each world that exhausts its iterative line-search budget. The lift-task overrides of 15 and 20 iterations routinely hit this limit, causing thousands of device-side prints and significantly reducing simulation throughput. This change raises the MJWarp line-search ceiling to the maintained default of 50 for rigid, soft-body, cloth, and cable lift configurations. Iterative line search exits when it converges, so environments that need fewer iterations do not execute the full ceiling. A fixed-seed sweep of Kuka-Allegro found that 22 iterations still overflowed while 23 did not for that sample. The value 50 provides headroom for randomized contact states and trained-policy trajectories. A broader core-task audit also reproduced 2,213 warnings in the cloth task and 2,003 warnings in the cable task over 64 random-action steps at the old value of 20. Upstream warning change: google-deepmind/mujoco_warp@283e05e ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into develop ## Screenshots Not applicable. ## Validation - Focused lift configuration tests: 9 passed. - Formatting and lint hooks passed across the clean worktree. - Changelog validation passed against upstream/develop. - Kuka-Allegro: zero line-search or solver-limit warnings with 4,096 environments and in a 64-environment random-action rollout. - Soft-body, cloth, and cable lift tasks: zero line-search or solver-limit warnings in 64-environment, 64-step random-action rollouts. - One representative task per unique core MJWarp physics configuration was smoke-tested; no remaining line-search or solver-limit warnings were observed. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks - [x] Documentation is unchanged; a changelog fragment is included - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under source/isaaclab_tasks/changelog.d - [x] My name is already present in CONTRIBUTORS.md (cherry picked from commit 5223959)
…ng docs (#7957) Backports the three changes from the September 20–23 `develop` audit that are missing from `release/3.0.0`, alongside the existing cloning-guide backport: - #7722 (`4cf439dfeb`): reject a second `SimulationContext` construction instead of silently discarding its configuration. Includes the original fixture cleanup and regression coverage. - #7893 (`22fcd71bc4`): validate DelayBuffer lag values before mutating its live configuration. - #7947 (`6e9ef17f59`): make `v3.0.0-EA` the default documentation version in deployment and local multi-version builds. - #7129 (`354168560f`): clarify that `replicate_physics=False` skips the active physics context while other declared replication contexts still run. **Compatibility:** repeated `SimulationContext(...)` calls now raise. Retrieve the live context with `SimulationContext.instance()`, or call `clear_instance()` before constructing a replacement. The original major changelog fragment includes this migration. The runtime and test files match current `develop`. The docs-default backport adapts the release branch's existing redirect template, validates the target page, and preserves explicit overrides. The cloning-guide backport preserves the current release APIs; its obsolete sections were already removed. ## Release audit Checked all **35 PRs** merged into `develop` from **2026-09-20 16:43:18 UTC** through `cff81e8473` (September 23), against release head `5d3e0b695e`. **32 are already covered; the remaining three are included here.** Git history, patch equivalence, GitHub's merged PR list, and remaining file differences were checked. Branch-specific version/changelog compilation and existing release-only changes are preserved. <details> <summary>Already covered PRs</summary> 26 have an equivalent patch in release: #7919, #7922, #7923, #7924, #7925, #6758, #7928, #7902, #7927, #7891, #7931, #7691, #7861, #7929, #7916, #7939, #4609, #7942, #7940, #7948, #7937, #7955, #7960, #7961, #7970, #7958. Six were squash-merged or adapted: #7530 and #7899 in #7926; #7637 in #7933; #7860 in #7936; #7954 and #7950 in #7964. Their implementation differences were checked against the current release tree. </details> ## Validation - **276 tests passed**: SimulationContext (51, including CPU/CUDA), headless context construction (15), nine schema/fragment suites (165), four manager suites (38), and DelayBuffer (7). - Both backported regressions reproduce with the original release implementations. - Docs redirect recipe: local/deployment EA defaults, explicit override, and missing-target rejection passed with a stubbed Sphinx builder. - All 22 changed files match the intended backport scope; `uv run isaaclab -f` and `git diff --check` passed. - Fresh Sphinx validation (`-b dummy -W --keep-going`): passed without warnings, excluding static assets as the HTML builder does. Full HTML documentation CI is running. Local runtime validation used PyTorch 2.12.0, CUDA 13.0, Isaac Sim 6.0.1.0, and an RTX 5090. Existing runtime/deprecation warnings occurred; the CI jobs validate the pinned environments. The previous [docs CI failure](https://github.com/isaac-sim/IsaacLab/actions/runs/35795116307/job/106972539281) was an external connection reset fetching the Omniverse intersphinx inventory, producing one warning under `-W`. That URL returned HTTP 200 when rechecked. This update starts a fresh docs build. --------- Co-authored-by: hujc <[email protected]> Co-authored-by: Zihan Xu <[email protected]>
Description
MuJoCo Warp now reports each world that exhausts its iterative line-search budget. The lift-task overrides of 15 and 20 iterations routinely hit this limit, causing thousands of device-side prints and significantly reducing simulation throughput.
This change raises the MJWarp line-search ceiling to the maintained default of 50 for rigid, soft-body, cloth, and cable lift configurations. Iterative line search exits when it converges, so environments that need fewer iterations do not execute the full ceiling.
A fixed-seed sweep of Kuka-Allegro found that 22 iterations still overflowed while 23 did not for that sample. The value 50 provides headroom for randomized contact states and trained-policy trajectories. A broader core-task audit also reproduced 2,213 warnings in the cloth task and 2,003 warnings in the cable task over 64 random-action steps at the old value of 20.
Upstream warning change: google-deepmind/mujoco_warp@283e05e
Type of change
Release backport
Screenshots
Not applicable.
Validation
Checklist