pyproject.toml 657 Bytes
Newer Older
Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
1
[tool.poetry]
2
name = "text-generation"
Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
3
4
5
6
version = "0.1.0"
description = "BLOOM Inference Python gRPC Server"
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
13
14
15
16
[tool.poetry.dependencies]
python = "^3.9"
protobuf = "^4.21.7"
grpcio = "^1.49.1"
typer = "^0.6.1"
grpcio-reflection = "^1.49.1"
accelerate = "^0.12.0"
17
bitsandbytes = "^0.35.1"
OlivierDehaene's avatar
OlivierDehaene committed
18
safetensors = "^0.2.4"
Olivier Dehaene's avatar
Init  
Olivier Dehaene committed
19

20
21
22
[tool.poetry.extras]
bnb = ["bitsandbytes"]

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

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