Skip to content

Conversation

@russellb
Copy link
Member

@russellb russellb commented Oct 20, 2025

@mergify
Copy link

mergify bot commented Oct 20, 2025

Documentation preview: https://vllm--27204.org.readthedocs.build/en/27204/

@mergify mergify bot added documentation Improvements or additions to documentation frontend multi-modality Related to multi-modality (#4194) qwen Related to Qwen models labels Oct 20, 2025
@russellb
Copy link
Member Author

Already approved by @Isotr0py and @ywang96

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses security vulnerabilities GHSA-mrw7-hf4f-83pf and GHSA-pmqf-x6x8-p7qw by introducing --enable-prompt-embeds and --enable-mm-embeds flags. These flags gate the functionality of loading user-provided text and multimodal embeddings, which can be a security risk. The changes are well-implemented across the configuration, core logic, and entrypoints, with checks to ensure the flags are respected. The documentation has been updated with clear warnings, and new tests have been added to verify the behavior. The implementation appears correct and robust. I have not found any issues in this pull request.

@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 20, 2025
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) October 20, 2025 15:22
@simon-mo simon-mo added this to the v0.11.1 milestone Oct 20, 2025
@mergify mergify bot added the v1 label Oct 21, 2025
Signed-off-by: DarkLight1337 <[email protected]>
@DarkLight1337
Copy link
Member

cc @christian-pinto --enable-mm-embeds flag will be required for using terratorch models going forward.

@DarkLight1337 DarkLight1337 requested a review from noooop as a code owner October 21, 2025 02:43
@DarkLight1337 DarkLight1337 merged commit 58fab50 into main Oct 22, 2025
57 checks passed
@DarkLight1337 DarkLight1337 deleted the vllm-ghsa-pmqf-x6x8-p7qw branch October 22, 2025 15:52
`prompt_embeds` key.
WARNING: The vLLM engine may crash if incorrect shape of embeddings is passed.
Only enable this flag for trusted users!"""
Copy link
Contributor

Choose a reason for hiding this comment

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

Should a shape check be added to the renderer?

Copy link
Member

@DarkLight1337 DarkLight1337 Oct 23, 2025

Choose a reason for hiding this comment

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

The shape depends on the embedding size of each model so it requires a lot more effort to perform shape validation outside of the model class.

usberkeley pushed a commit to usberkeley/vllm that referenced this pull request Oct 23, 2025
albertoperdomo2 pushed a commit to albertoperdomo2/vllm that referenced this pull request Oct 23, 2025
…ct#27204)

Signed-off-by: DarkLight1337 <[email protected]>
Co-authored-by: DarkLight1337 <[email protected]>
Signed-off-by: Alberto Perdomo <[email protected]>
kingsmad pushed a commit to kingsmad/vllm that referenced this pull request Oct 25, 2025
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation frontend multi-modality Related to multi-modality (#4194) qwen Related to Qwen models ready ONLY add when PR is ready to merge/full CI is needed v1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants