github ggml-org/llama.cpp b12686

pre-releaseone hour ago
Details

server : fix skipped prompt cache lookups (#28992)

  • server : fix skipped prompt cache lookups

Assisted-by: Claude Opus 5

  • server : let the slot scheduler ask the prompt cache

Move the prompt cache lookup into server_slot_sched::select() so the
plan alone decides whether the cache is updated, and the caller only
applies it.

find_better() and has_better() are now const, and find_better() also
returns the common prefix, so load() no longer recomputes it.


Co-authored-by: Pascal admin@serveurperso.com

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI:

Don't miss a new llama.cpp release

NewReleases is sending notifications on new releases.