diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-05-13 09:08:52 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-05-13 09:08:52 +0300 |
commit | 738ace394a6f8cf0174e90a97185d9e512c0e200 (patch) | |
tree | 01a3922ced219c320f34f93342bbed77e0a4136a /llama.h | |
parent | 699b1ad7fe6f7b9e41d3cb41e61a8cc3ea5fc6b5 (diff) |
llama : free ggml context in set / copy state data (close #1425)
Diffstat (limited to 'llama.h')
-rw-r--r-- | llama.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ extern "C" { // Copies the state to the specified destination address. // Destination needs to have allocated enough memory. // Returns the number of bytes copied - LLAMA_API size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dest); + LLAMA_API size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst); // Set the state reading from the specified address // Returns the number of bytes read |