Live data from Hacker News

Show HN: We made our own inference engine for Apple Silicon

github.com

11–20 of 48 posts

Re: Show HN: We made our own inference engine for Apple Silicon

#13

Amazing! How 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…

You are confusing familiarity with intrinsic complexity. I have 20 years experience with C/C++ before switching to rust a few years ago. After the initial hurdle, it is way easier and very simple to follow.

Re: Show HN: We made our own inference engine for Apple Silicon

#17

In practice, how often do the models use the ANE? It sounds like you are optimizing for speed which in my experience always favors GPU.

You're right, modern edge devices are powerful enough to run small models, so the real bottleneck for a forward pass is usually memory bandwidth, which defines the upper theoretical limit for inference speed. Right now, we've figured out how to run computations in a granular way on specific processing units, but we expect the real benefits to come later when we add support for VLMs and advanced speculative decoding, where you process more than one token at a time

Re: Show HN: We made our own inference engine for Apple Silicon

#18
post #15

Can you explain the type of quantization you support? would https://docs.unsloth.ai/basics/kimi-k2-how-to-run-locally be faster with mirai?

right now, we support AWQ but are currently working on various quantization methods in https://github.com/trymirai/lalamo
Post reply on HN