Make yarn_log_multiplier optional

This commit is contained in:
Iwan Kawrakow
2025-08-28 09:47:23 +03:00
parent dac5b48398
commit f5b3ca8c95

View File

@@ -4105,7 +4105,7 @@ static void llm_load_hparams(
// that have no expert_gating_func model parameter set
hparams.expert_gating_func = LLM_EXPERT_GATING_FUNC_SOFTMAX;
}
ml.get_key(LLM_KV_ROPE_SCALING_YARN_LOG_MUL, hparams.rope_yarn_log_mul);
ml.get_key(LLM_KV_ROPE_SCALING_YARN_LOG_MUL, hparams.rope_yarn_log_mul, false);
switch (hparams.n_layer) {
case 27: model.type = e_model::MODEL_16B; break;