Show HN: We made our own inference engine for Apple Silicon (github.com)
We wrote our inference engine on Rust, it is faster than llama cpp in all of the use cases. Your feedback is very welcomed. Written from scratch with idea that you can add support of any kernel and platform.
21 comments
[ 7.7 ms ] story [ 50.0 ms ] threadHow was your experience using Rust on this project? I'm considering a project in an adjacent space and I'm trying to decide between Rust, C, and Zig. Rust seems a bit burdensome with its complexity compared to C and Zig. Reminds me of C++ in its complexity (although not as bad). I find it difficult to walk through and understand a complicated Rust repository. I don't have that problem with C and Zig for the most part.
But I'm wondering if I just need to invest more time in Rust. How was your learning curve with the language?
What's your deliberate, well-thought roadmap for achieving adoption similar to llama cpp?
would https://docs.unsloth.ai/basics/kimi-k2-how-to-run-locally be faster with mirai?
Not sure what the goal is for this project? Not seeing how this presents adequate benefits to get adopted by the community
I would love to understand how universal these models can become.
Looks like this uses ndarray and mpsgraph (which I did not know about!), we opted to use candle instead.
Also any app deployed to PROD but developed on Mac need to be consistent i.e. work on Linux/in container.