Skip to content

Commit

Permalink
llama : fix return value of llama_load_session_file_internal (ggergan…
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jul 1, 2023
1 parent cb44dbc commit 463f2f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 463f2f4

Please sign in to comment.