Conversation
yma11
marked this pull request as draft
July 20, 2026 08:04
yma11
marked this pull request as ready for review
July 20, 2026 08:36
Contributor
Author
|
@hmellor Please help take a look. Thanks. |
hmellor
reviewed
Jul 20, 2026
Comment on lines
+551
to
+560
| @@ -555,6 +557,7 @@ def get_hf_processor(self, **kwargs: object): | |||
| version=self.get_model_version(), | |||
| ) | |||
| hf_processor = vendored_processor | |||
| """ | |||
Member
There was a problem hiding this comment.
Why is this here?
Suggested change
Contributor
Author
There was a problem hiding this comment.
intermediate diff applied by mistaken. Updated and addressed your comments. Thanks.
hmellor
reviewed
Jul 20, 2026
Comment on lines
+91
to
+97
| try: | ||
| module = importlib.import_module(module_name) | ||
| except ModuleNotFoundError as e: | ||
| # Let getattr(processors, name, None) gracefully fall back. | ||
| raise AttributeError( | ||
| f"module 'processors' has no attribute '{name}'" | ||
| ) from e |
Member
There was a problem hiding this comment.
Why? This should be unreachable because of the if name in _CLASS_TO_MODULE check
hmellor
reviewed
Jul 20, 2026
| # placeholder text is tokenized differently inside chat templates. | ||
| # Keep dummy startup prompts aligned with the real online prompt shape | ||
| # so encoder-budget initialization exercises the same path. | ||
| if self.info.get_model_version() in {(4, 0), (4, 5), (4, 6)}: |
Contributor
Author
|
@hmellor can you review again? Thanks. |
Contributor
|
This pull request has merge conflicts that must be resolved before it can be |
hmellor
reviewed
Jul 29, 2026
| @@ -66,8 +64,6 @@ | |||
| "KimiAudioProcessor": "vllm.transformers_utils.processors.kimi_audio", | |||
| "KimiK25Processor": "vllm.transformers_utils.processors.kimi_k25", | |||
| "MiMoOmniProcessor": "vllm.transformers_utils.processors.mimo_v2_omni", | |||
| "MiniCPMOProcessor": "vllm.transformers_utils.processors.minicpmo", | |||
Member
There was a problem hiding this comment.
Shouldn't you delete the processor for minicpmo too?
hmellor
reviewed
Jul 29, 2026
hmellor
left a comment
Member
There was a problem hiding this comment.
We could also delete the comment:
# MiniCPM-V 4.6 keeps the native transformers MiniCPMV4_6Processor:
# this model has its own image/video handling and prompt-update logic
# below, so it does not need (and is incompatible with) the vendored
# MiniCPMVProcessor used by 2.x/4.0/4.5, whose __init__ assumes a
# legacy `image_processor.version` attribute that 4.6 no longer has.from MiniCPMV4_6ProcessingInfo.
Signed-off-by: Yan Ma <yan.ma@intel.com>
Signed-off-by: Yan Ma <yan.ma@intel.com>
Contributor
Author
|
Close as PR #48413 fixed this issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
minicpm-vgets prompt placeholder parse error in latest main:This PR also remove vendor minicpm processor as shifted to transformers 5.13.1
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.