开源项目

SGLang 让分片预填充使用 Mooncake 外部 KV 缓存

[Feat] mem_cache: Support KV cache sharding and prefill CP with the Mooncake external linker

模型推理AI 基础设施KV Cache分布式推理推理服务

概述

SGLang 原先拒绝同时开启 KV 分片和统一外部缓存连接器,原因是加载路径依赖未分片的扁平分配器。该源码改动让页面交错的预填充能搭配 Mooncake,由外部连接器按上下文并行分片处理各自持有的缓存页,现阶段覆盖 DSA 池。