Skip to content

Commit 5945d11

Browse files
authored
Updates torch to 2.10 (#4726)
# Description Isaac Sim updated torch to 2.10 and we should probably do the same to keep it up to date. Also seems to resolve the torch check error that has been popping up from Isaac Sim recently. ## 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) - New feature (non-breaking change which adds functionality) - Breaking change (existing functionality will not work without user modification) - Documentation update ## 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 -->
1 parent c062f86 commit 5945d11

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

docs/source/experimental-features/newton-physics-integration/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Install the correct version of torch and torchvision:
4848

4949
.. code-block:: bash
5050
51-
pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu128
51+
pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128
5252
5353
[Optional] Install Isaac Sim 5.1:
5454

docs/source/setup/installation/isaaclab_pip_installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Installing dependencies
3131
3232
pip install isaaclab[isaacsim,all]==3.0.0 --extra-index-url https://pypi.nvidia.com
3333
34-
- Install a CUDA-enabled PyTorch 2.9.0 build that matches your system architecture:
34+
- Install a CUDA-enabled PyTorch 2.10.0 build that matches your system architecture:
3535

3636
.. tab-set::
3737
:sync-group: pip-platform
@@ -41,21 +41,21 @@ Installing dependencies
4141

4242
.. code-block:: bash
4343
44-
pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu128
44+
pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128
4545
4646
.. tab-item:: :icon:`fa-brands fa-windows` Windows (x86_64)
4747
:sync: windows-x86_64
4848

4949
.. code-block:: bash
5050
51-
pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu128
51+
pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128
5252
5353
.. tab-item:: :icon:`fa-brands fa-linux` Linux (aarch64)
5454
:sync: linux-aarch64
5555

5656
.. code-block:: bash
5757
58-
pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu130
58+
pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu130
5959
6060
.. note::
6161

docs/source/setup/installation/pip_installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,21 @@ Installing dependencies
5858

5959
.. code-block:: bash
6060
61-
pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu128
61+
pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128
6262
6363
.. tab-item:: :icon:`fa-brands fa-windows` Windows (x86_64)
6464
:sync: windows-x86_64
6565

6666
.. code-block:: bash
6767
68-
pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu128
68+
pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128
6969
7070
.. tab-item:: :icon:`fa-brands fa-linux` Linux (aarch64)
7171
:sync: linux-aarch64
7272

7373
.. code-block:: bash
7474
75-
pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu130
75+
pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu130
7676
7777
.. note::
7878

docs/source/setup/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Next, install a CUDA-enabled PyTorch build.
7070

7171
.. code-block:: bash
7272
73-
pip install -U torch==2.9.0 torchvision==0.24.0 --index-url https://download.pytorch.org/whl/cu128
73+
pip install -U torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128
7474
7575
7676
Before we can install Isaac Sim, we need to make sure pip is updated. To update pip, run

source/isaaclab/isaaclab/cli/commands/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def _ensure_cuda_torch() -> None:
5353
base_index = "https://download.pytorch.org/whl"
5454

5555
# Choose pins per arch.
56-
torch_ver = "2.9.0"
57-
tv_ver = "0.24.0"
56+
torch_ver = "2.10.0"
57+
tv_ver = "0.25.0"
5858

5959
if is_arm():
6060
cuda_ver = "130"

source/isaaclab/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
INSTALL_REQUIRES = [
2020
# generic
2121
"numpy>=2",
22-
"torch>=2.9",
22+
"torch>=2.10",
2323
"onnx>=1.18.0", # 1.16.2 throws access violation on Windows
2424
"prettytable==3.3.0",
2525
"toml",

source/isaaclab_rl/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
INSTALL_REQUIRES = [
2121
# generic
2222
"numpy",
23-
"torch>=2.7",
24-
"torchvision>=0.14.1", # ensure compatibility with torch 1.13.1
23+
"torch>=2.10",
24+
"torchvision>=0.25.0", # ensure compatibility with torch 2.10.0
2525
"protobuf>=4.25.8,!=5.26.0",
2626
# configuration management
2727
"hydra-core",

source/isaaclab_tasks/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
INSTALL_REQUIRES = [
2020
# generic
2121
"numpy>=2",
22-
"torch>=2.7",
23-
"torchvision>=0.14.1", # ensure compatibility with torch 1.13.1
22+
"torch>=2.10",
23+
"torchvision>=0.25.0", # ensure compatibility with torch 2.10.0
2424
"protobuf>=4.25.8,!=5.26.0",
2525
# basic logger
2626
"tensorboard",

0 commit comments

Comments
 (0)