From f441d2d9db68410f78b9e937efe479049f458044 Mon Sep 17 00:00:00 2001 From: Adam Caldwell <2320451+accaldwell@users.noreply.github.com> Date: Tue, 13 Oct 2026 07:18:01 -0700 Subject: [PATCH] model: load YaRN beta metadata for laguna models (#30331) Assisted-by: Codex Co-authored-by: Adam Caldwell --- src/models/laguna.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/models/laguna.cpp b/src/models/laguna.cpp index b59d8afc7..cbc7b26d7 100644 --- a/src/models/laguna.cpp +++ b/src/models/laguna.cpp @@ -7,6 +7,9 @@ #include "models.h" void llama_model_laguna::load_arch_hparams(llama_model_loader & ml) { + ml.get_key(LLM_KV_ROPE_SCALING_YARN_BETA_FAST, hparams.yarn_beta_fast, false); + ml.get_key(LLM_KV_ROPE_SCALING_YARN_BETA_SLOW, hparams.yarn_beta_slow, false); + ml.get_key(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS, hparams.f_norm_rms_eps); ml.get_key(LLM_KV_LEADING_DENSE_BLOCK_COUNT, hparams.n_layer_dense_lead); ml.get_key_or_arr(LLM_KV_EXPERT_FEED_FORWARD_LENGTH, hparams.n_ff_exp_arr, hparams.n_layer_all);