-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
77 lines (70 loc) · 1.59 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
[tool.poetry]
name = "speech-keyword-spotting"
version = "0.1.0"
description = ""
authors = ["haceneterbouche <[email protected]>"]
packages = [
{ include = "keyword_detector", from="src"},
]
[tool.poetry.dependencies]
python = ">=3.8,<3.11.0 || >=3.12.0,<4.0"
torch = "^1.8.1" # +cu111
torchvision = "^0.9.1" # +cu111
torchaudio = "^0.8.1"
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"}
torchmetrics = "0.10.3"
setuptools = "59.5.0"
transformers = "^4.24.0"
onnxruntime = "^1.13.1"
pydantic = "^1.10.2"
fastapi = "^0.87.0"
uvicorn = "^0.20.0"
python-multipart = "^0.0.5"
librosa = "^0.9.2"
soundfile = "^0.11.0"
[tool.poetry.group.dev.dependencies]
wandb = "^0.13.5"
pre-commit = "^2.16.0"
ipykernel = "^6.6.1"
poethepoet = "^0.10.0"
torchsummary = "^1.5.1"
sklearn = "^0.0.post1"
scikit-learn = "^1.1.3"
black = "^22.10.0"
streamlit-webrtc = "^0.44.0"
flake8 = "^4.0.1"
isort = "^5.9.3"
pytest = "^6.2.5"
streamlit = "1.11"
asyncio = "^3.4.3"
[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
)/
'''