[data] fix base plugin (#7924)

This commit is contained in:
hoshi-hiyouga 2025-04-30 16:28:05 +08:00 committed by GitHub
parent d8295cd601
commit 41ec928683
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -393,7 +393,6 @@ class BasePlugin(MMPluginMixin):
) -> list[dict[str, str]]: ) -> list[dict[str, str]]:
r"""Pre-process input messages before tokenization for VLMs.""" r"""Pre-process input messages before tokenization for VLMs."""
self._validate_input(processor, images, videos, audios) self._validate_input(processor, images, videos, audios)
self._validate_messages(messages, images, videos, audios)
return messages return messages
def process_token_ids( def process_token_ids(