Repository navigation
Removes modular installation commands from docs - #5021
kellyguo11 wants to merge 7 commits into
Conversation
Greptile SummaryThis PR cleans up Isaac Lab documentation by removing modular/partial installation commands that are not yet fully functional, simplifying the install story to the recommended full-bundle path. Key changes:
The first two files are clean improvements. The quickstart change warrants a second look: now that Isaac Sim is framed as optional, the guide no longer tells users who skip Isaac Sim how to obtain a CUDA-enabled PyTorch build, which every RL framework depends on. Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Create virtual environment] --> B[Update pip]
B --> C{Install Isaac Sim?\nOptional}
C -- Yes --> D["uv pip install isaacsim[all,extscache]"]
C -- No --> E["⚠️ PyTorch not installed\n(no longer documented here)"]
D --> F[Clone Isaac Lab repo]
E --> F
F --> G["./isaaclab.sh --install\n(installs all sub-packages)"]
G --> H[Run training scripts]
subgraph pip_path["Pip Package Path (isaaclab_pip_installation.rst)"]
P1["uv pip install 'isaaclab[isaacsim,all]'"] --> P2[Install PyTorch CUDA]
P2 --> P3[Run user scripts]
end
Last reviewed commit: 1cfb752 |
| uv pip install --upgrade pip | ||
|
|
||
| and now we can install the Isaac Sim packages. | ||
| and now we can install the Isaac Sim packages (Optional). |
There was a problem hiding this comment.
Missing PyTorch install step after making Isaac Sim optional
Before this PR the Isaac Sim install was unconditional, so PyTorch was always pulled in as a dependency. Now that the line reads "(Optional)", a user who skips the Isaac Sim step will find no instruction to install PyTorch anywhere in this guide — yet every RL framework (rl_games, rsl_rl, skrl, etc.) requires it.
The PR also removed the explicit CUDA-enabled PyTorch install command that used to appear just before this section:
uv pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128If the intent is that ./isaaclab.sh --install handles PyTorch automatically (or that users can rely on Isaac Sim bringing it in), it would be worth adding a short note here. For example:
| and now we can install the Isaac Sim packages (Optional). | |
| and now we can install the Isaac Sim packages (Optional). If you skip this step, install | |
| a CUDA-enabled PyTorch build manually before running ``isaaclab.sh --install`` | |
| (see the :ref:`pip-installation` guide for the recommended command). |
Without any such guidance, users on the Newton-only kitless path who still want to use RL frameworks will hit confusing import errors.
## Summary Update Newton to merged [`838ddf5`](newton-physics/newton@838ddf5), including the MuJoCo 4.1 integration and camera graph-capture fix. Use MuJoCo/MuJoCo Warp **4.1.0**, standard indexed Warp **1.20.0** with CUDA 13, and Newton USD schemas **0.8.0**. The released MJCF converter is temporarily patched inside Isaac Lab. There is **no converter fork pin**, no dependency on an unmerged PR, and no converter tests are skipped. The MuJoCo 4.0.1/Warp 1.19 rollback is removed. Newton owns the MuJoCo Warp requirement. Keep a single `mujoco-warp~=4.1.0` override because Isaac Sim pins an older release. The two Newton overrides preserve its `sim` and optional `optix` extras; a plain override silently drops those extras. Wheel overrides are generated from the same root requirements. No unrelated package versions are updated. ## Temporary MJCF converter patch MuJoCo 4.1 removed per-geom `solmix`. The existing released converter still reads it, so MJCF-to-USD conversion fails on collision geometry. Existing USD assets and simulation paths that do not invoke this converter are unaffected. During conversion only, supply the old default weight of `1.0`, which matches MuJoCo 4.1's equal weighting. Simplified: ```python with patch.object(mujoco.MjsGeom, "solmix", 1.0, create=True): generated_usd_path = MJCFImporter(import_config).import_mjcf() ``` The implementation preserves an existing field if present, restores the original interface on exit, and serializes imports while the temporary field is active. The existing importer test checks restoration. Remove this local patch once a release contains [mujoco-usd-converter #161](newton-physics/mujoco-usd-converter#161); merging this PR does not require waiting for it. ## Why other code changes accompany the bump **Reset buffers:** Warp 1.20 rejects a kernel argument in this compile-time expression: ```diff - if wp.static(len(source.shape) == 1): + if wp.static(ndim == 1): ``` Read the rank in Python and specialize a shared gather/scatter kernel. Masks, strided views, and graph replay remain covered. **Sensors:** Newton moved acceleration and joint-force outputs into solver observables: ```diff - state.body_qdd + observables.body_qdd - state.body_parent_f + observables.body_parent_f ``` Request the outputs before solver initialization and bind the arrays afterward. IMU, PVA, and joint-wrench sensors can then work when MuJoCo's sensor stage is disabled for deterministic execution. **Actuators:** adopt the current command-interface API and update existing callers: ```diff - Actuator(delay=delay, ...) + Actuator(command_interface=delay, ...) - state.delay_state + state.command_interface_state ``` Use `CommandInterfaceDelay`, remove the deprecated `"controller"` alias, and use `"drive"` directly. Tests use real Newton actuators instead of maintaining a stand-in for Newton internals. **Solver defaults and reset:** Newton synchronizes inputs on every step and infers world separation: ```diff - MJWarpSolverCfg(update_data_interval=2, ls_parallel=False) + MJWarpSolverCfg() ``` Delete ignored-option warning shims and the private synchronization call. Reset becomes: ```python self.native.reset(state, world_mask=world_mask, flags=0) ``` `flags=0` preserves the authored pose while clearing solver history. Native MuJoCo CPU simulation requires one world. Remove `KaminoPADMMCfg.compl_tolerance`, which Newton rejects; primal and dual tolerances remain. Other changes required by upstream behavior: - Remove `MujocoCollisionCfg.solmix` and its USD writer; MuJoCo 4.1 removed that field. Use `priority` when one collider's parameters should win. - Rename `soft_contact_margin` to Newton's `soft_contact_gap`. - Clear joint-level collision filtering for visual-only clones. - Retain the original RGB camera references. Merged [Newton #5791](newton-physics/newton#5791) fixes the captured upload from freed ambient-light host memory. - Keep only the MPM reference update: [Newton #5021](newton-physics/newton#5021) changes the fixture's particle contact calculation. Swapping only that solver code reproduces the pile-shape change. - Allow ten minutes for NIST and H1 startup; first-time kernel compilation exceeded five minutes on CI. One independent CI fix remains: remove an unused Omniverse documentation inventory that returns HTTP 403. ## CUDA 13 and CI Use standard indexed Warp 1.20 without platform wheel URLs or application compiler overrides. The merged [LEAPP #112](nvidia-isaac/leapp#112), commit [`e43b364`](nvidia-isaac/leapp@e43b364), stops changing process-wide Warp compiler settings on import. Pin that merged `develop` commit in the LEAPP extra and RL CI job. On the original runner, this fix passed the full RL suite: 292 passed, one skipped. **ARM OptiX still needs a runner driver update.** Newton now installs OptiX on ARM64 too. The Spark runner has `580.159.03`; OptiX 9.1 requires **R590 or newer** ([NVIDIA requirements](https://developer.nvidia.com/designworks/optix/download)). Its eight Newton Warp rendering cases pass against the original goldens, but OptiX fails during import with `Unsupported ABI version`. The merged CI configuration marks this ARM-only case as an expected failure until the runner driver is updated. ## Validation - Updated the windowless viewer fixtures for camera revisions, the relocated GUI module, and text-input capture. All 55 visualizer adapter tests pass. - Updated OVPhysX native-delay coverage to `CommandInterfaceDelay` and `command_interface_state`. All 51 OV articulation tests pass, with 15 existing skips. Both suites failed on the old fixture APIs before the update. - All 11 MJCF importer tests pass with published converter 0.7.0, MuJoCo 4.1.0, Warp 1.20.0, and the local patch. The original CI run failed all 11 on the missing `solmix` field. - All 54 actuator-collection and root/wheel packaging tests pass with the restored dependency set. - Full formatting/lint, changelog, LFS, and lock consistency checks pass. - The same Newton revision previously passed nine selected rendering cases with the original references and 182 focused actuator, solver, sensor, reset, and packaging cases. The final converter patch changes only MJCF conversion. CI validates the rebuilt images and platform coverage on the updated head. ARM OptiX is recorded as an expected failure pending the driver update above. --------- Co-authored-by: Kelly Guo <[email protected]>
## Summary Update Newton to merged [`838ddf5`](newton-physics/newton@838ddf5), including the MuJoCo 4.1 integration and camera graph-capture fix. Use MuJoCo/MuJoCo Warp **4.1.0**, standard indexed Warp **1.20.0** with CUDA 13, and Newton USD schemas **0.8.0**. The released MJCF converter is temporarily patched inside Isaac Lab. There is **no converter fork pin**, no dependency on an unmerged PR, and no converter tests are skipped. The MuJoCo 4.0.1/Warp 1.19 rollback is removed. Newton owns the MuJoCo Warp requirement. Keep a single `mujoco-warp~=4.1.0` override because Isaac Sim pins an older release. The two Newton overrides preserve its `sim` and optional `optix` extras; a plain override silently drops those extras. Wheel overrides are generated from the same root requirements. No unrelated package versions are updated. ## Temporary MJCF converter patch MuJoCo 4.1 removed per-geom `solmix`. The existing released converter still reads it, so MJCF-to-USD conversion fails on collision geometry. Existing USD assets and simulation paths that do not invoke this converter are unaffected. During conversion only, supply the old default weight of `1.0`, which matches MuJoCo 4.1's equal weighting. Simplified: ```python with patch.object(mujoco.MjsGeom, "solmix", 1.0, create=True): generated_usd_path = MJCFImporter(import_config).import_mjcf() ``` The implementation preserves an existing field if present, restores the original interface on exit, and serializes imports while the temporary field is active. The existing importer test checks restoration. Remove this local patch once a release contains [mujoco-usd-converter isaac-sim#161](newton-physics/mujoco-usd-converter#161); merging this PR does not require waiting for it. ## Why other code changes accompany the bump **Reset buffers:** Warp 1.20 rejects a kernel argument in this compile-time expression: ```diff - if wp.static(len(source.shape) == 1): + if wp.static(ndim == 1): ``` Read the rank in Python and specialize a shared gather/scatter kernel. Masks, strided views, and graph replay remain covered. **Sensors:** Newton moved acceleration and joint-force outputs into solver observables: ```diff - state.body_qdd + observables.body_qdd - state.body_parent_f + observables.body_parent_f ``` Request the outputs before solver initialization and bind the arrays afterward. IMU, PVA, and joint-wrench sensors can then work when MuJoCo's sensor stage is disabled for deterministic execution. **Actuators:** adopt the current command-interface API and update existing callers: ```diff - Actuator(delay=delay, ...) + Actuator(command_interface=delay, ...) - state.delay_state + state.command_interface_state ``` Use `CommandInterfaceDelay`, remove the deprecated `"controller"` alias, and use `"drive"` directly. Tests use real Newton actuators instead of maintaining a stand-in for Newton internals. **Solver defaults and reset:** Newton synchronizes inputs on every step and infers world separation: ```diff - MJWarpSolverCfg(update_data_interval=2, ls_parallel=False) + MJWarpSolverCfg() ``` Delete ignored-option warning shims and the private synchronization call. Reset becomes: ```python self.native.reset(state, world_mask=world_mask, flags=0) ``` `flags=0` preserves the authored pose while clearing solver history. Native MuJoCo CPU simulation requires one world. Remove `KaminoPADMMCfg.compl_tolerance`, which Newton rejects; primal and dual tolerances remain. Other changes required by upstream behavior: - Remove `MujocoCollisionCfg.solmix` and its USD writer; MuJoCo 4.1 removed that field. Use `priority` when one collider's parameters should win. - Rename `soft_contact_margin` to Newton's `soft_contact_gap`. - Clear joint-level collision filtering for visual-only clones. - Retain the original RGB camera references. Merged [Newton isaac-sim#5791](newton-physics/newton#5791) fixes the captured upload from freed ambient-light host memory. - Keep only the MPM reference update: [Newton isaac-sim#5021](newton-physics/newton#5021) changes the fixture's particle contact calculation. Swapping only that solver code reproduces the pile-shape change. - Allow ten minutes for NIST and H1 startup; first-time kernel compilation exceeded five minutes on CI. One independent CI fix remains: remove an unused Omniverse documentation inventory that returns HTTP 403. ## CUDA 13 and CI Use standard indexed Warp 1.20 without platform wheel URLs or application compiler overrides. The merged [LEAPP isaac-sim#112](nvidia-isaac/leapp#112), commit [`e43b364`](nvidia-isaac/leapp@e43b364), stops changing process-wide Warp compiler settings on import. Pin that merged `develop` commit in the LEAPP extra and RL CI job. On the original runner, this fix passed the full RL suite: 292 passed, one skipped. **ARM OptiX still needs a runner driver update.** Newton now installs OptiX on ARM64 too. The Spark runner has `580.159.03`; OptiX 9.1 requires **R590 or newer** ([NVIDIA requirements](https://developer.nvidia.com/designworks/optix/download)). Its eight Newton Warp rendering cases pass against the original goldens, but OptiX fails during import with `Unsupported ABI version`. The merged CI configuration marks this ARM-only case as an expected failure until the runner driver is updated. ## Validation - Updated the windowless viewer fixtures for camera revisions, the relocated GUI module, and text-input capture. All 55 visualizer adapter tests pass. - Updated OVPhysX native-delay coverage to `CommandInterfaceDelay` and `command_interface_state`. All 51 OV articulation tests pass, with 15 existing skips. Both suites failed on the old fixture APIs before the update. - All 11 MJCF importer tests pass with published converter 0.7.0, MuJoCo 4.1.0, Warp 1.20.0, and the local patch. The original CI run failed all 11 on the missing `solmix` field. - All 54 actuator-collection and root/wheel packaging tests pass with the restored dependency set. - Full formatting/lint, changelog, LFS, and lock consistency checks pass. - The same Newton revision previously passed nine selected rendering cases with the original references and 182 focused actuator, solver, sensor, reset, and packaging cases. The final converter patch changes only MJCF conversion. CI validates the rebuilt images and platform coverage on the updated head. ARM OptiX is recorded as an expected failure pending the driver update above. --------- Co-authored-by: Kelly Guo <[email protected]> (cherry picked from commit 2578a6a)
Description
Updates documentation to clean up modular installation commands as they are not fully functional yet.
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there