AIAny
AI Model2026
Icon for item

Bonsai-27B-gguf

Runs a full 27B-class Qwen3.6-derived language model in a ~3.9 GB 1-bit GGUF pack for on-device inference with a 262K-token context; true 1.125 bits/weight binary representation, DSpark speculative drafter, and llama.cpp (CUDA/Metal/CPU) support.

Introduction

Why this matters

Compressing a 27B-class reasoning model into a ~3.9 GB deployable pack changes what ‘‘on-device’’ means: long-context (262K tokens) reasoning and multi-hundred-token interactive throughput become practical on laptops, single commodity GPUs, and even phones. Bonsai-27B deliberately pushes to a true 1.125 bits/weight binary format (GGUF Q1_0_g128) to minimize both stored footprint and weight traffic during decoding while preserving most of the FP16 reasoning ability.

Key Capabilities
  • Tiny deployed footprint: ~3.9 GB language-model weights (1-bit sign + group FP16 scale, effective 1.125 bpw), enabling 27B-class models on mainstream laptops and single GPUs.
  • Long context on-device: 262K-token full-context capability enabled by a hybrid-attention backbone (~75% linear attention) and 4-bit KV-cache quantization.
  • Quality vs size: measured thinking-mode average 76.11 (≈89.5% of the Qwen3.6-27B FP16 baseline) with strong retention on math (91.66) and coding (81.88).
  • Serving optimizations: GGUF Q1_0_g128 native pack consumed directly by custom low-bit kernels in a PrismML fork of llama.cpp (CUDA + Metal) and an optional DSpark speculative-decoding drafter for faster CUDA serving (measured 1.37x speedup on H100).
  • Cross-platform throughput: runs on Apple Metal (e.g., ~44 tok/s on M5 Pro) and CUDA (H100 ~105 tok/s), with energy-efficient on-device decoding (~0.275 mWh/token on M5 Pro with DSpark).
  • Licensing and components: Apache-2.0 license; optional ternary build (≈5.9 GB) for higher quality and companion MLX/MLX-Swift runtimes for Apple devices and phones.
Who it's for — and the trade-offs

Great fit if you need a real 27B-class model to run locally for privacy-sensitive, offline, or long-document workflows (researchers, developers building local agents, single-GPU inference deployments, or mobile prototypes). Bonsai is especially attractive when device memory is the gating factor: it brings full 27B reasoning to devices that cannot host FP16 or conventional

Information

  • Websitehuggingface.co
  • OrganizationsPrism ML, Qwen (base model provider)
  • Published date2026/07/04

Categories

More Items

Hugging Face
AI Model2026

End-to-end 0.8B multimodal OCR and page-level document parser that converts page images into structured Markdown (text, LaTeX formulas, HTML tables, and image crops). Post-trained from Qwen3.5-0.8B using mixed real/synthetic data and SFT+RL+OPD; achieves 96.58 on OmniDocBench v1.6.

Hugging Face
AI Model2026

A 1B-parameter 'Thinking' language model fine-tuned on Fable 5 to improve coding and instruction-following; supports chain-of-thought style outputs, XML tool-call format, and up to 128K-token context, with GGUF builds for single-GPU local deployment.

Hugging Face
AI Model2026

Provides a 27B-class Qwen3.6-derived language model in GGUF with end-to-end ternary weights (Q2_0_g128), reducing deployed footprint to ~7.2 GB while retaining ~95% of FP16 reasoning ability and enabling on-device 262K-token context inference.