Skip to content

WIP: plan asynchronous hierarchical KV swap - #185

Draft
drunkcoding wants to merge 1 commit into
mainfrom
plan/async-hierarchical-kv
Draft

WIP: plan asynchronous hierarchical KV swap#185
drunkcoding wants to merge 1 commit into
mainfrom
plan/async-hierarchical-kv

Conversation

@drunkcoding

Copy link
Copy Markdown
Contributor

Description

Plan-only design for event-driven GPU-to-pinned-host KV swap with a future external-tier boundary.

Motivation

Serving currently performs blocking CPU/GPU KV copies during preemption and recovery.

Scope

  • Explicit transfer state and block ownership
  • Pinned buffer pool, streams, events, and cancellation tombstones
  • Group-atomic scheduler recovery
  • Default sync pageable-buffer path retained unchanged

Dependencies / limitations

No distributed store, SSD/RDMA implementation, or KV quantization. ExternalKVStore is an extension boundary only.

Type of Change

  • Documentation update
  • Production implementation

Performance / support evidence

  • Not applicable — p99 swap methodology only.

Checklist

  • Sync rollback path specified
  • Resource lifetime and shutdown specified
  • No production files changed

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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