diff --git a/tests/models/registry.py b/tests/models/registry.py index 2c2d094e048f..b1952ce9c29d 100644 --- a/tests/models/registry.py +++ b/tests/models/registry.py @@ -278,6 +278,8 @@ _TEXT_GENERATION_EXAMPLE_MODELS = { transformers_version_reason="vLLM impl inherits PreTrainedModel and clashes with get_input_embeddings", # noqa: E501 trust_remote_code=True), "QWenLMHeadModel": _HfExamplesInfo("Qwen/Qwen-7B-Chat", + max_transformers_version="4.53", + transformers_version_reason="HF model uses remote code that is not compatible with latest Transformers", # noqa: E501 trust_remote_code=True), "Qwen2ForCausalLM": _HfExamplesInfo("Qwen/Qwen2-0.5B-Instruct", extras={"2.5": "Qwen/Qwen2.5-0.5B-Instruct"}), # noqa: E501