Fix image build by pinning safetensors version

This commit is contained in:
Weves
2023-08-23 21:36:31 -07:00
committed by Chris Weaver
parent 7836e91a20
commit a2d3a3f116
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.11-slim-bullseye FROM python:3.11.4-slim-bullseye
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y git cmake pkg-config libprotobuf-c-dev protobuf-compiler \ && apt-get install -y git cmake pkg-config libprotobuf-c-dev protobuf-compiler \

View File

@@ -38,6 +38,9 @@ requests==2.31.0
requests-oauthlib==1.3.1 requests-oauthlib==1.3.1
retry==0.9.2 retry==0.9.2
rfc3986==1.5.0 rfc3986==1.5.0
# need to pin `safetensors` version, since the latest versions require
# building from source using Rust
safetensors==0.3.1
sentence-transformers==2.2.2 sentence-transformers==2.2.2
slack-sdk==3.20.2 slack-sdk==3.20.2
SQLAlchemy[mypy]==2.0.12 SQLAlchemy[mypy]==2.0.12