prismml-eng/bonsai-demo

Bonsai Demo

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 54 minutes ago
Added to GitGenius on August 13th, 2026
Created on March 25th, 2026
Open Issues & Pull Requests: 17 (+0)
GitHub issues: Enabled
Number of forks: 225
Total Stargazers: 2,233 (+0)
Total Subscribers: 34 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.2 hours
Mean response time: 35.5 hours
90th percentile: 3.7 days
Tracked items: 64

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 14% of issues opened in the past year have been closed. Three people close 93% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 14
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 25 days
Stale 30+ days: 2
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Bonsai Demo is a demonstration repository for running quantized language models locally across multiple platforms and hardware accelerators.

The project addresses the challenge of running capable language models on consumer hardware by providing ready-to-use implementations of Bonsai models, which use extreme quantization techniques to reduce model size while maintaining quality. Bonsai models employ 1-bit and ternary (roughly 1.7-bit) quantization schemes that pack weights into minimal storage, allowing models to run on devices from iPhones to standard laptops. The demo provides shell scripts to download models and launch a local inference server with a web interface, supporting Mac via Metal acceleration, Linux and Windows via CUDA, Vulkan, or ROCm, and CPU-only setups.

Developers should choose this tool if they need to run language models entirely locally without cloud dependencies and have limited hardware resources. The repository suits projects requiring vision capabilities, tool calling, or extended context windows, as the newest Bonsai 27B family adds vision-language support, native OpenAI-style tool calling, and reasoning models alongside the smaller quantized variants. The tool integrates with llama.cpp, with both 1-bit and ternary quantization formats landing in mainline llama.cpp, meaning models can eventually be used with standard llama.cpp tooling rather than remaining tied to this demo repository.

The project maintains active development with regular updates to support new model sizes and quantization formats. The repository includes detailed documentation for specific use cases, such as guides for AI coding agents and vision capabilities. Community benchmarking infrastructure is present, allowing users to contribute performance results across different hardware configurations. The codebase provides hardware-specific configuration options and defaults, indicating attention to making the tool accessible across diverse setups.