返回全部动态

llama.cpp b11727:修复 GGUF 截断数据导致的张量损坏

原标题:b11727

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

AI 摘要

llama.cpp 发布 b11727 版本,修复了 gguf-split 与 export-lora 工具在输入 GGUF 文件被截断时可能静默输出损坏张量数据的问题。修复方式是在 gguf-split.cpp 和 export-lora.cpp 中增加张量数据边界检查与短读检查,并新增回归测试验证截断输入会被拒绝、有效张量数据得以保留。该版本同时提供 macOS、Linux、Windows、Android 等多平台预编译包。

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

正文节选

<details open> tools : reject truncated GGUF tensor data in split and export tools (#30497) * The problem here in the repo is gguf-split can silently produce corrupted tensor output when the input GGUF file is truncated. The fix is to add tensor-data bounds checks and short-read checks in gguf-split.cpp and export-lora.cpp, and a regression test that checks truncated input is rejected and valid tensor data is preserved.# * Bug : GGUF-split can silently produce corrupted tensor output when the


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