From 16accc5fe352e621b3aeaece8f2334916bb98631 Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Thu, 26 Mar 2026 03:44:32 +0000 Subject: [PATCH] Add PyTorch 2.11 support --- .github/workflows/building.yml | 2 +- .github/workflows/testing.yml | 4 ++-- README.md | 24 ++++++++++++------------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index c6225630..fb2330d5 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -16,7 +16,7 @@ jobs: matrix: os: [ubuntu-22.04, macos-14, windows-2022, ubuntu-22.04-arm] python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] - torch-version: [2.9.0, 2.10.0] + torch-version: [2.11.0] cuda-version: ['cpu', 'cu126', 'cu128', 'cu130'] exclude: - os: windows-2022 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 47cd6d7a..d4355830 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -18,9 +18,9 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-2022] + os: [ubuntu-latest, macos-latest, windows-2022] python-version: ['3.10'] - torch-version: [2.9.0, 2.10.0] + torch-version: [2.11.0] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 343bb8ad..c3e5b6b3 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,12 @@ Note that only `value` comes with autograd support, as `index` is discrete and t We provide pip wheels for all major OS/PyTorch/CUDA combinations, see [here](https://data.pyg.org/whl). -#### PyTorch 2.10 +#### PyTorch 2.11 -To install the binaries for PyTorch 2.10, simply run +To install the binaries for PyTorch 2.11, simply run ``` -pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.10.0+${CUDA}.html +pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.11.0+${CUDA}.html ``` where `${CUDA}` should be replaced by either `cpu`, `cu126`, `cu128`, or `cu130` depending on your PyTorch installation. @@ -50,12 +50,12 @@ where `${CUDA}` should be replaced by either `cpu`, `cu126`, `cu128`, or `cu130` | **Windows** | ✅ | ✅ | ✅ | ✅ | | **macOS** | ✅ | | | | -#### PyTorch 2.9 +#### PyTorch 2.10 -To install the binaries for PyTorch 2.9, simply run +To install the binaries for PyTorch 2.10, simply run ``` -pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.9.0+${CUDA}.html +pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.10.0+${CUDA}.html ``` where `${CUDA}` should be replaced by either `cpu`, `cu126`, `cu128`, or `cu130` depending on your PyTorch installation. @@ -66,23 +66,23 @@ where `${CUDA}` should be replaced by either `cpu`, `cu126`, `cu128`, or `cu130` | **Windows** | ✅ | ✅ | ✅ | ✅ | | **macOS** | ✅ | | | | -#### PyTorch 2.8 +#### PyTorch 2.9 -To install the binaries for PyTorch 2.8, simply run +To install the binaries for PyTorch 2.9, simply run ``` -pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.8.0+${CUDA}.html +pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.9.0+${CUDA}.html ``` -where `${CUDA}` should be replaced by either `cpu`, `cu126`, `cu128`, or `cu129` depending on your PyTorch installation. +where `${CUDA}` should be replaced by either `cpu`, `cu126`, `cu128`, or `cu130` depending on your PyTorch installation. -| | `cpu` | `cu126` | `cu128` | `cu129` | +| | `cpu` | `cu126` | `cu128` | `cu130` | |-------------|-------|---------|---------|---------| | **Linux** | ✅ | ✅ | ✅ | ✅ | | **Windows** | ✅ | ✅ | ✅ | ✅ | | **macOS** | ✅ | | | | -**Note:** Binaries of older versions are also provided for PyTorch 1.4.0, PyTorch 1.5.0, PyTorch 1.6.0, PyTorch 1.7.0/1.7.1, PyTorch 1.8.0/1.8.1, PyTorch 1.9.0, PyTorch 1.10.0/1.10.1/1.10.2, PyTorch 1.11.0, PyTorch 1.12.0/1.12.1, PyTorch 1.13.0/1.13.1, PyTorch 2.0.0/2.0.1, PyTorch 2.1.0/2.1.1/2.1.2, PyTorch 2.2.0/2.2.1/2.2.2, PyTorch 2.3.0/2.3.1, PyTorch 2.4.0/2.4.1, PyTorch 2.5.0/2.5.1, PyTorch 2.6.0, and PyTorch 2.7.0/2.7.1 (following the same procedure). +**Note:** Binaries of older versions are also provided for PyTorch 1.4.0, PyTorch 1.5.0, PyTorch 1.6.0, PyTorch 1.7.0/1.7.1, PyTorch 1.8.0/1.8.1, PyTorch 1.9.0, PyTorch 1.10.0/1.10.1/1.10.2, PyTorch 1.11.0, PyTorch 1.12.0/1.12.1, PyTorch 1.13.0/1.13.1, PyTorch 2.0.0/2.0.1, PyTorch 2.1.0/2.1.1/2.1.2, PyTorch 2.2.0/2.2.1/2.2.2, PyTorch 2.3.0/2.3.1, PyTorch 2.4.0/2.4.1, PyTorch 2.5.0/2.5.1, PyTorch 2.6.0, PyTorch 2.7.0/2.7.1, and PyTorch 2.8.0 (following the same procedure). For older versions, you need to explicitly specify the latest supported version number or install via `pip install --no-index` in order to prevent a manual installation from source. You can look up the latest supported version number [here](https://data.pyg.org/whl).