diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-07-01 19:05:09 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-07-01 19:05:09 +0300 |
commit | 463f2f4c4f8dd5ca9594b7d65849f346f0effe05 (patch) | |
tree | 8015b401aa0e573c6cd9be263f3529573acb83cd | |
parent | cb44dbc7de287b3d17772cfb1aa49d55e082ce5b (diff) |
llama : fix return value of llama_load_session_file_internal (#2022)
-rw-r--r-- | llama.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |