Skip to content

Feature Request: Please merge upstream PR #22288 for Gemma4 SWA cache reuse fix #142

@Heritager-tech

Description

@Heritager-tech

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

Gemma4 models don't reuse prompt cache due to missing PR ggml-org#22288 from upstream llama.cpp:
ggml-org#22288

Current behavior: "forcing full prompt re-processing due to lack of cache data"
Expected: checkpoint restoration works with --swa-full

please sync with upstream master to include this fix

Motivation

Official llama.cpp b9127 works perfectly - cache reuse gives speedup for repeated prompts

Possible Implementation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions