Skip to content

llama : synchronize before get/set session data #6911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

slaren
Copy link
Member

@slaren slaren commented Apr 25, 2024

If the KV is get/set while there are still pending operations, the KV data may be outdated or later overwritten. Fixes save-load-state with CUDA.

@slaren slaren merged commit d6e1d44 into master Apr 25, 2024
@slaren slaren deleted the sl/fix-save-sync branch April 25, 2024 15:59
nopperl pushed a commit to nopperl/llama.cpp that referenced this pull request May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants