PrismML4BPTQ1_0 ternary 下约 2 GB 显存

Ternary Bonsai 2 4B — 显存、速度与本地部署

作者: Jakub Rusinowski · 最后更新:

4.21B 参数的语言模型加 0.33B 视觉塔,由 Qwen3.5-4B 以三值权重重建。PTQ1_0 文件为 0.95 GB。262,144 token 上下文,支持图像输入、工具调用,并附带两个可选的推测解码草稿模型(MTP 和 DFlash2),二者都需要 PrismML 的 llama.cpp 分支。上游 llama.cpp 只能运行 Q2_0 文件。

Ternary Bonsai 2 4B 在 PTQ1_0 ternary 下约需 2 GB 显存——量化权重加框架开销,不含 KV 缓存。在 Apple Silicon 上,这部分来自统一内存。

按量化级别的显存与速度

计算基准:NVIDIA RTX 4090 (24 GB)。包含 8K 上下文的 KV 缓存,因此数值高于上方的主数字。

量化显存速度(估算)适配
PTQ1_0 ternary
1.78 bpw
2 GB~273 tok/s可运行
PQ2_0 ternary
2.16 bpw
2.2 GB~255 tok/s可运行
Q2_0 ternary
2.28 bpw
2.3 GB~249 tok/s可运行

黑色标记 = NVIDIA RTX 4090 (24 GB) 上的可用显存。 估算来自内存带宽屋顶线模型,详见 方法说明页. Ternary Bonsai 2 4B 显存计算器 →

运行 Ternary Bonsai 2 4B

目录中能运行 Ternary Bonsai 2 4B 的最便宜 GPU 是 Intel Arc B570 (10 GB).

购买此硬件 Intel Arc B570 10GB — 10 GB VRAM · 150 W board power立即云端部署 RunPod 上的 RTX 4090 — 低至 $0.34/小时 · 价格核实于 2026-07

或在 Vast.ai 比较,低至 $0.35/小时 (typical low · varies)

作为亚马逊联盟成员,我们从符合条件的购买中获得收入。云 GPU 链接为推荐链接——我们可能获得佣金,您无需额外付费。

联盟营销声明: 本页部分链接为联盟推广链接——如果你通过它们购买,LLM Configurator 可能会获得佣金,而你无需支付任何额外费用。作为亚马逊联盟成员(Amazon Associate),LLM Configurator 会从符合条件的购买中获得收益。
Intel Arc B570 10GB
10 GB VRAM · 150 W board power
2026年价格波动较大——请以当前商品页价格为准。

如何运行 Ternary Bonsai 2 4B

No Ollama library entry. The packed ternary formats need PrismML's llama.cpp fork (or upstream llama.cpp for the Q2_0 file only); on Apple devices use the MLX build with mlx-vlm 0.7.8 or newer.

Hugging Face 上的权重: prism-ml/Ternary-Bonsai-2-4B-gguf ↗

规格

Corroborated — Two or more independent sources agree on these figures, but the model card itself was not retrieved. Treat the numbers as good rather than confirmed. 尚未确认: parameter count (model card only; the GGUF metadata under-counts packed ternary weights).

参数量
4.21 Billion (+0.33B vision tower)
上下文窗口
262,144
架构
Qwen3.5-4B hybrid attention (3 linear : 1 full), ternary weights
提供商
PrismML
许可证
Apache 2.0
Availability
Weights downloadable
Practical deployment
Edge device (phone, SBC)
规格量化
PTQ1_0 ternary
Vision projector
+0.4 GB when you send images (not included above)
系统内存
8 GB
记录更新于
2026-10-15
许可证Apache-2.0允许商业使用

Commercial use permitted. No usage restrictions beyond attribution.

限制与注意事项

  • Ships only in PrismML's ternary packings; there is no Q4_K_M, Q8_0 or FP16 GGUF to choose instead.
  • Upstream llama.cpp loads only the Q2_0 file; PTQ1_0, PQ2_0 and both drafters need the PrismML fork.

质量与使用场景

评分由模型作者或独立评测方发布——衡量质量而非吞吐量,并非我们实测。

最适合on devicephoneedgemultimodalagents

我的 GPU 能运行 Ternary Bonsai 2 4B 吗?

Ternary Bonsai 2 的其他尺寸

Ternary Bonsai 2 4B — 常见问题

How much VRAM does Ternary Bonsai 2 4B need?

About 2 GB at PTQ1_0 ternary — quantized weights plus framework overhead, before any KV cache. The cache grows with context length and is added on top; the table above folds it in. Apple Silicon counts unified memory toward the same figure.

Does Ternary Bonsai 2 4B run on an RTX 4090 (24 GB)?

Yes. Ternary Bonsai 2 4B needs about 2 GB at PTQ1_0 ternary, inside a 24 GB card, at an estimated 273 tokens/sec.

How do I run Ternary Bonsai 2 4B locally?

No Ollama library entry. The packed ternary formats need PrismML's llama.cpp fork (or upstream llama.cpp for the Q2_0 file only); on Apple devices use the MLX build with mlx-vlm 0.7.8 or newer. Running the published tag would send your prompts to a hosted GPU rather than your own machine.

What other sizes does Ternary Bonsai 2 come in?

Ternary Bonsai 2 2B (1 GB), Ternary Bonsai 2 4B (2 GB), Ternary Bonsai 2 9B (3 GB), Ternary Bonsai 2 27B (7 GB). Every size shares the family's training and licence; the larger ones score higher and need proportionally more memory.