Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deps] Increment Sentence Transformers to v3.3.1 #464

Merged
merged 3 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker_images/sentence_transformers/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM tiangolo/uvicorn-gunicorn:python3.8
LABEL maintainer="Omar <omar@huggingface.co>"
FROM tiangolo/uvicorn-gunicorn:python3.10
LABEL maintainer="Tom Aarsen <tom.aarsen@huggingface.co>"

# Add any system dependency here
# RUN apt-get update -y && apt-get install libXXX -y

RUN pip3 install --no-cache-dir torch==1.13.0
RUN pip3 install --no-cache-dir torch==2.4.1


COPY ./requirements.txt /app
Expand Down
8 changes: 4 additions & 4 deletions docker_images/sentence_transformers/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
starlette==0.27.0
api-inference-community==0.0.32
sentence-transformers==3.0.1
transformers==4.41.1
tokenizers==0.19.1
sentence-transformers==3.3.1
transformers==4.48.0
tokenizers==0.21.0
protobuf==3.18.3
huggingface_hub==0.23.3
huggingface_hub==0.27.1
sacremoses==0.0.53
# dummy.
2 changes: 1 addition & 1 deletion tests/test_audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_malformed_audio(self):
def test_dual_channel(self):
bpayload = self.read("sample1_dual.ogg")
payload, params = normalize_payload_audio(bpayload, 16000)
self.assertEqual(payload.shape, (219520,))
self.assertEqual(payload.shape, (219040,))

def test_original_webm(self):
bpayload = self.read("sample1.webm")
Expand Down
Loading