generated from xinetzone/xyzstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
112 lines (103 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.4,<4"]
[project]
authors = [{name = "xinetzone", email = "[email protected]"}]
dynamic = ["version", "description"]
license = {file = "LICENSE"}
name = "torch-book"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"d2py[dev]",
"invoke",
"onnx",
"onnxscript",
"onnxruntime",
]
maintainers = [
{name = "xinetzone", email = "[email protected]"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Framework :: Sphinx",
"Framework :: Sphinx :: Theme",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
[project.urls]
Home = "https://github.com/xinetzone/torch-book"
[project.optional-dependencies]
doc = [
"myst-nb",
"sphinx",
"sphinx-book-theme",
"sphinxext-rediraffe",
"sphinx-copybutton",
"sphinxcontrib-mermaid",
"sphinx-design",
"sphinxcontrib-bibtex",
"sphinx-thebe",
"sphinx-comments",
"matplotlib",
"sphinx-automodapi",
"sphinx-plotly-directive",
"sphinx-sitemap",
"sphinx-proof",
# MMLab
"mmcv",
"mmengine",
"terminaltables",
"pycocotools",
"shapely",
"albumentations",
"numba",
"timm",
"mmagic",
"av",
"click", # required by mmagic/utils/io_utils.py
"controlnet_aux",
"diffusers>=0.23.0",
"einops",
"face-alignment<=1.3.4",
"facexlib",
"lmdb",
"lpips",
"mediapipe",
"numpy",
# MMCV depends opencv-python instead of headless, thus we install opencv-python
# Due to a bug from upstream, we skip this two version
# https://github.com/opencv/opencv-python/issues/602
# https://github.com/opencv/opencv/issues/21366
# It seems to be fixed in https://github.com/opencv/opencv/pull/21382
"opencv-python!=4.5.5.62,!=4.5.5.64",
"pandas", # required by mmagic/models/editors/disco_diffusion/guider.py
"Pillow",
"resize_right",
"tensorboard",
"transformers>=4.27.4",
"accelerate",
"torch",
"tensorflow",
"onnx",
]
coverage = [
"pytest-cov",
"pytest-regressions",
"codecov",
"torch_book[test]",
]
dev = [
"pre-commit",
"torch_book[coverage]",
]
test = [
"pytest",
"torch_book[doc]",
]
[tool.flit.module]
name = "torch_book"
[tool.flit.sdist]
# include = ["docs/"]
exclude = ['doc', '.git', '.github']