From daf39e1efd55222f64b99e56e24400726cc4b565 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 20 Nov 2025 15:53:32 +0100 Subject: [PATCH] chore(vllm/ci): set maximum number of jobs Also added comments to clarify CPU usage during build. Signed-off-by: Ettore Di Giacinto --- backend/python/vllm/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/python/vllm/install.sh b/backend/python/vllm/install.sh index 88ea4c7cb..947a5dc27 100755 --- a/backend/python/vllm/install.sh +++ b/backend/python/vllm/install.sh @@ -3,6 +3,12 @@ set -e EXTRA_PIP_INSTALL_FLAGS="--no-build-isolation" +# Avoid to overcommit the CPU during build +# https://github.com/vllm-project/vllm/issues/20079 +# https://docs.vllm.ai/en/v0.8.3/serving/env_vars.html +# https://docs.redhat.com/it/documentation/red_hat_ai_inference_server/3.0/html/vllm_server_arguments/environment_variables-server-arguments +export NUM_JOBS=2 + backend_dir=$(dirname $0) if [ -d $backend_dir/common ]; then