[CI/Build] respect the common environment variable MAX_JOBS (#3600)

This commit is contained in:
youkaichao
2024-03-24 17:04:00 -07:00
committed by GitHub
parent 8b268a46a7
commit 42bc386129
2 changed files with 22 additions and 6 deletions

View File

@@ -60,6 +60,15 @@ You can also build and install vLLM from source:
$ cd vllm
$ pip install -e . # This may take 5-10 minutes.
.. tip::
To avoid your system being overloaded, you can limit the number of compilation jobs
to be run simultaneously, via the environment variable `MAX_JOBS`. For example:
.. code-block:: console
$ export MAX_JOBS=6
$ pip install -e .
.. tip::
If you have trouble building vLLM, we recommend using the NVIDIA PyTorch Docker image.