Skip to content

Commit b677721

Browse files
authored
model : Qwen3-Next-80B-A3B has 48 layers (ggml-org#17898)
* model : Qwen3-Next-80B-A3B has 48 layers * model : Add 80B-A3B type name
1 parent 2d2e103 commit b677721

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/llama-model.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const char * llm_type_name(llm_type type) {
120120
case LLM_TYPE_16B_A1B: return "16B.A1B";
121121
case LLM_TYPE_21B_A3B: return "21B.A3B";
122122
case LLM_TYPE_30B_A3B: return "30B.A3B";
123+
case LLM_TYPE_80B_A3B: return "80B.A3B";
123124
case LLM_TYPE_100B_A6B: return "100B.A6B";
124125
case LLM_TYPE_106B_A12B: return "106B.A12B";
125126
case LLM_TYPE_230B_A10B: return "230B.A10B";
@@ -2257,7 +2258,7 @@ void llama_model::load_hparams(llama_model_loader & ml) {
22572258
}
22582259

22592260
switch (hparams.n_layer) {
2260-
case 80: type = LLM_TYPE_80B_A3B; break;
2261+
case 48: type = LLM_TYPE_80B_A3B; break;
22612262
default: type = LLM_TYPE_UNKNOWN;
22622263
}
22632264
} break;

0 commit comments

Comments
 (0)