创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

ik_llama.cpp原生支持Ternary Bonsai 2

AI 总结

一篇社区指南称,ik_llama.cpp现已原生支持PrismML的Ternary Bonsai 2及PQ2_0格式,并覆盖CPU和CUDA。指南提到已合并CUDA内核、用于上游TQ2_0和TQ1_0权重的无损重打包脚本,以及通过`-rtr 1`加速CPU提示处理的运行时重打包,但没有提供独立基准测试。

深度见解

据该指南,这一更新为Ternary Bonsai 2用户在PrismML自有分支之外使用PQ2_0 GPU卸载和CPU推理提供了原生路径。

Hey folks,

Quick heads up for anyone playing around with PrismML's Ternary Bonsai 2!

Until very recently, running it outside of Prism's own fork was a bit of a pain. Upstream llama.cpp uses a block size of QK=256 (TQ2_0), while Prism uses QK=128 (PQ2_0), and trying to offload layers to CUDA on other forks would bottleneck or break due to Hadamard sign tensor handling.

With the latest commits landed in ik_llama.cpp, we finally have complete, native support across both CUDA and CPU. Here is how to set it up cleanly.

  • Convert upstream weights losslessly (PR #2694)

If you already have a native PQ2_0 GGUF downloaded from Prism, you can skip this.

#Ternary Bonsai 2#ik_llama.cpp#PrismML#llama.cpp#PQ2_0#TQ2_0#TQ1_0#NVIDIA CUDA

原文约 1 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。