-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
59 lines (52 loc) · 1.23 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
[tool.poetry]
name = "StyleGAN"
version = "0.0.1"
description = "Pytorch Lightning Implementation of StyleGAN"
authors = ["haceneterbouche <[email protected]>"]
license = "MIT License"
packages = [
{ include = "stylegan", from="src"},
]
[tool.poetry.dependencies]
python = "^3.8"
torch = "^1.8.1" # +cu113
torchvision = "^0.9.1" # +cu113
torchaudio = "^0.8.1"
#pytorch-lightning = {version = "1.5.8", extras = ["extra"]}
pytorch-lightning = "^1.5.8"
comet-ml = "^3.24.1"
matplotlib = "^3.5.1"
pandas = "^1.3.5"
jsonargparse = {extras = ["signatures"], version = "^4.1.2"}
[tool.poetry.dev-dependencies]
black = "^21.12b0"
pre-commit = "^2.16.0"
ipykernel = "^6.6.1"
poethepoet = "^0.10.0"
[tool.poe.tasks]
force-cuda11 = "python -m pip install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
# Black formatter configuration
line-length = 89
target-version = ["py38"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.sublime-workspace
| .idea
| .venv
| .vscode
| _build
| buck-out
| build
| dist
)/
'''