Skip to content

Commit

Permalink
[Bugfix] Fix ipv6 address parsing bug (#3641)
Browse files Browse the repository at this point in the history
  • Loading branch information
liiliiliil authored Mar 26, 2024
1 parent 8af890a commit a979d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def get_ip() -> 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:
Expand Down

0 comments on commit a979d97

Please sign in to comment.