BuildTube Preview About
Back to the feed

Ternary-Bonsai-2-27B-gguf: Run a 27B reasoning model from a 6 GB file on a laptop

Added · Updated

Run a 27-billion-parameter reasoning model from a roughly 6 GB file on a laptop or a single GPU.

Prism ML built it from Qwen3.8-27B for people who want a large model offline or on modest hardware. Each weight is stored as one of three values, minus one, zero or plus one, at about 1.72 bits instead of 16, and it runs in Prism ML’s own build of llama.cpp, a common program for running models locally. File size is not total runtime memory. Prism ML reports it keeps 98.2% of the full-size model’s average across 14 benchmarks.

Model details

Original model prism-ml/Ternary-Bonsai-2-27B-gguf

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.

PQ2_0 GGUF on NVIDIA 32 GB · Prism llama.cpp fork · The source publishes a 7.21 GB PQ2_0 pack, custom CUDA kernels, and a 32 GB RTX 5090 measurement.

How this configuration was checked

32 GB VRAM · source-reported device capacity Source lists 32 GB (reported-device). The source reports a PQ2_0 benchmark on an RTX 5090 with 32 GB. That is a source device report, not a universal minimum or a BuildTube test.

PQ2_0 · 4,096 token context · source context 262,144 tokens · batch size 1 · concurrency 1 · Source device report at 32K flags; this record is a source-only report, while the comparison settings are single-user, 4K context, batch 1, and concurrency 1. Use the Prism llama.cpp fork; stock llama.cpp does not support these files.

Source checked 2026-10-08 · revision b072e1d3b35a0a630cece372c2127528e0994386. published pack size, runtime constraints, and source-reported RTX 5090 device row

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

What it does

Normally, shrinking a model far enough to fit a laptop costs it the careful step-by-step reasoning that made it useful. This build stores each weight as one of three values — about 1.72 bits each, across the whole model rather than leaving parts at higher precision — and the creator reports that maths, coding and tool-calling scores stay close to the full-precision original. It ships in two packings with custom code for llama.cpp, so the compressed weights are used directly instead of being expanded back out in memory. A companion build exists for Apple Silicon.

How to use it

Download a prebuilt release of the PrismML-Eng llama.cpp fork, or build it with cmake. Fetch a model file with hf download, choosing the PQ2_0 or PTQ1_0 packing. Run llama-cli with the file and a prompt, such as the card’s Explain quantum computing in simple terms, leaving a high output limit because it thinks first. For a server, tool calling or image input, follow the scripts in the Bonsai-demo repository.

Common use cases

  • Ask a question offline: run llama-cli with a prompt on a laptop and get the model’s reasoning and answer, with the prompt staying on the device.
  • Work with a long document or code base: load up to 262K tokens of context and ask questions about it, a use the card names for laptop-local work.
  • Ask about a picture: add the optional vision file through the Bonsai-demo setup and send an image with a question.

You could use it to…

  • Run a 27B reasoning model from a 6 GB download
  • Work through a maths or coding problem, fully offline
  • Try a compressed model that keeps 98% of the benchmark score

Can I use this?

Runs via llama.cpp

Requirements Prism ML’s llama.cpp fork with CUDA, Metal or plain CPU; the card says stock llama.cpp will not run these files. A standard laptop or a single GPU, according to the card. Disk space for 5.95 GB (PTQ1_0) or 7.21 GB (PQ2_0), plus 0.63 GB for the optional vision file. A separate MLX version exists for Apple Silicon.

Caveat Every quality and speed figure is Prism ML’s own. The biggest drops are in knowledge-heavy reasoning and vision, the low reasoning-effort setting is not supported, and the creator keeps a known-issues page.

Worth knowing Every compression and quality figure here is the creator’s own, measured on its own set of benchmarks. Heavily compressed models can differ from the original in ways a benchmark average does not show. Reading images needs a separate extra file. Stock llama.cpp rejects these files or, for one format, produces garbage. Licensed under Apache License 2.0.

Why it's here

Not trending this week

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

  • 2,960 people have liked it on Hugging Face.
  • It was downloaded 1,688,388 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-gguf?
Normally, shrinking a model far enough to fit a laptop costs it the careful step-by-step reasoning that made it useful.
What can I use Ternary-Bonsai-2-27B-gguf for?
Ask a question offline: run llama-cli with a prompt on a laptop and get the model’s reasoning and answer, with the prompt staying on the device; Work with a long document or code base: load up to 262K tokens of context and ask questions about it, a use the card names for laptop-local work; Ask about a picture: add the optional vision file through the Bonsai-demo setup and send an image with a question
Can I run Ternary-Bonsai-2-27B-gguf on my computer?
It runs on your own hardware with a model runtime. Prism ML’s llama.cpp fork with CUDA, Metal or plain CPU; the card says stock llama.cpp will not run these files. A standard laptop or a single GPU, according to the card.
What do I need to use Ternary-Bonsai-2-27B-gguf?
PrismML’s custom llama.cpp fork with CUDA, Metal or plain CPU, and enough disk space for the roughly 6 to 7 GB weight file depending on which packing you choose. The vision part is a separate download.
What license does Ternary-Bonsai-2-27B-gguf use?
Licensed under Apache License 2.0.

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-ggufDownload 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-gguf.svg)](https://buildtube.app/p/hf-prism-ml-ternary-bonsai-2-27b-gguf/)

Embed card (HTML)

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

Back to the feed