Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] Bind api server port before starting engine #8491

Merged
merged 7 commits into from
Sep 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Bind remote server to port 0"
This reverts commit 3bda16e.
  • Loading branch information
kevin314 committed Sep 16, 2024
commit 42b9a1e8066c685d4f4da0c4fe5f5ec48e769c0e
4 changes: 3 additions & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def __init__(self,
"when `auto_port=True`.")

# Don't mutate the input args
vllm_serve_args = vllm_serve_args + ["--port", str(0)]
vllm_serve_args = vllm_serve_args + [
"--port", str(get_open_port())
]

parser = FlexibleArgumentParser(
description="vLLM's remote OpenAI server.")
Expand Down