BuildTube Preview About
Back to the feed

Ternary-Bonsai-2-27B-mlx-2bit: Run a compressed 27B reasoning model on an Apple Silicon Mac

Added · Updated

The Apple Silicon build of a heavily compressed 27-billion-parameter model, storing each weight as one of three values — minus one, zero or plus one — in an 8.6 GB download that includes a vision component.

That download size is not a promise about total inference memory. The creator reports it retaining 98.2 per cent of the full-precision model’s benchmark average across fourteen reasoning tests, and running at around 47 tokens a second on an M5 Max laptop. It keeps the 262,144-token context of the model it came from, and runs through MLX, Apple’s own machine learning framework, with custom low-bit kernels.

Model details

Original model prism-ml/Ternary-Bonsai-2-27B-mlx-2bit

Write & reason

Input Text Output Text

Ways to use it Run locally

Local fit guide

One reviewed local configuration. Add My computer details to compare them.

MLX 2-bit on Apple silicon · Prism bundled MLX loader · The pinned model card says this pack requires the bundled `runtime/` loader for text and vision; ordinary MLX loaders omit the activation transform.

How this configuration was checked

16 GB memory · reviewed estimate Source lists 8.6 GB (published-full-pack). Estimate uses the source-published 8.60 GB full MLX pack (7.67 GB language weights plus the 0.92 GB vision tower), an architecture-based ~0.27 GB KV cache at 4K (16 full-attention layers × 4 KV heads × 256-wide heads × K/V × 2-byte values from the Qwen3.8 layout), 4 GB MLX/runtime buffers, and 3.13 GB reserved for macOS and other applications.

packed low-bit · MLX 2-bit · 4,096 token context · source context 262,144 tokens · batch size 1 · concurrency 1 · Single-user, short-context estimate at 4K; this pack requires its bundled runtime/vision_artifact.load_vl_model and chat_config, whose activation transform ordinary MLX loaders omit.

Source checked 2026-10-08 · revision fcba37d2117a7077eac6b613b2668d14d9779edd. published 8.60 GB artifact and MLX runtime setup; memory threshold estimated by BuildTube

Set up My computer · Open the exact setup source (opens in a new tab)

What it does

Compressing a model below about four bits per weight usually destroys the step-by-step reasoning that made it worth running, which is why small local models often feel capable until you ask them something that needs several careful steps. This build pushes to roughly 1.72 bits per weight — each weight is just minus one, zero or plus one, with a shared scale for every group of 128 — and the creator reports the reasoning surviving: mathematics within half a point of full precision, coding level with it, and agentic tool calling holding up. The technique that makes it work is rotating each weight matrix by a Hadamard transform before assigning the ternary values, with the matching transform applied to activations at runtime and the rotation folded into the stored weights so it costs no extra space. Nothing is left at higher precision behind a low-bit label, and the packed weights are consumed directly by custom kernels rather than expanded back out in memory.

You could use it to…

  • Work through a multi-step problem offline on an Apple Silicon Mac
  • Ask about a picture, since the download includes a vision component
  • Hold a long conversation using the 262,144-token context

Can I use this?

Needs a model runtime on your computer

You'll need Apple Silicon Mac · Bundled MLX loader · Setup needed

Worth knowing Every compression and quality figure here is the creator’s own, measured on benchmarks they selected; heavily compressed models can differ from the original in ways a benchmark average does not reveal. This pack requires its bundled MLX runtime because ordinary MLX loaders omit the activation transform and can return wrong output. Apple Silicon only — a companion GGUF build exists for other hardware. Apache 2.0.

Why it's here

Not trending this week

Last seen on the Hugging Face trending list on 20 September 2026. It stays on BuildTube so you can still find it.

  • 486 people have liked it on Hugging Face.
  • It was downloaded 23,926 times in the last 30 days.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View model page

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is Ternary-Bonsai-2-27B-mlx-2bit?
Compressing a model below about four bits per weight usually destroys the step-by-step reasoning that made it worth running, which is why small local models often feel capable until you ask them something that needs several careful steps.
What can I use Ternary-Bonsai-2-27B-mlx-2bit for?
Work through a multi-step problem offline on an Apple Silicon Mac; Ask about a picture, since the download includes a vision component; Hold a long conversation using the 262,144-token context
Can I run Ternary-Bonsai-2-27B-mlx-2bit on my computer?
It runs on your own hardware with a model runtime. Apple Silicon only — a companion GGUF build exists for other hardware.
What do I need to use Ternary-Bonsai-2-27B-mlx-2bit?
An Apple Silicon Mac and the pack’s bundled MLX loader. The vision component is bundled unquantized in this pack; a GGUF companion covers llama.cpp on other hardware.
What license does Ternary-Bonsai-2-27B-mlx-2bit use?
The source lists the Apache License 2.0 license (Apache-2.0), an OSI-approved open-source license. Read the license file on the source page for the full terms.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for Ternary-Bonsai-2-27B-mlx-2bitDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/hf-prism-ml-ternary-bonsai-2-27b-mlx-2bit.svg)](https://buildtube.app/p/hf-prism-ml-ternary-bonsai-2-27b-mlx-2bit/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/hf-prism-ml-ternary-bonsai-2-27b-mlx-2bit/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Ternary-Bonsai-2-27B-mlx-2bit on BuildTube"></iframe>

Back to the feed