Skip to content

Commit

Permalink
[doc] update usage of env var to avoid conflict (vllm-project#5873)
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao authored and jimpang committed Jul 24, 2024
1 parent 77b4db9 commit 5c0e162
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/serving/env_vars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Environment Variables

vLLM uses the following environment variables to configure the system:

.. warning::
Please note that ``VLLM_PORT`` and ``VLLM_HOST_IP`` set the port and ip for vLLM's **internal usage**. It is not the port and ip for the API server. If you use ``--host $VLLM_HOST_IP`` and ``--port $VLLM_PORT`` to start the API server, it will not work.

.. literalinclude:: ../../../vllm/envs.py
:language: python
:start-after: begin-env-vars-definition
Expand Down

0 comments on commit 5c0e162

Please sign in to comment.