Skip to content

Install the OptiX extra in the container images - #9189

Merged
StafaH merged 5 commits into
isaac-sim:mainfrom
yts-nv:yts/image-optix-extra
Dec 1, 2026
Merged

StafaH merged 5 commits into
isaac-sim:mainfrom
yts-nv:yts/image-optix-extra

Conversation

@yts-nv

@yts-nv yts-nv commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Description

renderer=newton_optix needs warp-optix and pyoptix, which only the optix extra installs (#9058 made it opt-in). Neither container image selects that extra, so newton_optix fails in the published images. Image latest-main-892354c2 has no warp_optix. In its runs on OSMO, all 225 newton_optix runs on rigid-body camera tasks (Cartpole-Camera, Cube-Shadow-Camera and KukaAllegro Lift and Reorient, both manager-based and Direct, with every physics backend) fail before training:

ModuleNotFoundError: No module named 'warp_optix'
...
RuntimeError: The OptiX camera backend requires the newton[optix] extra

This PR:

  • Base image. Adds --extra optix to the base image's IMAGE_EXTRAS, next to ov and fovi.
  • Kitless image. Adds it to the kitless image's uv sync. Both packages are marked x86-64 and Windows only, so the arm64 kitless image is unchanged.
  • Docs. Documents in the Newton OptiX renderer section that the x86-64 images include it (the arm64 kit-less image does not), and that OptiX 9.1 needs a 590-series or newer NVIDIA driver. With an older driver the import fails with ImportError: Unsupported ABI version.

The lockfile already contains both packages, so uv sync --frozen needs no lock change. uv export --frozen with each image's extras now yields pyoptix==9.1.1 and warp-optix==0.3.0 for x86-64 Linux; on main it yields neither.

Validation. Image latest-main-892354c2 on L40s. Cartpole-Camera, physics=newton_mjwarp renderer=newton_optix presets=theia_tiny, rsl_rl, 5 iterations:

Driver 580.95 Driver 595.58
Image as is requires the newton[optix] extra, exit 1 same, exit 1
+ warp-optix==0.3.0 pyoptix==9.1.1 (the locked versions, --no-deps) ImportError: Unsupported ABI version, exit 1 trains 5/5, exit 0
  • docker/test contract tests: 43 passed, 4 skipped. test_docker.py, which builds images, was not run.
  • No changelog fragment: the change touches no package under source/.
  • Not done here: an image build. CI's docker-license-check scans the built image. warp-optix declares Apache-2.0 AND BSD-3-Clause AND LicenseRef-NVIDIA-OptiX, which the substring rule accepts. Please confirm the NVIDIA OptiX license term is fine for the distributed images.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (no package touched)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

🤖 Generated with Claude Code

renderer=newton_optix needs warp-optix and pyoptix, which only the optix
extra installs. Neither image selected it, so every newton_optix run in
the published images fails with "The OptiX camera backend requires the
newton[optix] extra". Add --extra optix to the base image's IMAGE_EXTRAS
and to the kitless image's uv sync. Both packages are x86-64 only, so the
arm64 kitless image is unchanged.

Document that OptiX 9.1 needs a 590-series or newer NVIDIA driver: with
580 the import fails with "ImportError: Unsupported ABI version".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@yts-nv
yts-nv requested a review from a team November 24, 2026 10:06
@github-actions github-actions Bot added documentation Improvements or additions to documentation infrastructure labels Nov 24, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

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.

Isaac Lab Review Bot

Needs attention: Implementation (1). Other reviewed categories look good.

  • PR description: The title and body match the Dockerfile and documentation changes, distinguish package-install validation from an image build, and make no measurable performance claim; no correction is needed.
  • 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: The container-availability claim includes kitless arm64, where OptiX packages are absent; limit the claim to supported x86-64 images.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

Comment thread docs/source/concepts/renderers.rst Outdated
- **Runtime and physics:** The Newton renderer ray traced in hardware with OptiX on RTX GPUs.
Install it with ``uv sync --inexact --extra optix`` (Linux x86-64 and Windows x64) and select it
with ``renderer=newton_optix``. Pairs with the same physics backends as Newton Warp.
with ``renderer=newton_optix``; the Isaac Lab container images include it. Pairs with the same

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.

🟡 Warning · Implementation — Qualify OptiX image availability

The kitless arm64 image installs no OptiX packages, so saying the container images include it promises an unavailable renderer. Limit the claim to supported x86-64 images.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in fdee0da: the note now says the x86-64 container images include OptiX and the arm64 kit-less image does not.

@greptile-apps

greptile-apps Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge.

Summary

Adds --extra optix to both container builds and documents the NVIDIA driver requirement.

  • Both container images include the Newton OptiX dependencies.

Reviews (1) · Last reviewed commit: "Install the OptiX extra in the container..." · Reviewed by Greptile

The arm64 kit-less image installs no OptiX packages, since warp-optix and
pyoptix are x86-64 and Windows only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 24, 2026
@fatimaanes
fatimaanes self-requested a review November 24, 2026 16:48
fatimaanes and others added 2 commits November 24, 2026 08:48
The Docker dependency license check flags warp-optix 0.3.0 now that the
images install the optix extra. Its declared license includes
LicenseRef-NVIDIA-OptiX, so it needs a reviewed exception.
@StafaH

StafaH commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Dec 1, 2026
@StafaH
StafaH merged commit ed56359 into isaac-sim:main Dec 1, 2026
68 of 96 checks passed
kellyguo11 added a commit that referenced this pull request Dec 1, 2026
## Description

Backport #9189 to `release/3.1.0` by cherry-picking
`ed56359bbd95f892c93860559fc74c7dead41e90`.

Installs the `optix` extra in the base and kitless container images so
`renderer=newton_optix` can import its dependencies, includes the
upstream `warp-optix` license exception, and documents the x86-64
platform and NVIDIA driver requirements.

Applied without conflicts; the backport patch ID matches the upstream
commit. No source packages or tests changed, so no changelog fragment is
required.

## Validation

- Passed: `uv run --no-project --with pre-commit pre-commit run
--all-files` (all hooks).
- `uv run --no-project --with pytest pytest docker/test
--ignore=docker/test/test_docker.py -q`: 41 passed, 4 skipped, 2 failed,
9 subtests passed. Both failures are in the unchanged shim installer
tests because macOS BSD `install` does not support the GNU `install`
behavior used by the Linux container script.
- `uv run isaaclab --format` cannot run on this macOS host because the
project lockfile supports Linux and Windows; the pre-commit invocation
above ran separately through uv.
- Docker image builds and GPU validation will be requested through
`run-ci` after opening this PR.
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 infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants