[Bug Fix] get_distributed_init_method should get the ip from get_ip i… (#20889)

Signed-off-by: Chen Li <lcpingping@gmail.com>
Co-authored-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
Chen LI
2025-07-15 21:23:52 +00:00
committed by GitHub
co-authored by Russell Bryant
parent 19c863068b
commit 10be209493
3 changed files with 36 additions and 4 deletions
+5
View File
@@ -139,6 +139,7 @@ if TYPE_CHECKING:
VLLM_ROCM_QUICK_REDUCE_CAST_BF16_TO_FP16: bool = True
VLLM_ROCM_QUICK_REDUCE_MAX_SIZE_BYTES_MB: Optional[int] = None
VLLM_NIXL_ABORT_REQUEST_TIMEOUT: int = 120
VLLM_LOOPBACK_IP: str = ""
def get_default_cache_root():
@@ -964,6 +965,10 @@ environment_variables: dict[str, Callable[[], Any]] = {
# If set to 1, use the TRTLLM Decode Attention backend in flashinfer.
"VLLM_USE_TRTLLM_DECODE_ATTENTION":
lambda: os.getenv("VLLM_USE_TRTLLM_DECODE_ATTENTION", None),
# Used to force set up loopback IP
"VLLM_LOOPBACK_IP":
lambda: os.getenv("VLLM_LOOPBACK_IP", ""),
}
# --8<-- [end:env-vars-definition]