-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (67 loc) · 1.62 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
[tool.poetry]
name = "<<project-name>>"
version = "0.1.0"
description = ""
authors = ["<<name>>"]
homepage = "<<repo-url>>"
readme = "README.md"
license = "MIT"
keywords = []
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages= [
{include = "<<project-name>>", from = "src"},
]
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
torch={version="2.2.1+cu121", source="torch_repo"}
torchvision={version="^0.17.1+cu121", source="torch_repo"}
hydra-core = "^1.3.2"
python-dotenv="^1"
wandb="^0.16.3"
rpds-py="0.17.1" # matches nvidia container
[[tool.poetry.source]]
name = "torch_repo"
url = "https://download.pytorch.org/whl/cu121"
priority = "supplemental"
[tool.poetry.group.dev.dependencies]
flake8 = "^7.0.0"
black = "^24.2.0"
jupyter = "^1.0.0"
jupytext = "^1.16.1"
pre-commit="^3.6.2"
[tool.poetry.scripts]
main = "main:main"
[tool.poetry.urls]
"Issues" = "<<repo-url>>/issues"
"Repo" = "<<repo-url>>"
[build-system]
requires = ["poetry-core>=<<poetry-version>>"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 80
exclude ='''
/(
artifacts/*
| .venv/*
)
'''
[tool.pytest.ini_options]
pythonpath = [
".", "./src", "./tests"
]
addopts = "--cov src --cov-report html --cov-branch --import-mode importlib"
markers = [
"integration",
"slow",
"dist",
]
norecursedirs = "tests/utils"
testpaths = "tests"