I’ve been lurking since forever, but someone invited me to share this thing I’ve been working on. Hoping self-posts are okay! 😄
Anyway, I rewrote llama.cpp in Rust so that it’s easier for me to embed it in my projects. It was fun, and learned a lot by doing it. Happy to answer questions!
This uses the ggml tensor library which is written in C. I’d be curious to see how that lib compares to Rust-only implementations, if any with the same feature set exist. Maybe sometime soon I’ll stomach the 10k lines of C to see what all it contains.
I thought about this when porting. The part of the code using
ggml
is not too large and doesn’t seem to use any operations you wouldn’t find in other tensor libraries.Welcome to Lobsters! Self-posts are fine but avoid putting commentary in the text field, as per the submission guidelines (seen when you go to submit):
Seems like context/explanation to me.
That content/explanation is not necessary to understand the ‘title’ and is available to anyone who actually opens the link.
Check the moderation log. These editorials get deleted all the time
Oops, sorry about that! Will keep it in mind for next time.