👋 Welcome to join lmcache slack channel. invite/zt-4d1c2uk6t-55YZVvOQnJFNeAJK32U Gg 👋 Welcome to LMCache! This umbrella issue is the single entry point for first-time contributors. If you've never sent a PR to LMCache before, start here. If you're looking for the older…
Introduction To address the issue where all metadata is lost after a master service failure and recovery, this solution proposes a hot-standby synchronization mechanism and a hybrid approach combining hot standby with snapshots, ensuring rapid data recovery following a master…
Bug Report Summary When an HA standby starts from a batch OpLog snapshot, the snapshot state and recovery cursor are restored successfully, but the exported ha oplog applied sequence id metric remains at its initial value. This makes the metric disagree with the standby's actual…
Milestone 1: Core Architecture Refactor & Decoupling This milestone focuses on foundational architectural changes to improve modularity, flexibility, and prepare for future scaling. - [ ] (TE/Store Separation): Decouple the TE (Task/Tensor Engine) and Store components into…
Status Refreshed 2026-11-12 against v0.3.14 (2026-11-03). The previous tracker comments on this issue cover work through 2026-06-27. Milestone numbers are unchanged so existing references stay valid. A checkbox is a delivery goal. Closed RFCs are listed only when they still…
LMCache 2026 Q4 Roadmap The main topic for Q4 is to make LMCache faster, safer, more stable, and more pluggable. 1. In-process mode deprecation and deletion We don't list concrete tasks for the in-process mode deprecation because it will need a lot of ad hoc changes. At a high…
Changes proposed Motivation V1 promotion-on-hit ( 2071) promotes LOCAL DISK-only objects back to MEMORY when GetReplicaList observes enough accesses. V1.1 ( 2233) narrows the next step to bounded background retry/admission for hot candidates already discovered through the Get…
A rollout profiler that instruments the inference engine and the agent loop (verl, OpenRLHF) and reports per-trajectory KV reuse, recompute, tokenization overhead and token-trajectory drift would help RL infra teams find waste. Current efforts are scattered across framework-specific RFCs.
Mostly covered already. A remaining niche may be a workload-trace library (multi-turn, agentic, long-context) shared across guidellm, vLLM bench and InferenceX, so that results are comparable. This needs validation before any build.
A small engine-agnostic collector that ingests vLLM KV events and Prometheus residency metrics plus LMCache metrics, and joins them per prefix hash, would give one view of hit and miss per tier and per request. It would be adopted because KV-aware routing and offload are now standard in llm-d, Dynamo and AIBrix. Each of those has its own internal view, and none offers a shared debugging lens.
Disaggregated LLM inference separates the prefill and decode phases across GPU pools, generating massive KV-cache transfers. Because these transfers last hundreds of milliseconds to seconds, they behave as mega elephant flows that dominate link bandwidth utilization. In this regime, stateless ECMP…
CXL Memory Module - Memory Pooling (CMM-MP) introduces a novel memory pooling architecture to meet the unique requirements of emerging memory-intensive workloads. This industry-first, purpose-built memory-pooling device combines the benefits of Compute Express Link (CXL) with the scalability and…
LLM agents resend their whole conversation on every turn, and most of it was already processed on the previous turn. Serving systems avoid recomputing it by caching its key-value (KV) state and, when GPU memory runs out, by offloading that state to host memory. For agents, offloading gives…
KV caching reduces the serving cost of large language models (LLMs), but the growing KV cache footprint is increasingly exceeds GPU and host-memory capacity. Therefore, people use SSD to expand the KV cache storage capacity with high I/O bandwidth. However, in production LLM workload, such as…
Large language model (LLM) inference exhibits distinct computational characteristics across its two phases: prefill is compute-intensive, whereas decode is more memory-bound. As a result, AI accelerators achieve varying levels of efficiency across the two phases. GPUs are well suited to prefill,…
The widespread deployment of foundational Large Language Models (LLM) across cloud datacenters marks a fundamental paradigm shift from stateless deep learning toward distributed, memory-intensive generative workloads. However, serving massive foundation models under stringent Service Level…
Mooncake is the serving platform for Kimi, a leading LLM service provided by Moonshot AI. It features a KVCache-centric disaggregated architecture that separates the prefill and decoding clusters. It also leverages the underutilized CPU, DRAM, and SSD resources of the GPU cluster to implement a…
Large language model (LLM) inference demands vast memory capacity and hierarchical memory structures, but conventional architectures suffer from excessive energy and latency costs due to frequent data movement across deep memory tiers. To address this, we propose a wafer-scale SRAM-based…
Recent multi-agent LLM systems increasingly combine heterogeneous models for specialized agent roles. However, text-based communication requires each receiver to prefill shared context already processed by the sender. Reusing the sender's key-value (KV) cache avoids this redundancy, but…
Long-context LLM serving is increasingly bottlenecked by decode, where large KV caches limit batch size and underutilize GPUs. Sparse KV cache offloading expands effective capacity by storing most historical KV blocks in CPU DRAM and recalling only selected blocks on demand. However, we find that…
The use of KV cache in LLM inference leads to large memory footprint and sub-optimal decoding performance. Prior studies typically address one of these two limitations by either offloading or stage-split inference. In this paper, we explore and reveal the possibility of a joint solution, and…
Unified multimodal models combine understanding, generation, and editing within a single network, offering a promising foundation for versatile multimodal applications. However, growing multimodal contexts make KV cache storage and access increasingly costly. Existing KV cache compression methods…
Agentic applications generate multi-turn sequences of LLM requests, with each new turn extending the context accumulated from prior interactions and tool calls. Prefix caching reuses the KV cache of earlier turns and avoids redundant prefill, but routing every turn to its cache-affine instance can…
Existing large language model (LLM) serving systems typically batch the compute-bound prefill and I/O-bound decoding phases together. This co-location approach not only leads to significant interference between the two phases but also limits resource allocation and placements. To address these…