diff options
author | compilade <git@compilade.net> | 2024-04-15 08:56:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 15:56:55 +0300 |
commit | 132f55795e51094954f1b1f647f97648be724a3a (patch) | |
tree | 86e98abdc72e53feb2258adab7e1c5d82db09a04 | |
parent | 3272896d79465fd2befef3425dac8e83933b7ea4 (diff) |
llama : fix restoring the number of outputs from state files (#6687)
-rw-r--r-- | llama.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15478,6 +15478,8 @@ size_t llama_state_set_data(struct llama_context * ctx, const uint8_t * src) { GGML_ASSERT((uint32_t) id < ctx->cparams.n_batch); ctx->output_ids[id] = i; } + + ctx->n_outputs = n_outputs; } } |