Downloads · 30 days
4.4K
37% of all-time downloads
fraserprice/Ternary-Bonsai-2-27B-vllm
Ternary-Bonsai-2-27B-vllm is a text generation model from fraserprice. Use it when you need the model to write or continue text. It is set up for vllm. The card lists the license as apache-2.0.
Work in progress. Expect rough edges and breaking changes.
Downloads · 30 days
4.4K
37% of all-time downloads
All-time downloads
11.8K
Public
Parameters
3.5B
10.3 GB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors10.2 GB · 100%
How the weights are stored.
BF161.7B · 49%
From the Hugging Face model README
Work in progress. Expect rough edges and breaking changes.
Bonsai 2 27B by Prism ML, repacked for vLLM. Unofficial; not affiliated with Prism ML.
It needs the prism_ternary vLLM plugin from fraserprice/bonsai-vllm, which has the run command, kernels and throughput numbers:
docker run --rm --gpus all --ipc=host -p 8000:8000 -v bonsai:/cache fraserpricee/bonsai-vllm:20260918
Built and tested for the RTX PRO 6000 Blackwell only; other NVIDIA GPUs are untested. Problems: open an issue.
biases, which is always exactly -scales (MLX dequantizes as code * scale + bias; ternary is (code - 1) * scale), and signs, the ±1 vector of the Hadamard rotation, which is the same for every layer of a given input width and so is kept once per width in config.json. The converter checks both.Produced by prism-ternary-convert from the repo above. For benchmarks, sampling parameters and everything else about the model, see the original model card.
Apache 2.0, as the original. Created using Bonsai by Prism ML; built from Qwen3.8-27B by Alibaba Cloud. See NOTICE.txt.