Skip to content

Commit 3be2439

Browse files
youkaichaoprashantgupta24
authored andcommitted
[doc] update usage of env var to avoid conflict (vllm-project#5873)
1 parent 1a8d481 commit 3be2439

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/source/serving/env_vars.rst

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ Environment Variables
33

44
vLLM uses the following environment variables to configure the system:
55

6+
.. warning::
7+
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.
8+
69
.. literalinclude:: ../../../vllm/envs.py
710
:language: python
811
:start-after: begin-env-vars-definition

0 commit comments

Comments
 (0)