mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
update deps
This commit is contained in:
parent
b226e469c9
commit
a9348eb5e0
@ -20,10 +20,9 @@ install-torch:
|
|||||||
# Install specific version of torch
|
# Install specific version of torch
|
||||||
pip install torch --extra-index-url https://download.pytorch.org/whl/cu118 --no-cache-dir
|
pip install torch --extra-index-url https://download.pytorch.org/whl/cu118 --no-cache-dir
|
||||||
|
|
||||||
install: gen-server install-torch
|
install: gen-server
|
||||||
pip install pip --upgrade
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install -e ".[bnb, accelerate]"
|
pip install -e .
|
||||||
|
|
||||||
run-dev:
|
run-dev:
|
||||||
SAFETENSORS_FAST_GPU=1 python -m torch.distributed.run --nproc_per_node=2 text_generation_server/cli.py serve bigscience/bloom-560m --sharded
|
SAFETENSORS_FAST_GPU=1 python -m torch.distributed.run --nproc_per_node=2 text_generation_server/cli.py serve bigscience/bloom-560m --sharded
|
||||||
|
2555
server/poetry.lock
generated
2555
server/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -8,15 +8,12 @@ authors = ["Olivier Dehaene <olivier@huggingface.co>"]
|
|||||||
text-generation-server = 'text_generation_server.cli:app'
|
text-generation-server = 'text_generation_server.cli:app'
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.9,<3.13"
|
|
||||||
protobuf = "^4.21.7"
|
protobuf = "^4.21.7"
|
||||||
grpcio = "^1.51.1"
|
grpcio = "^1.51.1"
|
||||||
grpcio-status = "^1.51.1"
|
grpcio-status = "^1.51.1"
|
||||||
grpcio-reflection = "^1.51.1"
|
grpcio-reflection = "^1.51.1"
|
||||||
grpc-interceptor = "^0.15.0"
|
grpc-interceptor = "^0.15.0"
|
||||||
typer = "^0.6.1"
|
typer = "^0.6.1"
|
||||||
accelerate = { version = "^0.20.0", optional = true }
|
|
||||||
bitsandbytes = { version = "^0.41.1", optional = true }
|
|
||||||
safetensors = "^0.3.2"
|
safetensors = "^0.3.2"
|
||||||
loguru = "^0.6.0"
|
loguru = "^0.6.0"
|
||||||
opentelemetry-api = "^1.15.0"
|
opentelemetry-api = "^1.15.0"
|
||||||
@ -26,19 +23,12 @@ hf-transfer = "^0.1.2"
|
|||||||
sentencepiece = "^0.1.97"
|
sentencepiece = "^0.1.97"
|
||||||
tokenizers = "^0.13.3"
|
tokenizers = "^0.13.3"
|
||||||
huggingface-hub = "^0.16.4"
|
huggingface-hub = "^0.16.4"
|
||||||
transformers = "^4.32.1"
|
|
||||||
einops = "^0.6.1"
|
einops = "^0.6.1"
|
||||||
texttable = { version = "^1.6.7", optional = true }
|
texttable = { version = "^1.6.7", optional = true }
|
||||||
datasets = { version = "^2.14.0", optional = true }
|
datasets = { version = "^2.14.0", optional = true }
|
||||||
peft = "^0.4.0"
|
|
||||||
torch = { version = "^2.0.1" }
|
|
||||||
scipy = "^1.11.1"
|
scipy = "^1.11.1"
|
||||||
pillow = "^10.0.0"
|
pillow = "^10.0.0"
|
||||||
|
|
||||||
[tool.poetry.extras]
|
|
||||||
accelerate = ["accelerate"]
|
|
||||||
bnb = ["bitsandbytes"]
|
|
||||||
quantize = ["texttable", "datasets", "accelerate"]
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
grpcio-tools = "^1.51.1"
|
grpcio-tools = "^1.51.1"
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
accelerate==0.20.3 ; python_version >= "3.9" and python_version < "3.13"
|
|
||||||
aiohttp==3.8.5 ; python_version >= "3.9" and python_version < "3.13"
|
aiohttp==3.8.5 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
aiosignal==1.3.1 ; python_version >= "3.9" and python_version < "3.13"
|
aiosignal==1.3.1 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
async-timeout==4.0.3 ; python_version >= "3.9" and python_version < "3.13"
|
async-timeout==4.0.3 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
attrs==23.1.0 ; python_version >= "3.9" and python_version < "3.13"
|
attrs==23.1.0 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
backoff==2.2.1 ; python_version >= "3.9" and python_version < "3.13"
|
backoff==2.2.1 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
bitsandbytes==0.41.1 ; python_version >= "3.9" and python_version < "3.13"
|
|
||||||
certifi==2023.7.22 ; python_version >= "3.9" and python_version < "3.13"
|
certifi==2023.7.22 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
charset-normalizer==3.2.0 ; python_version >= "3.9" and python_version < "3.13"
|
charset-normalizer==3.2.0 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
click==8.1.7 ; python_version >= "3.9" and python_version < "3.13"
|
click==8.1.7 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
@ -44,7 +42,6 @@ opentelemetry-sdk==1.15.0 ; python_version >= "3.9" and python_version < "3.13"
|
|||||||
opentelemetry-semantic-conventions==0.36b0 ; python_version >= "3.9" and python_version < "3.13"
|
opentelemetry-semantic-conventions==0.36b0 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
packaging==23.1 ; python_version >= "3.9" and python_version < "3.13"
|
packaging==23.1 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
pandas==2.1.1 ; python_version >= "3.9" and python_version < "3.13"
|
pandas==2.1.1 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
peft==0.4.0 ; python_version >= "3.9" and python_version < "3.13"
|
|
||||||
pillow==10.0.1 ; python_version >= "3.9" and python_version < "3.13"
|
pillow==10.0.1 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
protobuf==4.24.3 ; python_version >= "3.9" and python_version < "3.13"
|
protobuf==4.24.3 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
psutil==5.9.5 ; python_version >= "3.9" and python_version < "3.13"
|
psutil==5.9.5 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
@ -62,9 +59,7 @@ six==1.16.0 ; python_version >= "3.9" and python_version < "3.13"
|
|||||||
sympy==1.12 ; python_version >= "3.9" and python_version < "3.13"
|
sympy==1.12 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
texttable==1.6.7 ; python_version >= "3.9" and python_version < "3.13"
|
texttable==1.6.7 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
tokenizers==0.13.3 ; python_version >= "3.9" and python_version < "3.13"
|
tokenizers==0.13.3 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
torch==2.0.1 ; python_version >= "3.9" and python_version < "3.13"
|
|
||||||
tqdm==4.66.1 ; python_version >= "3.9" and python_version < "3.13"
|
tqdm==4.66.1 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
transformers==4.33.2 ; python_version >= "3.9" and python_version < "3.13"
|
|
||||||
typer==0.6.1 ; python_version >= "3.9" and python_version < "3.13"
|
typer==0.6.1 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
typing-extensions==4.8.0 ; python_version >= "3.9" and python_version < "3.13"
|
typing-extensions==4.8.0 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
tzdata==2023.3 ; python_version >= "3.9" and python_version < "3.13"
|
tzdata==2023.3 ; python_version >= "3.9" and python_version < "3.13"
|
||||||
|
Loading…
Reference in New Issue
Block a user