awesome-repositories.com
ब्लॉग
MCP
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
LMCache avatar

LMCache/LMCache

0
View on GitHub↗
6,909 स्टार्स·904 फोर्क्स·Python·apache-2.0·5 व्यूज़lmcache.ai↗

LMCache

LMCache is a distributed key-value cache manager and tiering system designed to accelerate large language model inference. It functions as a tiered storage layer that offloads tensors from GPU memory to CPU RAM, local disks, or remote object stores, enabling the reuse of cached prefixes across different inference sessions and serving engines.

The system differentiates itself through a disaggregated prefill-decode model, which separates prompt processing from token generation by transferring caches between distributed compute nodes. It utilizes peer-to-peer orchestration to share and retrieve cached states across a cluster of servers, supported by a centralized coordinator for node membership and heartbeat monitoring.

Broad capabilities include multi-tier storage management with support for S3, Redis, and POSIX filesystems, as well as performance optimizations such as asynchronous offloading, zero-copy shared memory transfers, and data quantization. The project also provides comprehensive observability through Prometheus and OpenTelemetry exports, alongside Kubernetes-based orchestration for deploying cache servers as DaemonSets.

Features

  • Prefill-Decode Disaggregation - Implements an architecture that separates prompt processing from token generation by transferring KV caches across compute nodes.
  • LLM KV Cache Stores - Provides a distributed storage system for reusing key-value caches across multiple LLM serving engines.
  • Inference Acceleration - Accelerates prefill and decode disaggregation by transferring cached states between distributed compute nodes.
  • KV Cache Optimizations - Implements real-time cache routing between servers to optimize inference speed and reduce redundant computation.
  • Device Offloading - Saves GPU cycles by offloading key-value caches from GPU memory to CPU RAM or other devices.
  • LLM Serving Architectures - Coordinates shared cache layers and peer-to-peer tensor transfers across a cluster of multiple inference engine instances.
  • Disaggregated Inference - Implements a disaggregated architecture that separates prefill and decode stages across distinct hardware nodes.
  • Prefix Caching - Checks for existing cached prefixes to reuse KV cache states and reduce time-to-first-token.
  • Token Sequence Indexing - Maps token sequences to cached entries using chunking and hashing to enable cross-request lookups.
  • KV Cache Quantization - Uses reduced precision formats and serialization to reduce the memory footprint and increase transfer speeds of KV caches.
  • Content Caching Controls - Provides administrative controls to look up, purge, pin, or migrate specific cache entries at runtime.
  • Distributed Caches - Enables direct data transfers between serving instances to facilitate global lookup and sharing without a central bottleneck.
  • Backend Implementation Extensions - Provides high-performance C++ connectors to integrate diverse external stores as persistent cache layers.
  • Distributed Caching - Provides a distributed C++ backend supporting TCP and RDMA for high-performance cache storage and retrieval.
  • Tiered Memory Management - Implements a tiered memory system that manages cache data between pinned DRAM and NVMe storage.
  • Persistent Storage Backends - Asynchronously offloads cache chunks from fast memory to durable backends to ensure data persistence.
  • Shared Memory Transports - Achieves zero-copy transfers by sharing tensors between the cache server and inference engine using shared memory.
  • Storage Backend Adapters - Uses a pluggable interface to integrate diverse persistent storage backends including S3, Redis, and local filesystems.
  • Storage Tiering - Moves cache data across a hierarchy of GPU memory, CPU DRAM, and persistent backends to balance latency and capacity.
  • Tiered Caching - Manages a hierarchy of memory and persistent storage backends to optimize LLM cache replication and retrieval.
  • Cluster Membership Coordination - Registers individual cache servers with a central coordinator to provide a unified view of active cluster instances.
  • Remote Server Fleet Management - Provides a centralized service to track server instances, manage global fingerprints, and coordinate quota evictions.
  • Storage Backend Integrations - Integrates multiple external storage backends, including S3 and local filesystems, as persistent cache overflow.
  • Asynchronous Cache Offloading - Writes cache chunks to secondary storage in background threads to prevent blocking the primary inference pipeline.
  • Peer Discovery Services - Tracks live server instances and manages peer discovery and heartbeats via a central coordinator service.
  • Inter-Worker Tensor Transfers - Transfers cache data from prefill workers to decode workers over high-speed interconnects like NVLink or RDMA.
  • Disaggregated Cache Sharing - Coordinates cache distribution across multiple servers using peer-to-peer sharing and disaggregated architectures.
  • Inference Benchmarking Tools - Provides utilities for measuring throughput, latency, and cache hit rates using simulated workloads and trace replay.
  • Persistence Layers - Offloads infrequently used cache blocks to disk or remote backends to ensure they survive process restarts.
  • Serving Frameworks - Links the cache management layer to external serving frameworks to enable the reuse of cached tensors across instances.
  • Non-Prefix Block Reuse - Retrieves cached blocks from any position in a prompt using selective recomputation to maintain output quality.
  • Cross-Deployment Cache Sharing - Enables the reuse of cached tensors across different hardware configurations and distributed serving engines.
  • Cache Prefetching Policies - Defines how cached keys are distributed across secondary adapters and prefetched into primary memory.
  • Cache Eviction Policies - Sets and monitors storage limits for specific cache identifiers to trigger automatic eviction of data.
  • Tiered Lifecycle Monitoring - Records the time from allocation to eviction and reuse gaps for cache chunks across different storage tiers.
  • Serializers - Implements custom serialization and deserialization logic to control how tensors are encoded for different storage adapters.
  • Intermediate Output Caching - Caches intermediate encoder outputs for multimodal inputs like images and video to bypass redundant computation.
  • Least Recently Used Caches - Employs an LRU eviction policy to manage byte budgets and storage limits for cached tensors.
  • Shared Memory Data Exchange - Exchanges tensors between the cache server and inference engine using shared memory to eliminate serialization overhead.
  • Cascading Storage Adapters - Distributes data across a sequence of storage backends and queries them in order during cache lookups.
  • Distributed Cache Routing - Connects the cache layer to specific network hosts and ports to manage distributed memory across multiple machines.
  • Cache Server Deployments - Manages the deployment and lifecycle of multiprocess cache servers using custom Kubernetes resources.
  • Layer-wise Streaming - Streams cache data on a per-layer basis to overlap memory loading with the model's forward pass.
  • Operation Pipelining - Overlaps the computation of one model layer with the storage or retrieval of another to mask latency.
  • DaemonSet Cache Orchestration - Runs a single cache server per node shared by multiple pods via Kubernetes DaemonSets to optimize resources.
  • Runtime Configurations - Allows modification of backend storage mappings, device paths, and capacity at runtime without restarting the server.
  • Proactive Cache Prefetching - Implements techniques to populate cache layers before the inference engine explicitly requests the data chunks.
  • Peer-to-Peer Networking - Enables direct memory cache sharing and global lookups across cluster nodes using P2P networking.
  • Centralized Node Registries - Uses a centralized registry to track active server instances and manage node membership via heartbeats.
  • Data Path Orchestration - Optimizes transfers by selecting between server-driven or engine-driven data paths and managing shared memory pools.
  • Process Isolations - Runs the cache manager as a standalone daemon to ensure cache persistence during inference engine crashes.
  • Master-Worker Coordination - Uses a centralized controller server to coordinate key-value cache instances and manage worker nodes.
  • LRU Cache Eviction - Automatically evicts the least recently used cache entries when predefined memory watermarks or byte budgets are reached.
  • Plugin-Based Logic Extensions - Loads third-party storage connectors as standalone packages at runtime to extend cache capabilities.
  • Standalone Service Modes - Allows the cache engine to operate as a standalone service independent of a specific inference engine.
  • Inference Performance Monitoring - Tracks cache metrics and per-request latency spans using OpenTelemetry to diagnose inference bottlenecks.
  • Cache Performance Metrics - Calculates the fraction of requested tokens served from caches to evaluate the effectiveness of the tiering layer.
  • Cache Behavior Simulators - Analyzes lookup logs through a cache simulator to measure token hit rates across different memory capacities.
  • AI Inference Benchmarks - Provides tools to simulate machine learning workloads and measure key inference performance metrics like time-to-first-token and throughput.
  • Server Management APIs - Provides a standalone control plane with HTTP APIs for administrative server operations, health monitoring, and checksum verification.
  • KV Cache Management - Fast context loading and knowledge fusion for LLMs.
  • Memory Management - KV cache layer for accelerating LLM inference.
  • Model Serving & Deployment - Accelerates LLM inference via KV cache management.

स्टार हिस्ट्री

lmcache/lmcache के लिए स्टार हिस्ट्री चार्टlmcache/lmcache के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

LMCache के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो LMCache के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • sgl-project/sglangsgl-project का अवतार

    sgl-project/sglang

    29,079GitHub पर देखें↗

    Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr

    Pythonattentionblackwellcuda
    GitHub पर देखें↗29,079
  • kvcache-ai/mooncakekvcache-ai का अवतार

    kvcache-ai/Mooncake

    5,594GitHub पर देखें↗

    Mooncake is a disaggregated large language model serving platform and distributed key-value store designed for high-performance inference infrastructure. It functions as a GPU memory orchestrator and KV cache management system that pools and transfers key-value caches across clusters to accelerate inference. The system distinguishes itself by separating the prefill and decode phases of inference into distinct hardware clusters to optimize resource utilization. It utilizes a high-performance RDMA distributed cache with zero-copy transfers to move data between compute nodes, bypassing the CPU t

    C++
    GitHub पर देखें↗5,594
  • memcached/memcachedmemcached का अवतार

    memcached/memcached

    14,132GitHub पर देखें↗

    Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as a volatile data store designed to accelerate dynamic applications by caching objects in RAM, thereby reducing backend database load and providing sub-millisecond response times. The system utilizes a specialized architecture that organizes memory into fixed-size slabs to minimize fragmentation and maximize throughput for high-concurrency workloads. The project distinguishes itself through a multi-threaded, lock-friendly design that scales across CPU cores and supports complex

    C
    GitHub पर देखें↗14,132
  • ai-dynamo/dynamoai-dynamo का अवतार

    ai-dynamo/dynamo

    6,112GitHub पर देखें↗

    Dynamo is a distributed inference orchestration platform designed for large language models. It functions as a system to coordinate prefill and decode phases across GPU nodes, utilizing a multi-backend runtime adapter to connect engines like vLLM and TensorRT-LLM through a unified block-oriented memory interface. An OpenAI-compatible API server provides the frontend for integration with existing tools and clients. The project is distinguished by its disaggregated serving architecture, which separates prompt processing and token generation onto independent GPU pools to optimize throughput and

    Rust
    GitHub पर देखें↗6,112
LMCache के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

lmcache/lmcache क्या करता है?

LMCache is a distributed key-value cache manager and tiering system designed to accelerate large language model inference. It functions as a tiered storage layer that offloads tensors from GPU memory to CPU RAM, local disks, or remote object stores, enabling the reuse of cached prefixes across different inference sessions and serving engines.

lmcache/lmcache की मुख्य विशेषताएं क्या हैं?

lmcache/lmcache की मुख्य विशेषताएं हैं: Prefill-Decode Disaggregation, LLM KV Cache Stores, Inference Acceleration, KV Cache Optimizations, Device Offloading, LLM Serving Architectures, Disaggregated Inference, Prefix Caching।

lmcache/lmcache के कुछ ओपन-सोर्स विकल्प क्या हैं?

lmcache/lmcache के ओपन-सोर्स विकल्पों में शामिल हैं: sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… kvcache-ai/mooncake — Mooncake is a disaggregated large language model serving platform and distributed key-value store designed for… memcached/memcached — Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as… ai-dynamo/dynamo — Dynamo is a distributed inference orchestration platform designed for large language models. It functions as a system… modeltc/lightllm — LightLLM is a high-performance serving framework for deploying and executing large language models. It functions as a… paddlepaddle/fastdeploy — FastDeploy is a high-performance deployment framework for large language models, vision models, and multimodal models.…