mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-29 04:37:03 +08:00
[Bugfix] Fix ipv6 address parsing bug (#3641)
This commit is contained in:
parent
8af890a865
commit
a979d9771e
@ -205,7 +205,7 @@ def get_ip() -> str:
|
|||||||
|
|
||||||
|
|
||||||
def get_distributed_init_method(ip: str, port: int) -> str:
|
def get_distributed_init_method(ip: str, port: int) -> str:
|
||||||
return f"tcp://{ip}:{port}"
|
return f"tcp://[{ip}]:{port}"
|
||||||
|
|
||||||
|
|
||||||
def get_open_port() -> int:
|
def get_open_port() -> int:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user