PulseAugur
中
实时 05:15:47
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 性能

本文如何被排名

Signal score
2 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
这是针对特定工具的软件更新,并非前沿模型发布或重大的行业事件。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Same-day
Cluster formed today. Ranking reflects the current source set at time of score.

完整方法见我们的编辑标准。

报道来源 [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 …