-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporary bump the memory buffer size - hopefully fix issues from 483…
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 comments
on commit 31572d9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just about to make an issue about this. It occurred to me no matter what ctx_size I set, I'd get ggml_new_tensor_impl: not enough space in the context's memory pool (needed 536877264, available 536870912)
at a set amount of tokens. Didn't realize it was hardcoded and didn't use ctx_size currently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rabidcopy yea, i implemented it properly growing here #438
i did this btw: https://github.com/Green-Sky/llama.cpp/blob/5dd94f70b2886839579b22e0603ed451f4babc8d/llama.cpp#L635