-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
34 lines (30 loc) · 797 Bytes
/
pyproject.toml
File metadata and controls
34 lines (30 loc) · 797 Bytes
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
[tool.poetry]
name = "ast2vec"
version = "0.2.0"
description = "The ast2vec neural network to translate Python syntax trees to vectors and back."
authors = [
"Benjamin Paassen",
"Jessica McBroom",
"Boris Shminke <boris@shminke.com>"
]
[tool.poetry.dependencies]
python = ">= 3.8.1, < 3.13"
# ast2vec dependencies
torch = {version = "==2.0.1", source="torch_cpu"}
astor = "*"
numpy = "*"
# serving dependencies
torchserve = "==0.8.2"
torch-model-archiver = "*"
pyyaml = "*"
redis = {extras = ["hiredis"], version = "*"}
[[tool.poetry.source]]
name = "torch_cpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "supplemental"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"