PulseAugur
EN
LIVE 08:03:40

Users seek automatic long-context state saving for llama.cpp

A user on Reddit's r/LocalLLaMA community is seeking solutions for managing long-context sessions in llama.cpp after restarting the application. They describe the inconvenience of re-prefetching large contexts, which can take several minutes, and propose an ideal scenario where the inference server automatically saves and restores conversation states to disk. The user notes that while some tools like llama-server offer save/restore APIs, a more integrated, server-side solution would be beneficial, especially for hardware with slower prefill times. They inquire if others have experimented with such transparent state management for popular models. AI

IMPACT Potential improvements to local LLM inference efficiency and user experience.

RANK_REASON User-generated query about improving existing software functionality.

Read on r/LocalLLaMA →

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

Users seek automatic long-context state saving for llama.cpp

COVERAGE [1]

  1. r/LocalLLaMA TIER_1 English(EN) · /u/Dazzling_Equipment_9 ·

    How do you deal with long-context sessions after restarting llama.cpp?

    <!-- SC_OFF --><div class="md"><p>I run local models on a 128GB Strix Halo and restart llama.cpp fairly often while testing builds, backends and model parameters. The annoying part is long-running agent sessions. Hermes/OpenCode sessions can easily reach 50k-100k context, and aft…