llama.cpp 限制 Qualcomm 大头注意力行数
热点事件历史事件
llama.cpp 限制 Qualcomm 大头注意力行数
1 篇报道1 个报道来源25 天前更新
先了解这件事
AI 综述
llama.cpp b12246 调整 Vulkan 后端在 Qualcomm 设备上的 scalar flash attention:当头尺寸 hsk 或 hsv 大于 128 时,每个工作组最多处理 8 行,以避免 Adreno X1-85 寄存器溢出到 scratch memory,造成约 40 倍性能下降和测试超时。 较小头尺寸仍使用每工作组 16 行;在 X2 Elite 上,这种设置对较小头更快。
AI 根据报道生成 · 24 天前更新
报道时间线
沿着报道,了解事件的不同侧面。
11月10日
- GitHub · ggml-org/llama.cpp Releasesllama.cpp b12246 修复 Qualcomm Adreno 上大型头部的 Vulkan flash attention 性能问题
llama.cpp b12246 将 Qualcomm 上大型头部的 scalar flash attention 每工作组行数限制为最多 8 行,避免 Adreno X1-85 寄存器溢出到 scratch memory 导致约 40 倍变慢及测试超时。