Skip to content

Commit d22cdad

Browse files
authored
Update Isaac Lab Arena submodule to Lab EA2 (#43)
* bump arena commit to lab ea2 * update base docker image * update docker script base image * update conda installer * update agents md * update docker tag and fix interface tests * update agents.md with new docker tagging * fix isaac teleop version and G1/GR1 teleop for EA2 * update g1 patch naming
1 parent cb36c47 commit d22cdad

10 files changed

Lines changed: 330 additions & 36 deletions

File tree

‎AGENTS.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ This file provides guidance to AI coding agents (Claude Code, OpenAI Codex, etc.
44

55
## Environment
66

7-
All scripts and commands from this repo must be run inside the `isaac_auto_data` conda env. Activate it before running anything:
8-
9-
```bash
10-
conda activate isaac_auto_data
11-
```
7+
All scripts and commands from this repo must be run inside a Docker container started with
8+
`./docker/run_docker.sh` (or `./docker/run_docker.sh -c` for cuRobo). Users must start the container manually; if
9+
no container started by the appropriate command exists, prompt the user to start it.
1210

1311
## Common Commands
1412

@@ -40,8 +38,8 @@ pre-commit run --all-files
4038
## Guardrails (MUST FOLLOW, DO NOT DEVIATE FROM GUARDRAILS)
4139

4240
- Don't change or modify anything in the submodules. Restrict git related operations to read only, don't commit nor push any code. Don't create new branches in the submodules on your own.
43-
- Don't mutate the `isaac_auto_data` conda env. No `pip install/uninstall`, `conda install/remove`, or version upgrades. If a dependency is missing, surface the exact command and let the user run it.
44-
- Don't re-run, modify, or work around `installer.sh`. No env recreate/rename/delete, no channel or conda config changes. Installer issues get reported, not patched in-flight.
41+
- Don't mutate the `isaac_autodata` conda env. No `pip install/uninstall`, `conda install/remove`, or version upgrades. If a dependency is missing, surface the exact command and let the user run it.
42+
- Don't re-run, modify, or work around `conda_installer.sh`. No env recreate/rename/delete, no channel or conda config changes. Installer issues get reported, not patched in-flight.
4543
- Don't change any existing design docs or diagrams in /docs, that is only for human created files. If you need to add any new diagrams or designs, add them to the /agentic_design directory.
4644

4745
## Working on this codebase

‎conda_installer.sh‎

Lines changed: 48 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ set -euo pipefail
88

99
ENV_NAME="isaac_autodata"
1010
PYTHON_VERSION="3.12"
11+
ISAAC_SIM_VERSION="6.0.1.0"
12+
TORCH_VERSION="2.10.0"
13+
TORCHVISION_VERSION="0.25.0"
1114

1215
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1316

@@ -34,7 +37,7 @@ require_cmd() {
3437
create_env() {
3538
require_cmd conda
3639
echo ">>> Creating conda env '${ENV_NAME}' with Python ${PYTHON_VERSION}"
37-
conda create -y -n "${ENV_NAME}" python="${PYTHON_VERSION}"
40+
conda create -y -n "${ENV_NAME}" python="${PYTHON_VERSION}" pip
3841
echo ">>> Env created. Activate with: conda activate ${ENV_NAME}"
3942
}
4043

@@ -45,43 +48,72 @@ activate_env() {
4548
# shellcheck disable=SC1091
4649
source "${conda_base}/etc/profile.d/conda.sh"
4750
conda activate "${ENV_NAME}"
51+
52+
if [[ ! -x "${CONDA_PREFIX}/bin/python" ]]; then
53+
echo "error: Python was not found in the '${ENV_NAME}' conda env." >&2
54+
exit 1
55+
fi
56+
57+
# Ensure every uv invocation targets this conda environment explicitly.
58+
export UV_PYTHON="${CONDA_PREFIX}/bin/python"
4859
}
4960

5061
install_all() {
51-
activate_env
52-
require_cmd uv
53-
5462
local isaaclab_sh="${REPO_ROOT}/submodules/IsaacLab-Arena/submodules/IsaacLab/isaaclab.sh"
55-
if [[ ! -f "${isaaclab_sh}" ]]; then
63+
local arena_root="${REPO_ROOT}/submodules/IsaacLab-Arena"
64+
local torch_cuda_version
65+
local torch_index_url
66+
67+
if [[ ! -x "${isaaclab_sh}" ]]; then
5668
echo "error: ${isaaclab_sh} not found." >&2
5769
echo " Did you forget 'git submodule update --init --recursive'?" >&2
5870
exit 1
5971
fi
72+
if [[ ! -f "${arena_root}/setup.py" ]]; then
73+
echo "error: ${arena_root}/setup.py not found." >&2
74+
echo " Did you forget 'git submodule update --init --recursive'?" >&2
75+
exit 1
76+
fi
77+
78+
case "$(uname -m)" in
79+
x86_64|amd64)
80+
torch_cuda_version="12.8"
81+
torch_index_url="https://download.pytorch.org/whl/cu128"
82+
;;
83+
aarch64|arm64)
84+
torch_cuda_version="13.0"
85+
torch_index_url="https://download.pytorch.org/whl/cu130"
86+
;;
87+
*)
88+
echo "error: unsupported architecture '$(uname -m)' for the Isaac Lab PyTorch install." >&2
89+
exit 1
90+
;;
91+
esac
92+
93+
activate_env
94+
require_cmd uv
6095

6196
echo ">>> Upgrading pip"
6297
uv pip install --upgrade pip
6398

64-
echo ">>> Installing Isaac Sim 6.0.0"
65-
uv pip install "isaacsim[all,extscache]==6.0.0" \
99+
echo ">>> Installing Isaac Sim ${ISAAC_SIM_VERSION}"
100+
uv pip install "isaacsim[all,extscache]==${ISAAC_SIM_VERSION}" \
66101
--extra-index-url https://pypi.nvidia.com \
67102
--index-strategy unsafe-best-match \
68103
--prerelease=allow
69104

70-
echo ">>> Installing PyTorch (CUDA 12.8)"
71-
uv pip install -U torch==2.10.0 torchvision==0.25.0 \
72-
--index-url https://download.pytorch.org/whl/cu128
105+
echo ">>> Installing PyTorch (CUDA ${torch_cuda_version})"
106+
uv pip install -U "torch==${TORCH_VERSION}" "torchvision==${TORCHVISION_VERSION}" \
107+
--index-url "${torch_index_url}"
73108

74109
echo ">>> Installing Isaac Lab"
75-
"${isaaclab_sh}" -i
110+
"${isaaclab_sh}" -i all
76111

77112
echo ">>> Installing Isaac Lab - Arena"
78-
pip install -e "${REPO_ROOT}/submodules/IsaacLab-Arena"
113+
uv pip install --editable "${arena_root}"
79114

80115
echo ">>> Installing Isaac Auto Data"
81-
pip install -e "${REPO_ROOT}"
82-
83-
echo ">>> Pinning daqp to 0.8.5 for Pink IK"
84-
uv pip install "daqp==0.8.5"
116+
uv pip install --editable "${REPO_ROOT}"
85117

86118
echo ">>> Installation complete."
87119
}

‎docker/Dockerfile.isaac_autodata‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

6-
ARG BASE_IMAGE=nvcr.io/nvidia/isaac-sim:6.0.0-dev2
6+
ARG BASE_IMAGE=nvcr.io/nvidia/isaac-sim:6.0.1
77
FROM ${BASE_IMAGE}
88

99
USER root
@@ -53,8 +53,6 @@ RUN /isaac-sim/python.sh -m pip install --no-deps -e ${ISAACLAB_PATH}/source/isa
5353
RUN ${ISAACLAB_PATH}/isaaclab.sh -i
5454
# Pin daqp for Pink IK (matches conda_installer.sh).
5555
RUN /isaac-sim/python.sh -m pip install --force-reinstall daqp==0.8.5
56-
# Install Isaac Teleop python APIs
57-
RUN /isaac-sim/python.sh -m pip install isaacteleop~=1.1.0 --extra-index-url https://pypi.nvidia.com
5856

5957
# --- IsaacLab - Arena ---
6058
RUN /isaac-sim/python.sh -m pip install -e ${WORKDIR}/submodules/IsaacLab-Arena

‎docker/run_docker.sh‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
set -e
88

99
DOCKER_IMAGE_NAME='isaac_autodata'
10-
DOCKER_VERSION_TAG='latest'
11-
# Override to e.g. nvcr.io/nvidia/isaac-sim:6.0.0 if the -dev2 tag is unavailable to you.
12-
BASE_IMAGE="${BASE_IMAGE:-nvcr.io/nvidia/isaac-sim:6.0.0-dev2}"
10+
DOCKER_VERSION_TAG='sim-6.0.1'
11+
# Override with BASE_IMAGE when testing against a different compatible Isaac Sim release.
12+
BASE_IMAGE="${BASE_IMAGE:-nvcr.io/nvidia/isaac-sim:6.0.1}"
1313

1414
INSTALL_CUROBO=false
15-
CUROBO_VERSION_TAG='curobo'
15+
CUROBO_VERSION_TAG='sim-6.0.1-curobo'
1616

1717
# Resolve TORCH_CUDA_ARCH_LIST for the cuRobo build. Honour an explicit override if set, else
1818
# auto-detect the host GPU's compute capability via nvidia-smi (e.g. "12.0" -> "12.0+PTX").

‎docs/pages/quickstart/installation.rst‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,13 @@ From the repo root, build (first run) and enter the base dev container:
6666

6767
:docker_run_default:
6868

69-
The first run builds the image ``isaac_autodata:latest`` then drops you into a shell inside the container
70-
in the mounted repo. This build process may take up to 30 minutes. Subsequent runs reuse the image and are fast.
69+
The first run builds the default development image, then drops you into a shell inside the container
70+
in the mounted repo. This build process may take up to 30 minutes. Subsequent runs reuse the versioned
71+
image and are fast.
7172

7273
For **SkillGen** workflows, use the cuRobo image instead. cuRobo compiles CUDA kernels for
7374
your GPU architecture (auto-detected via ``nvidia-smi``), so this build is slower and kept in
74-
a separate image tag (``isaac_autodata:curobo``) that coexists with the default one:
75+
a separate versioned image tag that coexists with the default one:
7576

7677
:docker_run_curobo:
7778

‎docs/pages/workflows/humanoid_dexmimicgen/step_1_record_demonstrations.rst‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ container. Leave it running in this terminal for the whole recording session.
7272

7373
.. code-block:: bash
7474
75-
printf '%s\n' 'NV_DEVICE_PROFILE=auto-native' 'NV_CXR_ENABLE_PUSH_DEVICES=0' > avp.env
75+
printf '%s\n' \
76+
'NV_DEVICE_PROFILE=auto-native' \
77+
'NV_CXR_ENABLE_PUSH_DEVICES=0' \
78+
'NV_ENABLE_POSE_WAIT=0' > avp.env
7679
7780
#. Start the CloudXR runtime with that config:
7881

@@ -113,6 +116,9 @@ Start Recording
113116
#. Run the recording script. CPU simulation gives smoother XR performance with a single
114117
environment:
115118

119+
Both commands select the AVP CloudXR environment and disable automatic CloudXR launch because
120+
the runtime is already running in the first terminal.
121+
116122
.. tabs::
117123

118124
.. group-tab:: GR-1
@@ -124,6 +130,8 @@ Start Recording
124130
--viz kit \
125131
--device cpu \
126132
--xr \
133+
--cloudxr_env avp \
134+
--no-auto_launch_cloudxr \
127135
--dataset_file ./datasets/dataset_gr1.hdf5 \
128136
--num_demos 5
129137
@@ -136,6 +144,8 @@ Start Recording
136144
--viz kit \
137145
--device cpu \
138146
--xr \
147+
--cloudxr_env avp \
148+
--no-auto_launch_cloudxr \
139149
--dataset_file ./datasets/dataset_g1.hdf5 \
140150
--num_demos 5
141151

‎isaac_autodata_tests/interfaces/env/test_env_profile_apply.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_apply_bin_stack_profile_overlays_scene_and_events():
7171

7272
# Untouched base config: success term and unrelated events survive the overlay.
7373
assert env_cfg.terminations.success is not None
74-
assert env_cfg.events.init_franka_arm_pose is not None
74+
assert env_cfg.events.randomize_franka_joint_state is not None
7575

7676

7777
def test_apply_rejects_base_env_mismatch():

0 commit comments

Comments
 (0)