PulseAugur
EN
LIVE 22:20:30

Gemma models on Apple Silicon suffer silent cache bug, slowing local AI

A cache bug affecting Gemma models on Apple Silicon has been identified, causing significant slowdowns in local AI agent performance. The issue stems from Gemma's sliding-window attention mechanism, which, when exceeding a certain context length, causes KV-cache reuse to fail silently. A fix involves changing the cache type to a plain KVCache, which restores performance without impacting model output quality, resulting in up to a 20x speed improvement for local coding agents. AI

IMPACT Fixes a silent performance bug in Gemma models on Apple Silicon, potentially speeding up local AI agents significantly.

RANK_REASON The item describes a bug fix and performance improvement for a specific local AI setup using Gemma models on Apple Silicon, rather than a new model release or major industry event.

Read on dev.to — LLM tag →

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

Gemma models on Apple Silicon suffer silent cache bug, slowing local AI

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Matt Macosko ·

    My local AI was pausing 7 seconds before every reply. It turned out to be one cache bug.

    <p>This morning I noticed my local coding agent answering way faster than it used to, and I couldn't explain why. I don't like speedups I can't explain, so we benchmarked it instead of guessing. What came out of that is the biggest single improvement my local setup has ever gotte…