-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Rust Bindings #248
Comments
Thanks for the heads up. I've already started setting up the rust bindgen code pointing at utils.h to get a proof of concept, but it should point at a stable API. |
I found this repo rustformers/llm#4 and also a discord https://discord.com/invite/GBTh6HeG/login about llama rust |
I came here to do a shameless plug, but someone already beat me to it 😄 The repo isn't bindings, it's a port of the C++ codebase, but we're keeping up with upstream updates. We're still using ggml underneath so it is just as fast. We also have a few nice things like a discord bot library, a command-line REPL to chat with Alpaca and a working implementation for #64! The whole codebase has also been "library-fied" and it's easier to build your own applications on top of it. |
Hey @setzer22, that's awesome. That scratches this issue's itch for me. I'll close this up. Thanks for your shameless plug! |
make git module accessible anonymously
I saw that similar bindings were created for whisper.cpp in whisper-rs (https://github.com/tazz4843/whisper-rs), and I think it would be great to have similar bindings for llama.cpp as well.
As a Rust developer, I would use these to create an inference and embeeddings HTTP server and eventual create a Langchain binding for this (langchain-ai/langchain#1473).
I'd be willing to help with the bindings in any way I can. I'll be using
whisper-rs
as the template.The text was updated successfully, but these errors were encountered: