Skip to content

[Misc] Remove Entrypoint Hijack for vLLM / 0.20.0 Changes#3082

Merged
Gaohan123 merged 12 commits into
vllm-project:mainfrom
alex-jw-brooks:remove_hijack
Apr 30, 2026
Merged

[Misc] Remove Entrypoint Hijack for vLLM / 0.20.0 Changes#3082
Gaohan123 merged 12 commits into
vllm-project:mainfrom
alex-jw-brooks:remove_hijack

Conversation

@alex-jw-brooks
Copy link
Copy Markdown
Contributor

@alex-jw-brooks alex-jw-brooks commented Apr 23, 2026

Purpose

Removes entrypoint hijacking for vLLM to prevent installation issues between vLLM / vLLM Omni, e.g., vLLM Omni uninstalling also uninstalling the entrypoint for vLLM, vLLM Omni needing to be installed after vLLM for interception to work correctly, etc.

Should not be merged before vllm-project/vllm#40744, otherwise it'll breakvllm <command> --omni (though vllm-omni will still work)

This should also fix issues like #2850
CC @redwhitecat @hsliuustc0106 @lishunyang12

Signed-off-by: Alex Brooks <albrooks@redhat.com>
@alex-jw-brooks alex-jw-brooks changed the title remove entrypoint hijack for vllm [Misc] Remove Entrypoint Hijack for vLLM Apr 23, 2026
@lishunyang12
Copy link
Copy Markdown
Collaborator

Please turn this into ready as upstream pr has been merged.

@alex-jw-brooks alex-jw-brooks marked this pull request as ready for review April 24, 2026 20:23
@alex-jw-brooks
Copy link
Copy Markdown
Contributor Author

alex-jw-brooks commented Apr 24, 2026

Thanks @lishunyang12! Moved it out of draft, but I think we should wait to merge this until after the Omni 0.19 release, since the upstream change won't be in vLLM until 0.20, otherwise it'll break the entrypoint for 0.19. Changed the title to be safe

Actually since we are going straight to 0.20, should hopefully be fine as the pr on the vLLM side is included in vLLM 0.20 🤞

@alex-jw-brooks alex-jw-brooks changed the title [Misc] Remove Entrypoint Hijack for vLLM [DO NOT MERGE UNTIL AFTER 0.19] - [Misc] Remove Entrypoint Hijack for vLLM Apr 24, 2026
@alex-jw-brooks alex-jw-brooks changed the title [DO NOT MERGE UNTIL AFTER 0.19] - [Misc] Remove Entrypoint Hijack for vLLM [DO NOT MERGE UNTIL AFTER 0.19 RELEASE] - [Misc] Remove Entrypoint Hijack for vLLM Apr 24, 2026
Copy link
Copy Markdown

@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: 3d9f1d1727

ℹ️ 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".

Comment thread pyproject.toml
Comment on lines 91 to 92
[project.scripts]
vllm = "vllm_omni.entrypoints.cli.main:main"
vllm-omni = "vllm_omni.entrypoints.cli.main:main"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add vLLM minimum version when dropping CLI override

Removing the vllm console-script entrypoint makes vllm ... --omni depend entirely on whatever vllm executable is already installed, but this package still does not declare a vllm dependency/version floor in its install metadata. In environments that have an older vLLM (or no vLLM upgrade), users will now hit missing/unknown --omni behavior after upgrading vllm-omni, which is a regression from the previous interception model; please enforce a minimum compatible vLLM version (or fail fast with a clear runtime check).

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not a really new problem, but I think we can pin vLLM in requirements now if we want 🙂 maybe would be nice to do that and update the instructions so that it can just be installed directly

@alex-jw-brooks alex-jw-brooks changed the title [DO NOT MERGE UNTIL AFTER 0.19 RELEASE] - [Misc] Remove Entrypoint Hijack for vLLM [Misc] Remove Entrypoint Hijack for vLLM Apr 28, 2026
@lishunyang12 lishunyang12 added the ready label to trigger buildkite CI label Apr 28, 2026
lishunyang12 and others added 3 commits April 29, 2026 02:59
Signed-off-by: Alex Brooks <albrooks@redhat.com>
Signed-off-by: Alex Brooks <albrooks@redhat.com>
If you do not need to modify source code of vLLM, you can directly install the stable 0.20.0 release version of the library

```bash
uv pip install vllm==0.19.0+rocm700 --extra-index-url https://wheels.vllm.ai/rocm/0.19.0/rocm700
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Looks like the rocm links are actually wrong, should be https://wheels.vllm.ai/rocm/0.19.0/rocm721 (since 0.18 was the last one 700 was prebuilt), so changed it here

Signed-off-by: Alex Brooks <albrooks@redhat.com>
@alex-jw-brooks alex-jw-brooks changed the title [Misc] Remove Entrypoint Hijack for vLLM [Misc] Remove Entrypoint Hijack for vLLM / 0.20.0 Doc Changes Apr 28, 2026
Signed-off-by: Alex Brooks <albrooks@redhat.com>
ServingPooling(
engine_client,
state.openai_serving_models,
state.openai_serving_render,
Copy link
Copy Markdown
Contributor Author

@alex-jw-brooks alex-jw-brooks Apr 28, 2026

Choose a reason for hiding this comment

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

I think this is unused and that it is being silently absorbed by *args in the superclass constructors, so removing it for clarity

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Signed-off-by: Alex Brooks <albrooks@redhat.com>
Signed-off-by: Alex Brooks <albrooks@redhat.com>
@alex-jw-brooks alex-jw-brooks changed the title [Misc] Remove Entrypoint Hijack for vLLM / 0.20.0 Doc Changes [Misc] Remove Entrypoint Hijack for vLLM / 0.20.0 Changes Apr 28, 2026
@hsliuustc0106 hsliuustc0106 removed the ready label to trigger buildkite CI label Apr 29, 2026
@yenuo26 yenuo26 linked an issue Apr 29, 2026 that may be closed by this pull request
1 task
@alex-jw-brooks alex-jw-brooks force-pushed the remove_hijack branch 2 times, most recently from 26d3b57 to 913ef90 Compare April 29, 2026 22:14
Signed-off-by: Alex Brooks <albrooks@redhat.com>
Signed-off-by: Alex Brooks <albrooks@redhat.com>
Signed-off-by: Alex Brooks <albrooks@redhat.com>
@Gaohan123 Gaohan123 added this to the v0.20.0 milestone Apr 30, 2026
Copy link
Copy Markdown
Collaborator

@Gaohan123 Gaohan123 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks

@Gaohan123 Gaohan123 added the ready label to trigger buildkite CI label Apr 30, 2026
@Gaohan123 Gaohan123 enabled auto-merge (squash) April 30, 2026 11:36
@Gaohan123 Gaohan123 merged commit bede8e0 into vllm-project:main Apr 30, 2026
7 of 8 checks passed
lengrongfu pushed a commit to lengrongfu/vllm-omni that referenced this pull request May 1, 2026
…ct#3082)

Signed-off-by: Alex Brooks <albrooks@redhat.com>
Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com>
BeatSeat pushed a commit to BeatSeat/vllm-omni that referenced this pull request May 2, 2026
…ct#3082)

Signed-off-by: Alex Brooks <albrooks@redhat.com>
Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com>
sphinxkkkbc pushed a commit to sphinxkkkbc/vllm-omni that referenced this pull request May 4, 2026
…ct#3082)

Signed-off-by: Alex Brooks <albrooks@redhat.com>
Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com>
Signed-off-by: sphinxkkkbc <binchengkang8@gmail.com>
clodaghwalsh17 pushed a commit to clodaghwalsh17/nm-vllm-omni-ent that referenced this pull request May 12, 2026
…ct#3082)

Signed-off-by: Alex Brooks <albrooks@redhat.com>
Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready label to trigger buildkite CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: vllm-omni CLI interception causes benchmark to break without --omni flag

4 participants