From 8063dfc61a0cbb348d4b1baf4b6e03e8ebae7cfa Mon Sep 17 00:00:00 2001 From: Reid <61492567+reidliu41@users.noreply.github.com> Date: Thu, 27 Mar 2025 20:38:46 +0800 Subject: [PATCH] [Doc] update --system for transformers installation in docker doc (#15616) Signed-off-by: reidliu41 Co-authored-by: reidliu41 --- docs/source/deployment/docker.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/deployment/docker.md b/docs/source/deployment/docker.md index 1f60faf40879..65cb038de1b4 100644 --- a/docs/source/deployment/docker.md +++ b/docs/source/deployment/docker.md @@ -34,11 +34,11 @@ If you need to use those dependencies (having accepted the license terms), create a custom Dockerfile on top of the base image with an extra layer that installs them: ```Dockerfile -FROM vllm/vllm-openai:v0.8.0 +FROM vllm/vllm-openai:v0.8.2 # e.g. install the `audio` and `video` optional dependencies # NOTE: Make sure the version of vLLM matches the base image! -RUN uv pip install vllm[audio,video]==0.8.0 +RUN uv pip install --system vllm[audio,video]==0.8.2 ``` ::: @@ -52,7 +52,7 @@ with an extra layer that installs their code from source: ```Dockerfile FROM vllm/vllm-openai:latest -RUN uv pip install git+https://github.com/huggingface/transformers.git +RUN uv pip install --system git+https://github.com/huggingface/transformers.git ``` :::