From 463f2f4c4f8dd5ca9594b7d65849f346f0effe05 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 1 Jul 2023 19:05:09 +0300 Subject: [PATCH] llama : fix return value of llama_load_session_file_internal (#2022) --- llama.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llama.cpp b/llama.cpp index 3a7a0d5da..69c2ab01b 100644 --- a/llama.cpp +++ b/llama.cpp @@ -3269,6 +3269,8 @@ static bool llama_load_session_file_internal(struct llama_context * ctx, const c llama_set_state_data(ctx, state_data.data()); } + + return true; } bool llama_load_session_file(struct llama_context * ctx, const char * path_session, llama_token * tokens_out, size_t n_token_capacity, size_t * n_token_count_out) {