返回全部动态

llama.cpp b10856 发布:拆分模板解析器并优化构建

原标题:b10856

llama.cpp Releases一手来源产品发布质量 69

AI 摘要

llama.cpp 发布 b10856 版本,将 14 个专用模板解析器从 chat.cpp 拆分到 common/parsers 目录,使 chat.cpp 代码行数从 3915 降至 1513,并改为显式枚举解析器源文件以避免 CMake 增量构建问题。该重构无功能变化,并提供了多平台二进制下载。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

<details open> chat : split specialized parsers into common/parsers (#27764) * chat : split specialized parsers into common/parsers Move the 14 dedicated template parsers out of chat.cpp into one file each under common/parsers, mirroring the src/models split. chat.cpp keeps the template detection in common_chat_try_specialized_template() and drops from 3915 to 1513 lines. common/parsers/parsers.h holds the shared helpers and one declaration per parser. foreach_function/foreach_parameter beco


发布时间:2026-09-08 18:49
抓取时间:2026-09-08 18:50
来源机构:ggml-org
阅读原文github.com