File size: 1,418 Bytes
352fb3b
ccb11fc
352fb3b
 
 
 
 
4348ae3
 
352fb3b
 
 
 
 
 
 
4348ae3
352fb3b
4348ae3
352fb3b
4348ae3
 
 
 
 
 
352fb3b
4348ae3
352fb3b
4348ae3
352fb3b
4348ae3
 
 
 
 
 
352fb3b
4348ae3
352fb3b
4348ae3
352fb3b
4348ae3
352fb3b
 
 
ccb11fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
license: gpl-3.0
tags:
  - kv-cache
  - llm-inference
  - optimization
  - compression
  - mla
  - deepseek
language:
  - zh
  - en
---

# 📄 KV Cache Compression for Text-Only LLMs

**纯文本大语言模型 KV 缓存压缩 — 完整技术报告** | **Full Technical Reports**

## Contents

| File | Description |
|------|-------------|
| `mla_absorbed_cache_report.md` | 🚀 MLA 吸收式缓存优化(中文) |
| `mla_absorbed_cache_report_en.md` | 🚀 **Absorbed MLA Cache Optimization (English)** |
| `kv_cache_compression_report.md` | 📊 KV 缓存压缩完整方案(中文) |
| `kv_compress_plan.md` | 🗺 详细实施计划(中文) |

## 🚀 Highlight: Absorbed MLA Cache (270KB → 8.4KB/token, 32×)

DeepSeek-V2-Lite MLA 优化,在 L40S 实测:

| Approach | KV/token | Compression | Error |
|----------|----------|-------------|-------|
| Standard MHA | 270 KB | 1x | — |
| Absorbed MLA | 30.4 KB | 8.9x | 0 |
| + per-channel INT8 | 15.2 KB | 17.8x | 0.011 |
| + INT4 (extreme) | **8.4 KB** | **32x** | 0.112 |

**Single L40S: 1.24M tokens context.**

## Key Insight

> Text-only models can be aggressively compressed (quantization + eviction), while reasoning models (R1-class) must be conservative (quantization + sliding window + tiered storage). **Scenario classification matters more than the algorithm itself.**

---

*Cloud LTE Studio · 2026-08-08 · GPL-3.0 License*