Skip to content

[vLLM] Fix backward compatibility with hardcoded subprocessors classes in processors#44447

Merged
yonigozlan merged 3 commits intohuggingface:mainfrom
yonigozlan:improve-bc-remote-code-processor-from-pretrained
Mar 5, 2026
Merged

[vLLM] Fix backward compatibility with hardcoded subprocessors classes in processors#44447
yonigozlan merged 3 commits intohuggingface:mainfrom
yonigozlan:improve-bc-remote-code-processor-from-pretrained

Conversation

@yonigozlan
Copy link
Copy Markdown
Member

What does this PR do?

Fixes MiniCPM-o-2_6 related tests failures in vLLM, and improve backward compatibility with remote code in general.

Cc @hmellor @zucchini-nlp

Copy link
Copy Markdown
Member

@zucchini-nlp zucchini-nlp left a comment

Choose a reason for hiding this comment

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

Thanks. Only one q: should we raise a warning or anything, that a cls attr is deprecated and to be removed in the future?

Copy link
Copy Markdown
Member

@hmellor hmellor left a comment

Choose a reason for hiding this comment

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

I've confirmed that this fixes the issue on the vLLM side. I agree a warning would be good.

@yonigozlan
Copy link
Copy Markdown
Member Author

Added the warning, thanks!

@yonigozlan yonigozlan enabled auto-merge (squash) March 5, 2026 15:50
@yonigozlan yonigozlan merged commit d8526c5 into huggingface:main Mar 5, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants