-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Update TRTLLM deployment doc. (#2960)
* doc: Update TRTLLM deployment doc. Update TRTLLM CI to allow release builds when tagging TGI. * doc: Update TRTLLM deployment doc. Update TRTLLM CI to allow release builds when tagging TGI. * fix: PR comments
- Loading branch information
Showing
3 changed files
with
155 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,15 +123,6 @@ COPY --from=trt-builder /usr/local/tensorrt /usr/local/tensorrt | |
COPY --from=tgi-builder /usr/local/tgi /usr/local/tgi | ||
COPY --from=tgi-builder /usr/src/text-generation-inference/target/release/text-generation-backends-trtllm /usr/local/tgi/bin/text-generation-launcher | ||
|
||
FROM runtime | ||
|
||
LABEL co.huggingface.vendor="Hugging Face Inc." | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.title="Text-Generation-Inference TensorRT-LLM Backend" | ||
|
||
ENTRYPOINT ["./text-generation-launcher"] | ||
CMD ["--executor-worker", "/usr/local/tgi/bin/executorWorker"] | ||
|
||
# This is used only for the CI/CD | ||
FROM nvidia/cuda:12.6.3-cudnn-runtime-ubuntu24.04 AS ci-runtime | ||
RUN apt update && apt install -y libasan8 libubsan1 libucx0 pipx python3-minimal python3-dev python3-pip python3-venv && \ | ||
|
@@ -152,3 +143,13 @@ COPY --from=tgi-builder /usr/local/tgi /usr/local/tgi | |
|
||
# Basically we copy from target/debug instead of target/release | ||
COPY --from=tgi-builder /usr/src/text-generation-inference/target/debug/text-generation-backends-trtllm /usr/local/tgi/bin/text-generation-launcher | ||
|
||
# This is the final image | ||
FROM runtime | ||
|
||
LABEL co.huggingface.vendor="Hugging Face Inc." | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.title="Text-Generation-Inference TensorRT-LLM Backend" | ||
|
||
ENTRYPOINT ["./text-generation-launcher"] | ||
CMD ["--executor-worker", "/usr/local/tgi/bin/executorWorker"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters