Settings

Theme

Tell HN: Stop using MLX, start telling your agent to write custom kernels

4 points by thesnarkitecht · 3 comments · 1 min read


I am one of the many people who started clustering Macs for local AI. At first, it seemed amazing, but that was before the huge agentic revolution. No one could put up with 10 tok/sec after a 15 minute wait, in hermes agent. I asked claude to build a kernel, and boy it did deliver. Across four Macs, Baidu ERNIE 5.5 flash preview was running 96 tok/sec at low context. In hermes, running nearly 50 tok/sec at high context, only a fifteen second wait for a response. Any critics, try it yourself. We have all seen the posts where the NVIDIA 3090 was throttled, and we can start to overcome barriers on MacOS as well.

1 thread
naishoya

> I asked claude to build a kernel, and boy it did deliver.

Care to share either the resulting kernel or the prompt?

  • thesnarkitechtOP

    I haven't yet published it. The only downside is that each kernel is model-specific. I can't recall exactly what I told it, but I know that I was frustrated with the memory bandwidth. I told it to build custom kernels to improve inference speed. There are a lot of projects like that out there if you google them. They are very machine and model specific, though.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection