PulseAugur
EN
LIVE 15:24:34

llama.cpp b12899 optimizes Metal GPU acceleration for MoE models

The llama.cpp project has released version b12899, which includes optimizations for Metal GPU acceleration. These changes focus on improving the handling of skipped Mixture of Experts (MoE) slots within matrix multiplication operations. The updates ensure that weights for skipped experts are not scaled, preventing potential NaN errors and improving test stability. Additionally, the matrix multiplication weight scale has been integrated directly into the matmul operation for better efficiency. AI

IMPACT Improves performance for local LLM inference on Apple Silicon hardware.

RANK_REASON This is a software release for a specific project, not a frontier model release, significant industry event, or academic research.

Read on llama.cpp — Releases →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

llama.cpp b12899 optimizes Metal GPU acceleration for MoE models

COVERAGE [1]

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

    b12899: metal : keep the MUL_MAT weight scale off skipped MoE slots (#33430)

    <ul> <li>metal : keep skipped MoE slots unscaled with a per-tensor scale</li> </ul> <p>kernel_mul_mat_scale reads the expert ids only when the weight scale is<br /> per-expert or per-channel-per-expert, so a per-tensor scale also scaled<br /> the slots of a skipped expert. The Mo…