Skip to content

[Misc] change example code default serve port#1588

Open
lengrongfu wants to merge 1 commit intovllm-project:mainfrom
lengrongfu:feat/fix-default-port
Open

[Misc] change example code default serve port#1588
lengrongfu wants to merge 1 commit intovllm-project:mainfrom
lengrongfu:feat/fix-default-port

Conversation

@lengrongfu
Copy link
Contributor

PLEASE FILL IN THE PR DESCRIPTION HERE ENSURING ALL CHECKLIST ITEMS (AT THE BOTTOM) HAVE BEEN CONSIDERED.

Purpose

Currently, the Omni service is started using vllm serve Qwen/Qwen3-Omni-30B-A3B-Instruct --omni, which uses port 8000 by default. However, some examples use port 8091 as the default.

Therefore, it would be helpful to change the default port from 8091 to 8000 in the examples.

Test Plan

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan. Please provide the test scripts & test commands. Please state the reasons if your codes don't require additional test scripts. For test file guidelines, please check the test style doc
  • The test results. Please paste the results comparison before and after, or the e2e results.
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model. Please run mkdocs serve to sync the documentation editions to ./docs.
  • (Optional) Release notes update. If your change is user-facing, please update the release notes draft.

BEFORE SUBMITTING, PLEASE READ https://github.com/vllm-project/vllm-omni/blob/main/CONTRIBUTING.md (anything written below this line will be removed by GitHub Actions)

Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 64d5f5ac2d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

"--port",
type=int,
default=8091,
default=8000,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep qwen2.5 client default port in sync with test setup

This default switch to 8000 breaks the current qwen2.5 example workflow that still brings up the Omni server on 8091 and invokes this client without passing --port (see tests/examples/online_serving/test_qwen2_5_omni.py, where test_params uses port 8091 and commands only set --query-type). In that path the client now targets localhost:8000, causing connection failures and invalidating the example tests/documented default behavior.

Useful? React with 👍 / 👎.

"--port",
type=int,
default=8091,
default=8000,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep qwen3 client default port aligned with existing workflows

Changing this default to 8000 also breaks qwen3 flows that assume 8091: the Omni test fixture starts the server on 8091 and calls this script without a --port override (tests/examples/online_serving/test_qwen3_omni.py, test_params plus command construction). Those runs now hit localhost:8000 instead of the running server, so the example CI path fails unless every caller is updated in the same change.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant