返回全部动态

llama.cpp b10924:修复 router 子进程状态命令解析

原标题:b10924

llama.cpp Releases一手来源开源质量 59

AI 摘要

llama.cpp 发布 b10924 版本,修复了 server 中 router 子进程状态命令的解析问题。由于子进程状态命令写在 stdout、日志写在 stderr 且共用同一管道,日志的尾部颜色重置转义序列会粘在下一条命令前,导致行前缀检查失败、命令被当作日志行转发,使已完成的下载卡在 downloading 状态。修复方式是在命令前加换行符,确保命令始终从行首开始。该版本同时提供 macOS、Linux、Windows、Android 等多平台预编译包。

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

正文节选

<details open> server: frame the router child state command as a whole line (#28747) The child writes its state commands on stdout while the logger writes on stderr, and both share a single pipe. The logger emits the trailing color reset after the newline of a debug, warn or error entry, so that escape sequence has no newline of its own and the router reads it glued in front of the next command. The line prefix check then fails and the command is forwarded as a log line instead of being handle


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