# llama.cpp 将单 token 开关选项支持扩展至 256 种

> 开源库 llama.cpp 现在可为 Granite 开关模型映射最多 256 种不同的选项标记。

Oossa · 2026-10-17 · https://oossa.com/zh/llama-cpp-adds-support-for-256-single-token-switch-options

llama.cpp 项目发布了新版本 b11707，新增 GraniteSwitchDecisionFullOptions 功能。该功能允许每个开关模型使用最多 256 种独特的单 token 标记，高于此前的 66 种。代码会自动识别哪些字符在特定模型的词表中对应单 token 条目。这项改动位于 C++ 转换层，并已记录在发行说明中。

## 事实

- 发行标签 b11707 于 2026-10-17 发布
- 支持的独特单 token 标记数量从 66 种提高至最多 255 种

## 为什么重要

开发者可以为 Granite 模型构建更丰富的决策提示词，无需手动编制 token 列表。

## 来源与参考

1. [ggml-org/llama.cpp b11707](https://github.com/ggml-org/llama.cpp/releases/tag/b11707) – llama.cpp, 2026-10-17

最后更新: 2026-10-17
