Skip to content

Add isaaclab - #34602

Open
diegoferigo wants to merge 59 commits into
conda-forge:mainfrom
diegoferigo:diegoferigo/isaaclab-wheel
Open

diegoferigo wants to merge 59 commits into
conda-forge:mainfrom
diegoferigo:diegoferigo/isaaclab-wheel

Conversation

@diegoferigo

@diegoferigo diegoferigo commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Adds Isaac Lab 3.0.0 as a single package, like the upstream wheel: it bundles every Isaac Lab extension and takes its third-party pins from the upstream root pyproject.toml.

This is an alternative to #32698, which has one conda package per source/ extension and stays open in parallel.

What it ships

isaaclab is the base package. Each upstream extra that adds third-party dependencies is a small subpackage on top of it, and isaaclab-all pulls them together:

subpackage adds
isaaclab-video moviepy
isaaclab-wandb wandb (left out of isaaclab-all, as upstream)
isaaclab-sb3 stable-baselines3
isaaclab-viser viser
isaaclab-rerun rerun-sdk, pyarrow
isaaclab-mimic robomimic, ipywidgets
isaaclab-tetrahedralization pytetwild, pyvista
isaaclab-leapp leapp
isaaclab-torchrl torchrl
isaaclab-rlinf ray-default, albumentations, decord2, diffusers, timm, peft and more (left out of isaaclab-all, as upstream)

Two extras are not packaged yet: skrl and rl-games have no conda-forge feedstock.

Limits

  • The recipe is noarch: python, built and tested on Linux only. The osx and win jobs of this PR are expected to fail, because the final feedstock has Linux runners only.
  • NVIDIA's closed-source Omniverse wheels cannot be on conda-forge. Two of them are required by upstream (omniverseclient and isaacsim-asset-isolated), so the base package does not install end to end from conda-forge alone yet.
  • isaaclab_teleop is not included: it needs isaacteleop, a PyPI-only binary package that is not on conda-forge.
  • One patch makes configclass work on Python 3.14, proposed upstream in Support Python 3.14 annotations in configclass isaac-sim/IsaacLab#8108.

Tested

  • conda-forge CI: all 12 outputs build and pass their tests on linux-64, pip check included. There is no GPU, so the cuda cases are skipped.
  • GPU machine: recipes/isaaclab/pixi.toml builds the package from recipe.yaml and adds the Omniverse wheels, so the full suite runs with these commands. All three pass on an RTX A5000.
cd recipes/isaaclab
pixi run plain                             # short Newton run
pixi run ovrtx                             # short run with the RTX renderer
pixi run unit <IsaacLab v3.0.0 source>     # upstream unit suite, Omniverse tests included

pixi.toml and README.md stay in the feedstock for this.

Related

Dependencies that had to land first:


Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated recipe".
  • Recipe uses the v1 recipe.yaml format, or this PR explains the exceptional requirement for deprecated v0.
  • License file is packaged (see the v1 example recipe for an example).
  • Source is from official source.
  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).
  • If static libraries are linked in, the license of the static library is packaged.
  • Package does not ship static libraries. If static libraries are needed, follow CFEP-18.
  • Build number is 0.
  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).
  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
  • When in trouble, please check our knowledge base documentation before pinging a team.

Note

The single isaaclab package bundles the isaaclab* extensions, which is the upstream wheel layout and not third-party vendoring.

@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/isaaclab/recipe.yaml) and found it was in an excellent condition.

Single bundled isaaclab package plus extra-only subpackages, matching the
upstream v3 wheel-builder layout. Alternative to the per-extension split in
conda-forge#32698.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@diegoferigo
diegoferigo force-pushed the diegoferigo/isaaclab-wheel branch from c3f2146 to 24da759 Compare August 21, 2026 16:05
diegoferigo and others added 10 commits August 21, 2026 18:35
Add patches/0001-conda-forge-path-adjustments.patch to resolve the vendored
apps/ and scripts/ dirs from $PREFIX/share/isaaclab instead of $PREFIX/lib,
and move the build cp targets to match. Fail fast in the install loop with
set -euo pipefail. Skip isaaclab_ov as well (its ovstage backend is not on
conda-forge). Document why pip_check is disabled.

README: list isaaclab-mimic, add the torch -> pytorch name mapping, retarget
the High worth-upstreaming item to the wheel builder nested source tree
__path__ hack, and describe the new share/ layout.

gen_recipe_deps.py: drop the dead pyopengl-accelerate identity mapping and
add a timeout plus error handling to the pyproject fetch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The exact == pins in pyproject.toml hurt conda-forge packaging more than the
Low bucket suggested. Recommend >= on the lowest sufficient API version and
keep the reproducible hard pins in the upstream uv.lock.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a script test to the base isaaclab output that runs upstream's
unit-marked suite against the installed package. It pip installs
omniverseclient from pypi.nvidia.com (a few unit tests import omni.client)
and skips the files that need the source checkout or a GPU. Document the
non-device-agnostic and layout-dependent tests as worth upstreaming.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
isaaclab/app/sim_launcher.py imports isaaclab_ov at module top, so skipping
it breaks the base install on a clean env (ModuleNotFoundError: isaaclab_ov),
even on the Newton path. Its config classes (OvPhysxCfg, OVRTXRendererCfg)
import fine without the closed-source ovphysx/ovrtx backends, so ship the
module and keep skipping only isaaclab_teleop.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pin the test env to python_min so the cp310/311/312 omniverseclient wheels
resolve, and request c_stdlib_version 2.39 (AlmaLinux 10, glibc 2.39) so the
manylinux_2_35 omniverseclient wheel installs. The install stays best-effort and
the run is device-aware: it runs the cuda tests on the cuda runners and the
CPU-only subset elsewhere. The stdlib pin and per-platform build are temporary
and carry TODO(before-merge) markers to restore noarch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…cipes

staged-recipes builds on the AlmaLinux 9 image (glibc 2.34) and does not switch
image by c_stdlib_version, so requesting glibc 2.39 made the package require
__glibc >=2.39 that the runner cannot satisfy. The manylinux_2_35 omniverseclient
wheel is therefore not loadable on that image anyway, so keep the wheel install
best-effort and let the import check skip the two omni.client tests on CI while
they still run locally (glibc 2.35). Keep the python_min-pinned test env and the
device-aware run that exercises the cuda tests on the cuda runners.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…sing

A shared fixture in utils/test_assets.py imports omni.client, so more than the two
functions that reference it directly fail without omniverseclient. On the alma9 CI
image the wheel does not load, so drop the file entirely there (11 failures) rather
than enumerate fragile test names; it still runs in full locally.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The linux_64 CPU build runs the unit suite and passes; the cuda variants fail at
test-env setup with 'No space left on device' linking libtorch_cuda.so, a shared
runner disk limit rather than a recipe issue. The full cuda test is deferred to
the feedstock.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@diegoferigo diegoferigo mentioned this pull request Aug 24, 2026
8 tasks done
pytetwild and leapp now have conda-forge feedstocks, so add the
isaaclab-tetrahedralization and isaaclab-leapp outputs and pull them into
isaaclab-all. pytetwild is relaxed from the upstream >=0.3.0,<0.4 to >=0.3.0
(conda-forge only ships 0.4.2 and the tetrahedralize API is unchanged), with
pyvista added to mirror the [all] extra.

rlinf stays commented: every dep is on conda-forge now, but decord2 pulls
ffmpeg 9 -> libopenvino-onnx-frontend -> libabseil 20260526 while ray-default
pins libgrpc to an older libabseil, so the stack does not co-solve until the
conda-forge libabseil migration settles.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@diegoferigo

diegoferigo commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor Author

Small update: pytetwild and leapp landed on conda-forge, so I enabled the isaaclab-tetrahedralization and isaaclab-leapp extras and pulled them into isaaclab-all. pytetwild is relaxed to >=0.3.0 (plus pyvista, the only member of its [all] extra), since conda-forge only ships 0.4.2 and the tetrahedralize API is unchanged.

I kept rlinf commented out for now: every dep is on conda-forge, but the stack does not co-solve. decord2 pulls ffmpeg 9 -> libopenvino-onnx-frontend -> libabseil 20260526, while ray-default pins libgrpc to an older libabseil. I will re-enable it once the conda-forge libabseil migration settles.

Upstream now flattens the package layout itself in stage.py, so the
conda-forge path-adjustments patch is obsolete.

Drop it and add two upstreamable patches that gate the source-checkout-only
unit tests. Those tests predate the upstream source_checkout_root fixture,
so they now self-skip when run against the installed package.
gen_recipe_deps.py only re-derived the recipe pins from the upstream
pyproject, and that job now lives inline in the recipe.

Replace it with gen_extra_metadata.py, which drives the pip_check metadata
instead: the base subcommand reinjects the core third-party names into the
installed isaaclab metadata (stripped by the per-member installs), and the
extra subcommand emits a synthetic dist-info per metapackage.
The outputs used to install the workspace once per metapackage, which
repeated the clone and the per-member pip installs many times, and the base
pins still had to be re-derived by an external script.

Rework the recipe around a single isaaclab-build staging output that every
package inherits and filters, so the install runs once. Wire the base and
extra pip_check metadata through gen_extra_metadata.py, and bump the pinned
rev to 76c7c60 (release/3.0.0 @ 2026-09-21) with the matching dev version.

Enable the isaaclab-torchrl extra and pin the base to pytorch >=2.11,<2.12
with torchvision 0.26: pytorchrl drags libtorch to a libabseil that mujoco
(via newton-sim) cannot co-solve at 2.12, and 2.11 is the highest set that
installs alongside it. Also compact the recipe comments to the minimum a
human reviewer needs.
The review notes still described the per-output layout and the old pin
derivation, and predated the torchrl pin story.

Update the pin deviation table, rework the metadata bullets around the
base/extra generator, and expand the upstreaming notes with the
libabseil/mujoco pin conflict and a uv.lock plus opt-in extra proposal.
The pixi smoke env assumed a CUDA host, so the cartpole and ovrtx tasks
could not run on a CPU-only machine.

Add a linux-64-cpu platform, restrict ovrtx to the CUDA platform, and unify
the cartpole into a single hidden task that defaults to the CPU device and
gets the CUDA device only on the CUDA platform.
@conda-forge-admin

conda-forge-admin commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/isaaclab/recipe.yaml) and found some lint.

Here's what I've got...

For recipes/isaaclab/recipe.yaml:

  • ❌ Selectors in comment form no longer work in v1 recipes. Instead, if / then / else maps must be used. See lines [47].

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/35586237906. Examine the logs at this URL for more detail.

The staged-recipes v1 linter flags any comment containing square brackets as
a leftover selector, so the pytetwild[all] mentions failed conda-forge-linter.

Reword them to name the extra in prose, no functional change.
The real selector false positive was the Azure ##vso[...] logging command in
warn(), whose hash before the bracket the v1 linter reads as a comment
selector, not the pytetwild comments.

Build the ## prefix from a variable on its own line so the bracket no longer
follows a hash, keeping the CI warning annotation intact.
@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/isaaclab/recipe.yaml) and found it was in an excellent condition.

The staging refactor dropped the top-level skip, so the noarch recipe started
building on the osx and win CI agents too: osx has no git-lfs for the IsaacLab
LFS assets, and the POSIX build script cannot run under cmd.exe.

Skip both platforms again so the single noarch build only runs on linux.
@conda-forge-admin

conda-forge-admin commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/isaaclab/recipe.yaml) and found some lint.

Here's what I've got...

For recipes/isaaclab/recipe.yaml:

  • ❌ noarch packages can't have skips with selectors. If the selectors are necessary, please remove noarch: python.

For recipes/isaaclab/recipe.yaml:

  • ℹ️ 'Pool' is deprecated.
    Deprecated. Use workflow_settings.vm_image instead.
    The pool of self-hosted runners, e.g. 'vmImage': 'ubuntu-latest'",

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/46012329509. Examine the logs at this URL for more detail.

The GPU test path drops the "not cuda" filter, so TestEnsureCudaTorch ran and
failed with FileNotFoundError: _ensure_cuda_torch() reads the pinned torch
version from the root pyproject, absent in the installed package.

Gate the class with the existing source_checkout_root fixture, like the other
checkout-only cli tests, so it self-skips when there is no source checkout.
The isaaclab-leapp subpackage declared only leapp, but leapp itself
requires onnxruntime at runtime, so pip_check failed on a GPU host with
"leapp 0.6.1 requires onnxruntime, which is not installed". The extra's
pyproject does not list onnxruntime, so add it explicitly to the run
requirements.
@diegoferigo

diegoferigo commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Something that we may want to evaluate before merging is how to handle pytorch.

Agreed. The strict pytorch 2.11 pin comes from IsaacLab#8372, a workaround for the NCCL vendored in the PyPI wheel. The conda-forge pytorch does not vendor NCCL. Relaxed to pytorch >=2.11.0 and torchvision >=0.26.0 in 6f1ccc7, with a comment citing that issue. The solve picks pytorch 2.11.0 and torchvision 0.26.0, and isaaclab-torchrl resolves with them.

@diegoferigo

diegoferigo commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Status of the libhwloc conflict that blocked the solve: usd-exchange 3.0.1 needed libhwloc 2.15, while the libspral build pulled in through pinocchio pinned 2.13. Fixed by the libspral rebuild in conda-forge/spral-feedstock#36. The recipe now solves again with usd-exchange 3.0.1.

Both files were described as removed before merge. They stay as the way to
run the extended tests on a GPU machine, so only README.pr-notes.md is
dropped before merge.
@diegoferigo
diegoferigo marked this pull request as ready for review November 27, 2026 14:22
@diegoferigo

Copy link
Copy Markdown
Contributor Author

@conda-forge/help-python, ready for review!

@diegoferigo

Copy link
Copy Markdown
Contributor Author

@StafaH, would you be interested in being a co-maintainer of this recipe once the feedstock is created? You work on the upstream project, so you would help keep the recipe aligned with new Isaac Lab releases. Other Isaac Lab developers are welcome too. Being listed only means you can be pinged and can review or push recipe updates for the feedstock.

@traversaro, the same question for you, if you want to be listed.

Anyone interested: please comment explicitly on this PR, so I can add your handle to recipe-maintainers before merge.

@StafaH

StafaH commented Nov 27, 2026

Copy link
Copy Markdown

Sure, that's good with me!

The comment blamed an OpenXR runtime and claimed the extension is off the core import path.
The extension actually needs isaacteleop, a PyPI-only binary package that is not on conda-forge.
The import path claim was not verified, so it is dropped.
StafaH works on the upstream project and accepted the invitation in the PR comments.
The recipe looped over a hardcoded list of extras, and a renamed or new upstream extra went unnoticed (a missing group yielded an empty dist-info).
The list now lives in gen_extra_metadata.py next to the skipped extras, and the extras subcommand stops the build if the upstream set differs.
The drift check only compared the upstream pyproject, so a group dropped from gen_deps.toml still produced an empty dist-info.
The extras command now also requires every packaged extra in gen_deps.toml.
It also absorbs the single-use cmd_extra helper, and the docstring and the rlinf skip reason match the code.
The output was commented out because its dependencies did not co-solve (libabseil conflict between decord2 and ray-default).
They solve now on linux-64, but the conda albumentations pins albucore 0.0.24, which imports simsimd, and simsimd 7 no longer ships that module.
The output pins simsimd <7, and is registered in PACKAGED_EXTRAS so its pip_check dist-info is generated.
@traversaro

Copy link
Copy Markdown
Contributor

@traversaro, the same question for you, if you want to be listed.

Not at the moment, I prefer to wear the hat of the PR reviewer for now!

The linter rejects a noarch recipe with skip selectors.
The osx and win staged-recipes jobs fail until the feedstock exists, which is expected, and the final feedstock has linux runners only.
This also reverts the temporary disk-space change to .azure-pipelines/azure-pipelines-linux.yml, because the linter rejects edits outside recipes/.
@traversaro

Copy link
Copy Markdown
Contributor

Can you check the linter checks?

Comment thread recipes/isaaclab/pixi.toml Outdated
@@ -0,0 +1,93 @@
# Local verification aid for the isaaclab recipe (see README.md). Removed before merge.

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.

Can you remove if the intention is to remove before merge?

@diegoferigo diegoferigo Nov 27, 2026 •

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.

The intention is to keep it, there is no plan to remove it before merge. It lets a maintainer with a GPU machine check in one command that the interaction with the closed-source Omniverse packages (omniverseclient, ovphysx, ovrtx) works, which CI cannot cover. Only README.pr-notes.md was meant to be removed, and it is already gone in a0abe35.

The comments still described rlinf as blocked, claimed every pin tracks upstream 1:1 and said the extras script ships the Git deps.
Reword them to match the recipe.
They were temporary notes for the staged-recipes review and are not part of the feedstock.
@diegoferigo

Copy link
Copy Markdown
Contributor Author

@traversaro, I was just about to push :) The linter failures came from the temporary CI change and the skip selectors on a noarch recipe. Both are gone in a0abe35, so the linter should pass now. The osx and win jobs are still expected to fail until the feedstock exists. The push also drops the review notes, adds the isaaclab-rlinf output and a check that fails the build when the upstream extras change, and adds @StafaH to the maintainers. I'll update the PR description next.

@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/isaaclab/recipe.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/isaaclab/recipe.yaml:

  • ℹ️ 'Pool' is deprecated.
    Deprecated. Use workflow_settings.vm_image instead.
    The pool of self-hosted runners, e.g. 'vmImage': 'ubuntu-latest'",

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/46019895019. Examine the logs at this URL for more detail.

@diegoferigo

Copy link
Copy Markdown
Contributor Author

@traversaro, the PR is in its final state from my side. The linter passes (the only note is the deprecated Pool setting in the staged-recipes Azure config, which is not part of this recipe). The osx and win jobs are expected to fail until the feedstock exists. The PR description is up to date, and pixi.toml and README.md stay in the feedstock, see my reply on pixi.toml. Ready for your review.

The feedstock would default to micromamba as the install tool.
Set pixi as the install tool and make rattler-build explicit as the build tool.
@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/isaaclab/recipe.yaml) and found it was in an excellent condition.

The recipe listed onnxscript, which upstream v3.0.0 does not declare anywhere.
It was a leftover of the 2.x isaaclab_rl dependency.
The leapp feedstock already depends on onnxscript for the isaaclab-leapp output.
The plain task matched linux-64-cuda13 by name while ovrtx used the *cuda* glob.
Use the glob for both.
isaaclab ships isaaclab_mimic, which is Apache-2.0 upstream, but the recipe declared only BSD-3-Clause.
Also fix the commented aiohttp floor of isaaclab-rl-games and wrapped comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants