From: levkropp Date: Tue, 11 Nov 2025 08:38:30 +0000 (-0500) Subject: convert : register UMT5Model architecture for T5 conversion (#17160) X-Git-Tag: upstream/0.0.7446~427 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=2fc392ce358ac56a198a658ea30467b91ea95685;p=pkg%2Fggml%2Fsources%2Fllama.cpp convert : register UMT5Model architecture for T5 conversion (#17160) Register UMT5Model as a supported architecture variant for T5 model conversion. This allows the conversion to work for models downloaded with AutoModel. --- diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index 13448fd6..cc77a3db 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -7354,6 +7354,7 @@ class PLMModel(TextModel): @ModelBase.register("T5ForConditionalGeneration") @ModelBase.register("MT5ForConditionalGeneration") @ModelBase.register("UMT5ForConditionalGeneration") +@ModelBase.register("UMT5Model") class T5Model(TextModel): model_arch = gguf.MODEL_ARCH.T5