Skip to content

Create uv venv via uv sync before cuRobo install in SkillGen docs - #7745

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
njawale42:neel/skillgen_uv_sync_docs
Sep 10, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
njawale42:neel/skillgen_uv_sync_docs

Conversation

@njawale42

Copy link
Copy Markdown
Contributor

Description

Follow-up to #7670. The uv-based cuRobo install instructions used uv pip install, which requires the project .venv to already exist, but the Isaac Lab uv workflow is project-based and users never create the environment manually.

  • Prepend uv sync to the install command so the environment is created and PyTorch (a base project dependency) is available for the build.
  • Document that running uv sync after installing cuRobo removes it again (uv sync uninstalls packages not in the project lockfile), and that uv run performs an inexact sync and leaves cuRobo intact.

Type of change

  • Documentation update

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@njawale42
njawale42 requested a review from a team September 10, 2026 19:05
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 10, 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

This documentation-only change updates the SkillGen cuRobo uv workflow to create and synchronize the project environment before installation and explains how later synchronization affects the editable cuRobo package.

  • Design and architecture: The environment-creation step is correctly limited to the uv installation path, while the lifecycle caveat is integrated into the existing installation notes. The conda workflow remains unchanged.
  • API: No public API, CLI, configuration, or compatibility surface is changed. The documented reinstall command matches the cuRobo installation command used earlier in the same guide.
  • Implementation: The added uv sync command is correctly placed before the CUDA exports, repository clone, and uv pip install in the existing fail-fast command chain. The note clearly distinguishes exact uv sync behavior from normal uv run usage. A user reinstalling from a fresh shell may still need to restore the documented CUDA environment variables, but this does not undermine the targeted environment-creation fix.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

The PR should not merge until the cuRobo recovery instructions preserve or recreate the required CUDA build environment.

Findings

  1. P1 Incomplete recovery environment ▶

Summary

  • Adds uv sync before the editable cuRobo installation.
  • Documents that exact synchronization removes cuRobo while ordinary uv run preserves it.
  • Adds recovery guidance, but that guidance does not restore the CUDA build environment required by the original command.

Reviews (1) · Last reviewed commit: "Create uv venv via uv sync before cuRobo..."

@@ -91,6 +92,8 @@ cuRobo provides the motion planning capabilities for SkillGen. It is compiled fr

* cuRobo is installed from source and is editable installed. This means that the cuRobo source code will be cloned in the current directory under ``src/nvidia-curobo``. Users can choose their working directory to install cuRobo.

* In the uv flow, cuRobo is not part of the project's lockfile, so running ``uv sync`` after installing cuRobo removes it from the environment again. If that happens, re-run the ``uv pip install -e ./src/nvidia-curobo --no-build-isolation`` command to reinstall it. ``uv run`` does not remove cuRobo and can be used normally.

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.

P1 Incomplete recovery environment

If uv sync removes cuRobo and the user later follows this recovery command from a fresh shell, the CUDA build variables from the original installation are no longer set. The editable CUDA-extension build can then fail to find the toolkit or build for the intended GPU. Repeat the required CUDA_HOME, PATH, library path, and TORCH_CUDA_ARCH_LIST exports here, or direct users to a complete reinstall command that restores them.

@kellyguo11

Copy link
Copy Markdown
Contributor

can you pls resolve the conflict?

@njawale42
njawale42 force-pushed the neel/skillgen_uv_sync_docs branch from 159a0fe to 697d583 Compare September 10, 2026 22:14
@kellyguo11
kellyguo11 merged commit 6ec8ecb into isaac-sim:develop Sep 10, 2026
21 of 23 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as 6234d6b.

isaaclab-bot Bot pushed a commit that referenced this pull request Sep 10, 2026
)

# Description

Follow-up to #7670. The uv-based cuRobo install instructions used `uv
pip install`, which requires the project `.venv` to already exist, but
the Isaac Lab uv workflow is project-based and users never create the
environment manually.

- Prepend `uv sync` to the install command so the environment is created
and PyTorch (a base project dependency) is available for the build.
- Document that running `uv sync` after installing cuRobo removes it
again (`uv sync` uninstalls packages not in the project lockfile), and
that `uv run` performs an inexact sync and leaves cuRobo intact.

## Type of change

- Documentation update

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

(cherry picked from commit 6ec8ecb)
kellyguo11 pushed a commit that referenced this pull request Sep 11, 2026
…7761)

# Description

Follow-up to PR #7745. Steps 3 (Install Rerun) and 4 (Verify
Installation) of the SkillGen setup still used bare `pip install` /
`python -c` commands, which do not target the project environment in the
uv flow.

- Present both steps as uv and conda tabs (`uv pip install
rerun-sdk==0.23`,`uv run python -c "import curobo; ..."`) matching the
Step 2 layout.
- Extend the uv sync note to cover Rerun, which like cuRobo is not in
the project lockfile and gets removed by a later `uv sync`.
- Mark the GLIBCXX workaround tip as conda-specific.

## Type of change

- Documentation update

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
isaaclab-bot Bot pushed a commit that referenced this pull request Sep 11, 2026
…7761)

# Description

Follow-up to PR #7745. Steps 3 (Install Rerun) and 4 (Verify
Installation) of the SkillGen setup still used bare `pip install` /
`python -c` commands, which do not target the project environment in the
uv flow.

- Present both steps as uv and conda tabs (`uv pip install
rerun-sdk==0.23`,`uv run python -c "import curobo; ..."`) matching the
Step 2 layout.
- Extend the uv sync note to cover Rerun, which like cuRobo is not in
the project lockfile and gets removed by a later `uv sync`.
- Mark the GLIBCXX workaround tip as conda-specific.

## Type of change

- Documentation update

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

(cherry picked from commit dc9a117)
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants