Skip to content

Commit 54beebd

Browse files
kaixuanliuregisss
andauthored
Upgrade packages version to support Habana 1.15 (huggingface#9)
Signed-off-by: Liu, Kaixuan <[email protected]> Co-authored-by: regisss <[email protected]>
1 parent c000ed9 commit 54beebd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Dockerfile-hpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ COPY proto proto
5454

5555
RUN cargo build --release --bin text-embeddings-router -F grpc -F python --no-default-features && sccache -s
5656

57-
FROM vault.habana.ai/gaudi-docker/1.14.0/ubuntu22.04/habanalabs/pytorch-installer-2.1.1:latest as base
57+
FROM vault.habana.ai/gaudi-docker/1.15.0/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest as base
5858

5959
ENV HUGGINGFACE_HUB_CACHE=/data \
6060
PORT=80

backends/python/server/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ grpcio-status = "^1.51.1"
1515
grpcio-reflection = "^1.51.1"
1616
grpc-interceptor = "^0.15.0"
1717
typer = "^0.6.1"
18-
safetensors = "^0.3.2"
18+
safetensors = "^0.4.1"
1919
loguru = "^0.6.0"
2020
opentelemetry-api = "^1.15.0"
2121
opentelemetry-exporter-otlp = "^1.15.0"
2222
opentelemetry-instrumentation-grpc = "^0.36b0"
23-
optimum-habana = "1.10.2"
23+
optimum-habana = "1.11.1"
2424

2525
[tool.poetry.extras]
2626

backends/python/server/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ opentelemetry-instrumentation==0.36b0 ; python_version >= "3.9" and python_versi
4343
opentelemetry-proto==1.15.0 ; python_version >= "3.9" and python_version < "3.13"
4444
opentelemetry-sdk==1.15.0 ; python_version >= "3.9" and python_version < "3.13"
4545
opentelemetry-semantic-conventions==0.36b0 ; python_version >= "3.9" and python_version < "3.13"
46-
optimum-habana==1.10.2 ; python_version >= "3.9" and python_version < "3.13"
46+
optimum-habana==1.11.1 ; python_version >= "3.9" and python_version < "3.13"
4747
optimum==1.19.0 ; python_version >= "3.9" and python_version < "3.13"
4848
packaging==23.1 ; python_version >= "3.9" and python_version < "3.13"
4949
pandas==2.2.2 ; python_version >= "3.9" and python_version < "3.13"
@@ -58,17 +58,17 @@ pytz==2024.1 ; python_version >= "3.9" and python_version < "3.13"
5858
pyyaml==6.0.1 ; python_version >= "3.9" and python_version < "3.13"
5959
regex==2024.4.16 ; python_version >= "3.9" and python_version < "3.13"
6060
requests==2.31.0 ; python_version >= "3.9" and python_version < "3.13"
61-
safetensors==0.3.3 ; python_version >= "3.9" and python_version < "3.13"
61+
safetensors==0.4.1 ; python_version >= "3.9" and python_version < "3.13"
6262
sentencepiece==0.2.0 ; python_version >= "3.9" and python_version < "3.13"
6363
setuptools==68.2.0 ; python_version >= "3.9" and python_version < "3.13"
6464
six==1.16.0 ; python_version >= "3.9" and python_version < "3.13"
6565
sympy==1.12 ; python_version >= "3.9" and python_version < "3.13"
6666
tokenizers==0.15.2 ; python_version >= "3.9" and python_version < "3.13"
6767
tqdm==4.66.2 ; python_version >= "3.9" and python_version < "3.13"
68-
transformers==4.37.1 ; python_version >= "3.9" and python_version < "3.13"
69-
transformers[sentencepiece]==4.37.1 ; python_version >= "3.9" and python_version < "3.13"
68+
transformers==4.38.2 ; python_version >= "3.9" and python_version < "3.13"
69+
transformers[sentencepiece]==4.38.2 ; python_version >= "3.9" and python_version < "3.13"
7070
typer==0.6.1 ; python_version >= "3.9" and python_version < "3.13"
71-
typing-extensions==4.7.1 ; python_version >= "3.9" and python_version < "3.13"
71+
typing-extensions==4.8.0 ; python_version >= "3.9" and python_version < "3.13"
7272
tzdata==2024.1 ; python_version >= "3.9" and python_version < "3.13"
7373
urllib3==2.0.4 ; python_version >= "3.9" and python_version < "3.13"
7474
win32-setctime==1.1.0 ; python_version >= "3.9" and python_version < "3.13" and sys_platform == "win32"

0 commit comments

Comments
 (0)