mirror of
https://github.com/mudler/LocalAI.git
synced 2025-12-30 22:20:20 -06:00
chore(vllm/ci): set maximum number of jobs
Also added comments to clarify CPU usage during build. Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
382474e4a1
commit
daf39e1efd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user