Skip to content

feat: support uniform cross-layer KV cache layout for CPU offloading#361

Open
lianghao208 wants to merge 1 commit into
ovg-project:mainfrom
lianghao208:support_uniform_kvcache
Open

feat: support uniform cross-layer KV cache layout for CPU offloading#361
lianghao208 wants to merge 1 commit into
ovg-project:mainfrom
lianghao208:support_uniform_kvcache

Conversation

@lianghao208

Copy link
Copy Markdown
Contributor

#269 introduces a approach for supporting CPU offloading in kvcached, it forces vLLM to fall back on per-layer KV cache management rather than a uniform, all-layer strategy, which results in implicit extra overhead.
This PR proposes a new approach that allows CPU offloading services to utilize the kvcached VMM API to allocate cross-layer contiguous memory layout. This effectively preserves system elasticity without sacrificing performance.

@lianghao208 lianghao208 force-pushed the support_uniform_kvcache branch from 4d05151 to c314a74 Compare June 15, 2026 08:16
@lianghao208 lianghao208 force-pushed the support_uniform_kvcache branch from c314a74 to 2733377 Compare June 15, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant