[misc] do not read HOST_IP (#10644)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
@@ -467,6 +467,13 @@ async def collect_from_async_generator(
|
||||
|
||||
def get_ip() -> str:
|
||||
host_ip = envs.VLLM_HOST_IP
|
||||
if "HOST_IP" in os.environ and "VLLM_HOST_IP" not in os.environ:
|
||||
logger.warning(
|
||||
"The environment variable HOST_IP is deprecated and ignored, as"
|
||||
" it is often used by Docker and other software to"
|
||||
"interact with the container's network stack. Please"
|
||||
"use VLLM_HOST_IP instead to set the IP address for vLLM processes"
|
||||
" to communicate with each other.")
|
||||
if host_ip:
|
||||
return host_ip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user