Skip to content

Removes modular installation commands from docs - #5021

Closed
kellyguo11 wants to merge 7 commits into
isaac-sim:developfrom
kellyguo11:modular-install-docs
Closed

kellyguo11 wants to merge 7 commits into
isaac-sim:developfrom
kellyguo11:modular-install-docs

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

Description

Updates documentation to clean up modular installation commands as they are not fully functional yet.

Type of change

  • Documentation update

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@kellyguo11
kellyguo11 marked this pull request as draft March 14, 2026 02:30
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Mar 14, 2026
@greptile-apps

greptile-apps Bot commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This 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:

  • src_build_isaaclab.rst: Removes per-RL-framework and per-submodule install examples; replaces the block with a single sentence clarifying that --install installs everything.
  • isaaclab_pip_installation.rst: Removes the extras table and all partial pip install variants (Isaac Lab only, individual sub-packages); only the full isaaclab[isaacsim,all] bundle command remains.
  • quickstart.rst: Removes the explicit CUDA-enabled PyTorch install step and marks the Isaac Sim install as (Optional) — which creates a potential documentation gap (see inline comment).

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

  • Safe to merge with one minor documentation gap worth addressing before publication.
  • All three files are documentation-only changes with no code impact. The removals in src_build_isaaclab.rst and isaaclab_pip_installation.rst are clean and correct. The only concern is in quickstart.rst: removing the PyTorch install step while simultaneously marking Isaac Sim as Optional leaves users who skip Isaac Sim without guidance on obtaining PyTorch — a likely install-failure path. This is a documentation clarity issue rather than a correctness bug, hence a score of 4 rather than 5.
  • docs/source/setup/quickstart.rst — removal of PyTorch install step combined with the new "(Optional)" Isaac Sim label may leave a documentation gap for users who skip Isaac Sim.

Important Files Changed

Filename Overview
docs/source/setup/installation/include/src_build_isaaclab.rst Cleanly removes the modular per-framework / per-submodule install examples and replaces them with a single explanatory sentence; no issues.
docs/source/setup/installation/isaaclab_pip_installation.rst Removes the extras table and partial-install pip commands; only the recommended full bundle command (isaaclab[isaacsim,all]) remains. Clean and consistent.
docs/source/setup/quickstart.rst Removes the explicit CUDA PyTorch installation step and marks Isaac Sim as Optional, potentially leaving users who skip Isaac Sim without guidance on installing PyTorch.

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
Loading

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).

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.

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/cu128

If 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:

Suggested change
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.

@kellyguo11 kellyguo11 closed this Mar 20, 2026
kellyguo11 added a commit that referenced this pull request Dec 3, 2026
## 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]>
kellyguo11 added a commit to kellyguo11/IsaacLab-public that referenced this pull request Dec 3, 2026
## 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)
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants