A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 17, 00:30 UTC
[Doc][Build] update after removing vllm-nccl (#5103)
Co-authored-by: Roger Wang <136131678+ywang96@users.noreply.github.com>
youkaichao committed
May 29, 2024 at 16:51 UTC
4fbcb0f27e78df75de47c0248ce6901cd081c8ff
2 files changed
+1
-7
Dockerfile
-6
@@ -79,12 +79,6 @@ RUN --mount=type=cache,target=/root/.cache/ccache \
79
COPY .buildkite/check-wheel-size.py check-wheel-size.py
80
RUN python3 check-wheel-size.py dist
81
82
-# the `vllm_nccl` package must be installed from source distribution
83
-# pip is too smart to store a wheel in the cache, and other CI jobs
84
-# will directly use the wheel from the cache, which is not what we want.
85
-# we need to remove it manually
86
-RUN --mount=type=cache,target=/root/.cache/pip \
87
- pip cache remove vllm_nccl*
82
#################### EXTENSION Build IMAGE ####################
83
84
#################### vLLM installation IMAGE ####################
docs/source/serving/deploying_with_docker.rst
+1
-1
@@ -51,4 +51,4 @@ To run vLLM:
51
52
.. note::
53
54
- 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` .
54
+ **For `v0.4.1` and `v0.4.2` only** - the vLLM docker images under these versions are supposed to be run under the root user since a library under the root user's home directory, i.e. ``/root/.config/vllm/nccl/cu12/libnccl.so.2.18.1`` is required to be loaded during runtime. If you are running the container under a different user, you may need to first 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`` .