From 9cc347ae424e1c8649b2394fe7fb175e93f59066 Mon Sep 17 00:00:00 2001 From: Harry Mellor <19981378+hmellor@users.noreply.github.com> Date: Tue, 11 Aug 2026 17:30:39 +0100 Subject: [PATCH] Enable `MiniCPMV` for vLLM in CI (#45042) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --- tests/models/registry.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/models/registry.py b/tests/models/registry.py index e20d5a650a..e209d973b9 100644 --- a/tests/models/registry.py +++ b/tests/models/registry.py @@ -1124,6 +1124,14 @@ _MULTIMODAL_EXAMPLE_MODELS = { "4.5": "openbmb/MiniCPM-V-4_5", }, trust_remote_code=True, + max_transformers_version="4.57", + transformers_version_reason={ + "hf": ( + "MiniCPMV.__init__ does not call self.post_init(), so " + "`all_tied_weights_keys` is never set; Transformers v5 requires " + "this attribute in _move_missing_keys_from_meta_to_device." + ) + }, ), "MiniCPMV4_6ForConditionalGeneration": _HfExamplesInfo( "openbmb/MiniCPM-V-4_6",