From 5ccf72241bcfb2f6bb427f94c26b2b80a931b1c6 Mon Sep 17 00:00:00 2001 From: rusty1s Date: Thu, 10 Apr 2025 21:28:41 +0200 Subject: [PATCH 1/2] update --- .github/workflows/building.yml | 4 +++- README.md | 4 +--- setup.cfg | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 792f80fa..a367197a 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -11,10 +11,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-14, windows-2019] - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] torch-version: [2.6.0] # [2.5.0] cuda-version: ['cpu', 'cu118', 'cu121', 'cu124', 'cu126'] exclude: + - torch-version: 2.5.0 + python-version: '3.13' - torch-version: 2.5.0 cuda-version: 'cu126' - torch-version: 2.6.0 diff --git a/README.md b/README.md index 97c3067e..d9b34a4a 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,6 @@ Note that only `value` comes with autograd support, as `index` is discrete and t ## Installation -### Anaconda - ### Binaries We provide pip wheels for all major OS/PyTorch/CUDA combinations, see [here](https://data.pyg.org/whl). @@ -297,7 +295,7 @@ pytest ## C++ API `torch-sparse` also offers a C++ API that contains C++ equivalent of python models. -For this, we need to add `TorchLib` to the `-DCMAKE_PREFIX_PATH` (*e.g.*, it may exists in `{CONDA}/lib/python{X.X}/site-packages/torch` if installed via `conda`): +For this, we need to add `TorchLib` to the `-DCMAKE_PREFIX_PATH` (run `import torch, print(torch.utils.cmake_prefix_path)` to obtain it). ``` mkdir build diff --git a/setup.cfg b/setup.cfg index 863d7697..da2c9a2b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,6 +11,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Programming Language :: Python :: 3 :: Only [aliases] From 741950f33bd49a1eaf012eee99cbcc95f2a3924c Mon Sep 17 00:00:00 2001 From: rusty1s Date: Thu, 10 Apr 2025 21:32:39 +0200 Subject: [PATCH 2/2] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d9b34a4a..876158d5 100644 --- a/README.md +++ b/README.md @@ -295,7 +295,7 @@ pytest ## C++ API `torch-sparse` also offers a C++ API that contains C++ equivalent of python models. -For this, we need to add `TorchLib` to the `-DCMAKE_PREFIX_PATH` (run `import torch, print(torch.utils.cmake_prefix_path)` to obtain it). +For this, we need to add `TorchLib` to the `-DCMAKE_PREFIX_PATH` (run `import torch; print(torch.utils.cmake_prefix_path)` to obtain it). ``` mkdir build