Apply code review suggestions
Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
parent
e74d42dfff
commit
d6360ade08
1 changed files with 1 additions and 2 deletions
|
@ -3853,8 +3853,7 @@ void llama_copy_state_data_internal(struct llama_context * ctx, llama_data_conte
|
|||
}
|
||||
}
|
||||
|
||||
size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst)
|
||||
{
|
||||
size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst) {
|
||||
llama_data_buffer_context data_ctx(dst);
|
||||
llama_copy_state_data_internal(ctx, &data_ctx);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue