Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

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 robertgshaw2-neuralmagic committed Jul 1, 2024
1 parent 698f968 commit 182cdaa
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 182cdaa

Please sign in to comment.