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

Use llama-rs for inference, introduce session caching #109

Closed
wants to merge 2 commits into from

Conversation

nsarrazin
Copy link
Member

The problem

llama.cpp couldn't compile on a bunch of platforms, hopefully this improve things.

Also computing all the previous context took a long time, slowing chats to a crawl on longer sessions.

Solution

llama-rs, a rust solution, might have better compatibility. It also implements caching sessions so hopefully this improves performance on longer chats by caching the sessions to disk.

@nsarrazin
Copy link
Member Author

Not really relevant anymore. Also llama-rs still uses ggml in C, so it doesn't solve any of the compatibility problem.

@nsarrazin nsarrazin closed this Apr 2, 2023
@gaby gaby deleted the feature/llama-rs-caching branch June 19, 2023 12:28
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.

None yet

1 participant