Skip to content

Commit f96fa97

Browse files
committed
update(llama.cpp): with rope_freq_scale in the API
ggml-org/llama.cpp#3418
1 parent 07d57ba commit f96fa97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dep/cmake_fetchcontent/llama_cpp.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FetchContent_Declare(
22
LlamaCpp
33
GIT_REPOSITORY "https://github.com/ggerganov/llama.cpp.git"
4-
GIT_TAG "40e07a60f9ce06e79f3ccd4c903eba300fb31b5e"
4+
GIT_TAG "f72f8f22c9cb60465b2e79df2767e4ba9604e576"
55
)
66
FetchContent_MakeAvailable(LlamaCpp)
77
set(LlamaCpp_INCLUDE_DIRS "${llamacpp_SOURCE_DIR}" PARENT_SCOPE)

src/chat/chat.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ rendezllama::make_llama_context(rendezllama::ChatOptions& opt)
165165
ctx_params.n_ctx = opt.context_token_limit;
166166
ctx_params.seed = opt.seed;
167167
ctx_params.f16_kv = true;
168-
ctx_params.rope_freq_scale = 1.0;
168+
ctx_params.rope_freq_scale = llama_rope_freq_scale_train(model);
169169
ctx_params.n_threads = opt.thread_count;
170170
ctx_params.n_batch = opt.batch_count;
171171
while (

0 commit comments

Comments
 (0)