I made llama.cpp's slot saves write only the changed chunks: a FUSE filesystem that dedups KV-cache snapshots
I run an agent on a local model behind a KV-cache proxy. After every answer the proxy has llama-server save the slot state (`/slots/0?action=save`), so the next request doesn't recompute the ~7K-token system prompt and tools. Each save is the full state, rewritten from scratch: 300 MB to 1.2 GB per…
Read the full story at r/LocalLLM ↗
Timeline · 1 report
- 2026-10-16 19:58 · r/LocalLLM
I made llama.cpp's slot saves write only the changed chunks: a FUSE filesystem that dedups KV-cache snapshots