-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[Isaac Sim 6.0] Relaxes numpy dependency to >2 #4081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/isaacsim-6-0
Are you sure you want to change the base?
[Isaac Sim 6.0] Relaxes numpy dependency to >2 #4081
Conversation
…orts (isaac-sim#3994) # Description This PR breaks the actuator config into separate files in order to avoid a circular import which arises once the configuration is imported into the actuator base class for more than type hinting. ## Type of change - Possible breaking change! The actuator configs have moved `.py` files and thus modules. They can still be imported directly from the `isaaclab.actuators` package. External references to these classes through the `actuator_cfg` module will not longer work. Instead, import directly from the `isaaclab.actuators` package. ## 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 tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Signed-off-by: Brian McCann <[email protected]> Signed-off-by: Kelly Guo <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Kelly Guo <[email protected]>
…m#3923) # Description Remove dependency on IsaacSim `stage_utils` for integration of new simulation engines like `newton`. ## Type of change - Dependency removal ## Checklist - [ ] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Signed-off-by: Pascal Roth <[email protected]> Signed-off-by: ooctipus <[email protected]> Signed-off-by: Kelly Guo <[email protected]> Signed-off-by: Kelly Guo <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: ooctipus <[email protected]> Co-authored-by: Kelly Guo <[email protected]> Co-authored-by: Kelly Guo <[email protected]>
# Description Currently, `.dockerignore` does not include `env_isaaclab` nor `**/wandb/*` in the files to be ignored, which should be ignored for cluster deployment since a) all Python packages are already part of the docker image (if `env_isaaclab` is not included in `.dockerignore`, it rsyncs over a 24GB dir), and b) local wandb logs should be ignored. This PR adds `env_isaaclab` and `**/wandb/*` to `.dockerignore`. Fixes isaac-sim#4026 ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Screenshots Please attach before and after screenshots of the change if applicable. Before: <img width="692" height="199" alt="Screenshot from 2025-11-16 15-27-52" src="https://github.com/user-attachments/assets/a53d2224-13ca-43df-9732-618b9adc0ac9" /> After: <img width="692" height="182" alt="Screenshot from 2025-11-16 15-29-33" src="https://github.com/user-attachments/assets/e2a9e7e3-5b8a-4566-8b5a-f1ee7ec57d3a" /> ## 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` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
…im#3941) Tendon imports in from_files_cfg had a typo that prevented importing. This is resolved in this commit. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## 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` - [ ] I have made corresponding changes to the documentation - [X] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [X] I have added my name to the `CONTRIBUTORS.md` or my name already exists there Signed-off-by: Kyle Morgenstein <[email protected]>
# Description In the [Local Installation / Installation using Isaac Lab Pip Packages page](https://isaac-sim.github.io/IsaacLab/main/source/setup/installation/isaaclab_pip_installation.html#installing-dependencies) of the documentation, the “Installing dependencies” section is broken. I removed duplicate content and corrected the ordering. Fixes isaac-sim#3967 ## Type of change - Documentation update ## Screenshots | Before | After | | ------ | ----- | | <img width="823" height="999" alt="スクリーンショット 2025-11-08 012827" src="https://github.com/user-attachments/assets/6f022810-cff5-44c6-a835-75bc780433ce" /> | <img width="822" height="651" alt="スクリーンショット 2025-11-08 014930" src="https://github.com/user-attachments/assets/c06eacf1-bd4a-4210-8a79-c64fc923c622" /> | ## 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` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
isaac-sim#4045) # Description Frees up more space at the start of the licence checker job so that we have enough disk space to install all the dependencies needed to avoid the out of space errors. ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - Bug fix (non-breaking change which fixes an issue) ## 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 - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> --------- Signed-off-by: ooctipus <[email protected]> Co-authored-by: ooctipus <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Greptile OverviewGreptile SummaryThis PR relaxes the numpy dependency constraint from Key Changes:
Critical Issue:
Confidence Score: 3/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant PR as Pull Request
participant Setup as setup.py files
participant CI as CI Workflow
participant PyPI as PyPI/PyTorch Index
Dev->>PR: Relax numpy constraint
Note over Dev,PR: Remove "numpy<2" restriction
Dev->>Setup: Update isaaclab/setup.py
Setup->>Setup: Change "numpy<2" to "numpy"
Setup->>Setup: Update dex-retargeting 0.4.6→0.5.0
Dev->>Setup: Update isaaclab_rl/setup.py
Setup->>Setup: Change "numpy<2" to "numpy"
Dev->>Setup: Update isaaclab_tasks/setup.py
Setup->>Setup: Change "numpy<2" to "numpy"
Dev->>PR: Revert CUDA 13 changes
Note over Dev,PR: Commit 44a72dd reverts cu130→cu128
Dev->>CI: Update license-check.yaml
CI->>PyPI: Install torch with cu130
Note over CI,PyPI: ⚠️ Inconsistent: Should be cu128
Setup->>PyPI: Install dependencies
PyPI->>Setup: numpy 2.3.1 (from Kit 109)
PyPI->>Setup: dex-retargeting 0.5.0
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10 files reviewed, 1 comment
isaaclab.bat
Outdated
| set "TORCH_VER=2.9.0" | ||
| set "TV_VER=0.24.0" | ||
| set "CUDA_TAG=cu128" | ||
| set "CUDA_TAG=cu130" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: The Windows script (isaaclab.bat) was updated to use cu130, but the Linux script (isaaclab.sh) at line 121 still uses cu128 for x86_64 systems (only ARM uses cu130 at line 119). This creates an inconsistency where x86_64 Linux users will get CUDA 12.8 while Windows and ARM users get CUDA 13.0, which contradicts the PR's goal of updating torch to cuda13 by default.
Check that isaaclab.sh:121 is also updated to cuda_ver="130" for x86_64.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5 files reviewed, 1 comment
| chmod +x ./isaaclab.sh # Make sure the script is executable | ||
| # Install torch | ||
| pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu128 | ||
| pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu130 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: The CUDA version here is cu130, but the revert commit (44a72dd) changed everything else back to cu128. This should also be reverted.
| pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu130 | |
| pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu128 |
Description
Kit 109 now comes with numpy 2.3.1 so we can relax our previous restriction of numpy < 2. This also requires an update to dex-retargeting to 0.5.0.
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there