DSv4-Pro hybrid KV cache

KVCacheManager
G1 C4A + C4I + C128A
G2 Sliding window cache · 31
G3 Sliding window cache · 30
G4 C128 compressor state
G5 C4A/C4I compressor state
token-proportional per-request
Shared BlockPool

Before · size-bucketed tensors

31 large + 30 index + 31 small = 92 tensors
G1
G2
G3
G4
G5

After · packed by cache group

one physical backing tensor
G1
G2
G3
G4
G5
C4A cache C4I cache C128A cache Sliding window cache C128 compressor state C4I compressor state C4A compressor state padding waste idle / wasted