-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
64 lines (59 loc) · 1.53 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
[tool.poetry]
name = "perceptor"
version = "0.6.7"
description = "Modular image generation library"
authors = ["Richard Löwenström <[email protected]>", "dribnet"]
readme = "README.md"
repository = "https://github.com/samedii/perceptor"
[tool.poetry.dependencies]
python = "^3.8"
torch = "^1.12.1"
torchvision = "*"
numpy = "^1.22.2"
tqdm = "^4.62.3"
einops = "^0.4.0"
imageio = "^2.14.1"
kornia = "^0.6.3"
Pillow = "^9.0.1"
timm = "^0.5.4"
resmem = "^1.1.4"
basicsr = "^1.4.2"
opencv-python = "^4.5.4,!=4.6.0.66"
transformers = "^4.21.1"
ftfy = "^6.0.3"
omegaconf = "^2.1.1"
youtokentome = "^1.0.6"
more-itertools = "^8.12.0"
dill = "^0.3.4"
ninja = "^1.10.2"
lpips = "^0.1.4"
pytorch-lantern = "^0.12.0"
taming-transformers-rom1504 = "^0.0.6"
diffusers = "^0.6.0"
open-clip-torch = "^2.0.2"
pytorch-zero-lit = "^0.2.2"
xformers = "^0.0.13"
triton = "^1.1.1"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.8.0"
pytest = "^7.0.0"
black = "^22.1.0"
flake8 = "^4.0.1"
poethepoet = "^0.12.2"
ipywidgets = "^7.6.5"
Sphinx = "^5.2.3"
sphinx-rtd-theme = "^1.0.0"
sphinx-autodoc-typehints = "^1.19.4"
sphinx-autoapi = "^2.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poe.tasks]
cuda11 = "poetry run pip uninstall torch torchvision -y && poetry run pip install torch==1.11.0 torchvision==0.12.0 --extra-index-url https://download.pytorch.org/whl/cu113"
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = ".venv __pycache__ .git .pytest_cache"
testpaths = [
"perceptor",
]
python_files = "*.py"