Key-value cache management method and apparatus
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- MOXIN ARTIFICIAL INTELLIGENCE TECH (SHENZHEN) CO LTD
- Filing Date
- 2026-03-13
- Publication Date
- 2026-06-09
AI Technical Summary
Existing large language models suffer from severe memory fragmentation, wasted storage and bandwidth, and inability to support low-latency dynamic sparsity and quantization group size reconfiguration when managing key-value caches with heterogeneous precision.
A key-value cache management method is adopted, which generates sparse key data, sparse index and sparse scaling factor through sparse processing and quantization processing, and stores them in a unified heterogeneous physical block. Combined with the compile-time constant offset table, it realizes integrated management of heterogeneous precision key-value cache, and supports dynamic adjustment of sparsity rate and quantization group size.
It solves the problems of memory fragmentation, storage and bandwidth waste, improves the response speed and stability of large language models, and supports low-latency dynamic sparsity and quantization group size reconfiguration.
Smart Images

Figure CN121882113B_ABST