三元盆景 2.5 27B
Ternary Bonsai 2.5 27B

原始链接: https://prismml.com/news/bonsai-2-5-27b

Ternary Bonsai 2.5 27B 是基于 Qwen3.8 27B 的 Ternary Bonsai 2 27B 升级版,在保持紧凑的 5.9 GB 占用空间的同时,显著提升了智能体编程、多轮工具使用和多步任务执行能力。它减少了过度思考和重复循环,以更少的轮次、更少的 token 和更高的准确率完成任务。该模型缩小了与全精度基础模型的差距,同时仍适合在设备上处理私有文件和工具。基准测试显示其相比 Bonsai 2 有显著提升,性能在 H100 上达到 291 tokens/s,在 RTX 4090 配合 MTP 时达到 204 tokens/s。演示包括修复 pytest 回归问题和根据截图重建网页。用例包括编码助手、文档摘要和用户设备上的桌面分析。它通过 llama.cpp 在 NVIDIA/Intel GPU 上运行,通过 MLX 在 Apple 设备上运行,权重以 Apache 2.0 许可证发布,完整细节见白皮书。

**Ternary Bonsai 2.5 27B** 是一款新的超紧凑 27B 模型,使用三元权重(约 5.9GB 占用,约 1.76 bits/weight),旨在在极小的体积中提供接近前沿的基准性能。Hacker News 用户报告在配备 24GB RAM 的 Mac Mini M5 Pro 上可达约 22–25 tok/s,内存中支持高达 128k 上下文,并能成功完成简单的代理式编程任务(bug 修复、小型游戏生成)。它被视为比 Bonsai 2 有显著改进,不过许多人指出,当 VRAM 允许时,它在实际质量上仍落后于 4-bit Qwen 3.8 27B。评论者围绕基准炒作与实际有用性展开辩论,怀疑它尽管有 SWE-bench 分数,却无法与 Opus 4.6 相提并论,并担忧“刷榜”。值得注意的细节包括:模型默认使用 xhigh 推理(不支持 low 模式),运行于原生 llama.cpp,并存在未审查版本。讨论还涉及硬件权衡(RAM 升级、Splash 引擎加速)、FPGA/ASIC 可行性,以及重度量化开放权重模型的更广泛趋势。总体而言,Bonsai 2.5 在其尺寸类别中令人印象深刻,适用于本地/批量代理工作,但当资源允许时,不能替代更大的量化模型。
相关文章

原文

Today, we’re introducing Ternary Bonsai 2.5 27B, an upgrade to Ternary Bonsai 2 27B with substantially stronger agentic coding, multi-turn tool use, and multi-step task execution. Based on Qwen3.8 27B, it retains the previous release’s 5.9 GB model footprint while significantly improving the capabilities developers need to build agents that work with private files and tools on-device. The result is by far the strongest AI model of its memory footprint for agentic workloads.

With Ternary Bonsai 2 27B, we brought stronger reasoning, visual understanding, and tool use to local devices. Since then, we’ve focused on making the model more effective across long sequences of tool calls: interpreting results, adjusting when a step fails, and maintaining the task’s objective through the whole interaction. This release also continues our work to make Bonsai more practical by addressing excessive thinking and repetitive loops in the previous model. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately.

Agentic workflows are particularly sensitive to model degradation: small errors can compound across successive tool calls and derail an entire task. Ternary Bonsai 2.5 significantly narrows the performance gap to the full-precision base model while retaining its compact footprint. Preserving this behavior through longer tasks is an important milestone in improving the intelligence density of models.

We evaluated Ternary Bonsai 2.5 27B against both Ternary Bonsai 2 27B and the full-precision Qwen 3.8 27B base model, as reported in the full whitepaper. We see marked improvements in agentic execution, coding, and multi-turn tool use, as shown in the table below.

On a single NVIDIA H100, Ternary Bonsai 2.5 27B achieves a generation speed of 291 tokens/s with MTP and processes a 2,000-token prompt at 3,200 tokens/s. Even on a consumer-grade RTX 4090, it delivers 204 tokens/s with MTP and a prompt processing speed of approximately 3,060 tokens/s. The demos below follow complete local workflows, from the initial request through intermediate decisions to the final result.

Demo I: Reproducing and fixing a pytest regression with Bonsai 2.5 27B

For products, this creates room to build assistance directly into the applications where work already happens: a coding assistant working through issues in a private repository, a document application that prepares reviewable summaries, or a desktop assistant that handles recurring analysis. Local deployment lets those products process sensitive material on the user’s device. Ternary Bonsai 2.5 27B strengthens the model capabilities behind that experience while keeping the compact footprint that makes it practical.

Platform Coverage

Ternary Bonsai 2.5 27B runs on NVIDIA and Intel GPUs via llama.cpp and on Apple devices (Mac, iPhone, iPad) via MLX.

Model weights are available today under the Apache 2.0 License.

Full technical details of our compression, evaluation, and benchmarking processes are available in our whitepaper.

Work with Us

We work with teams to tailor Bonsai models to their applications, from post-training on domain-specific data to optimizing inference for target hardware. If you’re building AI products with tight memory, latency, or power requirements, we’d love to explore how Bonsai can help. Reach out at [email protected].

Join Us

PrismML emerged from a team of Caltech researchers and was founded with support from Khosla Ventures, Cerberus, and Google, with continuing support from Samsung. We've spent years tackling one of the field's hardest problems: compressing neural networks without sacrificing their reasoning ability.

If you want to help build the next generation of state-of-the-art AI, we'd love to hear from you. Check out our careers page.

联系我们 contact @ memedata.com