Skip to content

Fix various config related issues for Transformers v5#37681

Merged
DarkLight1337 merged 7 commits intovllm-project:mainfrom
hmellor:v5-fixes
Mar 20, 2026
Merged

Fix various config related issues for Transformers v5#37681
DarkLight1337 merged 7 commits intovllm-project:mainfrom
hmellor:v5-fixes

Conversation

@hmellor
Copy link
Copy Markdown
Member

@hmellor hmellor commented Mar 20, 2026

  • Fix ColPaliConfig - projection_dim is a field of PaliGemmaConfig and cannot be None
  • Fix Qwen3ASRConfig - thinker_config needs to be set before super().__init__ is called
  • Fix kimi_k2 function calling test - setting kv_lora_rank=None caused attribute errors for the Qwen3Config
  • Fix mistral config parsing - params.json can explicitly set max_source_positions: null but None is not a valid value for this field in WhisperConfig
  • Fix SpeculatorsConfig - PretrainedConfig.__init__ is not expected to be passed all the config fields. It is safest to set any that it is not expecting beforehand
  • Fix non-default arguments being passed after default arguments for DeepSeekVL2 and Parakeet

hmellor added 6 commits March 20, 2026 13:28
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Copy link
Copy Markdown
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 introduces a series of fixes to address configuration-related issues, primarily for compatibility with Transformers v5. The changes span multiple configuration classes, including ColPaliConfig, Qwen3ASRConfig, DeepseekVLV2Config, ParakeetConfig, and SpeculatorsConfig, to correct initialization logic, argument ordering, and handling of optional parameters. The modifications appear to correctly resolve the described issues, and I have no further comments.

@hmellor hmellor added the ready ONLY add when PR is ready to merge/full CI is needed label Mar 20, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) March 20, 2026 16:13
@DarkLight1337 DarkLight1337 merged commit 6ade4bc into vllm-project:main Mar 20, 2026
48 of 49 checks passed
@hmellor hmellor deleted the v5-fixes branch March 20, 2026 16:31
chooper26 pushed a commit to intellistream/vllm-hust that referenced this pull request Mar 21, 2026
…7681)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
SouthWest7 pushed a commit to SouthWest7/vllm that referenced this pull request Mar 27, 2026
…7681)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
khairulkabir1661 pushed a commit to khairulkabir1661/vllm that referenced this pull request Mar 27, 2026
…7681)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
nithinvc pushed a commit to nithinvc/vllm that referenced this pull request Mar 27, 2026
…7681)

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

Signed-off-by: Nithin Chalapathi <nithin.ch10@gmail.com>
JiantaoXu pushed a commit to JiantaoXu/vllm that referenced this pull request Mar 28, 2026
…7681)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
mtparet pushed a commit to blackfuel-ai/vllm that referenced this pull request Apr 9, 2026
…7681)

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

deepseek Related to DeepSeek models 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.

2 participants