Skip to content

Commit 4d45603

Browse files
committed
Update torch to 2.11 with cu126 source
1 parent ab77df8 commit 4d45603

2 files changed

Lines changed: 456 additions & 374 deletions

File tree

pyproject.toml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "spherinator"
3-
version = "1.0.0"
3+
version = "0.5.0"
44
description = "Rotation-Invariant Hyperspherical Variational Convolutional Autoencoder"
55
authors = [
66
{name = "Kai Polsterer", email = "kai.polsterer@h-its.org"},
@@ -23,8 +23,8 @@ dependencies = [
2323
"power-spherical >=0.8",
2424
"scikit-image >=0.25",
2525
"scipy >=1.11",
26-
"torch >=2.2, <2.11",
27-
"torchvision >=0.20",
26+
"torch >=2.11",
27+
"torchvision >=0.26",
2828
"gaiaxpy >=2.1",
2929
"pyarrow >=19.0",
3030
"wandb >=0.20",
@@ -82,6 +82,19 @@ filterwarnings = [
8282
[tool.pylint.TYPECHECK]
8383
generated-members = 'numpy.*, torch.*'
8484

85+
[tool.uv.sources]
86+
torch = [
87+
{ index = "pytorch-cu126" },
88+
]
89+
torchvision = [
90+
{ index = "pytorch-cu126" },
91+
]
92+
93+
[[tool.uv.index]]
94+
name = "pytorch-cu126"
95+
url = "https://download.pytorch.org/whl/cu126"
96+
explicit = true
97+
8598
[[tool.uv.index]]
8699
name = "testpypi"
87100
url = "https://test.pypi.org/simple/"

0 commit comments

Comments
 (0)