PulseAugur
中
实时 23:02:35
English(EN) b12840: metal : keep ADD chain fusion independent of batch size (#33217)

llama.cpp 优化 Apple Silicon 的 Metal 后端,改进 ADD 链融合

llama.cpp 项目发布了更新 b12840,专注于优化 Apple Silicon 的 Metal 后端。此次更新改变了 ADD 链融合的处理方式,使其独立于批处理大小,以防止 nemotron_h 等模型出现问题。这些修改确保链中的加数驻留在同一个后端缓冲区中,从而改进了结构和完整性检查。测试在包括配备 M5 Ultra 芯片的 Mac Studio 在内的各种配置上进行,以验证性能的提升。 AI

影响 通过 llama.cpp 在 Apple Silicon 硬件上运行的模型,提高了推理性能。

排序理由 这是对一个开源项目的软件更新,它提高了特定硬件的性能,而不是前沿发布或重大的行业事件。

在 llama.cpp — Releases 阅读 →

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

llama.cpp 优化 Apple Silicon 的 Metal 后端,改进 ADD 链融合

报道来源 [1]

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

    b12840: metal : 保持 ADD 链融合独立于批次大小 (#33217)

    <p>The ADD chain fusion packs the addends only when they share a layout and a backend buffer. A bias add and a residual add share a layout only for single-token batches, and live in different buffers, so the packing and the following node reorder depend on the ubatch size. The sc…