Skip to content

Remove head_mask from Ultravox and Swin - #30764

Merged
vllm-bot merged 2 commits into
vllm-project:mainfrom
hmellor:remove-head-masking
Dec 16, 2025
Merged

vllm-bot merged 2 commits into
vllm-project:mainfrom
hmellor:remove-head-masking

Conversation

@hmellor

@hmellor hmellor commented Dec 16, 2025

Copy link
Copy Markdown
Member

Head masking is:

This PR removes the head_mask related kwargs from Ultravox and Swin for forward compatibility with Transformers v5.

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.

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

Copy link
Copy Markdown
Contributor

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 removes the unused head_mask parameter from the Swin and Ultravox models to ensure forward compatibility with Transformers v5. The changes are straightforward and correctly implemented, removing dead code and simplifying method signatures. The modifications are consistent across all affected files and look good to me.

@DarkLight1337
DarkLight1337 enabled auto-merge (squash) December 16, 2025 09:40
@github-actions github-actions Bot added the ready ONLY add when PR is ready to merge/full CI is needed label Dec 16, 2025
@DarkLight1337

Copy link
Copy Markdown
Member

PTAL at the failing test

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@vllm-bot
vllm-bot merged commit 0b0acc7 into vllm-project:main Dec 16, 2025
50 of 52 checks passed
@hmellor
hmellor deleted the remove-head-masking branch December 17, 2025 10:37
Majid-Taheri pushed a commit to Majid-Taheri/vllm that referenced this pull request Dec 23, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Ubuntu <mjtaheri68@gmail.com>
mystous pushed a commit to mystous/vllm_hybrid that referenced this pull request May 10, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
my-other-github-account pushed a commit to my-other-github-account/vllm that referenced this pull request May 15, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
0826joyce pushed a commit to 0826joyce/vllm-serving-optimization that referenced this pull request May 19, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
plasticchris pushed a commit to plasticchris/vllm that referenced this pull request Jul 20, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants