Skip to content

Update Arena to Isaac Lab 3.0 release - #1481

Merged
qianl-nv merged 26 commits into
mainfrom
qianl/chore/update-isaaclab-3.0.0
Oct 23, 2026
Merged

qianl-nv merged 26 commits into
mainfrom
qianl/chore/update-isaaclab-3.0.0

Conversation

@qianl-nv

@qianl-nv qianl-nv commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Update Arena to the Isaac Lab 3.0.0 GA pin and Isaac Sim 6.2. Keep the Isaac Sim base image while installing the pinned Lab and Arena source trees from their frozen uv locks.

Why this change?

Arena was on Lab 3.0 EA and Isaac Sim 6.1. Update to the Isaac Lab v3.0.0 release, pinned at e3f7d9ff1f5d7f8280de3ece9000b7117f66bcf4, and adapt Arena to its released APIs and dependencies.

What changes?

Docker and uv workflow

  • Follow the uv-based Docker installation introduced by Isaac Lab PR #7405 and commit eed50f77c53, while retaining Arena's Isaac Sim base-image stages and editable Lab source.
  • Interactive container shells alias python and python3 to isaaclab.sh -p, and pytest to isaaclab.sh -p -m pytest, so commands initialize Isaac Sim and execute from /opt/isaaclab-venv.
  • Non-interactive runtime and CI commands invoke isaaclab.sh -p explicitly; build-time package operations use uv pip or /opt/isaaclab-venv/bin/python. /isaac-sim/python.sh is no longer a supported Arena entry point because it bypasses the Lab launcher and the locked Lab virtual environment.
  • Continue building from the Isaac Sim 6.2 image. Copy in uv 0.12.9 and create /opt/isaaclab-venv with Isaac Sim's Kit Python.
  • Sync third-party dependencies from the pinned Isaac Lab submodule's frozen uv.lock. The metadata-only stage skips all local path packages; after the complete submodule is copied, a second sync installs its editable packages.
  • Overlay Arena's non-Lab dependencies from Arena's frozen lock with uv sync --inexact, then install Arena editable into the same environment.
  • Pin uv 0.12.9 in Docker and native CI. Regenerating the lockfile with the newer serializer puts Arena's Linux x86_64 constraint in top-level resolution-markers and supported-markers and remove it from uv lock edges.

Torch 2.11 and CUDA 13 handling

  • Isaac Lab PR #8372 deliberately selects Torch 2.11.0 on CUDA 13.0. Torch 2.12's CUDA 13 NCCL 2.29 can fail beside Kit RTX or OVRTX on Blackwell because of a driver shared-memory accounting issue. Torch 2.11 uses NCCL 2.28.9 and avoids that failure while retaining Isaac Lab's deferred-CUDA-initialization workaround.
  • Native uv routes torch==2.11.0 and torchvision==0.26.0 to the cu130 PyTorch index. Docker takes those versions from Lab's frozen lock instead of duplicating them in a hand-written constraint list. Arena drops its direct torchaudio dependency, matching Lab.
  • Build cuRobo with the CUDA 13.0 toolkit and CUDA_HOME=/usr/local/cuda-13.0, matching PyTorch's CUDA major version.

Other API and released-stack changes

  • Environment reset selectors — Lab PR #8030 and PR #8015: accept Lab's tensor, slice, and None environment selections in Arena's environment and recorder reset paths. This is API compatibility, no behavior change.
  • Camera observations — Lab PR #8051: replace the removed generic mdp.image term with the RGB, depth, normals, or segmentation observation function selected for each modality. Unsupported data types now fail explicitly.
  • Newton camera pose propagation — Lab issue #7676, PR #7691, and release backport PR #7935: Lab 3.0 now mirrors Newton FrameView pose writes into Fabric so RTX sees camera movement. Remove Arena PR #1196 and its CameraPoseWriter USD workaround. Camera-extrinsics variations now use Lab set_local_poses() directly; retained tests cover rendered images and reported poses under PhysX and Newton with Fabric enabled and disabled.
  • Runtime camera intrinsics — Lab PR #7916: replace private USD sensor access and _update_intrinsic_matrices() with Camera.set_intrinsic_matrices(). Lab's ordinary pinhole runtime API enforces square pixels, so Arena now samples one focal-length delta and applies it to both fx and fy. Note: intrinsics variation has an pre-existing bug before this Lab upgrade which results in env_0 camera params being used for all parallel envs. Fix will go in a separate PR.
  • Clone-plan topology — Lab PR #8045, backported in PR #8073: resolve representative scene geometry through asset-prototype IDs, prototype paths, and clone-plan topology instead of the removed cloner.query.iter_sources() helper. arena_world_scene_access.py was updated to essentially re-implement the removed helper.
  • Franka presets — Lab PR #8169 and PR #8170: select FRANKA_PANDA_LEGACY_CFG and FRANKA_PANDA_LEGACY_HIGH_PD_CFG explicitly after Lab made the flat Franka asset the default and introduced shared minimal presets. This keeps Arena's nested /panda hierarchy, legacy joint names, and existing actuator grouping.
  • Replicator kitchen USD — Isaac Sim 6.2 asset update: update tests for kitchen_peninsula.usda, which now exposes 50 physics roots instead of 56. Its _OnlineVisual physics roots decrease from 24 to 18, and the previously discovered _OnlineVisual articulation is no longer present.
  • Unit test pick and place success speed thresholds were relax due to large observed residual speed. Root cause unknown yet.

Validation

Passing local checks:

  • uv lock --check --no-python-downloads with uv 0.12.9
  • Docker build and Isaac Sim startup/import smoke checks with Torch 2.11.0+cu130 and NCCL 2.28.9
  • All RL and IL sample workflow replay and inference commands are validated and producing expected success rate.

@qianl-nv
qianl-nv marked this pull request as ready for review October 20, 2026 03:50
@greptile-apps

greptile-apps Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The changes reach Arena's simulation runtime and developer setup.

The cuRobo image build needs a matching CUDA compiler before this PR is safe to merge.

Findings

  1. P1 cuRobo image cannot build ▶

Summary

Updates Arena to Isaac Lab 3.0 and Isaac Sim 6.2.

  • Arena's developer runtime follows the Isaac Lab 3.0 release and Isaac Sim 6.2.
  • Arena resets and records the environments selected by the released reset API.
  • Arena builds camera observations and varies intrinsics through Isaac Lab's released APIs.
  • Arena resolves shared scene geometry through the clone plan's topology.
  • Arena's Franka setups use the released legacy preset and arm actuator group.
  • Arena's helper integrations use the released Isaac Lab entry points.

Acknowledged limitation: qianl-nv reports that the monolithic no-camera test process exhausts a 24 GiB GPU after repeated PhysX scene construction. The description states that the complete selection passes in fresh-process partitions.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  Sim["Isaac Sim 6.2"] --> Lab["Isaac Lab + CUDA 13 Torch"]
  Lab --> Dev["Arena developer image"]
  Lab --> Builder["cuRobo builder: CUDA 12.8 compiler"]
  Builder --> Failure["CUDA major-version mismatch"]
  Dev --> Target["dev-curobo"]
  Failure -. blocks wheel installation .-> Target
Loading

Reviews (1) · Last reviewed commit: "Update to Isaac Lab 3.0 release" · Reviewed by Greptile

Comment thread docker/setup/install-isaaclab.sh Resolved
@qianl-nv
qianl-nv force-pushed the qianl/chore/update-isaaclab-3.0.0 branch 2 times, most recently from 4d32bd4 to 55825f7 Compare October 21, 2026 06:31
@qianl-nv

Copy link
Copy Markdown
Collaborator Author

/review

Comment thread isaaclab_arena/tests/test_object_in.py Resolved
Comment thread docker/setup/target_tag.sh Resolved
Comment thread pyproject.toml Resolved
Comment thread isaaclab_arena/tests/utils/constants.py Resolved
@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This PR moves Arena to Isaac Lab 3.0.0 and Isaac Sim 6.2 and switches the Docker build to Lab's uv venv workflow. It also adapts Arena to Lab's changed reset, camera, clone-plan, and Franka APIs. The reset/recorder changes match Lab's new signatures, and the camera observation dispatch follows Lab's own pattern. But two of the ports break existing code: scene keys nested under another asset no longer resolve, and the soft Franka example asks for an actuator group the legacy preset doesn't have. Several Docker/OSMO changes also need follow-up before merge.

Findings

🔴 Critical: isaaclab_arena/environments/arena_world_scene_access.py:36 — ObjectReference keys, and any key below another spawned asset, resolve to nothing. The assertion then fails, which breaks PickAndPlaceTask success for reference destinations and the clutter support checks.
🔴 Critical: isaaclab_arena_examples/external_environments/advanced.py:96 — actuators["panda_arm"] raises KeyError; the legacy preset still has panda_shoulder and panda_forearm.
🟡 Warning: isaaclab_arena/tests/test_object_in.py:62 — the test was moved off the ObjectInTask default threshold, so nothing tests the default anymore.
🟡 Warning: isaaclab_arena/variations/camera_intrinsics_variation.py:54 — Lab 3.0 doesn't render per-env intrinsics, and making the rig untiled doesn't change that.
🟡 Warning: docker/setup/target_tag.sh:6 — the lab-ga default tag renames everyone's local image and container, while CI and OSMO still use :latest.
🟡 Warning: docker/setup/install-isaaclab.sh:25 — /opt/isaaclab-venv isn't writable by the container user, so pip and __pycache__ writes fail.
🟡 Warning: osmo/tasks/policy_runner_task.py:18 — the pinned DreamZero runner image has no isaaclab.sh on PATH.
🔵 Improvement: docker/setup/install-arena-deps.sh:11 — exclude argparse in the lock or the sync instead of uninstalling it afterward.
🔵 Improvement: docker/setup/install-policy-clients.sh:7 — av and dm-tree aren't pinned by either lock in this image; consider --group openpi.
🔵 Improvement: isaaclab_arena/tests/test_dependency_pins.py:56 — also check the four overrides newly copied from Lab.
🔵 Improvement: pyproject.toml:20 — the prerelease and Docker/pip comments are now stale.
🔵 Improvement: isaaclab_arena/tests/utils/constants.py:16 — sys.executable would replace this function and its unreachable fallback.
🔵 Improvement: docs/pages/arena_in_your_repo/external_installation.rst:59 — --python python doesn't find the venv in Lab's image.
🔵 Improvement: isaaclab_arena/tests/test_kitchen_bench_yaml_env.py:31 — why pin --placement_seed 0?

Not on changed lines:

  • 🟡 docs/pages/quickstart/jupyter_notebooks.rst:31-34,74 still starts /isaac-sim/jupyter_notebook.sh with the Kit Python kernel. Lab and Arena now live only in /opt/isaaclab-venv, so that kernel can't import isaaclab_arena. The page needs a launch that goes through the venv, for example via isaaclab.sh -p -m jupyter ....
  • 🔵 README.md:9,80,225 still list Isaac Sim 6.1.0 / Lab 3.0.0 EA for main. AGENTS.md:7 still says Isaac Sim 6.0 / Lab 3.0 Beta.
  • 🔵 docker/setup/install-isaaclab.sh:19 copies Lab's --no-install-package imageio-ffmpeg. Arena declares imageio-ffmpeg directly and its own sync installs it, so the flag has no effect on the final image. Drop it or add a comment explaining it.
  • 🔵 docker/setup/install-curobo-runtime-deps.sh:9 still protects torchaudio, which the image no longer installs.
  • Question: .github/workflows/ci.yml:417 only enables the GR00T E2E on Blackwell when the driver reports CUDA 12.8. With the cu130 stack, will Blackwell runners now always report 13.x and skip it?

Greptile's earlier cuRobo finding (CUDA 12.8 compiler vs. cu130 torch) is fixed: the builder now uses CUDA 13.0.

Test Coverage and CI Cost

  • No test calls get_representative_geometry_prim_groups directly; test_arena_world_scene_access.py mocks the bounds function above it. A focused test on a reference key and a multi-variant RigidObjectSet would protect the regression above. Today it's covered only indirectly, through sim tests such as test_object_on_microwave_tray.
  • CI at review time: "Run tests (native uv, source)" failed in "Run in-process Newton tests without cameras". This bot's permissions don't allow reading that job log. The Docker "Run tests" and "Run tests with subprocess" jobs were still running.
  • I didn't run the simulator. The Lab-side claims come from reading the pinned Isaac Lab e3f7d9ff source.

Verdict

Significant concerns

@qianl-nv
qianl-nv force-pushed the qianl/chore/update-isaaclab-3.0.0 branch from 8f9dd9b to d4afd45 Compare October 21, 2026 16:45

@david-tingdahl-nvidia david-tingdahl-nvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for doing this!

Comment thread docker/Dockerfile.isaaclab_arena Resolved
Comment thread docker/Dockerfile.isaaclab_arena Resolved
Comment thread docker/Dockerfile.isaaclab_arena Resolved
Comment thread docker/setup/export_requirements.py Resolved
Comment thread docker/setup/install_isaaclab.sh Resolved
Comment thread docker/setup/install_isaaclab.sh Resolved
Comment thread docker/setup/install_isaaclab.sh Resolved

@alexmillane alexmillane left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks great! Thank you for doing this.

I have a couple of small comments. One thing for @cvolkcvolk to check, and one thing I'd (@alexmillane) would like to check.

@qianl-nv qianl-nv left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for all the feedbacks, I've updated to address most of the comments.

The fix for broken camera intrinsics runtime variant with multi-env will be defered to a separate PR.

Comment thread docker/Dockerfile.isaaclab_arena Resolved
Comment thread docker/Dockerfile.isaaclab_arena Resolved
Comment thread docker/setup/install-policy-clients.sh Resolved
Comment thread docker/setup/install-arena-deps.sh Resolved
Pin Arena to the latest Isaac Lab release/3.0.0 revision and move the
Docker runtime to Isaac Sim 6.2. Adapt environment resets, camera APIs,
scene discovery, robot presets, and dependency constraints to the new
Lab interfaces.

Keep the Torch 2.11 CUDA 13 stack selected by Lab so Arena avoids the
RTX and NCCL incompatibility addressed upstream.

Signed-off-by: Qian Lin <qianl@nvidia.com>
Update Arena's Docker environment for parity with Isaac Lab PR #7405 (commit eed50f77c53), using frozen uv locks and the Kit-based venv.

Signed-off-by: Qian Lin <qianl@nvidia.com>
Match the cuRobo compiler toolkit and CUDA_HOME with Isaac Lab's PyTorch cu130 build.

Signed-off-by: Qian Lin <qianl@nvidia.com>
Narrow the Isaac Lab dependency-layer inputs and defer documentation copies so source-only changes reuse installation layers.

Signed-off-by: Qian Lin <qianl@nvidia.com>
Advance the Isaac Lab submodule from the release branch snapshot to the final v3.0.0 release tag.

Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
Signed-off-by: Qian Lin <qianl@nvidia.com>
@qianl-nv
qianl-nv force-pushed the qianl/chore/update-isaaclab-3.0.0 branch from ceb948f to 2c22e65 Compare October 23, 2026 06:21
@qianl-nv
qianl-nv enabled auto-merge (squash) October 23, 2026 06:22
@qianl-nv
qianl-nv disabled auto-merge October 23, 2026 07:55
Signed-off-by: Qian Lin <qianl@nvidia.com>
@qianl-nv
qianl-nv enabled auto-merge (squash) October 23, 2026 08:13
@qianl-nv
qianl-nv merged commit 6eaa525 into main Oct 23, 2026
21 of 22 checks passed
@qianl-nv
qianl-nv deleted the qianl/chore/update-isaaclab-3.0.0 branch October 23, 2026 14:16
cvolkcvolk added a commit that referenced this pull request Oct 26, 2026
Add a disabled `asset_selection` variation to every rigid `Object`, so
an Experiment Run can spawn a different registered asset in each
rebuild. To support it, build the task contact sensors and the default
task description after the selection, so they match the selected asset,
and name the `pick_and_place_maple_table` objects `pick_up_object` and
`destination_location`, so their variation keys stay the same whichever
asset they spawn.

## Why this change?

Lighting, HDR maps, camera poses and object mass are variations: an
experiment turns them on, the seed decides their values, every episode
row records them, and recorded variation replay repeats them. The
pick-up object is not. An environment fixes it in code or with an option
such as `pick_up_object`, so comparing objects takes one Run per object,
and the object is not seeded, recorded or replayed like the variations.

`RigidObjectSet` varies objects across the environments of one build,
but it does not record which object an environment got, and
`supports_recorded_placement()` turns off placement recording for a
build that contains one.

## What changes?

- Every rigid `Object` except a `RigidObjectSet` gets a disabled
`asset_selection` variation, a `RigidAssetSelectionVariation`. When
enabled, each build spawns one of its `registry_names` in all
environments. Rebuild k takes the k-th name, using `SequentialSampler`
from #1517, or a random one with `sampler_cfg.random_choice: true`. A
name listed twice is selected more often. Each build checks every name
but constructs only the selected one.
- The selection runs before placement, so placement and the task's
contact sensors use the selected asset. Episode rows record the name,
and recorded variation replay spawns it again. A replay record with
placement samples must include the value of every enabled build-time
variation that sets the new `changes_object_geometry` flag, which
`RigidAssetSelectionVariation` does.
- The selected name becomes the object's `registry_name`, and the
default descriptions of `PickAndPlaceTask` and `AssemblyTask` name it.
- `Scene.validate_simulation_cfg()` runs the check of the asset a
selection spawns, through the new `Asset.get_spawned_asset()`. A
selected Newton-only gear fails a PhysX build, and a declared gear that
selects a PhysX asset passes one.
- The Experiment Runner passes the rebuild index to `ArenaEnvBuilder`. A
warning for in-order selections with fewer rebuilds than names follows
in #1520.
- The `swap_objects` Run of `getting_started_experiment.yaml` selects
its pick-up object from a list, one per build, and the variations docs
cover it in the build-time explanation and the table of variations.

Breaking changes:

- `PickAndPlaceTask`, `ObjectInTask` and `SortMultiObjectTask` build
their contact sensors in `get_scene_cfg()`. `scene_config`,
`make_scene_cfg()` and
`SortMultiObjectTask.pick_up_object_contact_sensor_list` are removed.
- `PickAndPlaceTask.task_description` and
`AssemblyTask.task_description` hold only a description passed to the
constructor. Call `get_task_description()` for the generated one.
- The `pick_and_place_maple_table` object names change, and with them
their variation keys, scene entity names and placement keys. Variation
overrides, replay files and HDF5 demos recorded on main with the old
names need the new ones.
- Variations that override `configure_at_build_time(seed,
variation_key)` must also accept `rebuild_index`, because
`ArenaEnvBuilder` now passes it.

Limitations:

- Only the spawn configuration, the simulation check and `registry_name`
change. The object keeps its declared class's `scale`, `spawn_cfg_addon`
and other methods.
- An unknown name, or one whose class declares another object type,
fails in the first build. A name the physics backend cannot simulate, or
one whose type is known only after construction, such as an embodiment,
fails when a rebuild selects it.
- Outside the Experiment Runner, for example in `record_demos.py`, every
build is rebuild 0, so in-order selection spawns the first name.
- The descriptions of `GearInsertionTask` and `PlaceUprightTask` still
name the declared asset, and a `SimReadyUsdObject` is described as
`simready_usd_object`.
- Metrics cover all selected objects together. Group episode rows by
`pick_up_object.asset_selection` for per-object results.
- A hand-written `language_instruction` applies to every rebuild.
- A `bounding_box` override fails the build when the selection is
enabled.
- An `ObjectReference` into a selected object still reads the declared
asset's `usd_path`.

## Usage example

Before, one Run per object:

```yaml
runs:
  rubiks_cube:
    environment:
      type: pick_and_place_maple_table
      pick_up_object: rubiks_cube_hot3d_robolab
  mustard_bottle:
    environment:
      type: pick_and_place_maple_table
      pick_up_object: mustard_bottle_hot3d_robolab
```

The object is set outside the variation system, so:

- the seed, the episode rows' `variations` and recorded variation replay
do not cover it;
- objects cannot be drawn from a list, in order or at random;
- every object needs its own Run.

After, one Run that spawns another object in each rebuild (the
`swap_objects` Run of `getting_started_experiment.yaml`, which takes the
rest of the environment from `shared`):

```yaml
runs:
  swap_objects:
    environment:
      destination_location: wooden_bowl_hot3d_robolab
    num_rebuilds: 3
    rollout_limit:
      num_episodes: 3
    variations:
      pick_up_object.asset_selection.enabled: true
      pick_up_object.asset_selection.registry_names: [mustard_bottle_hot3d_robolab, orange_01_fruits_veggies_robolab, rubiks_cube_hot3d_robolab]
```

Set `pick_up_object.asset_selection.sampler_cfg.random_choice: true` to
draw a name at random in each build instead.

## Validation

- On ce7302e, the getting-started Experiment loading tests pass in
the local container. On d8596bf, so did the selection tests that run
without simulation and `test_recorded_variation_samples.py`.
- On d3623d0, the plain Python tests pass in the local container: the
selection tests that run without simulation, `test_run_execution.py`,
`test_recorded_variation_samples.py` and `test_variation_base.py`.
- On 3588692, before the merge of main, 102 related tests pass in the
local container, including the Experiment Runner rebuild and replay
subprocess tests. The asset selection example experiment of that commit
records the three objects in order over rebuilds 0 to 2.
- The simulation tests cannot run locally after the merge of main: the
local Docker image predates #1481, and Isaac Lab 3.0 fails to import
with its warp 1.16.0. CI runs the full suite.

---------

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
zhx06 added a commit that referenced this pull request Oct 26, 2026
Use oriented bounding boxes for placement collision loss and validation.
Keep the existing interval calculation for axis-aligned boxes and batch
collision checks across candidates. This builds on `OrientedBoundingBox`
from #1477.

## Why this change?

Enclosing AABBs can overlap even when rotated objects are separate.
Placement previously penalized and rejected those layouts, although the
oriented geometry was available.

## What changes?

- Preserve each candidate's rotation and assigned object geometry
through solving, filtering, ranking and validation.
- **Loss for rotated boxes:** multiply the interval overlaps along each
box's face axes, and penalize the harmonic mean of the two volumes.
- It is zero exactly when a face axis separates the boxes by at least
`clearance_m`, and it equals the intersection volume for axis-aligned
pairs.
- When only one box's projections sit inside the other's, the other
box's volume still gives a gradient.
- `CachedOverlapVolumeUpperBound` caches the rotation-dependent terms
once per solve. Its `compute()` still returns the smaller volume, a true
upper bound.
- Validate with the separating-axis test.
- Keep the axis-aligned loss, directed gradients and existing mesh
checks. Use matching collision geometry for meshless background
obstacles.
- `RelationSolver` prepares pair routing for the box and mesh losses
once per solve.
- In the oriented loss, used when any collision box in a solve is
rotated, boxes thinner than 2 mm count as 2 mm thick. A flat object that
overlaps an obstacle therefore still has an overlap volume to reduce.

`collision_bboxes` stores oriented geometry once per batch, and each
candidate's enclosing AABBs are derived from it. Those AABBs remain
available for relation constraints and mesh proxies. For rotated rows
they can differ from the previous rotation code by up to about 2e-7 m.

`CollisionMode.BBOX` uses this automatically. Arbitrary-yaw results can
change, including existing clutter examples. Support containment and
clutter release initialization remain AABB-based; the existing
rotated-support and `On(overlap=True)` containment issues need a
separate correction.

## Results

The placement-success benchmark (#1497) ran every RoboLab and
KitchenBench spec on main and on this branch, with 50 layouts × 3 seeds
per spec.

| Setting | Suite | Layout success, main → this PR | Change (95%
interval) | Valid candidates, main → this PR | Change (95% interval) |
| --- | --- | ---: | ---: | ---: | ---: |
| Random yaw | RoboLab (38) | 64.6% → 76.4% | +10.9 to +12.3 pts | 36.2%
→ 64.6% | +28.0 to +28.7 pts |
| Random yaw | KitchenBench (20) | 31.8% → 33.1% | −0.1 to +2.6 pts |
8.2% → 8.5% | −0.1 to +0.7 pts |
| As authored | RoboLab (38) | 94.2% → 94.2% | −0.8 to +0.8 pts | 67.0%
→ 67.6% | +0.2 to +1.0 pts |
| As authored | KitchenBench (20) | 84.2% → 84.2% | −1.6 to +1.7 pts |
27.3% → 27.3% | −0.7 to +0.6 pts |

- **Random yaw:** 24 RoboLab tasks improve significantly after a Holm
adjustment, and none get worse. Bin and clutter tasks gain the most:
- `throw_away_snacks`: layout success goes from 28% to 100%, and valid
candidates from 3% to 68%;
  - `marker_in_mug`: valid candidates go from 7% to 82%.
- **KitchenBench is unchanged.** Random yaw also turns its robot away
from the fixture it is placed next to, and that dominates its failures,
so its random-yaw row says little about oriented boxes.
- **As authored:** no suite gets worse. Two RoboLab tasks improve,
`food_packing_1_boxes` and `food_packing_1_cans` (valid candidates 75% →
84%).
- **Why it improves:** the separating-axis test is exact for boxes, so
rotated layouts that enclosing AABBs falsely rejected now pass.
- **Exact quarter turns** are unchanged: positions, losses and verdicts
match main.

## Limitations

- **Tilted boxes:** the loss can penalize tilted boxes that the
separating-axis test finds separate.
- **Crossed rods:** when two long, thin boxes cross in an X, both
face-axis volumes are flat and the gradient is zero. In a probe with two
0.5 m rods at random yaw, 73.4% of candidates were valid, against 78.7%
with the enclosing-AABB loss under the same validator. A follow-up adds
an in-plane enclosing-box term to rotated pairs, which reached 84.5% in
the same probe.
- **Near-quarter yaws:** robot yaws such as `yaw_rad: 1.57` in
KitchenBench are not exact quarter turns, so those scenes take the
oriented path. Positions matched main in a probe; only the cost differs.

## Performance

- **Per solver iteration:** cost rises in rotated scenes, because each
directed pair stores a rotation per candidate. Caching the
rotation-dependent terms makes iterations 6–26% faster on CPU and lowers
peak memory by 16–22%, compared with recomputing them. The harmonic mean
adds 4–10% per iteration on CPU over the smaller volume.

  | Scene (objects × candidates) | CPU per iteration | Peak GPU memory |
  | --- | ---: | ---: |
  | 6 × 640 | 3.2 → 3.5 ms | 2.4 → 6.6 MiB |
  | 12 × 1024 | 7.3 → 9.8 ms | 15.2 → 44.4 MiB |
  | 25 × 1024 | 26.5 → 37.0 ms | 65.8 → 194.6 MiB |

- **Validation** is batched across candidates, which offsets much of the
solver cost.
- **Full-suite wall time** was noisy on a shared machine. Random-yaw
RoboLab went from 979 to 802 s. As authored, the median spec took 16%
longer.

These are placement measurements, not physics-acceptance rates.

## Validation

- **Benchmark:** the runs above compare main at `88f83c967a` with this
branch's final loss, before rebasing onto the Isaac Lab 3.0 update
(#1481). All 69 specs ran with no failures in both settings.
- **CI:** every check passes on `16e712dce3`, including both test jobs.
- **Local tests:**
- 392 placement, geometry and collision tests pass, including the
relation-solver visualization example;
- 24 simulator tests pass, covering clutter placement, embodiment
collision meshes, placement after build-time variations, and relation
placement from YAML;
  - pre-commit passes.
- **Stuck gradient:** a test places a yawed bar whose own-axis volume is
constant against a cube. It checks that the smaller volume has zero
gradient there, while the loss pushes the bar out.
- **Exact quarter turns:** candidate positions, losses and verdicts
match the AABB baseline exactly. The harmonic mean equals the exact
volume for axis-aligned pairs.
- **Zero thickness:** a test checks that a zero-thickness panel
overlapping a fixed block gets a loss and is pushed clear; it fails
without the 2 mm minimum.
- **Loss vs validator:** in 1.6M random pairs, yaw-only and tilted, at
margins 0 and 0.01, the validator accepted every layout the loss treats
as clear. The harmonic mean is zero exactly where the smaller volume is,
so this still holds.

---------

Signed-off-by: zhx06 <zihaox@nvidia.com>
xyao-nv added a commit that referenced this pull request Oct 27, 2026
Fix the cuRobo reachability check, which crashes with `warp-lang` 1.17.
Add a test that builds the real cuRobo solver, so CI catches this.

## Why this change?

The Isaac Lab 3.0 update (#1481) pinned `warp-lang==1.17.0`. Since then,
building `CuroboIKSolver` fails:
```
    AttributeError: module 'warp' has no attribute 'torch'
```
Warp removed `warp.torch` in 1.13, but cuRobo still calls
`wp.torch.device_from_torch`. So every run with cuRobo reachability
validation fails during placement. Isaac Lab has a shim for this in
`isaaclab_mimic`. CI missed it because it does not include a test
involving starting Curobo IK solver.

## What changes?

- Add `add_warp_torch_`warp.torch` the same way Isaac Lab Mimic's
init__` calls it
- Add TODO for removal once Curobo bumps.
- Add `test_ik_solver_eal Droid solver on GPU and checks one reachabIt
runs in the existing `curobo_deps`

## Validation

Ran in the cuRobo image (`./docker/run_docker.sh -c`) rebuilt from
`main` at f8c3e78, with the OpenPI pi05 DROID server for our example
workflow cmds.

---------

Signed-off-by: Xinjie Yao <xyao@nvidia.com>
cvolkcvolk added a commit that referenced this pull request Nov 18, 2026
The README lists its own prerequisites, and users upgrading from v0.3
read the release notes, so both should say that #1481 raised the NVIDIA
driver requirement to 580.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
cvolkcvolk added a commit that referenced this pull request Nov 18, 2026
Document that Arena needs NVIDIA driver 580 or newer, and update the
Isaac Sim version on the installation page to 6.2.0.

## Why this change?

Since [#1481](#1481),
both the uv and Docker installs use `torch 2.11.0+cu130`, which needs
driver 580 or newer. On an older driver such as 560, Isaac Sim still
starts, but runs on the GPU fail when torch initializes CUDA. The
installation page did not mention a driver requirement. It also still
named Isaac Sim 6.0.1 and linked the 6.0.0 requirements page.

## What changes?

- The Supported Systems section of the installation page states that
Arena requires driver 580 or newer.
- The Isaac Sim version and requirements link now point to 6.2.0,
matching the Docker base image and `uv.lock`.
- The README prerequisites and the v0.4.0 release notes state the same
driver requirement.

---------

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants