Skip to content

Commit daf39e1

Browse files
authored
chore(vllm/ci): set maximum number of jobs
Also added comments to clarify CPU usage during build. Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 382474e commit daf39e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backend/python/vllm/install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ set -e
33

44
EXTRA_PIP_INSTALL_FLAGS="--no-build-isolation"
55

6+
# Avoid to overcommit the CPU during build
7+
# https://github.com/vllm-project/vllm/issues/20079
8+
# https://docs.vllm.ai/en/v0.8.3/serving/env_vars.html
9+
# https://docs.redhat.com/it/documentation/red_hat_ai_inference_server/3.0/html/vllm_server_arguments/environment_variables-server-arguments
10+
export NUM_JOBS=2
11+
612
backend_dir=$(dirname $0)
713

814
if [ -d $backend_dir/common ]; then

0 commit comments

Comments
 (0)