We ran Thinking Machines' Inkling 2 Mini on an engine we wrote ourselves in Zig + Metal.
@rachpradhan3.6K followers
36,380 views
25 Comments
Comments from the original post on X (Twitter)

@rachpradhan
We have significantly faster speeds than existing frameworks! But we also capped it at 32k, so that our poor device wouldn't overheat.
12 likes

@rachpradhan
Someone recently asked me what does its attention look like? So, I added a tap to the engine that records the real softmax weights. As the model writes its fix, you can see how much of each word's attention lands back on the file it read one step earlier(in the vid!)
6 likes

@rachpradhan
Try the app out over at The inference engine is MIT licensed and free for all to use at
11 likes

@rachpradhan
Thanks to @thinkymachines for releasing such a great model too! Paired up with the graff harness, it actually does a really good job! Also, the app was made with nanoui: Join its discord here:
8 likes

@aroussi
Open source?
2 likes

@rachpradhan
always
2 likes

@Darkolorin
@CaryPalmerr Try other engines. I mean I run inkling on m3 ultra around 70-80 t/s.
2 likes

@techmore_edu
Im a simple man, I see MLX and faster and tag the man @JoshuaSWarren
2 likes

@JanaSunrise
so cool! would love to work on such ideas together.
1 like

@khairulnazran
wut how
1 like

@rachpradhan
@ivanleomk's neon magic
3 likes

@rickyraz_
vllm -> nanoattention skills when? 😆 your repo is such a refreshing air to learn llm 🔥🔥🔥
1 like

@rachpradhan
thanks ricky!! i wanna do more data viz things too coz its so fun to see how the calcs work
1 like

@forti_two
will this run on an 18gb m3 mbp? unsloth was slow
1 like

@mint0themax
smooth animation lol
1 like

@rachpradhan
thanks min!!!

@vasanth_sreeram
I’m running the optimisation myself too managed to get decent speed for decode but prefill is the biggest bottleneck
1 like

@proximalcoast
any prefill numbers at 32k? my browser agent spends a lot of time reading pages before it ever gets to write anything.

@orex_haarness
how does prefill compare to MLX at long context? decode numbers on macs usually look great, it's the first 50k tokens of a repo that hurt

@haojun222
How much ram? Is 32G M2 Max enough?



