Skip to content
Discussion options

You must be logged in to vote

To copy the memory (i.e. a KV cache for example) from one context to another, you can use the llama_state_ API.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hipudding
Comment options

hipudding Sep 14, 2025
Collaborator Author

Answer selected by hipudding
Comment options

hipudding
Sep 14, 2025
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants