
Description
Bonsai 1.7B Apple Silicon edition is an optimized inference build of the Bonsai 1.7B model for M-series Macs. It works as a drop-in replacement for the upstream Q2_0 build and is shipped as a 358 MB tar.xz download with the model file included. The page reports a 42% gain in token generation (tg128) and a 9% gain in prompt processing (pp512) on an M4 Max. Decoding runs at 442 tokens per second against 311.66 for the upstream build in the site's test, which uses the same model file and benchmark settings. The package includes chat.sh for an interactive chat, complete.sh for non-interactive completion, bench.sh to reproduce the numbers, and server.sh, which serves an OpenAI-compatible HTTP API on port 8080. The site says every Metal kernel was written and tuned by ata, its autonomous engineering agent.…
Highlights
- Optimized Metal build for M-series Macs
- About 42% faster token generation than upstream
- Chat, completion and benchmark scripts included
- OpenAI-compatible API on port 8080
Ratings & Reviews
No ratings yet
Be the first to rate Bonsai.
People also visit
Bonsai FAQ
What is this build?
An optimized inference build of Bonsai 1.7B for Apple Silicon, shipped as a drop-in replacement for the upstream Q2_0 build with the model file included.
How much faster is it?
The page reports +42.0% token generation (tg128) and +8.8% prompt processing (pp512) on an M4 Max, using the same model file and bench settings as the upstream build.
How do I start it?
Download the Mac arm64 archive, extract it with tar -xJf, change into the folder and run ./chat.sh. The archive also includes server.sh for an OpenAI-compatible HTTP API on port 8080.
Who wrote the Metal kernels?
The site says every Metal kernel in the build was authored and tuned by ata, its autonomous engineering agent, and that the output matches the reference build.
What are the best Bonsai alternatives?
Popular alternatives to Bonsai include mlx-serve, MLX Tune and Nativ. See all Bonsai alternatives
