Commit a0ebcb97 authored by rusty1s's avatar rusty1s
Browse files

update

parent 451709db
......@@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.8
- name: Install dependencies
run: |
......@@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
torch-version: [1.13.0]
torch-version: [2.0.0]
steps:
- uses: actions/checkout@v2
......@@ -40,7 +40,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.8
- name: Install PyTorch ${{ matrix.torch-version }}
run: |
......
......@@ -15,8 +15,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.7]
torch-version: [1.12.0, 1.13.0]
python-version: [3.8]
torch-version: [1.13.0, 2.0.0]
steps:
- uses: actions/checkout@v2
......
cmake_minimum_required(VERSION 3.0)
project(torchsplineconv)
set(CMAKE_CXX_STANDARD 14)
set(TORCHSPLINECONV_VERSION 1.2.1)
set(TORCHSPLINECONV_VERSION 1.2.2)
option(WITH_CUDA "Enable CUDA support" OFF)
......
......@@ -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).
#### 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
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`
| **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 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.
You can look up the latest supported version number [here](https://data.pyg.org/whl).
......
package:
name: pytorch-spline-conv
version: 1.2.1
version: 1.2.2
source:
path: ../..
......
......@@ -11,7 +11,7 @@ from torch.__config__ import parallel_info
from torch.utils.cpp_extension import (CUDA_HOME, BuildExtension, CppExtension,
CUDAExtension)
__version__ = '1.2.1'
__version__ = '1.2.2'
URL = 'https://github.com/rusty1s/pytorch_spline_conv'
WITH_CUDA = False
......
......@@ -3,7 +3,7 @@ import os.path as osp
import torch
__version__ = '1.2.1'
__version__ = '1.2.2'
for library in ['_version', '_basis', '_weighting']:
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