-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
79 lines (69 loc) · 1.89 KB
/
pyproject.toml
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
[project]
name = "project-template"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"cloudpathlib>=0.19.0",
"hydra-colorlog>=1.2.0",
"hydra-core>=1.3.2",
"kaggle>=1.6.17",
"lightning>=2.4.0",
"neptune>=1.12.0",
"polars>=1.9.0",
"rich>=13.9.2",
"wandb>=0.18.3",
"pandas>=2.2.3",
"litserve>=0.2.3",
]
[dependency-groups]
docs = [
"mkdocs-autorefs==1.2.0",
"mkdocs-gen-files==0.5.0",
"mkdocs-get-deps==0.2.0",
"mkdocs-material-extensions==1.3.1",
"mkdocs-material==9.5.41",
"mkdocs-mermaid2-plugin==1.1.1",
"mkdocs==1.6.1",
"mkdocstrings-python==1.12.1",
"mkdocstrings==0.26.2",
"pymdown-extensions==10.11.2",
]
lint = ["pre-commit"]
torch = ["torch>=2.5.0", "torchtyping>=0.1.5"]
jax = ["jax>=0.2.21", "torchtyping>=0.1.5"]
[tool.mypy]
disable_error_code = [
"name-defined",
] # ignore name-defined for torchtyping named shapes
[tool.uv]
dev-dependencies = ["pytest>=8.3.3"]
prerelease = "allow"
find-links = [
"https://storage.googleapis.com/jax-releases/jax_releases.html",
"https://storage.googleapis.com/jax-releases/libtpu_releases.html",
"https://storage.googleapis.com/jax-releases/jax_cuda_releases.html",
"https://storage.googleapis.com/libtpu-releases/index.html",
]
conflicts = [ # so uv will resolve the groups independently
[
{ group = "gpu" },
{ group = "cpu" },
{ group = "tpu" },
{ group = "tpu_torch" },
],
]
package = true # This makes uv automatically add deepchain_mrna to PYTHONPATH
[[tool.uv.index]]
name = "pytorch-cuda11"
url = "https://download.pytorch.org/whl/cu118"
explicit = true
[tool.uv.sources]
torch = [{ index = "pytorch-cuda11", marker = "platform_system != 'Darwin'" }]
torchvision = [
{ index = "pytorch-cuda11", marker = "platform_system != 'Darwin'" },
]
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"