]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
convert : Support Qwen2_5_VLForConditionalGeneration (#12595)
authorCsaba Kecskemeti <redacted>
Thu, 27 Mar 2025 10:11:23 +0000 (03:11 -0700)
committerGitHub <redacted>
Thu, 27 Mar 2025 10:11:23 +0000 (11:11 +0100)
convert_hf_to_gguf.py

index 52637c42f723ace99f13d76aad6bec2b9dc2f0e0..a06010a790a6efe131c5d21873321f31854e0571 100755 (executable)
@@ -2269,7 +2269,7 @@ class Qwen2Model(Model):
                 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