Skip to content

Commit 6ba8b02

Browse files
tomeras91Alvant
authored andcommitted
[Doc] building vLLM with VLLM_TARGET_DEVICE=empty (vllm-project#7403)
Signed-off-by: Alvant <alvasian@yandex.ru>
1 parent 1d866f6 commit 6ba8b02

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/source/getting_started/installation.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ You can also build and install vLLM from source:
6868
$ cd vllm
6969
$ pip install -e . # This may take 5-10 minutes.
7070
71+
.. note::
72+
73+
vLLM can fully run only on Linux, but you can still build it on other systems (for example, macOS). This build is only for development purposes, allowing for imports and a more convenient dev environment. The binaries will not be compiled and not work on non-Linux systems. You can create such a build with the following commands:
74+
75+
.. code-block:: console
76+
77+
$ export VLLM_TARGET_DEVICE=empty
78+
$ pip install -e .
79+
80+
7181
.. tip::
7282

7383
Building from source requires quite a lot compilation. If you are building from source for multiple times, it is beneficial to cache the compilation results. For example, you can install `ccache <https://github.com/ccache/ccache>`_ via either `conda install ccache` or `apt install ccache` . As long as `which ccache` command can find the `ccache` binary, it will be used automatically by the build system. After the first build, the subsequent builds will be much faster.

0 commit comments

Comments
 (0)