From 2768884ac4a026609efceef92edea55839af0c30 Mon Sep 17 00:00:00 2001 From: youkaichao Date: Wed, 24 Apr 2024 14:09:44 -0700 Subject: [PATCH] [Doc] Add note for docker user (#4340) Co-authored-by: Simon Mo --- docs/source/serving/deploying_with_docker.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/serving/deploying_with_docker.rst b/docs/source/serving/deploying_with_docker.rst index 7ec769630300d..cfc462ff33b90 100644 --- a/docs/source/serving/deploying_with_docker.rst +++ b/docs/source/serving/deploying_with_docker.rst @@ -49,3 +49,6 @@ To run vLLM: --env "HUGGING_FACE_HUB_TOKEN=" \ vllm/vllm-openai +.. note:: + + vLLM docker image is currently designed to be run under the root user (contribution welcomed for changing this!). It will try to load library at runtime under the root user's home directory, e.g. `/root/.config/vllm/nccl/cu12/libnccl.so.2.18.1` . If you are running the container under a different user, you may need to change the permissions of the library (and all the parent directories) to allow the user to access it. Then run vLLM with environment variable `VLLM_NCCL_SO_PATH=/root/.config/vllm/nccl/cu12/libnccl.so.2.18.1` .