llama.cpp Releases更新于

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

llama.cpp预发布构建b11529修复了ggml_acc的越界写入:size_t偏移收窄为int32_t时可截断为负数,导致在dst缓冲区下方越界写,现已在收窄前校验偏移。该构建为实验性版本而非稳定版。

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

ggml: 修复 ggml_acc 中负偏移导致的越界写入 (#30135) ggml_acc_impl 将 size_t 偏移量收窄为 int32_t 时未检查其是否在范围内,因此较大的偏移量可能被截断为负的 int32_t。前向传播随后将其符号扩展为巨大的 size_t,边界断言发生回绕,从而允许在 dst 缓冲区下方进行越界写入。在收窄之前检查偏移量,与 ggml_set_impl 中现有的检查保持一致。

网站: - https://llama.app

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

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(骁龙: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: - DISABLED - openEuler x86 架构(310p) - openEuler x86 架构(910b,ACL Graph) - openEuler aarch64 架构(310p) - openEuler aarch64 架构(910b,ACL Graph)

UI: - UI

原始出处

llama.cpp Releases

内容说明

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

机器翻译 · 请以原文为准