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 and joerunde committed May 16, 2024
1 parent 4836564 commit 631e521
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 631e521

Please sign in to comment.