Skip to content

Commit

Permalink
Add HF transfer
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien Gallouët <[email protected]>
  • Loading branch information
angt committed Feb 7, 2025
1 parent 508d47f commit 1401418
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile_llamacpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ COPY --from=builder /usr/lib/libllama.so /usr/lib/
COPY --from=builder /usr/lib/libggml*.so /usr/lib/
COPY --from=builder /app/target/release-opt/text-generation-router-llamacpp /usr/bin/

ENV HF_HUB_ENABLE_HF_TRANSFER=1

ENTRYPOINT ["text-generation-router-llamacpp"]
1 change: 1 addition & 0 deletions backends/llamacpp/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
transformers==4.48.2
huggingface-hub==0.28.1
hf-transfer==0.1.9

0 comments on commit 1401418

Please sign in to comment.