llama.cpp
56e659a0
- fix perplexity after c-api refactor (#390)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Previous Change (CTRL+↑)
Next Change (CTRL+↓)
Expand Context Lines
Collapse Context Lines
Hide Minimap (CTRL+M)
Commit
2 years ago
fix perplexity after c-api refactor (#390) * preallocate a buffer of fitting size for tokenization (utils.cpp) * don't create a new std::string (especially here, where it's usually large)
References
#390 - fix perplexity after c-api refactor
Author
Green-Sky
Parents
40ea807a
Files
2
main.cpp
utils.cpp
Loading