XM-Sparse将X-Mem接入SGLang HiSparse
AI 总结
LMSYS Blog称,XM-Sparse将Netpreme X-Mem与SGLang HiSparse集成,通过高速访问外置KV缓存并扩展容量来支持更大批量。X-Mem试点虚拟机测试显示,在16K上下文、每GPU批量192及20%未命中率下,平均每输出令牌时间较经PCIe连接的主机内存降低49.25%,40%未命中率时降低63.58%。LMSYS还称,在测试的16K至1M上下文中,峰值解码吞吐达到主机内存的2.09至3.04倍,但X-Mem实体芯片尚未上市。
深度见解
该集成针对稀疏注意力系统在长上下文和高并发服务中读取外置KV缓存时面临的带宽与容量瓶颈。
On this page
- TL;DR
- Why Sparse Attention Needs a Fast, High-Capacity Memory Tier
- Modeling Bandwidth and Capacity Bottlenecks
- 128K: KV I/O Bandwidth and External Memory Capacity Bottlenecks
- Short- and Long-Context Cases
- Netpreme X-Mem™: A High-Bandwidth, High-Capacity Memory Tier for SGLang HiSparse
- Integration with SGLang HiSparse
- XM-Sparse Testbed and Decode Performance
- X-Mem™ lowers decode latency at the same batch size
- X-Mem™ increases peak throughput across context lengths
- Conclusion
XM-Sparse integrates Netpreme X-Mem™ with SGLang HiSparse. High-bandwidth access to offloaded KV caches reduces decode latency, while the added capacity supports larger batches and higher concurrency.