-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (85 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
94 lines (85 loc) · 1.83 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[project]
name = "tibert"
version = "0.5.3"
description = "BERT for Coreference Resolution"
authors = [
{name = "Arthur Amalvy", email = "arthuramalvy@as.edu.tw"},
]
requires-python = ">=3.10,<3.15"
license = "GPL-3.0-only"
readme = "README.md"
dependencies = [
"torch>=2.8.0",
"transformers>=5.0.0",
"tqdm>=4.67",
"networkx>=3.0",
"more-itertools>=10.5",
"neleval>=3.1.1",
"rich>=13.5",
"sacremoses>=0.1"
]
[dependency-groups]
dev = [
"hypothesis>=6.82",
"pytest>=8.3.0"
]
[project.optional-dependencies]
cpu = [
"torch>=2.8.0",
]
cuda128 = [
"torch>=2.8.0",
]
cuda129 = [
"torch>=2.8.0",
]
rocm63 = [
"torch>=2.8.0",
"pytorch-triton-rocm>=3.1.0",
]
rocm64 = [
"torch>=2.8.0",
"pytorch-triton-rocm>=3.1.0",
]
[tool.uv]
conflicts = [
[
{ extra = "cpu" },
{ extra = "cuda128" },
{ extra = "cuda129" },
{ extra = "rocm63" },
{ extra = "rocm64" },
],
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cuda128", extra = "cuda128" },
{ index = "pytorch-cuda129", extra = "cuda129" },
{ index = "pytorch-rocm63", extra = "rocm63" },
{ index = "pytorch-rocm64", extra = "rocm64" },
]
pytorch-triton-rocm = [
{ index = "pytorch-rocm63", extra = "rocm63" },
{ index = "pytorch-rocm64", extra = "rocm64" },
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[[tool.uv.index]]
name = "pytorch-cuda128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[[tool.uv.index]]
name = "pytorch-cuda129"
url = "https://download.pytorch.org/whl/cu129"
explicit = true
[[tool.uv.index]]
name = "pytorch-rocm63"
url = "https://download.pytorch.org/whl/rocm6.3"
explicit = true
[[tool.uv.index]]
name = "pytorch-rocm64"
url = "https://download.pytorch.org/whl/rocm6.4"
explicit = true