-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
92 lines (76 loc) · 2.27 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
80
81
82
83
84
85
86
87
88
89
90
91
92
[tool.poetry]
name = "continual_train"
version = "0.0.0"
description = "Train CL models in a Docker container"
authors = ["Nishant S. Aswani <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [
# {include = "continualTrain"},
{include = "continualUtils"},
]
[build-system]
requires = ["poetry-core>=1.5.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.8.1,<3.11"
tomlkit = { version = "*"}
requests = { version = "*"}
spython = { version = "*"}
typer = {version = "*", extras = ["all"]}
[tool.poetry.group.torch]
optional = true
[tool.poetry.group.torch.dependencies]
torch = {version = ">=2.1.0", source = "torch", markers = "sys_platform == 'linux'"}
torchvision = {version = "*", source = "torch", markers = "sys_platform == 'linux'"}
numpy = {version = "*"}
captum = {version = "^0.7.0"}
ffcv = {version = "*"}
cupy-cuda11x = {version = "*"}
numba = {version = "*"}
tbb = {version = "*"}
[tool.poetry.group.docker]
optional = true
[tool.poetry.group.docker.dependencies]
pylint = { version = "*"}
GPUtil = { version = "*"}
pluggy = { version = "*"}
shortuuid = { version = "*"}
natsort = { version = "*"}
protobuf = { version = "3.20.*"}
avalanche-lib = { git = "https://github.com/ContinualAI/avalanche", rev = "6e5e3b2", allow-prereleases=true}
transformers = "^4.35"
torchattacks = { version = "*"}
# continualUtils = { path = "./app/continualUtils/", develop = true }
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
datasets = "^2.14.5"
pytest = "^7.4"
grad-cam = "^1.4.8"
# opencv-python-headless = "*"
ipytest = "*"
torchviz = "^0.0.2"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.26.0"
[tool.poetry.scripts]
barracks = "continualTrain.api.entry:app"
devtest = "tests.run_tests:main"
[[tool.poetry.source]]
name = "torch"
url = "https://download.pytorch.org/whl/cu118"
priority = "explicit"
[tool.ruff]
line-length = 80
indent-width = 4
target-version = "py310"
# include = '\.pyi?$'
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]