generated from okotaku/template
-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
129 lines (120 loc) · 2.38 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[project]
name = "diffengine"
description = "diffengine"
authors = [{ name = "takuoko", email = "to78314910@gmail.com" }]
version = "1.0.0"
requires-python = ">= 3.10"
readme = "README.md"
dependencies = [
"torch>=2.1.2",
"torchvision>=0.16.2",
"datasets>=2.16.1",
"diffusers@git+https://github.com/huggingface/diffusers@ec9840a#egg=diffusers",
"mmengine>=0.10.3",
"sentencepiece>=0.1.99",
"tqdm",
"transformers>=4.37.2",
"ujson",
"peft>=0.8.1",
"joblib",
"timm>=0.9.12",
]
license = { file = "LICENSE" }
keywords = ["computer vision", "diffusion models"]
[project.optional-dependencies]
dev = ["pytest", "coverage"]
optional = ["ftfy", "bs4", "deepspeed", "colossalai"]
docs = [
"docutils==0.18.1",
"modelindex",
"myst-parser",
"pytorch_sphinx_theme@git+https://github.com/mzr1996/pytorch_sphinx_theme",
"sphinx==6.1.3",
"sphinx-autoapi",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-notfound-page",
"sphinx-rtd-theme",
"sphinx-tabs",
"sphinxcontrib-jquery",
"tabulate",
]
[project.scripts]
diffengine = "diffengine:cli"
[tool.setuptools.packages.find]
include = ["diffengine*"]
exclude = [
"build*",
"docs*",
"dist*",
"tools*",
"configs*",
"tests*",
"docker*",
"demo*",
"data*",
"work_dirs*",
"projects*",
]
[tool.wheel]
include = ["diffengine*"]
exclude = [
"build*",
"docs*",
"dist*",
"tools*",
"configs*",
"tests*",
"docker*",
"demo*",
"data*",
"work_dirs*",
"projects*",
]
[tool.distutils.bdist_wheel]
universal = true
[tool.ruff]
target-version = "py311"
select = ["ALL"]
ignore = [
"ANN003",
"ANN101",
"S101",
"BLE001",
"PLR0913",
"PGH004",
"B028",
"ANN002",
"PTH118",
"C408",
"INP001",
"D100",
"D107",
"D104",
"EXE002",
]
[tool.ruff.per-file-ignores]
"tests/*" = [
"PLR2004",
"N806",
"PTH",
"SLF001",
"PT009",
"D",
"ANN201",
"INP001",
"ANN202",
"ANN001",
]
"diffengine/tools/*" = [
"T201", "ISC002", "PTH", "D", "INP001",
"ANN201", "ANN202", "ANN001"]
"projects/*" = ["F403", "F405", "TID252"]
"diffengine/configs/*" = ["F403", "F405", "TID252"]
[tool.mypy]
python_version = "3.11"
no_strict_optional = true
ignore_missing_imports = true
check_untyped_defs = true
[tool.codespell]
ignore-words-list = "enver,"