Skip to content

Releases: ne7359/llama-cpp-python

v0.3.27-Metal-macos-20260224

Choose a tag to compare

LLama: Optimize KV cache management for multi-round conversations

- Implements prefix-matching logic to truncate stale "ghost" tokens in C++ KV cache
- Prevents attention misalignment and context poisoning during multi-turn interactions
- Reduces memory overhead by reusing matched prefixes efficiently

Signed-off-by: JamePeng <jame_peng@sina.com>

main-metal

Choose a tag to compare

@github-actions github-actions released this 21 Jan 09:04
Update Submodule vendor/llama.cpp 10c98cb..d1e3556