llama.cpp Releases更新于

[预发布 / 持续构建版本] b11608

该预发布版本修复了llama-server转义特殊token时的崩溃:旧代码用std::regex逐字符递归,超长token名会令HTTP线程栈溢出并触发SIGSEGV,现改用循环实现。注意这是实验性构建,不是稳定版本。

预发布 / 持续构建版本:这是一个实验性构建版本,并非稳定发布版本。

server : 不使用 std::regex 转义特殊 token(#30243) d1-omni 和 kev 提示词使用 std::regex_replace 对请求文本中的 "<|name|>" 进行转义。libstdc++ 会对 name 的每个字符进行递归,因此在 "<|" 状态下,30000 个字母会导致 HTTP 线程栈溢出, llama-server 因 SIGSEGV 崩溃。 server_decision_escape_special_tokens() 使用循环来处理相同文本。 test-server-component 在 "<|>a-" 的所有不超过 6 个字符的字符串上将其与正则表达式进行比较。

网站: - https://llama.app

证明(Attestations): - https://github.com/ggml-org/llama.cpp/attestations/55643841

macOS/iOS: - macOS Apple Silicon (arm64) - macOS Apple Silicon (arm64, 启用 KleidiAI) 已禁用 - macOS Intel (x64) - iOS XCFramework

Linux: - Ubuntu x64 (CPU) - Ubuntu arm64 (CPU) - Ubuntu s390x (CPU) - Ubuntu x64 (Vulkan) - Ubuntu arm64 (Vulkan) - Ubuntu x64 (CUDA 12) - CUDA 12.8 库 - Ubuntu x64 (CUDA 13) - CUDA 13.4 库 - Ubuntu arm64 (CUDA 13) - CUDA 13.4 库 - Ubuntu x64 (ROCm 10.0) - Ubuntu x64 (OpenVINO) - Ubuntu x64 (SYCL FP32) - Ubuntu x64 (SYCL FP16) - Linux arm64(Snapdragon:CPU、Adreno GPU、Hexagon NPU) - 设置指南

Android: - Android arm64 (CPU) - Android arm64(Snapdragon:CPU、Adreno GPU、Hexagon NPU) - 设置指南

Windows 版本: - Windows x64 版本(CPU) - Windows arm64 版本(CPU) - Windows arm64 版本(OpenCL Adreno) - Windows x64 版本(CUDA 12) - CUDA 12.4 DLL 文件 - Windows x64 版本(CUDA 13) - CUDA 13.4 DLL 文件 - Windows arm64 版本(CUDA 13) - CUDA 13.4 DLL 文件 - Windows x64 版本(Vulkan) - Windows arm64 版本(Vulkan) - Windows x64 版本(OpenVINO) - Windows x64 版本(SYCL) - Windows x64 版本(ROCm 10.0)

openEuler: - 已禁用 - openEuler x86 架构(310p) - openEuler x86 架构(910b,ACL Graph) - openEuler aarch64 架构(310p) - openEuler aarch64 架构(910b,ACL Graph)

用户界面: - 用户界面

原始出处

llama.cpp Releases

内容说明

原始发布及相关权利归来源方。

机器翻译 · 请以原文为准