Skip to content

Commit 56f3ebf

Browse files
authored
model : add correct type for GLM 4.7 Flash (ggml-org#19106)
1 parent 0c21677 commit 56f3ebf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/llama-model.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,6 +1737,7 @@ void llama_model::load_hparams(llama_model_loader & ml) {
17371737

17381738
switch (hparams.n_layer) {
17391739
case 27: type = LLM_TYPE_16B; break;
1740+
case 47: type = LLM_TYPE_30B_A3B; break;
17401741
case 60: type = LLM_TYPE_236B; break;
17411742
case 61: type = LLM_TYPE_671B; break;
17421743
default: type = LLM_TYPE_UNKNOWN;

0 commit comments

Comments
 (0)