-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (61 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
67 lines (61 loc) · 1.48 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
[project]
name = "pytorch-lightning-template"
version = "0.1.0"
description = "A template for simple deep learning projects using Lightning"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"autorootcwd>=1.0.1",
"debugpy>=1.8.17",
"flash-attn>=2.8.3",
"ipykernel>=7.1.0",
"ipywidgets>=8.1.8",
"jsonargparse[signatures]>=4.43.0",
"matplotlib>=3.10.7",
"opencv-python>=4.12.0.88",
"pandas>=2.3.3",
"lightning>=2.6.1",
"pytorch3d>=0.7.8",
"torch>=2.9.1",
"torchmetrics>=1.8.2",
"torchvision>=0.24.1",
"tqdm>=4.67.1",
"transformers>=4.57.2",
"wandb>=0.23.0",
]
[dependency-groups]
dev = ["ruff>=0.15.2"]
[tool.uv.sources]
torch = [{ index = "pytorch-cu128" }]
torchvision = [{ index = "pytorch-cu128" }]
flash-attn = [{ index = "torch_packages_builder" }]
pytorch3d = [{ index = "torch_packages_builder" }]
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[[tool.uv.index]]
name = "torch_packages_builder"
url = "https://miropsota.github.io/torch_packages_builder"
explicit = true
# https://docs.astral.sh/ruff/configuration/
[tool.ruff]
line-length = 120
lint.select = [
"I", # isort
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"UP", # pyupgrade
]
lint.ignore = ["F401"]
[tool.pyright]
exclude = [
"**/__pycache__",
'**/node_modules',
'**/.*',
'.venv',
"data",
"logs",
]
typeCheckingMode = "off"