Repository navigation
Create uv venv via uv sync before cuRobo install in SkillGen docs - #7745
Conversation
There was a problem hiding this comment.
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 synccommand is correctly placed before the CUDA exports, repository clone, anduv pip installin the existing fail-fast command chain. The note clearly distinguishes exactuv syncbehavior from normaluv runusage. 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.
|
| @@ -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. | |||
There was a problem hiding this comment.
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.
|
can you pls resolve the conflict? |
159a0fe to
697d583
Compare
|
Backported to |
) # 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)
…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
…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)
Description
Follow-up to #7670. The uv-based cuRobo install instructions used
uv pip install, which requires the project.venvto already exist, but the Isaac Lab uv workflow is project-based and users never create the environment manually.uv syncto the install command so the environment is created and PyTorch (a base project dependency) is available for the build.uv syncafter installing cuRobo removes it again (uv syncuninstalls packages not in the project lockfile), and thatuv runperforms an inexact sync and leaves cuRobo intact.Type of change
Release backport
developChecklist
pre-commitchecks with./isaaclab.sh --formatCONTRIBUTORS.mdor my name already exists there