From: Sigbjørn Skjæret Date: Thu, 5 Mar 2026 09:30:02 +0000 (+0100) Subject: convert : register Qwen 3.5 ForCausalLM for text only (#20119) X-Git-Tag: upstream/0.0.8611~404 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=cf232515c9b1e08dbf65cd7f756124cfd14cd2b2;p=pkg%2Fggml%2Fsources%2Fllama.cpp convert : register Qwen 3.5 ForCausalLM for text only (#20119) --- diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index a6d259a64..083b5bca9 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -4842,12 +4842,12 @@ class _LinearAttentionVReorderBase(Qwen3NextModel): yield from super().modify_tensors(data_torch, name, bid) -@ModelBase.register("Qwen3_5ForConditionalGeneration") +@ModelBase.register("Qwen3_5ForConditionalGeneration", "Qwen3_5ForCausalLM") class Qwen3_5TextModel(_LinearAttentionVReorderBase): model_arch = gguf.MODEL_ARCH.QWEN35 -@ModelBase.register("Qwen3_5MoeForConditionalGeneration") +@ModelBase.register("Qwen3_5MoeForConditionalGeneration", "Qwen3_5MoeForCausalLM") class Qwen3_5MoeTextModel(_LinearAttentionVReorderBase): model_arch = gguf.MODEL_ARCH.QWEN35MOE