Skip to content

Commit

Permalink
[doc] update usage of env var to avoid conflict (#5873)
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao committed Jun 26, 2024
1 parent 38a1674 commit 294104c
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 294104c

Please sign in to comment.