logoalt Hacker News

ariwilson • yesterday at 9:38 PM • 6 replies • view on HN

With this new Ternary Bonsai model (Q2 GGUF), I'm seeing about 22-25 tokens/s on a Mac Mini M5 Pro 24G RAM/512G SSD, sample Python generation prompt:

  Prompt eval 2.05s
  Prompt speed 222.9 tok/s
  Generation 83.49s
  Speed 22.3 tok/s
  Tokens 1,860
  First token 2.12s
I can get up to 128k context in memory easily which makes it potentially useable for agentic coding. Pretty impressive for a small model. Will have to try a simple agentic task. Might be useful for batch agentic coding.

Inkling 2 mini (UD-Q3_K_XL) gets about 28 tokens/s with same prompt but only 16k context:

  Prompt eval 1.07s
  Prompt speed 285.3 tok/s
  Generation 108.29s
  Speed 27.6 tok/s
  Tokens 2,993
  First token 1.21s
Edit: it was able to solve the simplest bug fix from my benchmark via pi (https://fairbake.dev/signature/tasks?language=javascript) "Sharing from a phone skips the upload cap", with one held-out test fixed and nothing else broken across 25 tests.

  Bonsai 2.5 27B (local, Q2_0)  Median of the 45 stored runs
  Time 6 min 0 s 1.0 min
  Output tokens 6,607 about 2,000
  Outcome solved all solved

Replies

busfahrer • today at 2:35 PM

The last time I tried a bonsai model, it was slower than comparable models, but maybe I did something wrong. Is there any trick to running this one one GPU or CPU, or is it just using their llama.cpp fork?

akavel • today at 9:42 AM

May I ask how are you running them both? llama.cpp or something else? (Inklink reportedly currently requires their fork of llama.cpp on a Mac, right?)

➕ show 1 reply
ariwilson • yesterday at 11:17 PM

And one game it came up with on its own in 18 minutes:

https://claude.ai/artifact/FQxdHAzST4VPC26GCeCFiU

Pretty fun. Generated about 24k tokens.

➕ show 1 reply
prometheus1992 • yesterday at 10:00 PM

On a separate note - I am thinking of getting Mac Mini M5 Pro 24G RAM/512G SSD. how is it doing in terms of running other local models?

➕ show 5 replies
dofm • yesterday at 10:36 PM

It is about this fast (much slower prefill I guess) on the M1 Max.

➕ show 1 reply
tensusds • yesterday at 10:11 PM

Speed seems good for such setup, is the quality of generated text/code good? Was thinking to use it in my game for AI-s diplomacy, but dropped it in favor to Gemma