Skip to content

Commit

Permalink
Use fork for worker multiprocessing method (#29)
Browse files Browse the repository at this point in the history
It's faster

Signed-off-by: Nick Hill <[email protected]>
  • Loading branch information
njhill authored May 16, 2024
1 parent 6b06bf0 commit 9499dce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ ENV HF_HUB_OFFLINE=1 \
PORT=8000 \
GRPC_PORT=8033 \
HOME=/home/vllm \
VLLM_USAGE_SOURCE=production-docker-image
VLLM_USAGE_SOURCE=production-docker-image \
VLLM_WORKER_MULTIPROC_METHOD=fork

# setup non-root user for OpenShift
RUN microdnf install -y shadow-utils \
Expand Down

0 comments on commit 9499dce

Please sign in to comment.