]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
model : add correct type for GLM 4.7 Flash (#19106)
authorGeorgi Gerganov <redacted>
Mon, 26 Jan 2026 09:24:30 +0000 (11:24 +0200)
committerGitHub <redacted>
Mon, 26 Jan 2026 09:24:30 +0000 (11:24 +0200)
src/llama-model.cpp

index 32f49e79968943ef76f7b7e5c4555da0cdda6a41..cc784e1cb076a56e777e538cbf7c33ced9be7cf5 100644 (file)
@@ -1737,6 +1737,7 @@ void llama_model::load_hparams(llama_model_loader & ml) {
 
                 switch (hparams.n_layer) {
                     case 27: type = LLM_TYPE_16B; break;
+                    case 47: type = LLM_TYPE_30B_A3B; break;
                     case 60: type = LLM_TYPE_236B; break;
                     case 61: type = LLM_TYPE_671B; break;
                     default: type = LLM_TYPE_UNKNOWN;