-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (50 loc) · 1.01 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (50 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[project]
name = "sldm-gnn"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"click>=8.3.0",
"colorama>=0.4.6",
"matplotlib>=3.10.7",
"numpy>=2.3.4",
"pandas>=2.3.3",
"pyarrow>=22.0.0",
"scikit-learn>=1.8.0",
"torch-geometric>=2.7.0",
"tqdm>=4.67.1",
]
[project.optional-dependencies]
cpu = [
"torch==2.8.0",
"torchvision==0.23.0",
]
cuda = [
"torch==2.8.0",
"torchvision==0.23.0",
]
[tool.uv]
conflicts = [
[
{ extra = "cpu" },
{ extra = "cuda" },
],
]
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cu128", extra = "cuda" },
]
torchvision = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cu128", extra = "cuda" },
]