Browse Source

llama : fix llama_context_default_params after #2268 (#3893)

cebtenzzre 2 years ago
parent
commit
0eb332a10f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      llama.cpp

+ 1 - 0
llama.cpp

@@ -7980,6 +7980,7 @@ struct llama_context_params llama_context_default_params() {
         /*.yarn_attn_factor            =*/ 1.0f,
         /*.yarn_beta_fast              =*/ 32.0f,
         /*.yarn_beta_slow              =*/ 1.0f,
+        /*.yarn_orig_ctx               =*/ 0,
         /*.mul_mat_q                   =*/ true,
         /*.f16_kv                      =*/ true,
         /*.logits_all                  =*/ false,