Skip to content

Commit a119bc0

Browse files
make rope_yarn_log_mul optional for deepseek2
1 parent 446595b commit a119bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ void llama_model::load_hparams(llama_model_loader & ml) {
13691369
// that have no expert_gating_func model parameter set
13701370
hparams.expert_gating_func = LLAMA_EXPERT_GATING_FUNC_TYPE_SOFTMAX;
13711371
}
1372-
ml.get_key(LLM_KV_ROPE_SCALING_YARN_LOG_MUL, hparams.rope_yarn_log_mul);
1372+
ml.get_key(LLM_KV_ROPE_SCALING_YARN_LOG_MUL, hparams.rope_yarn_log_mul, false);
13731373

13741374
switch (hparams.n_layer) {
13751375
case 27: type = LLM_TYPE_16B; break;

0 commit comments

Comments
 (0)