Commit a0ebcb97 authored by rusty1s's avatar rusty1s
Browse files

update

parent 451709db
...@@ -17,7 +17,7 @@ jobs: ...@@ -17,7 +17,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.9 python-version: 3.8
- name: Install dependencies - name: Install dependencies
run: | run: |
...@@ -32,7 +32,7 @@ jobs: ...@@ -32,7 +32,7 @@ jobs:
strategy: strategy:
matrix: matrix:
torch-version: [1.13.0] torch-version: [2.0.0]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
...@@ -40,7 +40,7 @@ jobs: ...@@ -40,7 +40,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.9 python-version: 3.8
- name: Install PyTorch ${{ matrix.torch-version }} - name: Install PyTorch ${{ matrix.torch-version }}
run: | run: |
......
...@@ -15,8 +15,8 @@ jobs: ...@@ -15,8 +15,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
python-version: [3.7] python-version: [3.8]
torch-version: [1.12.0, 1.13.0] torch-version: [1.13.0, 2.0.0]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
......
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.0)
project(torchsplineconv) project(torchsplineconv)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
set(TORCHSPLINECONV_VERSION 1.2.1) set(TORCHSPLINECONV_VERSION 1.2.2)
option(WITH_CUDA "Enable CUDA support" OFF) option(WITH_CUDA "Enable CUDA support" OFF)
......
...@@ -37,6 +37,22 @@ conda install pytorch-spline-conv -c pyg ...@@ -37,6 +37,22 @@ conda install pytorch-spline-conv -c pyg
We alternatively provide pip wheels for all major OS/PyTorch/CUDA combinations, see [here](https://data.pyg.org/whl). We alternatively provide pip wheels for all major OS/PyTorch/CUDA combinations, see [here](https://data.pyg.org/whl).
#### PyTorch 2.0
To install the binaries for PyTorch 2.0.0, simply run
```
pip install torch-spline-conv -f https://data.pyg.org/whl/torch-2.0.0+${CUDA}.html
```
where `${CUDA}` should be replaced by either `cpu`, `cu117`, or `cu118` depending on your PyTorch installation.
| | `cpu` | `cu117` | `cu118` |
|-------------|-------|---------|---------|
| **Linux** | ✅ | ✅ | ✅ |
| **Windows** | ✅ | ✅ | ✅ |
| **macOS** | ✅ | | |
#### PyTorch 1.13 #### PyTorch 1.13
To install the binaries for PyTorch 1.13.0, simply run To install the binaries for PyTorch 1.13.0, simply run
...@@ -69,7 +85,7 @@ where `${CUDA}` should be replaced by either `cpu`, `cu102`, `cu113`, or `cu116` ...@@ -69,7 +85,7 @@ where `${CUDA}` should be replaced by either `cpu`, `cu102`, `cu113`, or `cu116`
| **Windows** | ✅ | | ✅ | ✅ | | **Windows** | ✅ | | ✅ | ✅ |
| **macOS** | ✅ | | | | | **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 and PyTorch 1.11.0 (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, and PyTorch 1.12.0/1.12.1 (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. 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). You can look up the latest supported version number [here](https://data.pyg.org/whl).
......
package: package:
name: pytorch-spline-conv name: pytorch-spline-conv
version: 1.2.1 version: 1.2.2
source: source:
path: ../.. path: ../..
......
...@@ -11,7 +11,7 @@ from torch.__config__ import parallel_info ...@@ -11,7 +11,7 @@ from torch.__config__ import parallel_info
from torch.utils.cpp_extension import (CUDA_HOME, BuildExtension, CppExtension, from torch.utils.cpp_extension import (CUDA_HOME, BuildExtension, CppExtension,
CUDAExtension) CUDAExtension)
__version__ = '1.2.1' __version__ = '1.2.2'
URL = 'https://github.com/rusty1s/pytorch_spline_conv' URL = 'https://github.com/rusty1s/pytorch_spline_conv'
WITH_CUDA = False WITH_CUDA = False
......
...@@ -3,7 +3,7 @@ import os.path as osp ...@@ -3,7 +3,7 @@ import os.path as osp
import torch import torch
__version__ = '1.2.1' __version__ = '1.2.2'
for library in ['_version', '_basis', '_weighting']: for library in ['_version', '_basis', '_weighting']:
cuda_spec = importlib.machinery.PathFinder().find_spec( cuda_spec = importlib.machinery.PathFinder().find_spec(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment