-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
40 lines (35 loc) · 913 Bytes
/
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
[tool.poetry]
name = "ml-api"
version = "0.1.0"
description = ""
authors = ["Ying Xiang <[email protected]>"]
readme = "README.md"
packages = []
[tool.poetry.dependencies]
python = "^3.10"
sympy = "^1.12"
transformers = "*"
pillow = "*"
fastapi = "^0.103.0"
uvicorn = "^0.23.2"
loguru = "^0.7.0"
pydantic-settings = "^2.0.3"
datasets = "^2.14.5"
soundfile = "^0.12.1"
speechbrain = "^0.5.15"
[tool.poetry.group.dev.dependencies]
pre-commit= "^3.3.3"
torch = "*"
poethepoet = "*"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.1"
syrupy = "^4.5.0"
pytest-cov = "^4.1.0"
# https://blog.philip-huang.tech/?page=poetry-and-pytorch
[tool.poe.tasks]
install-ltt = "python -m pip install light-the-torch"
run-ltt = "python -m light_the_torch install --upgrade torch torchvision"
torch-cuda = ["install-ltt", "run-ltt"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"