Skip to content

Commit aefcffa

Browse files
committed
model : fix Phi MoE conflicts
ggml-ci
1 parent ad1923a commit aefcffa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llama-model.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,8 @@ void llama_model::load_hparams(llama_model_loader & ml) {
790790
ml.get_key(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS, hparams.f_norm_rms_eps);
791791

792792
switch (hparams.n_layer) {
793-
case 32: model.type = e_model::MODEL_16x3_8B; break;
794-
default: model.type = e_model::MODEL_UNKNOWN;
793+
case 32: type = LLM_TYPE_16x3_8B; break;
794+
default: type = LLM_TYPE_UNKNOWN;
795795
}
796796
} break;
797797
case LLM_ARCH_PLAMO:

0 commit comments

Comments
 (0)