Repository navigation
Install the OptiX extra in the container images - #9189
Conversation
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]>
There was a problem hiding this comment.
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.
| - **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 |
There was a problem hiding this comment.
🟡 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.
There was a problem hiding this comment.
Fixed in fdee0da: the note now says the x86-64 container images include OptiX and the arm64 kit-less image does not.
[Medium impact] The reviewed changes appear safe to merge. SummaryAdds
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]>
|
run-ci |
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.
|
run-ci |
## 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.
Description
renderer=newton_optixneedswarp-optixandpyoptix, which only theoptixextra installs (#9058 made it opt-in). Neither container image selects that extra, sonewton_optixfails in the published images. Imagelatest-main-892354c2has nowarp_optix. In its runs on OSMO, all 225newton_optixruns 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:This PR:
--extra optixto the base image'sIMAGE_EXTRAS, next toovandfovi.uv sync. Both packages are marked x86-64 and Windows only, so the arm64 kitless image is unchanged.ImportError: Unsupported ABI version.The lockfile already contains both packages, so
uv sync --frozenneeds no lock change.uv export --frozenwith each image's extras now yieldspyoptix==9.1.1andwarp-optix==0.3.0for x86-64 Linux; onmainit yields neither.Validation. Image
latest-main-892354c2on L40s. Cartpole-Camera,physics=newton_mjwarp renderer=newton_optix presets=theia_tiny, rsl_rl, 5 iterations:requires the newton[optix] extra, exit 1warp-optix==0.3.0 pyoptix==9.1.1(the locked versions,--no-deps)ImportError: Unsupported ABI version, exit 1docker/testcontract tests: 43 passed, 4 skipped.test_docker.py, which builds images, was not run.source/.warp-optixdeclaresApache-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
Checklist
pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (no package touched)CONTRIBUTORS.mdor my name already exists there🤖 Generated with Claude Code