From: Mariusz Woloszyn Date: Wed, 21 Jan 2026 23:55:55 +0000 (+0100) Subject: convert : add Devstral-2 (Ministral3ForCausalLM) arch (#18972) X-Git-Tag: upstream/0.0.8067~268 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=77078e80e5a9c00fc06539f27c0ae23259511ff4;p=pkg%2Fggml%2Fsources%2Fllama.cpp convert : add Devstral-2 (Ministral3ForCausalLM) arch (#18972) * Add Ministral3ForCausalLM architeture This adds support for newer architectres like Devstral-2 * removed blank line found after function decorator Co-authored-by: Sigbjørn Skjæret --------- Co-authored-by: Sigbjørn Skjæret --- diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index ab015dd2c..3fdfc5bf5 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -2979,7 +2979,10 @@ class Llama4VisionModel(MmprojModel): return [] -@ModelBase.register("Mistral3ForConditionalGeneration") +@ModelBase.register( + "Mistral3ForConditionalGeneration", + "Ministral3ForCausalLM", +) class Mistral3Model(LlamaModel): model_arch = gguf.MODEL_ARCH.MISTRAL3