返回全部动态

llama.cpp b10229 发布:修复 OpenCL 引用计数问题

原标题:b10229

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

AI 摘要

llama.cpp 发布 b10229 版本,主要修复了 OpenCL 后端中 ggml_backend_opencl_init() 未正确递增 ref_count 的 bug,该问题会导致程序结束时 profiling 数据无法刷新写入。此版本提供了适用于 macOS、Linux、Windows、Android 等多个平台的预编译二进制文件。

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

正文节选

<details open> opencl: bugfix increment ref_count in ggml_backend_opencl_init() (#26162) Incrementing `ref_count` at the beginning is important later in the `free()` method of the `ggml_backend_opencl_context` at program end. If we do not increment the `ref_count`, the result would be -1 here, and consequently, the profiling data would not be flushed and written. ( #ifdef GGML_OPENCL_PROFILING ) </details> **Website:** - <https://llama.app> **macOS/iOS:** - [macOS Apple Silicon (arm64)](ht


发布时间:2026-08-02 22:31
抓取时间:2026-08-03 01:20
来源机构:ggml-org
阅读原文github.com