A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 15, 07:15 UTC
[Bugfix] Fix port handling in make_zmq_path (#19117)
Michael Goin committed
Jun 4, 2025 at 23:00 UTC
a408820f2fcdd4025f05f8a43dc15604fe534367
1 file changed
+1
-1
vllm/utils.py
+1
-1
@@ -2461,7 +2461,7 @@ def make_zmq_path(scheme: str, host: str, port: Optional[int] = None) -> str:
2461
Returns:
2462
A properly formatted ZMQ path string.
2463
"""
2464
- if not port:
2464
+ if port is None:
2465
return f"{scheme}://{host}"
2466
if is_valid_ipv6_address(host):
2467
return f"{scheme}://[{host}]:{port}"