]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
convert : update Ernie 4.5 dense architecture name (#15555)
authorWeizhao Ouyang <redacted>
Mon, 25 Aug 2025 09:15:06 +0000 (17:15 +0800)
committerGitHub <redacted>
Mon, 25 Aug 2025 09:15:06 +0000 (11:15 +0200)
Signed-off-by: Weizhao Ouyang <redacted>
convert_hf_to_gguf.py

index 12ecd64515904b3159dd03e000fd8938e5ea5b81..9fa35e8b1157321c1043ac10f925b290b5d33379 100755 (executable)
@@ -3159,7 +3159,7 @@ class LLaDAModel(TextModel):
         yield from super().modify_tensors(data_torch, name, bid)
 
 
-@ModelBase.register("Ernie4_5_ForCausalLM")
+@ModelBase.register("Ernie4_5_ForCausalLM", "Ernie4_5ForCausalLM")
 class Ernie4_5Model(TextModel):
     model_arch = gguf.MODEL_ARCH.ERNIE4_5