Skip to content
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

[bug] kv_self.size is being set to buffer size during load state #3445

Closed

Conversation

l3utterfly
Copy link
Contributor

It seems llama_context.kv_self.size is initialised to be equal to context size, but when loading from a session file, it's being set to the buffer size. This should fix it.

@l3utterfly l3utterfly changed the title kv_self.size is being set to buffer size during load state [bug?] kv_self.size is being set to buffer size during load state Oct 2, 2023
@l3utterfly l3utterfly changed the title [bug?] kv_self.size is being set to buffer size during load state [bug] kv_self.size is being set to buffer size during load state Oct 2, 2023
@ggerganov
Copy link
Owner

Should be resolved via #3400

@l3utterfly l3utterfly closed this Oct 7, 2023
@l3utterfly l3utterfly deleted the set-state-data-bugfix branch October 7, 2023 18:06
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