PulseAugur
中
实时 00:55:16
English(EN) b12819: CUDA: cache the device type at init (#33142)

llama.cpp 通过缓存设备类型优化 CUDA 性能

llama.cpp 项目发布了 b12819 版本,其中包含一项针对 CUDA 的优化,即在初始化时缓存设备类型。此更改旨在减少重复查询设备属性的开销,此前使用多 GPU 时,每次查询最多需要 1 毫秒,并且每生成一个 token 会发生数十次。此更新由 Noah Oksuz 和 Johannes Gaessler 共同撰写,解决了早期版本中发现的性能瓶颈。 AI

影响 提高了在消费级硬件上本地运行大型语言模型的效率。

排序理由 这是针对特定工具的软件更新,并非前沿模型发布或重大的行业事件。

在 llama.cpp — Releases 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

llama.cpp 通过缓存设备类型优化 CUDA 性能

报道来源 [1]

  1. llama.cpp — Releases TIER_1 English(EN) · NoahOksuz ·

    b12819: CUDA: 初始化时缓存设备类型 (#33142)

    <ul> <li>CUDA: cache the device type at init</li> </ul> <p>ggml_backend_cuda_device_get_type called cudaGetDeviceProperties on every<br /> call, which takes ~0.7-1 ms with the CUDA 12 runtime. With tensor<br /> overrides on multiple GPUs the scheduler queries the device type for …