From 1871f0ba56e57826c1c630c5f57274624d68788e Mon Sep 17 00:00:00 2001 From: tt <291400568@qq.com> Date: Tue, 6 Jan 2026 01:15:14 +0800 Subject: [PATCH] add YoutuVLForConditionalGeneration architectures (#18620) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Support Youtu-VL Model --------- Co-authored-by: Xuan-Son Nguyen Co-authored-by: Sigbjørn Skjæret --- convert_hf_to_gguf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index 68446aa44f..d944032c69 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -7212,6 +7212,7 @@ class DeepseekModel(TextModel): "DeepseekV3ForCausalLM", "KimiVLForConditionalGeneration", "YoutuForCausalLM", + "YoutuVLForConditionalGeneration" ) class DeepseekV2Model(TextModel): model_arch = gguf.MODEL_ARCH.DEEPSEEK2 @@ -10674,8 +10675,8 @@ class JanusProVisionModel(MmprojModel): return [] -@ModelBase.register("YOUTUVLForConditionalGeneration", "YOUTUVLForCausalLM") -class YOUTUVLVisionModel(MmprojModel): +@ModelBase.register("YoutuVLForConditionalGeneration") +class YoutuVLVisionModel(MmprojModel): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) assert self.hparams_vision is not None