diff --git a/tests/models/registry.py b/tests/models/registry.py index 4743082cf04..8ab8d79ac78 100644 --- a/tests/models/registry.py +++ b/tests/models/registry.py @@ -1334,7 +1334,16 @@ _MULTIMODAL_EXAMPLE_MODELS = { ), "RForConditionalGeneration": _HfExamplesInfo("YannQi/R-4B", trust_remote_code=True), "SkyworkR1VChatModel": _HfExamplesInfo( - "Skywork/Skywork-R1V-38B", trust_remote_code=True + "Skywork/Skywork-R1V-38B", + trust_remote_code=True, + max_transformers_version="4.57", + transformers_version_reason={ + "hf": ( + "SkyworkChatModel.__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." + ) + }, ), "SmolVLMForConditionalGeneration": _HfExamplesInfo( "HuggingFaceTB/SmolVLM2-2.2B-Instruct"