-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
73 lines (66 loc) · 1.43 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
[project]
name = "fish-vocoder"
version = "1.0.0"
description = ""
license = {text = "MIT"}
authors = [
]
requires-python = ">=3.10,<4.0"
dependencies = [
"librosa<1.0.0,>=0.9.1",
"numba<1.0.0,>=0.56.4",
"wandb>=0.15.4",
"loguru>=0.7.0",
"tensorboard<3.0.0,>=2.11.2",
"natsort<9.0.0,>=8.3.1",
"torch<3.0.0,>=2.0.0",
"torchaudio<3.0.0,>=2.0.0",
"lightning>=2.0.3",
"hydra-core>=1.3.2",
"pyrootutils>=1.0.4",
"hydra-colorlog>=1.2.0",
"torch-summary>=1.4.5",
"matplotlib>=3.7.1",
"encodec>=0.1.1",
"vocos>=0.0.2",
"transformers>=4.31.0",
"pesq>=0.0.4",
"alias-free-torch>=0.0.6",
]
[tool.pdm]
[tool.pdm.build]
includes = ["fish_vocoder"]
[tool.pdm.dev-dependencies]
dev = [
"black>=22.12.0",
"pytest>=7.3.1",
"pre-commit>=3.3.3",
"ruff>=0.0.280",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.scripts]
lint = { shell = "black . && ruff check --fix ." }
check = { shell = "black --check . && ruff check ." }
test = { shell = "PYTHONPATH=. pytest -n=auto -q tests" }
[[tool.pdm.source]]
type = "find_links"
name = "torch-cu118"
url = "https://download.pytorch.org/whl/cu118"
verify_ssl = true
[tool.isort]
profile = "black"
extend_skip = ["dataset", "logs"]
[tool.ruff]
line-length = 88
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I001"
]