Skip to content

Remove head_mask from Ultravox and Swin#30764

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

Remove head_mask from Ultravox and Swin#30764
vllm-bot merged 2 commits intovllm-project:mainfrom
hmellor:remove-head-masking

Conversation

@hmellor
Copy link
Member

@hmellor hmellor commented Dec 16, 2025

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

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

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 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
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>
dsuhinin pushed a commit to dsuhinin/vllm that referenced this pull request Jan 21, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
ItzDEXX pushed a commit to ItzDEXX/vllm that referenced this pull request Feb 19, 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