pyproject.toml 740 Bytes
Newer Older
Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
1
[tool.poetry]
2
name = "text-generation"
OlivierDehaene's avatar
OlivierDehaene committed
3
version = "0.2.1"
4
description = "Text Generation Inference Python gRPC Server"
Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
5
6
authors = ["Olivier Dehaene <olivier@huggingface.co>"]

Olivier Dehaene's avatar
Olivier Dehaene committed
7
[tool.poetry.scripts]
8
text-generation-server = 'text_generation.cli:app'
Olivier Dehaene's avatar
Olivier Dehaene committed
9

Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
10
11
12
[tool.poetry.dependencies]
python = "^3.9"
protobuf = "^4.21.7"
13
14
15
16
grpcio = "^1.51.1"
grpcio-status = "^1.51.1"
grpcio-reflection = "^1.51.1"
grpc-interceptor = "^0.15.0"
Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
17
typer = "^0.6.1"
18
accelerate = "^0.15.0"
19
bitsandbytes = "^0.35.1"
OlivierDehaene's avatar
OlivierDehaene committed
20
safetensors = "^0.2.4"
21
loguru = "^0.6.0"
Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
22

23
24
25
[tool.poetry.extras]
bnb = ["bitsandbytes"]

Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
26
27
[tool.poetry.group.dev.dependencies]
grpcio-tools = "^1.49.1"
28
pytest = "^7.2.0"
Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
29
30
31
32

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"