From 987e4141e521f88c30ad2c0bb2fb8a5e798d93f2 Mon Sep 17 00:00:00 2001 From: Csaba Kecskemeti Date: Wed, 26 Mar 2025 09:42:41 -0700 Subject: [PATCH] Support Qwen2_5_VLForConditionalGeneration --- convert_hf_to_gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index 52637c42f723a..a06010a790a6e 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -2269,7 +2269,7 @@ def set_gguf_parameters(self): self.gguf_writer.add_rope_scaling_orig_ctx_len(self.hparams["rope_scaling"]["original_max_position_embeddings"]) -@Model.register("Qwen2VLForConditionalGeneration") +@Model.register("Qwen2VLForConditionalGeneration", "Qwen2_5_VLForConditionalGeneration") class Qwen2VLModel(Model): model_arch = gguf.MODEL_ARCH.QWEN2VL